View previous topic :: View next topic |
Author |
Message |
amdonati Tux's lil' helper
Joined: 13 Oct 2002 Posts: 89 Location: Italy
|
Posted: Sun Apr 13, 2003 12:07 am Post subject: Porblems installing alternate kernel |
|
|
HI,
I am using the 2.4.20-win4lin kernel but I downloaded and compiled the latest 2.4.21.pre7.gss (you know, besides win4lin support, low latency, preemption, Zaurus USB module...).
The compilation was ok and I could start the new kernel, but at this point the problems arise; a lot of things does not work anymore (Nvidia and audigy drivers, hdparm, iptables start from a script, X itself).
I do not know what the cause is; I tried to point /usr/src/linux to it but without any success.
I would not like to have to recompile all the key software for the new solution (nvidia & audigy drivers are ok, but recompiling X....) as well as I do not understand why HDPARM is not working.
And everything is back in order if I start with the old 2.4.20 kernel.
Any suggestion on what could I do to solve this situation?
Thank you in advance!
Adalberto |
|
Back to top |
|
|
Ian Goldby Guru
Joined: 18 May 2002 Posts: 539 Location: (Inactive member)
|
Posted: Sun Apr 13, 2003 8:36 pm Post subject: |
|
|
Did you make all the modules too? You'll certainly need to do that. Also, I've heard that the Nvidia drivers (and alsa-drivers for that matter) are a special case. You have to re-emerge them after every kernel rebuild. You shouldn't have to re-emerge X though.
Other than that, I've no more idea than you. Sorry. |
|
Back to top |
|
|
amdonati Tux's lil' helper
Joined: 13 Oct 2002 Posts: 89 Location: Italy
|
Posted: Sun Apr 13, 2003 9:22 pm Post subject: |
|
|
Yes, compiled the modules too.
I use the format used in the installing steps:
Code: |
make dep && make clean bzImage modules modules_install
|
Probably I'll try to re emefge the nvidia and the audigy drivers, and then I'll se what happens
Thanks,
Adalberto |
|
Back to top |
|
|
lurid Guru
Joined: 12 Mar 2003 Posts: 595 Location: Florida
|
Posted: Sun Apr 13, 2003 10:44 pm Post subject: |
|
|
Haha, this is the third time I've said this in as many posts! No offence, of course.. just that everyone is asking the same kernel question.
When you build a new kernel, you can no longer use the old modules with it. That is why you use the 'modules' and 'modules_install' options when building a kernel. Well, nvidia drivers (as well as alsa, lm_sensors, etc) aren't included with the base kernel package so they don't get rebuilt for the new kernel. You have to emerge them again so that they get made for the kernel you just installed. Its all pretty logical, even if its a bit time consuming. :) |
|
Back to top |
|
|
Megaptera Tux's lil' helper
Joined: 29 Jul 2002 Posts: 145
|
Posted: Mon Apr 14, 2003 1:43 am Post subject: |
|
|
Quick question that may or may not matter-- when you say:
Quote: | I tried to point /usr/src/linux to it but without any success. |
do you mean that Code: | ln -s /usr/src/<new kernel> linux | failed to create the linked directory /usr/src/linux, or that it did create a new (and correct) /usr/src/linux but that didn't solve the problem? |
|
Back to top |
|
|
amdonati Tux's lil' helper
Joined: 13 Oct 2002 Posts: 89 Location: Italy
|
Posted: Mon Apr 14, 2003 7:32 am Post subject: |
|
|
Yes, I did
Code: |
ln -s /usr/src/<new kernel> linux
|
Well, as I am a bit lazy I did it in konqueror, but the result was the same.
|
|
Back to top |
|
|
|