Bug 14175 - hdparm hangs 15 seconds on USB drive
Summary: hdparm hangs 15 seconds on USB drive
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL: https://bugs.launchpad.net/bugs/428469
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-13 22:09 UTC by Tormod Volden
Modified: 2009-09-14 02:28 UTC (History)
0 users

See Also:
Kernel Version: 2.6.31
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
dmesg output, plugging in the drive and running hdparm on it (46.45 KB, text/plain)
2009-09-13 22:11 UTC, Tormod Volden
Details

Description Tormod Volden 2009-09-13 22:09:47 UTC
The USB drive includes:
ID 04b4:6830 Cypress Semiconductor Corp. CY7C68300A EZ-USB AT2 USB 2.0 to
ATA/ATAPI
scsi 2:0:0:0: Direct-Access     WDC WD25 00BEVE-00WZT0         PQ: 0 ANSI: 0

When I run hdparm it hangs for 15 seconds:

$ time sudo hdparm /dev/sdb

/dev/sdb:
 HDIO_DRIVE_CMD(identify) failed: Invalid exchange
 readonly = 0 (off)
 readahead = 256 (on)
 geometry = 30401/255/63, sectors = 488397168, start = 0

real 0m15.979s
user 0m0.000s
sys 0m0.008s

I have the ums_cypress modules loaded. This appears in dmesg:
usb 1-7: reset high speed USB device using ehci_hcd and address 2
Comment 1 Tormod Volden 2009-09-13 22:11:27 UTC
Created attachment 23090 [details]
dmesg output, plugging in the drive and running hdparm on it
Comment 2 Greg Kroah-Hartman 2009-09-14 02:28:51 UTC
That is because the device does not support the requests that hdparm made to it (I'm amazed that it did anything.)

Nothing we can do about this, the device times out properly, and everything works fine afterward.

Note You need to log in before you can comment on or make changes to this bug.