OpenVZ Forum


Home » Mailing lists » Devel » unexpected scsi timeout
Re: unexpected scsi timeout [message #15322 is a reply to message #15248] Wed, 25 July 2007 05:50 Go to previous messageGo to previous message
Albert Lee is currently offline  Albert Lee
Messages: 1
Registered: July 2007
Junior Member
Vasily Averin wrote:
> 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.
>

Hi Vasily,

Your log looks ok. It's normal for TEST_UNIT_READY to return ATA_ERR when no disc
inside and libata EH triggered to request sense.

--
albert
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC][-mm PATCH 0/8] Memory controller introduction (v3)
Next Topic: [PATCH 0/16] Pid namespaces
Goto Forum:
  


Current Time: Fri Aug 01 23:37:01 GMT 2025

Total time taken to generate the page: 0.90096 seconds