LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-01-2008, 07:29 AM   #16
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191

no USB storage devices work..

Do you have a USB mouse ? if so does it work ?

Are the proper modules being loaded for USB storage devices ?

Code:
it-etch:~# lsmod | grep usb

usbserial              29128  1 pl2303
usbhid                 37248  0 
usb_storage            72000  0 
ide_core              110504  5 usb_storage,ide_generic,ide_cd,generic,atiixp
usbcore               112644  7 pl2303,usbserial,usbhid,usb_storage,ehci_hcd,ohci_hcd
scsi_mod              124168  5 sg,usb_storage,sd_mod,ahci,libata
ehci_hcd and ohci_hcd are usb controller drivers
usb_storage module is needed to support USB storage devices
sd_mod is a scsi disk driver used for scsi emulation for usb devices


When troubleshooting usb storage devices I typically issue this command before plugging in the device. I can then see what the system is doing when it tries to detect the device and make it operational.
Code:

tail -f /var/log/mesages

Oct  1 08:23:24 it-etch kernel: usb 6-7: new high speed USB device using ehci_hcd and address 11
Oct  1 08:23:24 it-etch kernel: usb 6-7: configuration #1 chosen from 1 choice
Oct  1 08:23:24 it-etch kernel: scsi10 : SCSI emulation for USB Mass Storage devices
Oct  1 08:23:29 it-etch kernel:   Vendor: USB 2.0   Model: Flash Disk        Rev: 1100
Oct  1 08:23:29 it-etch kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Oct  1 08:23:29 it-etch kernel: SCSI device sdb: 3963904 512-byte hdwr sectors (2030 MB)
Oct  1 08:23:29 it-etch kernel: sdb: Write Protect is off
Oct  1 08:23:29 it-etch kernel: SCSI device sdb: 3963904 512-byte hdwr sectors (2030 MB)
Oct  1 08:23:29 it-etch kernel: sdb: Write Protect is off
Oct  1 08:23:29 it-etch kernel:  sdb: sdb1
Oct  1 08:23:29 it-etch kernel: sd 10:0:0:0: Attached scsi removable disk sdb
Oct  1 08:23:29 it-etch kernel: sd 10:0:0:0: Attached scsi generic sg1 type 0
I have had systems that would dynamically load the usb_storage module when a device was connected.


so... aer the proper modules loaded on your system ?
what does your messaeg log look like when you connect the device ?
 
Old 10-02-2008, 08:06 PM   #17
CmK
LQ Newbie
 
Registered: Sep 2008
Posts: 18

Original Poster
Rep: Reputation: 0
No I do not have a usb mouse. I plugged in the USB and tried the lsmod | grep usb and suddenly it mounted and worked! I have no idea why. Now ever now and then it goes away and comes back but it's there most of the time now. I have no idea why suddenly it is working. Do you have any idea what would cause it to suddenly work? here is the outputs, but i would imagine they look fine now that its working

chris@chris-laptop:~$ lsmod | grep usb
usb_storage 73664 1
libusual 19108 1 usb_storage
scsi_mod 151436 5 usb_storage,sg,sr_mod,sd_mod,libata
usbcore 146028 5 usb_storage,libusual,ehci_hcd,uhci_hcd
chris@chris-laptop:~$

chris@chris-laptop:~$ tail -f /var/log/messages
Oct 2 20:55:40 chris-laptop kernel: [ 1041.161990] usb 4-4: configuration #1 chosen from 1 choice
Oct 2 20:55:40 chris-laptop kernel: [ 1041.207144] scsi6 : SCSI emulation for USB Mass Storage devices
Oct 2 20:55:45 chris-laptop kernel: [ 834.792071] scsi 6:0:0:0: Direct-Access WD 1600BEV External 1.04 PQ: 0 ANSI: 4
Oct 2 20:55:45 chris-laptop kernel: [ 834.807056] sd 6:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
Oct 2 20:55:45 chris-laptop kernel: [ 834.807891] sd 6:0:0:0: [sdb] Write Protect is off
Oct 2 20:55:45 chris-laptop kernel: [ 834.809137] sd 6:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
Oct 2 20:55:45 chris-laptop kernel: [ 834.810014] sd 6:0:0:0: [sdb] Write Protect is off
Oct 2 20:55:45 chris-laptop kernel: [ 834.810029] sdb: sdb1
Oct 2 20:55:45 chris-laptop kernel: [ 834.857762] sd 6:0:0:0: [sdb] Attached SCSI disk
Oct 2 20:55:45 chris-laptop kernel: [ 834.857829] sd 6:0:0:0: Attached scsi generic sg2 type 0


Thanks for all your help guys...If anyone could explain what happened I would really appreciate it
 
Old 10-02-2008, 08:27 PM   #18
CmK
LQ Newbie
 
Registered: Sep 2008
Posts: 18

Original Poster
Rep: Reputation: 0
OK so its been about 5 min from last last post and the darn thing just disappeared. Why would it recognize and mount the drive one min then drop it the next?
 
Old 10-02-2008, 09:25 PM   #19
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Could something be going to sleep and not waking up?
 
Old 10-02-2008, 10:06 PM   #20
CmK
LQ Newbie
 
Registered: Sep 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Something going to sleep? like what? So on a whim I took out my Int HDD, CD Drive and Batt and sprayed the insides out with a a can of dry air, turned the computer back on and now its appearing and disappearing about every 3 min. I am starting to think I have a physical bad connection somewhere
 
Old 10-02-2008, 10:10 PM   #21
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Bad USB Cable ?

Have you tried different USB ports on the computer ? I've had systems where the ports on the front of the PC caused problems but the ones on the rear worked fine. Nothing like having the PC spontaneously reboot whenever I plugged anything into the port on the front.

I doubt usbview will help with an intermittent connection, but it might provide some information.
 
  


Reply



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
USB Recognition Problem CmK Linux - Newbie 2 09-26-2008 06:25 PM
Recharge iPod shuffle / USB high-powered ports / Disabling USB storage recognition simopal6 Linux - Hardware 1 05-31-2008 12:42 PM
USB Drive Recognition adssse Debian 4 12-31-2005 10:09 AM
problem with USB recognition barna Linux - Hardware 4 06-15-2005 06:19 PM
usb recognition peda Linux - Hardware 2 10-08-2004 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration