[Devel] Re: unexpected scsi timeout
Vasily Averin
vvs at sw.ru
Tue Jul 24 03:07:55 PDT 2007
Tejun Heo wrote:
> [cc'ing Albert]
>
> Vasily Averin wrote:
>> Tejun, Jeff
>>
>> I've noticed that some scsi commands for DVD-drive attached to pata_via
>> successfully finishes without any delays but reports about TIMEOUT condition. It
>> happens because of ATA_ERR bit is set in status register. As result for each
>> command Error Handler thread awakened, requests sense buffer and go to sleep again.
>
> Need more info. Please post boot dmesg and the result of 'lspci -nn'
> and 'hdparm -I /dev/srX' and when such errors occur.
It was 2.6.22 kernel with pata_via and sata_via drivers, scsi and cdrom debug
was temporally enabled via sysctl (please see logs near Jul 24 13:42:46 timestamp)
Btw. I'm not sure that it was an error, I've looked on the sources and IMHO it's
normal command processing cdrom without disk inserted into drive. I've checked
2.6.19, 2.6.20 and 2.6.22 kernels and got the same behavior.
# lspci -nn
00:00.0 0600: 1106:3188 (rev 01)
00:01.0 0604: 1106:b188
00:0b.0 0200: 14e4:1653 (rev 03)
00:0f.0 0104: 1106:3149 (rev 80)
00:0f.1 0101: 1106:0571 (rev 06)
00:10.0 0c03: 1106:3038 (rev 81)
00:10.1 0c03: 1106:3038 (rev 81)
00:10.2 0c03: 1106:3038 (rev 81)
00:10.4 0c03: 1106:3104 (rev 86)
00:11.0 0601: 1106:3227
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
00:19.0 0600: 1022:1100
00:19.1 0600: 1022:1101
00:19.2 0600: 1022:1102
00:19.3 0600: 1022:1103
# hdparm -I /dev/cdrom
/dev/cdrom:
HDIO_DRIVE_CMD(identify) failed: Input/output error
(Hmm, strange. please see logs near Jul 24 13:44:30 timestamp)
You can find more details about this node in
http://bugzilla.kernel.org/show_bug.cgi?id=8650
I have full logs from kernel compiled with extra ata debug -- but it is very
big. Please tell me if you want to look it too.
thank you,
Vasily Averin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ts28.22.log
Type: text/x-log
Size: 57365 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/devel/attachments/20070724/396a5786/attachment-0001.bin>
More information about the Devel
mailing list