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



> > 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.

alpha/pci/sio_pic.c:sio_intr_shutdown() which is established
by shutdownhook_establish(9) is called before shutdown hooks
registered by pmf(9) during shutdown, per alpha/machdep.c:cpu_reboot().

Is it make sense to register sio_intr_shutdown() in sioattach()?
(though it might require some ugly tricks)
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index