LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-14-2004, 04:02 PM   #1
maddogdelta
Member
 
Registered: Nov 2003
Location: tonawanda, NY
Posts: 32

Rep: Reputation: 15
Angry Yet another USB/Flash Memory can't get to work problem


I have read the HOWTO, but I don't want to recompile the kernel yet (everything else works, I dont want to break them...yet)

I have a DELL Inspiron 2600 laptop (yummy! especially the video...)

I have a stock install of Redhat 9 no kernel recompiles yet

Because of the stock kernel, scsi and usb support are in modules, not in the kernel (which _may_ be the problem)

i modprobe sd_mod and usb-storage

then i cat /proc/scsi/scsi and get
Attached devices: none


I do dmesg and get

SCSI subsystem driver Revision: 1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
parport0: PC-style at 0x378 [PCSPP]


but nothing about which SCSI device it is on.

Have I forgotten to modprobe/insmod something?

will I have to recompile the kernel anyway?


Thanks!
 
Old 05-14-2004, 06:40 PM   #2
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
You could try modprob on

usbcore
ehci_hdc
ohci_hcd
uhci_hcd
usb_storage


If you have usb2 then ehci_hdc is the driver, for usb1 then either ohci_hcd or uhci_hcd are needed. If you have usb2 but attach a usb1 device you will need (i think) ohci_hcd.
 
Old 05-14-2004, 07:22 PM   #3
maddogdelta
Member
 
Registered: Nov 2003
Location: tonawanda, NY
Posts: 32

Original Poster
Rep: Reputation: 15
Talking YAH HOO!!!!

the usb-uhci worked like a champ!


I'm trying now to get it so that the mods load on bootup. Is rc.sysinit the best choice for this?

Thanks again, BIG TIME!

Rich
 
Old 05-14-2004, 07:57 PM   #4
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Ive been having the same problem, Ill try that as well. Anyhoo, the best way to get it to load on boot would be to put usb-uhci in:
/etc/modules
 
Old 05-14-2004, 09:43 PM   #5
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Well, I tried that, and the kernel now detects when I disconnect/connect my storage device, but it still doesnt list it under /proc/scsi/scsi. Looks like the error previously mentioned, except I have all the right drivers loaded.
 
Old 05-15-2004, 03:46 AM   #6
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
Tricky... all I can think of is that the modules are being loaded in the wrong order (though this shouldn't happen) if you do a:

lsmod | grep usbcore

you should get something like

usbcore 91996 3 ehci_hcd,usb_storage,uhci_hcd

The ehci_hcd should only be there if you have a usb2 controller and (i think) both ehci_hcd and uhci_hcd need to be there if you have usb2 controller and usb1 device.
 
Old 05-15-2004, 08:59 AM   #7
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Heres what I get:
Code:
lsmod | grep usbcore
usbcore 97556 7 ehci_hcd,uhci_hcd,usbhid,usb_storage,ohci_hcd
Also, I have the correct SCSI modules loaded, like sd_mod.
 
Old 05-15-2004, 05:06 PM   #8
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
Well you reached the limit of my understanding. The loaded modules should create the /dev/sdx device on connect. Soz, I'm baffled.
 
  


Reply


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
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
Problem mounting USB flash memory bfair Linux - Newbie 2 02-26-2005 10:36 PM
USB flash memory??? perdesiz Linux - Hardware 6 03-12-2004 10:10 AM
USB Flash memory writing problem tajuton Linux - Hardware 8 02-18-2004 02:17 AM
USB flash memory ericmax Red Hat 2 09-11-2003 06:45 AM


All times are GMT -5. The time now is 02:03 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