Re: ATA device reset, shoud I be concerned?
- From: Tejun Heo <htejun@xxxxxxxxx>
- Date: Mon, 21 Jan 2008 22:14:12 +0900
Alan Cox wrote:
transmission failure as timeouts. Of course, if we're ticking the timer
while the command is not in flight, that's a bug. If there are cases
where 30 secs isn't enough, can you please point me to those reports?
I have been, in bugzilla - the raid failure example where old IDE
eventually reports a media error while libata keeps timing out,
resetting, repeating.
Maybe the difference is not in timeout but what the driver does after
timeout happens. After timeout, libata ignores almost everything (it
considers DMA error reported on BMDMA status) and resets the device
while IDE thinks that IRQ might be lost and complete the command if the
TF status register says so.
It could be that the particular device doesn't raise IRQ on certain
error conditions but updates TF registers. After timeout, IDE completes
the command with the indicated error while libata ignores the status and
resets the device.
libata never touches TF register after timeout because some controllers
lock up hard if TF register is read after certain error conditions
(event the status register).
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: ATA device reset, shoud I be concerned?
- From: Alan Cox
- Re: ATA device reset, shoud I be concerned?
- References:
- ATA device reset, shoud I be concerned?
- From: Georgi Chulkov
- Re: ATA device reset, shoud I be concerned?
- From: Andrew Morton
- Re: ATA device reset, shoud I be concerned?
- From: Alan Cox
- Re: ATA device reset, shoud I be concerned?
- From: Tejun Heo
- Re: ATA device reset, shoud I be concerned?
- From: Alan Cox
- ATA device reset, shoud I be concerned?
- Prev by Date: Re: ATA device reset, shoud I be concerned?
- Next by Date: Re: [REGRESSION] 2.6.24-rc7: e1000: Detected Tx Unit Hang
- Previous by thread: Re: ATA device reset, shoud I be concerned?
- Next by thread: Re: ATA device reset, shoud I be concerned?
- Index(es):
Relevant Pages
|