View previous topic :: View next topic |
Author |
Message |
supernov Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Space Quest/Space_Quest_-_Vohaul.gif)
Joined: 18 Feb 2005 Posts: 164
|
Posted: Fri May 05, 2006 7:39 pm Post subject: /lib/modules points to wrong kernel |
|
|
Hi there!
Got quite a few problems with my new kernel, but for a start I now saw my new kernel was trying to load a module from my previous installation.
Modprobing doesn't work because of an invalid format. But I noticed /lib/modules/old kernel. So how to solve this? Can't find a symlink
anywhere.
Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
phajdan.jr Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/88460585744f84aef98c79.jpg)
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Fri May 05, 2006 7:42 pm Post subject: |
|
|
Please post output of these commands:
Code: |
uname -r
ls -l /lib/modules
|
Looks like you didn't install modules for your new kernel. To do so, run
Code: |
cd /usr/src/linux (make sure it's current sources directory)
make
make install modules_install
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Fri May 05, 2006 7:54 pm Post subject: |
|
|
supernov,
The kernel loads its modules from knowing its own name, so you probably have not installed your kernel properly.
will shoe you the name, and build date/time of your running kernel.
Is it what you expected ?
Did you forget to mount /boot ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
supernov Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Space Quest/Space_Quest_-_Vohaul.gif)
Joined: 18 Feb 2005 Posts: 164
|
Posted: Sat May 06, 2006 12:41 pm Post subject: |
|
|
OmG!
uname gave me the fact that I was running the previous kernel! I tried so many things to explain all the behaviour I was constantly seeing,
I'm not a noob anymore, but now I really dropped my trousers. For some reason, in previous gentoo installations, I didn't have to
mount boot. It was probably done automatically, but with the new one I apparently changed this (which is a good thing I believe). So here I was
compiling new kernels, copying them to /boot, checking to see if they were copied, updating my linux link... and probably was doing all
that virtually!? Mounting the boot did the trick, after that my modules loaded, eth0 was working again and even the ati-drivers with
fglrx!! Incredible, weeks I spend behind the screen for this.
So, what works for me on this system is gentoo 2.6.16-r6 with ati-drivers 8.23.7, not forgetting to mount /boot when copying new kernels:
- Ati Radeon 9600
- SiS chipset controllers
- Realtek, SiS ethernet controllers
Thanks m8's! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|