View previous topic :: View next topic |
Author |
Message |
Zach_the_Lizard n00b
Joined: 20 Jun 2008 Posts: 17 Location: /root
|
Posted: Sun Jun 22, 2008 7:12 pm Post subject: Kernel Modules fail to load after recompiling kernel |
|
|
Hello once again!
After getting my install exactly as I wanted it, after installing once already, I realized that I had foolishly forgotten to enable ALSA support. Without thinking, I typed "emerge alsa," and walked away to get a drink. Much to my surprise, I came back to discover that doing so had downloaded an entirely new kernel. So, still having my kernel source, I head to /usr/src/linux, make menuconfig, make && make modules_install. All appears to be well. I then re-emerge the nvidia drivers. As the kernel is the same name, I don't need to edit grub.conf. I do copy the new kernel to /boot, however. I restart and boot into my new kernel and instantly the pain starts.
X wouldn't start at first, and I was curious as to why. It appears the nvidia kmod (amongst others) has some sort of mismatch between the kernel I just compiled, so I re-emerge it and try starting X again. No dice. I try rebooting (something I think is absolutely unnecessary). As I boot,, I make note of a few things that scroll by. the nvidia kernel module fails to load, as I see, but it goes on to explain why. It lists says: kernel-2.6.24-gentoo-r8 SMP mod_unload CORE2 4KSTACKS should be '2.6.24-gentoo-r8 mod_unload CORE2.' This is a rather interesting error. Of course, a few other kernel modules ended up like this, but the root of the problem is likely the same.
Can anyone shed any light on what I should do? |
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Mon Jun 23, 2008 10:54 am Post subject: |
|
|
Quote: | Without thinking, I typed "emerge alsa," and walked away to get a drink. Much to my surprise, I came back to discover that doing so had downloaded an entirely new kernel. |
1]
it downloaded a new kernel...thats interesting ill try it when i get to my box.You need to re-check what has been downloaded, but im really curious if this is possible to happen.If it has merge alsa-driver definately you will need to get rid of it, as its no longer supported the one in the kernel is preffered instead.
2]regarding nvidia, yes every kernel compile i have to run Code: | modules-rebuild rebuild | to get nvidia re-emerged en other modules.
cheers... _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
|
kimmie Guru
Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Tue Jun 24, 2008 6:08 am Post subject: |
|
|
The error message might be complaining that your kernel was built with 4K stacks instead of 8K. The option is 4KSTACKS, it's down the bottom in the Kernel Hacking section. Try turning it off, then rebuild your kernel and your modules. |
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
|
Back to top |
|
|
|
|
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
|
|