[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling kernel



"J" == Josh  <jholland3@uswest.net> writes:


   J> I removed EXTRAVERSION field (blank) I removed usr/include
   J> links (asm,linux,scsi) Apparently I have the latest version
   J> of libc6-dev

Good.


   J> Should I manually change /lib/modules/2.2.162.2.16 to
   J> 2.2.16?

No.  Delete the directory (rm -rf /lib/modules/2.2.162.2.16).


   J> Or should I just re-compile the kernel?

Yes.  Do

   cd /usr/src/linux
   cp .config ../kernel-config-2.2.16
   make mrproper
   cp ../kernel-config-2.2.16 .config
   make oldconfig
   make dep
   make vmlinux
   make modules
   (as root)
   make modules_install
   cp vmlinux /boot/vmlinux-2.2.16
   cp vmlinux /path/to/your/kernel/folder/under/MacOS/vmlinux-2.2.16
   cp System.map /boot/System.map-2.2.16
   shutdown -r now "Testing new kernel."

Choose vmlinux-2.2.16 from the menu in BootX.
Click on Linux.
Voila.

   J> And is the link /usr/src/linux > /usr/src/linux-2.2.16 (or
   J> whatever kernel I unpack there) correct?

That's fine.

If you still have problems, do everything I said but after copying
your configuration (which you should already have done, anyway),
delete the kernel source tree and unpack a fresh one.  Then go
from ``make mrproper''.

   CMC

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 Behind the counter a boy with a shaven head stared vacantly into space, 
 a dozen spikes of microsoft protruding from the socket behind his ear.
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
   C.M. Connelly               c@eskimo.com                   SHC, DS
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ 



Reply to: