I am on my laptop as the main machine has been scuttled.
It got laggy this morning, with htop showing no reason for it, but since quite a few updates had been installed since the last reboot, including nvidia-current-302.07 on the 12th of may.
That reported an error of course nvidia wouldn't be nvidia if it was a simple apt-get install.
So I thought 'd reboot, and try out the 3.2.18 kernel I installed a day or so back. But no X on the reboot, regardless of which kernel I booted to. I find that 302.07 seems to be installed ANAICT, but depmod isn't updating the modules files in the root of any /lib/modules tree.
Normally here, this will be fixed with a couple sessions of rm -f `locate 295.40`, or whatever the older nvidia-current version was, in this case cleaning up leftovers from both 295.20 and 295.40. But I still cannot reinstall to a working X that may not be an nvidia problem as the normal hand reinstall of going into /usr/src/nvidia-current-$VERSION and typing "make module-install" hangs at the end with top showing that depmod is using 100% of the cpu, forever. But run by hand, or from the makefile, a ctl-c kills it instantly.
This is I believe the real problem, and a re-install of module-init-tools doesn't help.
So I am sitting here, with my laptop which is not configured to get email, pointing 2 confused fingers, the primary one at depmod, it simply hangs, as me or as root, a depmod -a -v is totally silent until I hit a ctl-c. So I had apt-get install module-init-tools-3.6-6pclos2011.i586.rpm while I went to the shop and retrieved my lappy. That said it was successful, so I did another "depmod -a" and left it sit. 20 minutes later I see this on the pclos box's screen:
WARNING: Can't read module /lib/modules/3.2.18-pclos1.pae.bfs/kernel/net/x25/x25.ko.gz: Cannot allocate memory
and the root prompt is back, finally.
That box has 4Gb of dram in it, and 12Gb of swap on 3 different drives, so its for sure not out of memory.
And obviously, without a working depmod, I can't fix it. Phone calls to friends running other flavors of linux haven't helped either.
Thanks & Cheers, Gene