[Gllug] Compiling a Kernel

Jackson, Harry HJackson at colt-telecom.com
Mon May 27 14:23:55 UTC 2002



> -----Original Message-----
> From: Bruce Richardson [mailto:itsbruce at uklinux.net]
> 
> 
> > tar -vxf kernel-2.4.18.tar
> > cd new_dir
> > make mrproper
> > cp /boot/config-2.4.16 /new_dir/.config
> 
> > make oldconfig
> > make dep
> > make bzImage
> > make modules
> > make modules_install (mods installed in /lib/modules/2.4.18/)
> 
> > This is where i get hazy (do i "depmod -a" here and what 
> options do I use 
> to
> > depmod)
> 
> No, you don't need to run depmod, Debian will detect the new 
> kernel when you reboot and run it itself.

So the main bit above was OK. If that is the case then I have definitely got
a problem.

> 
> > cp /vmlinuz /vmlinuz-2.4.16
> > cp new_bzImage /vmlinuz
> > lilo
> 
> No need for those (and you missed the System.map file).  You can just 
> type
> 
> make install 

When I rebooted the machine I got a kernel panic with lots of the following

can't open /lib/modules/2.4.18/modules.deb"

Why has this happened? What is it, do I need to create the modules.dep
somehow then unpack it?????? Does make install do this for me?? 

Am I correct in saying that the system.map file is used to convert kernel
messages to a language we can understand and is not required for the system
to run or could not moving the new system.map to /boot have caused the
panic.

I am sure that I have just missed something daft.

Regards,
Harry 



*************************************************************************************
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ
Tel. +44 20 7390 3900

This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or 
affiliates ("COLT") and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message.  Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.
*************************************************************************************



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list