Subject: kern/471: inhibit warnings on notebooks which power down their harddisk
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: None <martin@euterpe.owl.de>
List: netbsd-bugs
Date: 09/11/1994 19:50:08
>Number:         471
>Category:       kern
>Synopsis:       powering up a harddisk on a notebook with power-saving enabled gives spurious warnings from wd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 11 19:50:06 1994
>Originator:     Martin Husemann
>Organization:
private
>Release:        i386/ -curent as of Sep 7
>Environment:
System: NetBSD euterpe.owl.de 1.0_BETA NetBSD 1.0_BETA (EUTERPE) #0: Thu Sep 8 23:17:19 MET DST 1994 root@euterpe.owl.de:/usr/src/sys/arch/i386/compile/EUTERPE i386


>Description:
		When my notebooks powers down its hd it will need some
		time to get it ready again. This is acceptable to me,
		otherwise I would have disabled the power-saving feature.
		Every time the hd is restarted, I get a lot of

Sep 11 11:00:04 euterpe /netbsd: wdc0: lost interrupt: status 50<rdy,seekdone> error 0
Sep 11 11:00:04 euterpe /netbsd: wdc0: warning: busy-wait took 354700us
Sep 11 11:00:05 euterpe /netbsd: wdc0: warning: busy-wait took 13300us

		warnings from the wd driver. I simply would like *not*
		to see this, as I audibly will notice the power up
		anyway...

>How-To-Repeat:
		Let a notebook-HD go to sleep, then start some new program.

>Fix:
		Could we have an option "NOTEBOOK_HD_POWERSAVER" and simply
		#ifndef ... the above warnings in the driver?
>Audit-Trail:
>Unformatted: