ATA_FLUSHCACHE failing

Søren Schmidt sos at DeepCore.dk
Wed May 5 13:03:59 PDT 2004


Mark Santcroos wrote:
> Hi,
> 
> I finally took the time to find out why I can't get a coredump on panic:
> 
> ata_controlcmd(&ch->device[MASTER], ATA_FLUSHCACHE, 0, 0, 0);
> 
> never returns in ata_shutdown() on my system (dmesg attached).
> 
> Commenting it out gives me back my coredumps! ;)
> 
> Have you seen this before?

Nope, but I have seen a few disks that claims to support flush and then 
do wierd things when asked to...

> If not, should we maybe create some blacklist of chips that report that
> they can flush but in reality can't ...

That would be blacklist of disks then, hmm, I'm not a fan of blacklists 
actually, they tend to always be as incorrect and incomplete as not 
having any. We should find out why it does not return, my guess is that 
it doesn't interrupt and the timeout doesn't fire because we are on the 
way down...


-- 
-Søren



More information about the freebsd-current mailing list