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: Mihai Chelaru <mihai.chelaru%NGNetworks.ro@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Jukka Ruohonen <jruohonen%iki.fi@localhost>, 
kern-bug-people%netbsd.org@localhost, 
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/44366: poweroff doesn't work
Date: Mon, 10 Jan 2011 22:07:18 +0200

 On 01/10/11 19:25, Jukka Ruohonen wrote:
 >  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;
 >  
 
 Tested on both reported machines, but there is no change, sorry.
 
 -- 
 Mihai
 


Home | Main Index | Thread Index | Old Index