NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/44366: poweroff doesn't work
The following reply was made to PR kern/44366; it has been noted by GNATS.
From: Jukka Ruohonen <jruohonen%iki.fi@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/44366: poweroff doesn't work
Date: Mon, 10 Jan 2011 19:20:55 +0200
On Mon, Jan 10, 2011 at 11:50:00AM +0000,
mihai.chelaru%ngnetworks.ro@localhost wrote:
> poweroff doesn't work in -current on some computers. Affected computers
> include:
>
> * Dell Mini 10 (i386) - the screen turns off but fans
> are still working and power led is still on.
> * custom made (amd64) Asus mainboard - see dmesg below -
> in most cases it shuts down the HDDs and it even turns
> off the front panel LEDs (including powerled), but power
> is not cut, fans are still spinning, the video card is still
> working so I can read the "acpi: entering state 5" message.
> This is the strangest one, because twice or thrice it
> completed the shutdown.
Might be a longshot, but can you try the following tiny patch?
- Jukka.
Index: acpi.c
===================================================================
RCS file: /cvsroot/src/sys/dev/acpi/acpi.c,v
retrieving revision 1.229
diff -u -p -r1.229 acpi.c
--- acpi.c 6 Jan 2011 07:05:00 -0000 1.229
+++ acpi.c 10 Jan 2011 17:16:53 -0000
@@ -1376,6 +1376,8 @@ acpi_enter_sleep_state(int state)
break;
}
+ (void)AcpiDisableAllGpes();
+
DELAY(1000000);
sc->sc_sleepstate = state;
Home |
Main Index |
Thread Index |
Old Index