Albert Lee wrote:
> YUP wrote:
>
>>Hi Sergei, Albert and Bartek,
>>
>>Thanks for the patch. If you dealt with it, could you please apply this
>>patch to 2.6.20.3 kernel and send me diff? I'm just afraid that I
>>couldn't do it right.
>>
>>Albert and Bartek,
>>
>>please find latest dmsg output with Albert's patch. I quoted here only
>>output after the first "qc timeout" as Albert requested (see below).
>>Hope it will help you.
>>
>
>
> Thanks for the help. Your trace is valuable.
> It seems we have identified the cause.
>
> The AOpen drive returned 0x51 (check condition) on INQUIRY of 254 bytes,
> and it seems to mess up when REQUEST SENSE was issued:
>
> [ 105.480046] CDB (4:0,1,0) 12 01 00 00 fe 00 00 00 00
> [ 105.480101] ata4: protocol 5 task_state 4 (dev_stat 0x58) <== INQUIRY
> [ 105.480551] ata4: protocol 5 task_state 1
> [ 105.480555] ata4: host_stat 0x4
> [ 105.480561] ata4: protocol 5 task_state 1 (dev_stat 0x51)
> [ 105.480564] ata4: protocol 5 task_state 2 (dev_stat 0x51)
> [ 105.480567] ata4: protocol 5 task_state 3 (dev_stat 0x51) <= check
> condition
> [ 105.480644] ata4: protocol 5 task_state 4 (dev_stat 0x58) <== REQUEST
> SENSE
> [ 113.509692] ata4: protocol 5 task_state 1 <== interrupt. device BSY.
> [ 113.509703] ata4: host_stat 0x0 <== device messed up
> [ 113.510276] ata4: protocol 5 task_state 1
> [ 113.510280] ata4: host_stat 0x0
> [ 113.510890] ata4: protocol 5 task_state 1
> [ 113.510894] ata4: host_stat 0x0
> [ 113.512120] ata4: protocol 5 task_state 1 <== .. loop until time out
>
> This INQUIRY problem can be reliable reproduced:
Hi Yarema,
Could you please apply the attached patch (which adds the AOpen 56X/AKH to
the BLIST_INQUIRY_36 blacklist) on top of previous patches.
(Please keep using the libata + pata_pdc2027x to drive the AOpen 56X.)
Let's see if this can fix the INQUIRY time out problem of the AOpen 56X/AKH.
--
Thanks,
Albert
--- linux-2.6.20.3/drivers/scsi/scsi_devinfo.c 2007-03-14 02:27:08.000000000
+0800
+++ linux-2.6.20.3-patch/drivers/scsi/scsi_devinfo.c 2007-03-20
16:52:29.000000000 +0800
@@ -236,6 +236,7 @@ static struct {
{"XYRATEX", "RS", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
{"Zzyzx", "RocketStor 500S", NULL, BLIST_SPARSELUN},
{"Zzyzx", "RocketStor 2000", NULL, BLIST_SPARSELUN},
+ {"E-IDE", "CD-ROM 56X/AKH", NULL, BLIST_INQUIRY_36},
{ NULL, NULL, NULL, 0 },
};
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html