I was trying to get USB tethering to work, and found that I don't have the "usbnet" module. Pkgfile tells me that linux and linux-lts both provide usbnet, but I can't find the module (in /usr/lib/modules/...) at all (I'm on the 3.6.10-1 kernel, just reinstalled it from the repositories to make sure). I checked the file list of the 3.6.9-1 kernel that I had in pacman's cache, and the module wasn't there either. Does anyone know why I'm not getting this module with my kernel?
Last edited by Ploink (2012-12-29 16:00:42)
pacman -Ql linux | grep usbnet linux /usr/lib/modules/3.6.10-1-ARCH/kernel/drivers/net/usb/usbnet.ko.gz
Edit: oops, I see you said you checked the file list. Sorry, I typed faster than I read. If you do not get similar output to this, then the linux package isn't properly installed.
Last edited by Trilby (2012-12-29 14:31:32)
Oops, sorry, turns out I was looking in the wrong folder - I missed the ../drivers/.. subfolder. I guess I do have the module, but modprobe doesn't seem to be loading it correctly. After trying to load it with modprobe, lsmod still doesn't list usbnet. (modprobe also doesn't give me any output at all, even with the -v option. Is this right?)
What parameter are you giving to modprobe? If I give the full filename of the .ko.gz file then I get the same result that you describe. You should only use the basename or name of the module itself:
# modprobe usbnet
Modprobe takes module names, not file names, as parameters.
Last edited by Trilby (2012-12-29 14:47:38)
No, that's exactly what I did
# modprobe -v usbnet # lsmod | grep usbnet
I don't get any output from the lsmod command (or from the modprobe command, for that matter)
Edit: rmmod even tells me that usbnet is not loaded (just thought I'd add that..)
Last edited by Ploink (2012-12-29 14:53:34)
Are you running your currently installed kernel? In otherwords, what's the output of `uname -a` and `pacman -Qi linux`
Now I just feel silly.... I didn't realise that I hadn't rebooted after my last -Syu. I'm still running my previous kernel. Thanks a lot!
You wouldn't believe how long I fought with my dvd player the other day for this very same reason ... even though I've seen so many identical issues from the very same problem. We all do it.
Be sure to mark the thread as solved by editting your initial post.