The following reply was made to PR port-alpha/40077; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: mhitch%lightning.msu.montana.edu@localhost
Cc: gnats-bugs%NetBSD.org@localhost, port-alpha-maintainer%NetBSD.org@localhost,
gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost,
tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-alpha/40077: pmf_system_shutdown(9) breaks reboot(8) on
PWS500au
Date: Mon, 7 Sep 2009 23:19:04 +0900
> > 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