You are not logged in.

#1 2013-04-20 06:53:29

kernel164
Member
Registered: 2013-04-20
Posts: 7

kernel module missing

I'm trying to use g_file_storage or g_mass_storage module as per these links but couldn't find them in arch. pls help.
http://www.linux-usb.org/gadget/file_storage.html
http://wiki.embeddedarm.com/wiki/USB_Ga … ss_Storage
http://www.linux-usb.org/gadget/
http://www.mail-archive.com/linux-usb-u … 17632.html


$ modinfo g_file_storage
modinfo: ERROR: Module g_file_storage not found.
$ modinfo g_mass_storage
modinfo: ERROR: Module g_mass_storage not found.

Offline

#2 2013-04-20 11:04:53

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,769

Re: kernel module missing

Are you on a rPi or similar arm device?


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2013-04-20 11:09:03

kernel164
Member
Registered: 2013-04-20
Posts: 7

Re: kernel module missing

im using x86_64

$ uname -a
Linux my-vaio 3.8.7-1-ARCH #1 SMP PREEMPT Sat Apr 13 09:01:47 CEST 2013 x86_64 GNU/Linux

Offline

#4 2013-04-20 11:43:33

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,079
Website

Re: kernel module missing

It seems those modules are no longer present:

/lib/modules/3.8.7-1-ARCH/kernel 
└─$ find . -name 'g_*'
./drivers/usb/gadget/g_ether.ko.gz
./drivers/usb/gadget/g_audio.ko.gz
./drivers/usb/gadget/g_ffs.ko.gz
./drivers/usb/gadget/g_ncm.ko.gz
./drivers/usb/gadget/g_dbgp.ko.gz
./drivers/usb/gadget/g_printer.ko.gz
./drivers/usb/gadget/g_hid.ko.gz
./drivers/usb/gadget/g_serial.ko.gz
./drivers/usb/gadget/g_midi.ko.gz
./drivers/usb/gadget/g_webcam.ko.gz

Offline

#5 2013-04-20 15:12:55

kernel164
Member
Registered: 2013-04-20
Posts: 7

Re: kernel module missing

http://www.linux-usb.org/gadget/file_storage.html   - Last Modified: 20 March 2013
http://wiki.embeddedarm.com/wiki/USB_Ga … ss_Storage - last modified on 10 February 2012, at 21:25.

these updates are pretty recent - so I think the module src should be there I guess - right?
maybe archlinux kernel & module package (compilation) misses this module somehow?

Offline

#6 2013-04-26 02:03:32

kernel164
Member
Registered: 2013-04-20
Posts: 7

Re: kernel module missing

help pls!!

Offline

#7 2013-04-26 02:21:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,825

Re: kernel module missing

Sanity check.  You are running the 3.8.7-1 kernel.
What does pacman -Qi linux say you have installed?  (My machine is up to 3.8.8-1)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#8 2013-04-26 02:23:12

kernel164
Member
Registered: 2013-04-20
Posts: 7

Re: kernel module missing

I'm still using 3.8.7-1 - haven't updated to 3.8.8-2 yet

Offline

#9 2013-04-26 07:16:53

kernel164
Member
Registered: 2013-04-20
Posts: 7

Re: kernel module missing

just now upgraded to 3.8.8-2

$ find /lib/modules/3.8.8-2-ARCH/kernel/ -name 'g_*'
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_ffs.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_hid.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_ether.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_audio.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_ncm.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_midi.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_webcam.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_printer.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_dbgp.ko.gz
/lib/modules/3.8.8-2-ARCH/kernel/drivers/usb/gadget/g_serial.ko.gz

g_file_storage or g_mass_storage module is not found in 3.8.8-2 as well

Offline

#10 2013-04-26 08:11:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel module missing

I'm guessing the arch devs decided to leave them out because of stuff like this:

linux-usb.org wrote:

Many Linux systems will not be able to use it, since they only have PC-style USB Host (master) hardware in a PC, workstation, or server.

http://www.linux-usb.org/gadget/

To get an official response, post a feature request in the bugtracker asking for them to be included.

Offline

#11 2013-04-26 08:20:39

kernel164
Member
Registered: 2013-04-20
Posts: 7

Re: kernel module missing

I have raised a bug at https://bugs.archlinux.org/task/34970

Offline

Board footer

Powered by FluxBB