'depmod' problems when trying to install modules
My distro is KateOS, which is based on Slackware.
Started getting problems with depmod. Having rebuilt my own kernel (188.8.131.52), when I run "make modules_install" it bombs out after a while with ...
/bin/sh: line 1: 27167 Killed /sbin/depmod -ae -F System.map 184.108.40.206
make: ***[_modinst_post] Error 137
... this is totally repeatable, other than the 27167 bit, which varies pretty randomly.
If I just run ...
/sbin/depmod -ae -F System.map 220.127.116.11
... it hangs around for a while and then simply says ...
Sometimes it hangs around for a short while, sometimes it takes a lot longer.
I have no /etc/modules.conf file. I am running this from my linux 18.104.22.168 sources directory. My kernel build and modules build worked OK, and the modules in /lib/modules/22.214.171.124 seem to be up to date. But no modules.dep file gets created by depmod.
I've googled this and quite a lot of other people seem to have hit the same problem ... but no-one seems to have found an answer! The fact it takes varying amounts of time before it bombs out (sometimes a few seconds, sometimes minutes) makes me wonder if I'm dealing with a bug of some sort here? Or maybe running out of memory on my elderly PC?
I have played with the kernel configuration options, turned on some debug etc ... may be a result of this?
Does anyone have any ideas what's going on here please?