Click to See Complete Forum and Search --> : Problem booting into 2.4


godot
01-17-2001, 04:46 PM
I'm using debian with 2.2.17 kernel.
I compiled 2.4, worked great. Problems arose when i edited lilo.conf and rebooted.

Debian is a little different from the NFH here, lilo.conf boots from /vmlinuz with is a link to /boot/vmlinuz-2.2.17 on my machine. I made a new link /vmlinuz.old pointing to /boot/vmlinuz-2.2.17 then made a new /vmlinuz pointing to my new compiled kernel /boot/vmlinuz-2.4.0. The system maps were also somewhat confusing. The old one is /boot/system.map-2.2.17 so i copied the new one to system.map-2.4.0. Is that a problem, how are they read since there's nothing related to it in lilo.conf? I had two boot options, Linux and old, old pointed to /vmlinuz.old and Linux to /vmlinuz. I also noticed that the compiled 2.4 kernel wasn't executable but the 2.2.17 kernel was, so chmod +x vmlinuz-2.4.0. When I rebooted it started loading linux, said it was loading the kernel and just stopped. Can anyone see where i went wrong?

moose
01-17-2001, 05:07 PM
What processor do you have?

It seems 2.4.0 is defaulted to a machine with a P3.

If you have anything but a p3, try running make xconfig (from X) or make menuconfig (I think) from a console and make sure the processor matches what you have in your machine.

godot
01-17-2001, 05:13 PM
i have a p2-233, i've been searching for related stuff and someone had a similar problem they resolved by putting a link /boot/system.map that points to the one they want to use, i guess I'll try that.

godot
01-17-2001, 05:29 PM
OK, here's an update.
I can now get into my old kernel by default and the 2.4 kernel is accessible by typing new at LILO.
When I try to boot the new kernel it hangs after decompressing the kernel.

I now have /vmlinuz.new pointing to /boot/vmlinuz-2.4.0 and the system map is /boot/System.map

Is it a problem with my compilation?

here's lilo.conf and the kernel configuration http://www.wam.umd.edu/~jeffj/jeff-configuration
http://www.wam.umd.edu/~jeffj/lilo.conf

Luthor
01-17-2001, 06:27 PM
hmmmm. You say you have a Pentium II but isn't your processor type set to Pentium III?



------------------
Luthor St. James
(aka [AcK]BillTheCat)

godot
01-17-2001, 08:33 PM
I got it working, I didn't notice that it was set for Pentium 3, I assumed it just mattered what chipset I was using. Thanks for the help, I'm surprised you thought of that immediately!

godot
01-17-2001, 08:34 PM
I got it working, I didn't notice that it was set for Pentium 3, I assumed it just mattered what chipset I was using. Thanks for the help, I'm surprised you thought of that immediately!