depmod, lsmod and modprobe problems

Ken Schweigert yellowdog-general@lists.terrasoftsolutions.com
Mon Oct 21 13:50:01 2002


On Mon, Oct 21, 2002 at 11:59:43AM -0700, Bryan D. Brown wrote:
> I am having sound trouble.... but I am also having issues with trying 
> to figure out what exactly is going on. Here is a list of commands I 
> have tried an their result:
> 
> 
> [root@website root]/sbin/depmod
> depmod: Can't open /lib/modules/2.4.18-0.8a/modules.dep for writing
> 
> [root@website root] /sbin/lsmod
> Module                  Size  Used by    Not tainted
> 
> Yes, you are reading that right - lsmod showed nothing.....
> 
> [root@website proc]# /sbin/modprobe dmasound
> modprobe: Can't open dependencies file
> /lib/modules/2.4.18-0.8a/modules.dep (No such file or directory)
> 
> I should also mention that depmod also gives me the same error during boot up.
> 
> Any ideas? I am REALLY trying to avoid rebuilding the kernal....

Run depmod with the -a switch.
	[root@byteme /root]# depmod -a 

This should rebuild your non-existant modules.dep file.

-ken

> 
> Bryan
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> 

-- 
-Ken Schweigert, Padawan Network Administrator
Byte Productions, LLC
http://www.byte-productions.com