[Bug 982213] [NEW] SG_IO v3 "ATA IDENTIFY DEVICE" command from ata_id hoses bridge
Tormod Volden
982213 at bugs.launchpad.net
Sun Apr 15 10:50:45 UTC 2012
Public bug reported:
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/ata_id/ata_id.c:187. When patching this
ioctl away everything is fine.
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
** Affects: udev (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/982213
Title:
SG_IO v3 "ATA IDENTIFY DEVICE" command from ata_id hoses bridge
Status in “udev” package in Ubuntu:
New
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/ata_id/ata_id.c:187. When
patching this ioctl away everything is fine.
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/982213/+subscriptions
More information about the foundations-bugs
mailing list