Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 1999 22:44:31 +0100 (CET)
From:      "D. Rock" <rock@wurzelausix.CS.Uni-SB.DE>
To:        current@FreeBSD.ORG
Subject:   dirty fs after apm power off
Message-ID:  <199901232144.WAA10840@wurzelausix.cs.uni-sb.de>

next in thread | raw e-mail | index | archive | help
I have noticed this behaviour on at least one machine.
If I shutdown the machine with apm power off, the filesystem is dirty and
has to been checked on the next reboot. It seems, the power is cut too fast.
I don't have any problems with reboots.
It seems the drive doesn't have the time to write the superblock back to disk.

I simply put a DELAY(4000000) in the apm_power_off() routine and the problem
fades away.
Any thoughts on doing this a configurable option? It doesn't break anything,
it only takes a few seconds longer for the machine to power off.

The drive is a Maxtor Diamond Max (90432D2) 4GB IDE drive in an Asus SP98
board.

Daniel

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901232144.WAA10840>