Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: floppy on April 13, 2012, 01:52:57 PM

Title: (solved) error on boot after update: "depmod: ./kernel.tclocal:
Post by: floppy on April 13, 2012, 01:52:57 PM
No such file or directory"

Not so important. Not stopping the boot phase. Just a bit disturbing.
How to stop that message?
Title: Re: error on boot after update: "depmod: ./kernel.tclocal:
Post by: gerald_clark on April 13, 2012, 04:40:09 PM
You have not given any useful information that might help in finding an answer.
Title: Re: error on boot after update: "depmod: ./kernel.tclocal:
Post by: maro on April 13, 2012, 07:26:07 PM
If one executes 'sudo depmod' on a more recent TC system (starting with 4.4rc1) and no kernel module extension is installed (ignoring the OSS one as it doesn't follow the convention) then the reported warning message will appear.

As I had written here (http://forum.tinycorelinux.net/index.php/topic,12836.msg70452.html#msg70452) the reason is that the "/usr/local/lib/modules/$( uname -r)/kernel" directory is now missing from the initrd. I don't see any harm resulting from this, but the "fix" is equally trivial and could be implemented during the current 4.5 RC phase.
Title: Re: error on boot after update: "depmod: ./kernel.tclocal:
Post by: floppy on April 14, 2012, 03:24:34 AM
Thanks maro. Lets wait. Topic solved.
Title: Re: (solved) error on boot after update: "depmod: ./kernel.tclocal:
Post by: roberts on April 15, 2012, 02:22:39 AM
Added empty directory as suggested. This will prevent the harmless message from appearing when performing sudo depmod -a on a base system. Look for it starting with 4.5rc2.