Subject: port-sparc/7487: shutdown -p shows a spurious message.
To: None <gnats-bugs@gnats.netbsd.org>
From: Minoura Makoto <minoura@dale.makoto.hauN.org>
List: netbsd-bugs
Date: 04/28/1999 09:50:57
>Number: 7487
>Category: port-sparc
>Synopsis: shutdown -p shows a spurious message.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-sparc-maintainer (NetBSD/sparc Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 28 09:50:01 1999
>Last-Modified:
>Originator: Minoura Makoto
>Organization:
Minoura Makoto <minoura@netbsd.org> or <minoura@kw.netlaputa.ne.jp>
>Release: 1.4_BETA
>Environment:
SPARCclassic
System: NetBSD dale 1.4_BETA NetBSD 1.4_BETA (DALE) #6: Thu Apr 29 01:26:02 JST 1999 minoura@dale:/usr/obj/sys/arch/sparc/compile/DALE sparc
>Description:
My SPARCclassic always show an incomplete message like
|| Syncing disks... ?? ?? done
|| WARN
at shutdown -p.
This `WARN' seems to be a part of
|| WARNING: powerdown failed!
printed in cpu_reboot. Inserting 1 second delay prevents this.
>How-To-Repeat:
shutdown -p now
>Fix:
*** power.c.orig Sun Jun 7 06:40:20 1998
--- power.c Thu Apr 29 01:24:48 1999
***************
*** 107,110 ****
--- 107,111 ----
/* Only try if the power node was attached. */
if (power_reg != NULL)
*POWER_REG |= POWER_OFF;
+ DELAY(1000000);
}
>Audit-Trail:
>Unformatted: