Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ACPI-Problems with NetBSD/i386 and a Compaq DL360 G1
On Thu, Aug 05, 2010 at 08:31:29PM +0200, the_badger%gmx.net@localhost wrote:
> Upon shutdown -p now, yesterday night, the following error occurred after the
> lines
>
> syncing disks...done.
> unmounting file systems...done
>
> appeared:
>
> ACPI Error (hwacpi-0156): No SMI_CMD in FADT, mode transition failed
> [20080321]
> ACPI Error (evxfevnt-0221): Could not exit ACPI mode to legacy mode [20080321]
>
> After that, the messages
>
> The operating system has halted.
> Please press any key to reboot.
>
> appeared, and the box froze, just like before Matthias Scheler's patch.
... And the patch.
- Jukka.
Index: i386/i386/machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/i386/machdep.c,v
retrieving revision 1.644.4.12
diff -u -p -r1.644.4.12 machdep.c
--- i386/i386/machdep.c 22 Apr 2010 20:02:48 -0000 1.644.4.12
+++ i386/i386/machdep.c 7 Aug 2010 19:38:32 -0000
@@ -966,7 +966,8 @@ haltsys:
if (howto & RB_HALT) {
#if NACPI > 0
- AcpiDisable();
+ if (AcpiGbl_FADT.SmiCommand != 0)
+ AcpiDisable();
#endif
printf("\n");
Index: amd64/amd64/machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/amd64/machdep.c,v
retrieving revision 1.102.4.13
diff -u -p -r1.102.4.13 machdep.c
--- amd64/amd64/machdep.c 22 Apr 2010 20:02:48 -0000 1.102.4.13
+++ amd64/amd64/machdep.c 7 Aug 2010 19:38:32 -0000
@@ -719,7 +719,8 @@ haltsys:
if (howto & RB_HALT) {
#if NACPI > 0
- AcpiDisable();
+ if (AcpiGbl_FADT.SmiCommand != 0)
+ AcpiDisable();
#endif
printf("\n");
Home |
Main Index |
Thread Index |
Old Index