LinuxQuestions.org
Help answer threads with 0 replies.
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 06-03-2007, 05:23 PM   #1
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Rep: Reputation: 30
USB hard drive not detected properly


Been struggling with this problem for a while now and the behaviour is completely indecipherable to me.

I have an old P3 for my desktop with USB 1.0 ports so on a whim I decided to add a USB 2.0 PCI card I had laying around. Trying to connect my DAP (mounts like an external hard drive, not MTP or ipod) through these ports results in the odd behaviour. No block device shows up in /dev. Meanwhile the device still shows up in lsusb. If I connect it through the on board USB 1.0 ports a regular sdx device shows. Strange part is that I can connect a regular flash drive to the 2.0 ports and have a device show up. Stranger still is when I reboot the computer with the DAP plugged into a 2.0 port I get messages about it in dmesg. See the output below for details on these things.

Slackware 11.0 w/ 2.6.17.13 kernel

A few parts of dmesg that seem to correctly id my DAP plugged into a USB 2.0 port:
Code:
Capability LSM initialized
  Vendor: COWON     Model: iAUDIO 6          Rev: 0100
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 7855648 512-byte hdwr sectors (4022 MB)
sda: Write Protect is off
sda: Mode Sense: 37 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 7855648 512-byte hdwr sectors (4022 MB)
sda: Write Protect is off
sda: Mode Sense: 37 00 00 08
sda: assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: Attached scsi removable disk sda
usb-storage: device scan complete
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb 3-3: USB disconnect, address 2
usb 3-3: new high speed USB device using ehci_hcd and address 3
usb 3-3: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: COWON     Model: iAUDIO 6          Rev: 0100
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 7855648 512-byte hdwr sectors (4022 MB)
sda: Write Protect is off
sda: Mode Sense: 37 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 7855648 512-byte hdwr sectors (4022 MB)
sda: Write Protect is off
sda: Mode Sense: 37 00 00 08
sda: assuming drive cache: write through
 sda:<6>usb 3-3: USB disconnect, address 3
sd 1:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
sd 1:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
 unable to read partition table
sd 1:0:0:0: Attached scsi removable disk sda
sd 1:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
usb 3-3: new high speed USB device using ehci_hcd and address 4
usb 3-3: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
lsusb with DAP on USB 2.0:
Code:
Bus 3 Device 20: ID 0e21:0710 Cowon Systems, Inc.
Bus 3 Device 1: ID 0000:0000
Bus 5 Device 1: ID 0000:0000
Bus 4 Device 1: ID 0000:0000
Bus 1 Device 1: ID 0000:0000
Bus 2 Device 1: ID 0000:0000
lsusb with DAP on USB 1.0:
Code:
Bus 3 Device 1: ID 0000:0000
Bus 5 Device 1: ID 0000:0000
Bus 4 Device 1: ID 0000:0000
Bus 1 Device 7: ID 0e21:0710 Cowon Systems, Inc.
Bus 1 Device 1: ID 0000:0000
Bus 2 Device 1: ID 0000:0000
Finally, the USB controllers in lspci -vv:
Code:
00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI])
        Subsystem: Silicon Integrated Systems [SiS] USB 1.0 Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (20000ns max), Cache Line Size: 32 bytes
        Interrupt: pin D routed to IRQ 3
        Region 0: Memory at eb000000 (32-bit, non-prefetchable) [size=4K]

00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI])
        Subsystem: Silicon Integrated Systems [SiS] Onboard USB Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (20000ns max), Cache Line Size: 32 bytes
        Interrupt: pin D routed to IRQ 3
        Region 0: Memory at ea800000 (32-bit, non-prefetchable) [size=4K]
00:0d.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 11
        Region 4: I/O ports at 9400 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0d.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, Cache Line Size: 32 bytes
        Interrupt: pin B routed to IRQ 10
        Region 4: I/O ports at 9000 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0d.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51) (prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) Unknown device 1234
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, Cache Line Size: 32 bytes
        Interrupt: pin C routed to IRQ 4
        Region 0: Memory at e9000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk+ DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Thanks for taking a look. Just ask if you want more info.

Thanks again!
 
Old 06-03-2007, 05:46 PM   #2
angryfirelord
Member
 
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
It seems to appear as /dev/sda1.
Quote:
Capability LSM initialized
Vendor: COWON Model: iAUDIO 6 Rev: 0100
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 7855648 512-byte hdwr sectors (4022 MB)
sda: Write Protect is off
sda: Mode Sense: 37 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 7855648 512-byte hdwr sectors (4022 MB)
sda: Write Protect is off
sda: Mode Sense: 37 00 00 08
sda: assuming drive cache: write through
sda: sda1
Did you remember to edit your fstab file? If dmesg reports it as working, then that's the only thing I can think of.
 
Old 06-03-2007, 05:49 PM   #3
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Seems that way... except it's not there when the system is up and running. Been just mounting manually when I can get the block device to show, so no, it's not in fstab. I can deal with that when I actually get the damn thing to use USB 2.0
 
Old 06-03-2007, 06:07 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I recommend do not add external storage devices to fstab because it may change in the future. It is best manually mount the drive or use hal or dbus to mount it for you.
 
Old 06-03-2007, 06:10 PM   #5
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Right. I was actually going to add a udev rule to give it a unique name. But then this problem popped up. All this is really beside the point, which is: when I plug my DAP into a USB 2.0 port an appropriate block device does not show up in /dev
 
  


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
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 04:32 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Hard Drive Not Being Detected yrkely Debian 2 06-17-2005 12:19 PM
USB external hard drive nolonger detected after kernel upgrade to 2.6.11-1.27_FC3 Capricorn180 Linux - Hardware 2 06-09-2005 04:27 AM
USB Hard drive not detected in Slackware 9.0 setup. landfill Slackware - Installation 3 12-25-2003 03:55 PM

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

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