You are not logged in.

#1 2008-06-19 16:30:55

atomclock
Member
Registered: 2007-05-15
Posts: 18

Kernel 2.6.25 tries to load 2.6.24 modules

I have my system completely updated pacman -Syu with all the latest packages except for the kernel and the associated nvidia drivers.  Whenever I install the 2.6.25 kernel and reboot I get errors that the modules can't be found.  This error is because it is trying to load modules from the /lib/modules/2.6.24-ARCH directory.  NOTE: that directory is gone after I update to kernel 2.6.25.  I have spent about 5 hours on this problem and I have done an extensive search but have not been able to find a solution. 

When I type depmod -aen it also tries to search the /lib/modules/2.6.24-ARCH directory and of course doesn't find anything.  I may be wrong but after reading I believe that depmod gets its path information from /boot/System.map.  If this is correct then there is a problem with the 2.6.25 System.map file.  Does this mean that I have to do a custom kernel build if I want to upgrade toe 2.6.25?

I have had to revert back to kernel 2.6.24 in order to get my computer back up and running to post this question.

Thanks!

Offline

#2 2008-06-19 18:06:11

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: Kernel 2.6.25 tries to load 2.6.24 modules

Are you sure your boot partition is mounted when you try and upgrade? Or that grub is looking at the right partition? Because the only reason it would look for the 2.6.24 modules is if you still had the 2.6.24 kernel being loaded by grub.

Offline

#3 2008-06-19 19:31:54

atomclock
Member
Registered: 2007-05-15
Posts: 18

Re: Kernel 2.6.25 tries to load 2.6.24 modules

I am certain that I am booting from the correct partition also, when I type pacman -S kernel26 it changes the contents of the /boot, /lib/modules and /usr/src to the updated kernel26 information.  I agree that it is behaving as though I am still booting from a 2.6.24 kernel but if that is true then the contents of the kernel26-2.6.25.6-1-i686.pkg.tar.gz package are incorrect.

Boot directory with 2.6.24 kernel

[root@matt42 boot]# ls -l
total 7967
-rw-r--r-- 1 root root  831339 2008-03-30 03:48 System.map26
drwxr-xr-x 2 root root      96 2008-03-22 07:43 grub
-rw-r--r-- 1 root root   79977 2008-03-05 05:10 kconfig26.pacsave
-rw-r--r-- 1 root root 4460039 2008-06-19 10:15 kernel26-fallback.img
-rw-r--r-- 1 root root  873407 2008-06-19 10:15 kernel26.img
-rw-r--r-- 1 root root 1896984 2008-03-30 03:48 vmlinuz26

Boot directory with 2.6.25 kernel

[root@matt42 boot]# ls -l
total 8155
-rw-r--r-- 1 root root  733992 2008-06-14 10:10 System.map26
drwxr-xr-x 2 root root      96 2008-03-22 07:43 grub
-rw-r--r-- 1 root root   79977 2008-03-05 05:10 kconfig26.pacsave
-rw-r--r-- 1 root root 5002741 2008-06-19 13:35 kernel26-fallback.img
-rw-r--r-- 1 root root  927875 2008-06-19 13:35 kernel26.img
-rw-r--r-- 1 root root 1588220 2008-06-14 10:10 vmlinuz26
[root@matt42 boot]#

The contents of the boot directory are being updated...

Do most people build custom kernels instead of using the one int the repository?

Thanks

Last edited by atomclock (2008-06-19 19:41:19)

Offline

#4 2008-06-19 23:45:26

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: Kernel 2.6.25 tries to load 2.6.24 modules

Do you have a seperate boot partition or not? Type mount with no parameters. Then check /boot/grub/device.map and /boot/grub/menu.lst and make sure they are all pointing to the same thing. Im betting its not, its simply "un-possible!" tongue

Offline

#5 2008-06-20 15:28:09

atomclock
Member
Registered: 2007-05-15
Posts: 18

Re: Kernel 2.6.25 tries to load 2.6.24 modules

shazeal wrote:

Do you have a seperate boot partition or not? Type mount with no parameters. Then check /boot/grub/device.map and /boot/grub/menu.lst and make sure they are all pointing to the same thing. Im betting its not, its simply "un-possible!" tongue

Yep... I was booting from the wrong partition.  I did a fresh install on a second partition quite some time ago and I obviously didn't set up grub to boot from the correct partition.  THANK YOU for you help!!!  I would have never checked because I was so sure I had it right... Sometime a good humbling is good for shrinking one's head.

Thanks again!!!

Offline

Board footer

Powered by FluxBB