LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-05-2010, 05:29 AM   #1
annekaelber
Member
 
Registered: Sep 2003
Location: Mesa, AZ
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
modprobe usb-storage: FATAL: Error inserting


I took some pictures tonight and plugged in my flash card reader (via usb) as always. Only this time, the device isn't assigned a proper location (like "sdc3").

A little research later and I *think* I need the module "usb-storage", which I can't get to load. It's been a *long* time since I had to mess with modules and I'd like some fresh eyes on what the problem might be.

This is my lsmod output:
Code:
# lsmod
Module                  Size  Used by
oss_usb                99276  1 
oss_hdaudio           128356  3 
osscore               548308  2 oss_usb,oss_hdaudio
ipv6                  243508  27 
pcmcia                 33772  0 
pcmcia_core            32016  1 pcmcia
lp                      9316  0 
fuse                   54008  1 
nvidia               9965252  28 
psmouse                41676  0 
serio_raw               5024  0 
agpgart                29256  1 nvidia
k8temp                  4156  0 
sg                     24912  0 
forcedeth              54636  0 
i2c_nforce2             6368  0 
rtc_cmos               10124  0 
thermal                15096  0 
rtc_core               15992  1 rtc_cmos
parport_pc             24036  1 
processor              38600  1 thermal
thermal_sys            10756  2 thermal,processor
rtc_lib                 2332  1 rtc_core
parport                30700  2 lp,parport_pc
button                  5708  0 
hwmon                   2104  2 k8temp,thermal_sys
evdev                   9152  10
I also ran modprobe with -n -v:
Code:
# modprobe -n -v usb-storage    
insmod /lib/modules/2.6.29.6-smp/kernel/drivers/usb/storage/usb-storage.ko
I have run depmod -a and tried the modprobe again...
Code:
# depmod -a
# modprobe usb-storage
FATAL: Error inserting usb_storage (/lib/modules/2.6.29.6-smp/kernel/drivers/usb/storage/usb-storage.ko): Invalid argument
If I drill down to the /lib/modules/<kernel -r>/drivers/usb/storage/ where the .ko file is and say:
Code:
# insmod ./usb-storage.ko 
insmod: error inserting './usb-storage.ko': -1 Invalid parameters
So.... since I haven't changed anything that I can think of since the last time I took pictures...what happened? How do I fix this?

(Note: I'll be honest. It's 3:30 in the morning and we've been packing for a move. I don't recall how I came to the idea that I might be missing usb-storage. Is this a red herring? Am I barking down the wrong path?)

Thanks in advance!

Anne.
 
Old 06-05-2010, 05:38 AM   #2
annekaelber
Member
 
Registered: Sep 2003
Location: Mesa, AZ
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
headpalm

I'm loathe to reveal the level of idiocy I just discovered... but, in the interests of saving you all time: I figured it out. I put the compact flash card into the reader backwards.

I *swear* I thought it couldn't do that... *sigh*

*trundles off to bed in shame*

Anne.
 
Old 06-07-2010, 11:07 PM   #3
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 175

Rep: Reputation: 31
I think usb storage should be automatically loaded by the udev hotplug system. But if you do need to load it manually, you should give the command as modprobe usb_storage (you must use the underscore, note the underscores in the module names when you lsmod)
 
Old 06-07-2010, 11:34 PM   #4
annekaelber
Member
 
Registered: Sep 2003
Location: Mesa, AZ
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by alan99 View Post
you should give the command as modprobe usb_storage (you must use the underscore, note the underscores in the module names when you lsmod)
Since my problem is solved, I'm responding to share something my man pages told me which contradicts this. I typed "man modprobe". It said this in the entry: "modprobe intelligently adds or removes a module from the Linux kernel: note that for convenience, there is no difference between _ and - in module names." I *did* still try typing it both ways -- but the result wasn't different. In the end, my problem was PEBKAC: Problem exists between keyboard and chair.

Anne.
 
  


Reply

Tags
error, fatal, inserting, insmod, modprobe


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe ndiswrapper (FATAL: Error inserting ndiswrapper ) dh2k Slackware 8 08-03-2010 05:29 AM
modprobe fatal error inserting apm Stuperfied Linux - Software 12 06-11-2007 09:44 AM
modprobe: FATAL: Error inserting hw_random logicalfuzz Linux - General 7 09-14-2005 10:37 PM
modprobe: FATAL: Error inserting apm OneManArmy Linux - Software 2 08-21-2004 07:50 PM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM


All times are GMT -5. The time now is 01:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration