You are not logged in.

#1 2012-12-29 14:19:08

Ploink
Member
Registered: 2011-10-26
Posts: 17

[Solved] Can't find usbnet module in stock kernel

Hi,

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)

Offline

#2 2012-12-29 14:28:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: [Solved] Can't find usbnet module in stock kernel

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)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-12-29 14:41:34

Ploink
Member
Registered: 2011-10-26
Posts: 17

Re: [Solved] Can't find usbnet module in stock kernel

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?)

Offline

#4 2012-12-29 14:47:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: [Solved] Can't find usbnet module in stock kernel

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)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2012-12-29 14:50:39

Ploink
Member
Registered: 2011-10-26
Posts: 17

Re: [Solved] Can't find usbnet module in stock kernel

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)

Offline

#6 2012-12-29 15:14:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: [Solved] Can't find usbnet module in stock kernel

Are you running your currently installed kernel?  In otherwords, what's the output of `uname -a` and `pacman -Qi linux`


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2012-12-29 15:20:22

Ploink
Member
Registered: 2011-10-26
Posts: 17

Re: [Solved] Can't find usbnet module in stock kernel

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!

Offline

#8 2012-12-29 15:23:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: [Solved] Can't find usbnet module in stock kernel

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.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB