Messages in this thread | | | Date | Mon, 30 Nov 2009 11:21:04 +0100 | From | Johannes Stezenbach <> | Subject | Re: Samsung N130 ATA exception after 5min uptime -- Phoenix FailSafe issue? |
| |
On Mon, Nov 30, 2009 at 05:52:59PM +0900, Tejun Heo wrote: > On 11/29/2009 09:51 AM, Johannes Stezenbach wrote: > > On Sat, Nov 28, 2009 at 04:17:45PM -0800, Greg KH wrote: > >> On Sat, Nov 28, 2009 at 11:22:03PM +0100, Johannes Stezenbach wrote: > >>> > >>> BTW, at 5min after boot it is 99% guaranteed that this ATA > >>> exception will happen during the occasional fsck. That > >>> doesn't feel right. > >> > >> Well, I've never been doing a fsck at 5 minutes into boot, and neither do > >> most Windows users :) > > > > I've been through a lot of reboots with all the testing, and > > the fsck took longer than 5min, and the ATA exception struck. > > fsck continued after the 30 second stall and succeeded. > > The timeout will happen if the C state switching happens while ATA > command is in flight so unless there's heavy IO load, it's not very > likely to hit.
I've booted with rdinit=/bin/sh (busybox sh in initramfs), so nothing accesses the disk. After 5min the C state switch happens, but no ATA exception. I waited a few more miniutes and then used dd if=/dev/sda of=/dev/null -> ATA exception. There is no way to escape it.
Johannes
| |