Subject: port-i386/21531: ACPI enabled kernel enforces stressful shutdown of harddrive
To: None <>
From: DHOYASHIKI Shinichi <>
List: netbsd-bugs
Date: 05/11/2003 19:38:27
>Number:         21531
>Category:       port-i386
>Synopsis:       ACPI enabled kernel enforces stressful shutdown of harddrive
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 11 10:57:00 UTC 2003
>Originator:     DHOYASHIKI Shinichi
>Release:        NetBSD 1.6R as of 2003-05-05
	at home
System: NetBSD minako 1.6R NetBSD 1.6R (MINAKO3) #4: Mon May 5 15:41:24 JST 2003 clare@minako:/cvs/tnf-work/sys/arch/i386/compile/MINAKO3 i386
Architecture: i386
Machine: i386
	ACPI power-off handling of NetBSD/i386 kernel does not handle
	harddrive gracefully, this may enforce harddrive emergency shutdown
	on every pewer off, and may result harddrive's lifetime reduction.

	for more information about harddrive handling issues, please
	see harddrive's specifications. One of them can be obtained from
	following URL:

	The document requires following sequence when power off:
	1. Issue Standby Immediate or sleep command
	2. Wait until COMMAND COMPLETE STATUS is returned.
	   (It may take up to 350 ms in a typical case.)
	3. Terminate power to drive

	1. build and boot ACPI enabled kernel
	2. perform shutdown -p now

	To workaround, disable ACPI and depend on APM BIOS. APM BIOS may issue
	required command to protect harddrive from emergency shutdown.