NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38501: NetBSD 4.99.60 (GENERIC) kernel does not handle shutdown -r properly on my hardware

The following reply was made to PR kern/38501; it has been noted by GNATS.

From: "Michael L. Hitch" <>
Subject: Re: kern/38501: NetBSD 4.99.60 (GENERIC) kernel does not handle
 shutdown -r properly on my hardware
Date: Thu, 7 Jan 2010 19:17:40 -0700 (MST)

 On Thu, 24 Apr 2008, wrote:
 >> Description:
 > I was asked by Jared McNeill to test the ACPI functionality of the
    NetBSD 4.99.60 (GENERIC) kernel he was working on. My computer is a
    Compaq ProLiant DL360 G1 with dual P3/1GHz processors, 1152MB ram, and a
    ServerWorks chipset. Using the NetBSD-4.0-RELEASE (GENERIC) kernel, my
    computer would freeze during boot if ACPI was enabled in the kernel. The
    NetBSD 4.99.60 (GENERIC) kernel booted fine with or without ACPI,
    however when I ran 'shutdown -r now', it would kill all processes,
    unmount the drives, and then just sit. It would not automatically reboot
    with or wihout ACPI enabled. If ACPI was enabled, I would have to hold
    the power button for 4 seconds to turn the power off at that time. If
    ACPI was not enabled, momentarily pressing the power button would turn
    the power off immediately at that point.
 >> Fix:
 > A workaround exists: Manually pressing the power button to power-cycle the 
 > computer.
    I saw the same thing with a DL360 G1, and tracked it down to revision 
 1.113 of sys/dev/pci/pci.c.  Undoing that change [I just commented out the 
 code in pci_child_shutdown()] allowed the machine to shutdown again.
    I think later I added a second CPU to the machine, and then it is unable 
 to boot MP with ACPI disabled, so I've been just booting without ACPI.  [I 
 really need to submit a PR on that problem some day.]
 Michael L. Hitch             
 Computer Consultant
 Information Technology Center
 Montana State University       Bozeman, MT     USA

Home | Main Index | Thread Index | Old Index