SG_IO v3 "ATA IDENTIFY DEVICE" command from ata_id hoses bridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have Ubuntu 12.04 installed on an external hard drive, where the disk enclosure has a Cypress CY7C68300A EZ-USB AT2 USB 2.0 to ATA/ATAPI bridge.
At boot, the udev rules probes the drive with /lib/udev/ata_id and this makes the bridge lock up and the disk unavailable. After 30 seconds a scsi reset is issued and the drive comes back. I have traced this down to the "v3" fallback of extras/
Another workaround would be to change the udev rules to not call ata_id when this particular bridge is detected. ata_id does not return anything for this drive on my setup anyway.
lsusb:
Bus 002 Device 003: ID 04b4:6830 Cypress Semiconductor Corp. CY7C68300A EZ-USB AT2 USB 2.0 to ATA/ATAPI
BTW, (with or without my patch) runnig ata_id on my drive makes udev log this:
ata_id[5678]: HDIO_GET_IDENTITY failed for '/dev/sdb': Invalid argument