NetBSD-Bugs archive

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

Re: port-alpha/40077: pmf_system_shutdown(9) breaks reboot(8) on PWS500au



On Sun, Sep 06, 2009 at 05:30:05PM +0000, Michael L. Hitch wrote:
> The following reply was made to PR port-alpha/40077; it has been noted by 
> GNATS.
> 
> From: "Michael L. Hitch" <mhitch%lightning.msu.montana.edu@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: port-alpha-maintainer%netbsd.org@localhost, 
> gnats-admin%netbsd.org@localhost, 
>     netbsd-bugs%netbsd.org@localhost
> Subject: Re: port-alpha/40077: pmf_system_shutdown(9) breaks reboot(8) on
>  PWS500au
> Date: Sun, 6 Sep 2009 11:26:08 -0600 (MDT)
> 
>  On Mon, 1 Dec 2008, njoly%pasteur.fr@localhost wrote:
>  
>  > No sure about the real fix, but at least removing the pmf_system_shutdown()
>  > call from sys/arch/alpha/alpha/machdep.c:cpu_reboot() make reboot/halt
>  > commands work as expected.
>  
>     I ran into a similar type of problem on an old Compaq DL360.  It hung
>  on any attempt to halt, and required a power cycle to clear.  I did track
>  it down to the 1.113 revision of sys/dev/pci/pci.c, which disables bus 
>  master accesses.  You might try to comment out the code in 
>  pci_child_shutdown() and see if that also makes it work.  If I ever get 
>  around to getting my PWS500au connected back up, I could also check this, 
>  but I'm getting deep into the SMP problem at the moment.

Good catch. Commenting the code that disable the bus mastering in
pci_child_shutdown() make it work, it reboots flawlessly again.

Thanks.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index