View previous topic :: View next topic |
Author |
Message |
aope n00b
Joined: 14 Jan 2004 Posts: 48
|
Posted: Sat Apr 10, 2004 6:47 pm Post subject: Kernel too old????? |
|
|
Hi. I got 2.6.4 kernel and want to have 2.4.25-gentoo-sources. I emerge gentoo-sources use genkernel --menuconfig --bootsplash --install all, everything fine, add:
Code: | title=Gentoo 2.4.25-gentoo
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.4.25-gentoo root=/dev/ram0 real_root=/dev/hda1 init=/linuxrc vga=0x317 splash=verbose
initrd (hd0,0)/boot/initrd-2.4.25-gentoo |
to my /boot/grub/grub.conf, reboot and...suprise. When try to mount root:
Quote: | kernel panic: kernel too old |
I must say, that kernel-2.6.4 works great with this grub config. All filesystem that i need are compiled in kernel. I must have a 2.4.x kernel, because nvidia graphics on 2.6.x are so slow...
Any idea? Thanks |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Sat Apr 10, 2004 6:51 pm Post subject: |
|
|
Are you using nptl?
That won't be supported by 2.4.25, and will give you this "kernel too old' warning. |
|
Back to top |
|
|
nbensa l33t
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Sat Apr 10, 2004 6:52 pm Post subject: |
|
|
You were running 2.6 with a ntpl enabled glibc. The message reads as "if you want to run this kernel you need a non-ntpl glibc." |
|
Back to top |
|
|
aope n00b
Joined: 14 Jan 2004 Posts: 48
|
Posted: Sat Apr 10, 2004 7:00 pm Post subject: |
|
|
Yes, i use glibc with nptl. I recompile glibc without this and try again. Thanks |
|
Back to top |
|
|
pjv Guru
Joined: 02 Jul 2003 Posts: 353 Location: Belgium
|
Posted: Sat Feb 12, 2005 4:00 pm Post subject: |
|
|
Hi, I'm using gentoo-dev-sources-2.6.10-r6 without probs. But there is a closed source driver that I need to use (albeit very seldomly). This driver is for 2.4 kernels (a .o module) only. Since I believe a .o module is worthless in a 2.6 kernel (right? or is there a way to convert or make compatible?), I tried to solve my problem in another way, namely providing a gentoo-sources-2.4.28-r5 kernel that I can boot if I want to use that driver (I only need it on special occasions). However this cohabitation seems to be more complex than I thought.
Can anyone tell me: What's the best way to keep both kernels next to each other without giving up to much comfort in my 2.6 one? Can I keep a +nptl glibc and another older -nptl glibc version living next together? I assume no, so am I doomed to not using nptl anymore? Also, how's this with the linuxheaders and linux26headers, and with /etc/modules.autoload.d/... ,and with the module dependencies? Is this worth doing?
Thx in advance,
pjv |
|
Back to top |
|
|
|