Newest Ubuntu kernel yast install makes no /lib/modules/2.6.31-20-generic directory?
Hi,
Ubuntu 9.10 desktop/64 just automatically upgraded my kernel to 2.6.31-20. At reboot time, I noticed a bunch of "No such file" errors. Then my NFS mounts to my other machines failed: root@trex:/mnt/vulcan.brianp# mount /mnt/vulcan.brianp mount.nfs: No such device The nfs mounts worked fine before the reboot. I know for sure because my TBird email folders are all on a central server and I just checked it. Looking at my syslog, I see 9 messages like this: Feb 11 14:17:56 trex modprobe: FATAL: Could not load /lib/modules/2.6.31-20-generic/modules.dep: No such file or directory Looking in /lib/modules, I see there is no directory for this kernel at all: brianp@trex:/lib/modules$ ll total 28K drwxr-xr-x 6 root root 4.0K 2009-11-02 11:13 2.6.28-11-generic drwxr-xr-x 5 root root 4.0K 2009-05-09 11:14 2.6.28-12-generic drwxr-xr-x 5 root root 4.0K 2009-08-10 10:52 2.6.28-13-generic drwxr-xr-x 6 root root 4.0K 2009-11-02 11:13 2.6.28-14-generic drwxr-xr-x 6 root root 4.0K 2009-11-02 11:14 2.6.28-15-generic drwxr-xr-x 3 root root 4.0K 2009-09-19 10:14 2.6.28-15-server drwxr-xr-x 6 root root 4.0K 2009-11-07 12:28 2.6.28-16-generic How could it install a new kernel without making any modules for it? Do I have to build a custom kernel and do a make modules-install? Will having a Frankenstein, 1/2 custom, 1/2 stock kernel wreak havoc on my sanity? My last half dozen auto kernel updates have worked after a grub adjustment and without this problem. I can't believe my network still works without any modules. Huh? Am I doing something really dumb? Thank you, BrianP root@trex:/etc/init.d# ./nfs-kernel-server restart * Stopping NFS kernel daemon [ OK ] * Unexporting directories for NFS kernel daemon... [ OK ] FATAL: Could not load /lib/modules/2.6.31-20-generic/modules.dep: No such file or directory * Not starting NFS kernel daemon: no support in current kernel. root@trex:/etc/init.d# updatedb; locate 2.6.31-20; echo done done root@trex:/etc/init.d# uname -a Linux trex 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:02:26 UTC 2010 x86_64 GNU/Linux |
You can use depmod(8) to create modules.dep:
Code:
depmod 2.6.31-20-generic |
Irmin,
How do I tell Ubuntu that it screwed up on the last kernel upgrade and needs to try again? I found this is synaptic: linux-image-2.6.31-20-generic Linux kernel image for version 2.6.31 on x86/x86_64 What's going to hit the fan when I reinstall this? What other stuff did it attempt to install that is going to break when I jerk this out from under it? I am about ready to fully configure and build my own custom kernel, just like back in the heady, old, seat-of-your-pants Linux days. The maintenance and security hassles are the only reasons I don't make menuconfig right now and build a nice, lean, fully optimized kernel. I can just change grub to default to the last, working kernel, ignore this defective one, and wait for the next one. Hmmm... BrianP |
All times are GMT -5. The time now is 09:26 PM. |