View Full Version : Not able to shutdown system
webofunni
May 15th, 2009, 21:34
Hi,
I am a newbie in FreeBSD. I have tried 'shutdown -h now' as in Linux. But after saying "System is halted" it says that press any key to reboot and the system reboots, if I press any key. Is this the default behaviour in FreeBSD. I have found the -p option in shutdown that power off the system.
Please clear this doubt.
Beastie
May 15th, 2009, 22:51
And of course, you did a man shutdown, which says:
-h The system is halted at the specified time.
-p The system is halted and the power is turned off(hardware sup-port required) at the specified time.
bsdvm
May 16th, 2009, 07:55
Just use
shutdown -p now
to shutdown your FreeBSD box.
mfaridi
May 16th, 2009, 08:34
Use
halt -p
tangram
May 18th, 2009, 11:04
Oh and if your system is old (~ +9 years) it might not have an ACPI capable motherboard and shutdown -p now will behave like shutdown -h now.
gnemmi
May 18th, 2009, 12:36
Oh and if your system is old (~ +9 years) it might not have an ACPI capable motherboard and shutdown -p now will behave like shutdown -h now.
if it's as new as the MSI 945GCM7-L (http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=1416), shutdown -p now will behave like shutdown -h now too ... and so will halt -p now... :(
DutchDaemon
May 18th, 2009, 13:03
Is ACPI (fully) enabled in BIOS?
gnemmi
May 18th, 2009, 16:08
Yup ... as a matter of fact, neither DF or Open have any problems on that mobo ...
To be honest, and having found that booting _without_ ACPI on 7.2 throws me a Fatal Trap 9 (http://forums.freebsd.org/showthread.php?t=3886), I'm growing more and more unconfident on the state of FreeBSD's ACPI as days go by ...
PD: btw .. I got so used to power the system off by hand that I stop caring about that issue with that mobo ...
tangram
May 18th, 2009, 16:36
Did you check to see if there are any BIOS updates? Sometimes manufacturers introduces fixes.
gnemmi
May 18th, 2009, 17:03
Yup ... three (http://www.msi.com/index.php?func=downloaddetail&type=bios&maincat_no=1&prod_no=1416) of them ... I'm running on the latest one (3.2).
According to the BIOS boot: ACPI 1.0 Enabled
I have to warn you though, that particular machine is running 7.0-REL (can't update yet); but in all honesty, that mobo was already old by the time 7.0 was released.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.