Quote:
Originally Posted by lucasmpr
Code:
[root@kindle root]# modprobe g_mass_storage
FATAL: Error inserting g_mass_storage (/lib/modules/3.10.53-lab126/kernel/drivers/usb/gadget/g_mass_storage.ko): No such device
[root@kindle root]#
I really think its broken :P
|
Only if you broke it.
Did you do anything that might have broken it?
Note: You can get the same sort of error messages if the module automation files are not complete or current when using modprobe.
So you can't use the modprobe error messages to say definitively if a module is missing.
For that:
modinfo g_mass_storage.ko
or
insmod g_mass_storage (does not use the dependency files)
or
find /lib/modules -name 'g_mass*'
And if none of those find the module file, you still don't know if the module is missing, because:
It may only be present in the initramfs file system image and was loaded before switching to the flash based file system;
or
It may be built-in rather than a module.
To see if it is already loaded (say from some storage location you are not checking):
lsmod | grep 'g_mass'
To see if it is built-in, there should be a list of built-in modules, either in the /proc sub-tree or in the /lib/modules sub-tree of the file system (or both - depends on your kernel version).