]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: devinfo: Add BLIST_SKIP_IO_HINTS for Iomega ZIP
authorFlorian Fuchs <fuchsfl@gmail.com>
Fri, 27 Feb 2026 18:18:23 +0000 (19:18 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 28 Feb 2026 23:18:05 +0000 (18:18 -0500)
The Iomega ZIP 100 (Z100P2) can't process IO Advice Hints Grouping mode
page query. It immediately switches to the status phase 0xb8 after
receiving the subpage code 0x05 of MODE_SENSE_10 command, which fails
imm_out() and turns into DID_ERROR of this command, which leads to unusable
device. This was tested with an Iomega ZIP 100 (Z100P2) connected with a
StarTech PEX1P2 AX99100 PCIe parallel port card.

Prior to this fix, Test Unit Ready fails and the drive can't be used:
        IMM: returned SCSI status b8
        sd 7:0:6:0: [sdh] Test Unit Ready failed: Result: hostbyte=0x01 driverbyte=DRIVER_OK

Signed-off-by: Florian Fuchs <fuchsfl@gmail.com>
Link: https://patch.msgid.link/20260227181823.892932-1-fuchsfl@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_devinfo.c

index 0dada89d8d99bea8aeadafb6782b502990e13e96..68a992494b1218d6b87687065d47f5a746180e29 100644 (file)
@@ -190,7 +190,7 @@ static struct {
        {"IBM", "2076", NULL, BLIST_NO_VPD_SIZE},
        {"IBM", "2105", NULL, BLIST_RETRY_HWERROR},
        {"iomega", "jaz 1GB", "J.86", BLIST_NOTQ | BLIST_NOLUN},
-       {"IOMEGA", "ZIP", NULL, BLIST_NOTQ | BLIST_NOLUN},
+       {"IOMEGA", "ZIP", NULL, BLIST_NOTQ | BLIST_NOLUN | BLIST_SKIP_IO_HINTS},
        {"IOMEGA", "Io20S         *F", NULL, BLIST_KEY},
        {"INSITE", "Floptical   F*8I", NULL, BLIST_KEY},
        {"INSITE", "I325VM", NULL, BLIST_KEY},