Jordi Espasa Clofent wrote: > Hi all, > > 'halt -p' doesn't work fine in amd64; if you execute this command, the > box remains waiting you press a key to make a reboot. And the last goal > is obviously to make a complete power off. > > I've activated the acpi support in boot (boot -c; enable acpi) without > success. > > Moreover, I read in man reboot(8): > > -p Causes the system to power down, if it is being halted, > and the hardware supports automatic power down. (Currently supported on > some i386, luna88k, mac68k, macppc, sparc, sparc64 and zaurus platforms.) > > ?Is there some develop effort to include this feature in amd64? >
funny, it works fine on one of my amd64 systems, an SMP one at that (and it surprised the heck out of me when it did!). Before you whine about a feature not being in OpenBSD, make sure you have checked -current. acpi is very much a work in progress, if it is something you care about, you run -current. Curiously, as you are whining about lack of a feature, I found the new ability to turn a server off by remote kinda scares me. Before, if I'd have accidentally done a "halt -p" in the wrong window, annoying, but I could have serial-consoled into the box, tapped a key and brought it back up. Now I'll have to make an embarrassing phone call and wait... I find myself doing a "reboot" on my laptop (which powers off fine, at least with the "machdep.apmhalt" sysctl), and hitting the power button at the right moment now. Nick.