linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Zip 100 ATAPI not working, "qc timeout" and "failed to clear UNIT ATTENTION"
@ 2025-01-08 12:52 Philip Pemberton
  2025-01-08 13:42 ` Niklas Cassel
  2025-01-08 14:05 ` Niklas Cassel
  0 siblings, 2 replies; 23+ messages in thread
From: Philip Pemberton @ 2025-01-08 12:52 UTC (permalink / raw)
  To: linux-ide

I'm trying to connect an old Iomega Zip 100 ATAPI to a B550-chipset 
Ryzen system, to exchange files with an even older system. The Gigabyte 
B550 AORUS ELITE AX V2 rev1.3 motherboard doesn't have any PATA ports, 
so I'm using a SATA to PATA adapter.

Sadly it will not work in the B550 system (Kernel 6.8.0-51-generic 
x86_64, Linux Mint 21.3 based on Ubuntu 22.04). When I have the Zip 
drive connected, I get the following in dmesg and the sd device never 
appears:

ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.00: ATAPI: IOMEGA  ZIP 100       ATAPI, 12.A, max PIO3, CDB intr, 
DMADIR
ata3.00: applying bridge limits
ata3.00: configured for PIO0
ata3.00: qc timeout after 5000 msecs (cmd 0xa0)
ata3.00: failed to clear UNIT ATTENTION (err_mask=0x5)

I've included a more complete dmesg at the bottom of this message.

I currently have the following in the kernel command line:
   libata.atapi_dmadir=1 
libata.force=3.00:atapi_dmadir,dump_id,nodmalog,noncq,pio0

I started with only having the DMADIR option as suggested in this old 
patch from LKML:
   https://lkml.org/lkml/2013/6/18/933

With "atapi_dmadir=1" and DMADIR forced, I have the same messages in the 
kernel log - except obviously none of the other "horkage" messages or 
the ATA IDENTIFY dump, and I think the "xfer mask" starts at a higher speed.


The BIOS can see and access the Zip drive fine, as can Windows.

I've also tried the same setup (SATA bridge) in a Pentium 4 PCI+AGP 
machine I had sitting around. Admittedly this isn't much of a test as it 
was running a much older and 32bit OS (Knoppix 7.2, kernel 3.9.6) but 
the sd device appeared and the drive could be accessed fine.

Is there anything else I can try to get the drive working?

If you're curious, my use case is, predictably enough, copying data 
to/from old systems which don't have USB. (a mix of Acorn ARM systems 
running RISC OS and PCs with parallel port Zip drives)

Thanks,
Phil.


Full dmesg:

[ 4465.211914] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4465.218528] ata3.00: FORCE: horkage modified (atapi_dmadir)
[ 4465.218531] ata3.00: FORCE: horkage modified (dump_id)
[ 4465.218532] ata3.00: FORCE: horkage modified (nodmalog)
[ 4465.218533] ata3.00: FORCE: horkage modified (noncq)
[ 4465.218535] ata3.00: ATAPI: IOMEGA  ZIP 100       ATAPI, 12.A, max 
PIO3, CDB intr, DMADIR
[ 4465.218538] ata3.00: applying bridge limits
[ 4465.218540] ata3.00: FORCE: xfer_mask set to pio0
[ 4465.225708] ata3.00: dumping IDENTIFY data, class=3 may_fallback=1 
tried_spinup=0
[ 4465.225713] 00000000: 80a0 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225716] 00000010: 0000 0000 2020 2020 2020 2020 2020 2020  .... 

[ 4465.225718] 00000020: 2020 2020 2020 2020 0000 0000 0000 3132 
  ......21
[ 4465.225720] 00000030: 2e41 2020 2020 494f 4d45 4741 2020 5a49  A. 
OIEMAG  IZ
[ 4465.225723] 00000040: 5020 3130 3020 2020 2020 2020 4154 4150   P01 0 
      TAPA
[ 4465.225725] 00000050: 4920 2020 2020 2020 2020 2020 2020 0000   I 
        ..
[ 4465.225727] 00000060: 0000 0e00 4002 0200 0000 0002 0000 0000 
.....@..........
[ 4465.225729] 00000070: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225731] 00000080: 0001 0000 0000 01f4 00b4 0000 0000 0000 
................
[ 4465.225733] 00000090: 0000 0006 0009 0000 0202 0000 0000 0000 
................
[ 4465.225735] 000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225738] 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225740] 000000c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225742] 000000d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225744] 000000e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225746] 000000f0: 0000 0000 0000 0000 0000 0000 0000 0101 
................
[ 4465.225748] 00000100: 2863 2920 436f 7079 7269 6768 7420 494f  c( 
)oCypirhg tOI
[ 4465.225750] 00000110: 4d45 4741 2031 3939 3720 0000 0000 0000  EMAG1 
99 7......
[ 4465.225753] 00000120: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225755] 00000130: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225757] 00000140: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225759] 00000150: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225761] 00000160: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225763] 00000170: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225767] 00000180: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225769] 00000190: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225772] 000001a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225774] 000001b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225776] 000001c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225778] 000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225780] 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4465.225782] 000001f0: 0000 0000 0000 0000 0000 0000 0116 1900 
................
[ 4465.225787] ata3.00: configured for PIO0
[ 4470.419775] ata3.00: qc timeout after 5000 msecs (cmd 0xa0)
[ 4470.419794] ata3.00: failed to clear UNIT ATTENTION (err_mask=0x5)
[ 4470.883747] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4470.890363] ata3.00: dumping IDENTIFY data, class=3 may_fallback=1 
tried_spinup=0
[ 4470.890371] 00000000: 80a0 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890376] 00000010: 0000 0000 2020 2020 2020 2020 2020 2020  .... 

[ 4470.890380] 00000020: 2020 2020 2020 2020 0000 0000 0000 3132 
  ......21
[ 4470.890384] 00000030: 2e41 2020 2020 494f 4d45 4741 2020 5a49  A. 
OIEMAG  IZ
[ 4470.890387] 00000040: 5020 3130 3020 2020 2020 2020 4154 4150   P01 0 
      TAPA
[ 4470.890391] 00000050: 4920 2020 2020 2020 2020 2020 2020 0000   I 
        ..
[ 4470.890395] 00000060: 0000 0e00 4002 0200 0000 0002 0000 0000 
.....@..........
[ 4470.890398] 00000070: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890402] 00000080: 0001 0000 0000 01f4 00b4 0000 0000 0000 
................
[ 4470.890406] 00000090: 0000 0006 0009 0000 0202 0000 0000 0000 
................
[ 4470.890409] 000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890413] 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890416] 000000c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890420] 000000d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890424] 000000e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890427] 000000f0: 0000 0000 0000 0000 0000 0000 0000 0101 
................
[ 4470.890431] 00000100: 2863 2920 436f 7079 7269 6768 7420 494f  c( 
)oCypirhg tOI
[ 4470.890435] 00000110: 4d45 4741 2031 3939 3720 0000 0000 0000  EMAG1 
99 7......
[ 4470.890438] 00000120: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890442] 00000130: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890445] 00000140: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890449] 00000150: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890453] 00000160: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890456] 00000170: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890460] 00000180: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890463] 00000190: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890467] 000001a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890471] 000001b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890474] 000001c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890478] 000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890481] 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.890485] 000001f0: 0000 0000 0000 0000 0000 0000 0116 1900 
................
[ 4470.890500] ata3.00: FORCE: xfer_mask set to pio0
[ 4470.897720] ata3.00: dumping IDENTIFY data, class=3 may_fallback=1 
tried_spinup=0
[ 4470.897735] 00000000: 80a0 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897740] 00000010: 0000 0000 2020 2020 2020 2020 2020 2020  .... 

[ 4470.897744] 00000020: 2020 2020 2020 2020 0000 0000 0000 3132 
  ......21
[ 4470.897748] 00000030: 2e41 2020 2020 494f 4d45 4741 2020 5a49  A. 
OIEMAG  IZ
[ 4470.897752] 00000040: 5020 3130 3020 2020 2020 2020 4154 4150   P01 0 
      TAPA
[ 4470.897755] 00000050: 4920 2020 2020 2020 2020 2020 2020 0000   I 
        ..
[ 4470.897759] 00000060: 0000 0e00 4002 0200 0000 0002 0000 0000 
.....@..........
[ 4470.897763] 00000070: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897766] 00000080: 0001 0000 0000 01f4 00b4 0000 0000 0000 
................
[ 4470.897770] 00000090: 0000 0006 0009 0000 0202 0000 0000 0000 
................
[ 4470.897774] 000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897777] 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897781] 000000c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897785] 000000d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897788] 000000e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897792] 000000f0: 0000 0000 0000 0000 0000 0000 0000 0101 
................
[ 4470.897796] 00000100: 2863 2920 436f 7079 7269 6768 7420 494f  c( 
)oCypirhg tOI
[ 4470.897799] 00000110: 4d45 4741 2031 3939 3720 0000 0000 0000  EMAG1 
99 7......
[ 4470.897803] 00000120: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897807] 00000130: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897810] 00000140: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897814] 00000150: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897818] 00000160: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897821] 00000170: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897825] 00000180: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897828] 00000190: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897832] 000001a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897836] 000001b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897839] 000001c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897843] 000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897847] 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4470.897850] 000001f0: 0000 0000 0000 0000 0000 0000 0116 1900 
................
[ 4470.897858] ata3.00: configured for PIO0
[ 4476.051591] ata3.00: qc timeout after 5000 msecs (cmd 0xa0)
[ 4476.051607] ata3.00: failed to clear UNIT ATTENTION (err_mask=0x5)
[ 4476.515583] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4476.522296] ata3.00: dumping IDENTIFY data, class=3 may_fallback=1 
tried_spinup=0
[ 4476.522310] 00000000: 80a0 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522314] 00000010: 0000 0000 2020 2020 2020 2020 2020 2020  .... 

[ 4476.522317] 00000020: 2020 2020 2020 2020 0000 0000 0000 3132 
  ......21
[ 4476.522320] 00000030: 2e41 2020 2020 494f 4d45 4741 2020 5a49  A. 
OIEMAG  IZ
[ 4476.522323] 00000040: 5020 3130 3020 2020 2020 2020 4154 4150   P01 0 
      TAPA
[ 4476.522326] 00000050: 4920 2020 2020 2020 2020 2020 2020 0000   I 
        ..
[ 4476.522328] 00000060: 0000 0e00 4002 0200 0000 0002 0000 0000 
.....@..........
[ 4476.522331] 00000070: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522334] 00000080: 0001 0000 0000 01f4 00b4 0000 0000 0000 
................
[ 4476.522337] 00000090: 0000 0006 0009 0000 0202 0000 0000 0000 
................
[ 4476.522339] 000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522342] 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522345] 000000c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522348] 000000d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522350] 000000e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522353] 000000f0: 0000 0000 0000 0000 0000 0000 0000 0101 
................
[ 4476.522356] 00000100: 2863 2920 436f 7079 7269 6768 7420 494f  c( 
)oCypirhg tOI
[ 4476.522359] 00000110: 4d45 4741 2031 3939 3720 0000 0000 0000  EMAG1 
99 7......
[ 4476.522362] 00000120: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522364] 00000130: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522367] 00000140: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522370] 00000150: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522372] 00000160: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522375] 00000170: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522378] 00000180: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522381] 00000190: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522383] 000001a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522386] 000001b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522389] 000001c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522392] 000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522394] 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.522397] 000001f0: 0000 0000 0000 0000 0000 0000 0116 1900 
................
[ 4476.522409] ata3.00: FORCE: xfer_mask set to pio0
[ 4476.529541] ata3.00: dumping IDENTIFY data, class=3 may_fallback=1 
tried_spinup=0
[ 4476.529549] 00000000: 80a0 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529553] 00000010: 0000 0000 2020 2020 2020 2020 2020 2020  .... 

[ 4476.529571] 00000020: 2020 2020 2020 2020 0000 0000 0000 3132 
  ......21
[ 4476.529577] 00000030: 2e41 2020 2020 494f 4d45 4741 2020 5a49  A. 
OIEMAG  IZ
[ 4476.529583] 00000040: 5020 3130 3020 2020 2020 2020 4154 4150   P01 0 
      TAPA
[ 4476.529589] 00000050: 4920 2020 2020 2020 2020 2020 2020 0000   I 
        ..
[ 4476.529594] 00000060: 0000 0e00 4002 0200 0000 0002 0000 0000 
.....@..........
[ 4476.529600] 00000070: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529606] 00000080: 0001 0000 0000 01f4 00b4 0000 0000 0000 
................
[ 4476.529612] 00000090: 0000 0006 0009 0000 0202 0000 0000 0000 
................
[ 4476.529617] 000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529623] 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529628] 000000c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529633] 000000d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529639] 000000e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529644] 000000f0: 0000 0000 0000 0000 0000 0000 0000 0101 
................
[ 4476.529649] 00000100: 2863 2920 436f 7079 7269 6768 7420 494f  c( 
)oCypirhg tOI
[ 4476.529655] 00000110: 4d45 4741 2031 3939 3720 0000 0000 0000  EMAG1 
99 7......
[ 4476.529661] 00000120: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529666] 00000130: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529672] 00000140: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529677] 00000150: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529682] 00000160: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529687] 00000170: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529693] 00000180: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529698] 00000190: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529704] 000001a0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529709] 000001b0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529714] 000001c0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529720] 000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529725] 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 
................
[ 4476.529731] 000001f0: 0000 0000 0000 0000 0000 0000 0116 1900 
................
[ 4476.529743] ata3.00: configured for PIO0
[ 4481.683441] ata3.00: qc timeout after 5000 msecs (cmd 0xa0)
[ 4481.683457] ata3.00: failed to clear UNIT ATTENTION (err_mask=0x5)
[ 4481.683461] ata3.00: disable device
[ 4482.147601] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)

-- 
Phil.
philpem@philpem.me.uk
https://www.philpem.me.uk/

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2025-02-21 17:24 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-08 12:52 Zip 100 ATAPI not working, "qc timeout" and "failed to clear UNIT ATTENTION" Philip Pemberton
2025-01-08 13:42 ` Niklas Cassel
2025-01-08 13:45   ` Niklas Cassel
2025-01-09 11:36   ` Philip Pemberton
2025-01-08 14:05 ` Niklas Cassel
2025-01-09  7:17   ` Hannes Reinecke
2025-01-09 11:33     ` Philip Pemberton
2025-01-09 13:22       ` Niklas Cassel
2025-01-09 15:06         ` Philip Pemberton
2025-01-09 11:35   ` Philip Pemberton
     [not found]   ` <e1985151-c206-4be1-91c1-92eac16f6236@philpem.me.uk>
2025-01-09 12:22     ` Niklas Cassel
2025-01-09 15:31       ` Philip Pemberton
2025-01-17 13:37         ` Niklas Cassel
2025-01-23 13:19           ` Philip Pemberton
2025-01-23 16:19           ` Philip Pemberton
2025-01-24 10:03             ` Niklas Cassel
2025-02-18  3:05               ` Philip Pemberton
2025-02-19 15:48                 ` Niklas Cassel
2025-02-19 16:02                   ` Niklas Cassel
2025-02-19 20:04                     ` Philip Pemberton
2025-02-21  1:57                       ` Niklas Cassel
2025-02-21 17:08                         ` Philip Pemberton
2025-02-21 17:24                           ` Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).