Subject: Re: Fwd: Re: port-i386/21531: ACPI enabled kernel enforces stressful shutdown of harddrive
To: Charles M. Hannum <>
From: Manuel Bouyer <>
List: tech-kern
Date: 06/28/2004 23:34:21
On Mon, Jun 28, 2004 at 09:21:03PM +0000, Charles M. Hannum wrote:

> While looking at this, I noticed that we also try to issue a "flush cache" 
> command to PCMCIA and CompactFlash cards that are currently powered down -- 
> which is sort of guaranteed to not work.  The following patch addresses both 
> of these problems.
> This could probably be done better (e.g. by doing it from a shutdownhook and 
> powerhook for the controller, and making PCMCIA and CardBus use these to do a 
> graceful shutdown).

Looks good (I assume you'll remove the debug printfs before commit :)
thanks for looking at this !

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference