Commit 6e340560ac33732816cef0c6b11ed04d1efb3839
Committed by
Greg Kroah-Hartman
1 parent
f97b23ddb4
usb-storage/SCSI: blacklist FUA on JMicron 152d:2566 USB-SATA controller
commit bf5c4136fa5ce471bdbf4cf59a813e32755fd014 upstream. It looks like FUA support is broken on JMicron 152d:2566 bridge: [223159.885704] sd 7:0:0:0: [sdc] Write Protect is off [223159.885706] sd 7:0:0:0: [sdc] Mode Sense: 47 00 10 08 [223159.885942] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA [223283.691677] sd 7:0:0:0: [sdc] [223283.691680] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [223283.691681] sd 7:0:0:0: [sdc] [223283.691682] Sense Key : Illegal Request [current] [223283.691684] sd 7:0:0:0: [sdc] [223283.691685] Add. Sense: Invalid field in cdb [223283.691686] sd 7:0:0:0: [sdc] CDB: [223283.691687] Write(10): 2a 08 15 d0 83 0d 00 00 01 00 [223283.691690] blk_update_request: critical target error, dev sdc, sector 2927892584 This patch adds blacklist flag so that sd will not use FUA Signed-off-by: Dmitry Nezhevenko <dion@dion.org.ua> Cc: Phil Dibowitz <phil@ipom.com> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff
drivers/usb/storage/unusual_devs.h
... | ... | @@ -1995,6 +1995,13 @@ |
1995 | 1995 | USB_SC_DEVICE, USB_PR_DEVICE, NULL, |
1996 | 1996 | US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ), |
1997 | 1997 | |
1998 | +/* Reported by Dmitry Nezhevenko <dion@dion.org.ua> */ | |
1999 | +UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114, | |
2000 | + "JMicron", | |
2001 | + "USB to ATA/ATAPI Bridge", | |
2002 | + USB_SC_DEVICE, USB_PR_DEVICE, NULL, | |
2003 | + US_FL_BROKEN_FUA ), | |
2004 | + | |
1998 | 2005 | /* Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI) |
1999 | 2006 | * and Mac USB Dock USB-SCSI */ |
2000 | 2007 | UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133, |