You are not logged in.

#1 2012-02-11 17:45:47

Rubbishbook
Member
Registered: 2011-08-19
Posts: 17

[SOLVED] kmod will not load any modules (including those for eth0)

After a recent update, kmod will not load any modules (including those for the internet, keyboard and mouse for X). I have access to the system through the terminal, but obviously no internet access. If I try and modprobe the relevant modules kmod give the error

 libkmod:kmod_search_moddep: could not open moddep file '/lib/module/3.2.5-1-ARCH/modules.dep.bin'

I've looked around, and mostly this is caused by uname -r being different to where kmod is looking, but here uname -r returns 3.2.5-1-ARCH. I've also tried reinstalling kmod; no effect. Windows (same machine, dual boot) suffers no problems with internet or keyboard/mouse.

Any suggestions?

Last edited by Rubbishbook (2012-02-11 18:40:25)

Offline

#2 2012-02-11 18:02:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] kmod will not load any modules (including those for eth0)

What's the output of 'file /lib/module/3.2.5-1-ARCH/modules.dep.bin'?

Last edited by karol (2012-02-11 18:02:25)

Offline

#3 2012-02-11 18:18:31

Rubbishbook
Member
Registered: 2011-08-19
Posts: 17

Re: [SOLVED] kmod will not load any modules (including those for eth0)

file gives

/lib/modules/3.2.5-1-ARCH/modules.dep.bin: empty

I'm guessing this isn't supposed to be the case?

*edit* should be /lib/modules not /lib/module in post, fixed.

Last edited by Rubbishbook (2012-02-11 18:19:04)

Offline

#4 2012-02-11 18:21:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] kmod will not load any modules (including those for eth0)

[karol@black ~]$ file /lib/modules/3.2.5-1-ARCH/modules.dep.bin 
/lib/modules/3.2.5-1-ARCH/modules.dep.bin: data
[karol@black ~]$ pacman -Qo /lib/modules/3.2.5-1-ARCH/modules.dep.bin 
/lib/modules/3.2.5-1-ARCH/modules.dep.bin is owned by linux 3.2.5-1

Have you tried reinstalling the kernel?

Offline

#5 2012-02-11 18:39:57

Rubbishbook
Member
Registered: 2011-08-19
Posts: 17

Re: [SOLVED] kmod will not load any modules (including those for eth0)

Fixed! Ran

 pacman -S linux 

and rebooted and it's as if nothing ever happened. No idea why it happened, but happy it's working. Thanks karol!

Offline

Board footer

Powered by FluxBB