Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel too old?????
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
aope
n00b
n00b


Joined: 14 Jan 2004
Posts: 48

PostPosted: Sat Apr 10, 2004 6:47 pm    Post subject: Kernel too old????? Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sat Apr 10, 2004 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Sat Apr 10, 2004 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
aope
n00b
n00b


Joined: 14 Jan 2004
Posts: 48

PostPosted: Sat Apr 10, 2004 7:00 pm    Post subject: Reply with quote

Yes, i use glibc with nptl. I recompile glibc without this and try again. Thanks :-D
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Sat Feb 12, 2005 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum