Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-22 Thread Alex Zbyslaw

Chris Hill wrote:


On Tue, 21 Mar 2006, Yance Kowara wrote:


In Linux, shutdown -h now will power off the machine.



*That* makes no sense to me, and I would find it to be unexpected 
behavior... but I guess it's a matter of what you're used to.


Where FreeBSD aims for a Principle of Least Astonishment (POLA) my 
experience of Linux is that they have no such principle, and in some 
cases (when I'm having a bad day :-)) even a Principle of Greatest 
Astonishment.


Shutdown -h has halted machines since forever (or course, in them days 
you *couldn't* power the machine off).


Enough rambling,

--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-22 Thread hackmiester / Hunter Fuller
On Tuesday 21 March 2006 17:17, Chris Hill wrote:
 On Tue, 21 Mar 2006, Yance Kowara wrote:

 [snip]

  Yes, strangely enough shutdown -h now in FreeBSD will only halt the
  machine. halt -p will poweroff the box, and shutdown -p now will also
  power off the box.

 The shutdown options don't seem very strange to me: H stands for Halt, P
 stands for Power. The halt manpage says that Normally, the shutdown(8)
 utility is used when the system needs to be halted ... cleanly
 terminating specific programs.

  In Linux, shutdown -h now will power off the machine.
Not the case for me. For me it's just like FBSD.

 *That* makes no sense to me, and I would find it to be unexpected
 behavior... but I guess it's a matter of what you're used to.

 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
--hackmiester
Walk a mile in my shoes and you will be a mile away in a new pair of shoes.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD/yYl3ApzN91C7BcRAoVVAJ97uhjh30nQ4hd9bQ90gJqiwsLEfgCeKSrg
bVfqEeJ09WhO6Y51WHEHb6o=
=VTUd
-END PGP SIGNATURE-

-BEGIN GEEK CODE BLOCK-
Version: Geek Code v3.1 (PHP)
GCS/CM/E/IT d-@ s: a- C++$ UBLS*$ P+ L+++$ E- W++$ !N-- !o+ K-- !w-- !O-
M++$ V-- PS@ PE@ Y--? PGP++ !t--- 5--? !X-- !R-- tv-- b+ DI++ D++ G+ e
h r+++ z
--END GEEK CODE BLOCK--

Quick contact info:
Work: [EMAIL PROTECTED]
Personal: [EMAIL PROTECTED]
Large files/spam: [EMAIL PROTECTED]
GTalk:hackmiester/AIM:hackmiester1337/Y!:hackm1ester/IRC:irc.7sinz.net/7sinz


pgpVQxllLUZ3k.pgp
Description: PGP signature


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-21 Thread Yance Kowara

- Original Message - 
From: Vayu [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Cc: Malcolm Fitzgerald [EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 5:36 PM
Subject: Re: Why doesn't Turn Off The Computer turn
off the computer?


 On Monday 20 March 2006 20:04, Kevin Kinsey wrote:
 Malcolm Fitzgerald wrote:

  When I log out and select Turn off the computer
it shuts
  down the system and leaves the machinery running,
displaying
  this message:
 
  The operating system has halted.
  Please press any key to reboot.
 
  Pressing the power button fires up the system. I
have
  to hold the power button down for several seconds
to
  get a forced power-off or pull the plug.
 
  How do I setup BSD so that the command at the
login
  panel turns the machine off?
 
  Malcolm


 It might be helpful to mention your windowing
 system, but I doubt that it will make a lot of
difference.

 Most likely, FreeBSD doesn't grok your system's
 ACPI.  What does uname -a say? (Let's establish
 your OS version first).



 I don't know about how your window system shuts
down, but from the command
 line I had the same problem.  I was using shutdown
-h now and it would 
 give
 me the same message that the system was halted,
press any key to reboot. 
 I
 later learned that shutdown -p now would shut the
power off as well. 
 Maybe
 your window system is doing the equivalent of -h
instead of -p.


Yes, strangely enough shutdown -h now in FreeBSD will
only halt the machine. 
halt -p will poweroff the box, and shutdown -p now
will also power off the 
box.

In Linux, shutdown -h now will power off the machine.


Yance. 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-21 Thread Jerry McAllister
 
 When I log out and select Turn off the computer it shuts down the 
 system and leaves the machinery running, displaying this message:
 
 The operating system has halted.
 Please press any key to reboot.
 
 Pressing the power button fires up the system. I have to hold the power 
 button down for several seconds to get a forced power-off or pull the 
 plug.
 
 How do I setup BSD so that the command at the login panel turns the 
 machine off?

Sounds like one (or both) of two things.

One (most likely) you are using the wrong command to shut the machine down.
  shutdown -h [now]   tells it to shut down the system and leave it on
  but in a 'halted' state, just as you are seeing.
You need to use:
  shutdown -p [now]   to get it to power down after it finishes shutting down.

The other possibility is that your BIOS is either not set to accept
a power down signal or there is some incompatibility with it and what
FreeBSD sends it.   If just switching to '-p' above doesn't do the
trick, go in to the BIOS and look for where it turns the software power
down feature on and off and make sure it is on.   

jerry

 
 Malcolm
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-21 Thread regnans
Malcolm Fitzgerald wrote:
 When I log out and select Turn off the computer it shuts down the
 system and leaves the machinery running, displaying this message:

 The operating system has halted.
 Please press any key to reboot.

 Pressing the power button fires up the system. I have to hold the
 power button down for several seconds to get a forced power-off or
 pull the plug.

 How do I setup BSD so that the command at the login panel turns the
 machine off?

 Malcolm
I figure you use kdm as Display Manager, because Turn off the computer
is what is offers as a choice when you select Shutdown.
To set it up properly, run kcontrol, select System Administration,
then Login Manager, then Shutdown. Go into Administrator Mode and
correct the command for Halt to /sbin/halt -p.

HTH, Helge

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-21 Thread Malcolm Fitzgerald


On 22/03/2006, at 3:23 AM, [EMAIL PROTECTED] wrote:


Malcolm Fitzgerald wrote:

When I log out and select Turn off the computer it shuts down the
system and leaves the machinery running, displaying this message:

The operating system has halted.
Please press any key to reboot.
I figure you use kdm as Display Manager, because Turn off the 
computer

is what is offers as a choice when you select Shutdown.
To set it up properly, run kcontrol, select System Administration,
then Login Manager, then Shutdown. Go into Administrator Mode and
correct the command for Halt to /sbin/halt -p.


Yes, it was simply a matter of issuing the -p switch

thank you Helge, for spotting the kdm reference and giving the easiest 
method for fixing the problem



malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-21 Thread Chris Hill

On Tue, 21 Mar 2006, Yance Kowara wrote:

[snip]

Yes, strangely enough shutdown -h now in FreeBSD will only halt the 
machine. halt -p will poweroff the box, and shutdown -p now will also 
power off the box.


The shutdown options don't seem very strange to me: H stands for Halt, P 
stands for Power. The halt manpage says that Normally, the shutdown(8) 
utility is used when the system needs to be halted ... cleanly 
terminating specific programs.



In Linux, shutdown -h now will power off the machine.


*That* makes no sense to me, and I would find it to be unexpected 
behavior... but I guess it's a matter of what you're used to.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-21 Thread Kevin Kinsey

Malcolm Fitzgerald wrote:



On 22/03/2006, at 3:23 AM, [EMAIL PROTECTED] wrote:


Malcolm Fitzgerald wrote:


When I log out and select Turn off the computer it shuts down the
system and leaves the machinery running, displaying this message:

The operating system has halted.
Please press any key to reboot.


I figure you use kdm as Display Manager, because Turn off the computer
is what is offers as a choice when you select Shutdown.
To set it up properly, run kcontrol, select System Administration,
then Login Manager, then Shutdown. Go into Administrator Mode and
correct the command for Halt to /sbin/halt -p.



Yes, it was simply a matter of issuing the -p switch

thank you Helge, for spotting the kdm reference and giving
the easiest method for fixing the problem


malcolm



Well, 'twas a lucky guess on Helge's part.  XFCE also
offers Turn off the computer, and I'd be willing to
guess that GNOME doesn't do it much differently, either.

So, there's something to be said for detail in you description
of your problems.  Nonetheless, we're glad you've got it working,
and perhaps this thread will be of assistance to others who
will search the archives and find it.

KDK

--
You don't move to Edina, you achieve Edina.
-- Guindon


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why doesn't Turn Off The Computer turn off the computer?

2006-03-20 Thread Malcolm Fitzgerald
When I log out and select Turn off the computer it shuts down the 
system and leaves the machinery running, displaying this message:


The operating system has halted.
Please press any key to reboot.

Pressing the power button fires up the system. I have to hold the power 
button down for several seconds to get a forced power-off or pull the 
plug.


How do I setup BSD so that the command at the login panel turns the 
machine off?


Malcolm


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why doesn't Turn Off The Computer turn off the computer?

2006-03-20 Thread Robert Huff
Malcolm Fitzgerald writes:

  When I log out and select Turn off the computer it shuts down
  the system and leaves the machinery running, displaying this
  message:
  
  The operating system has halted.
  Please press any key to reboot.
  
  Pressing the power button fires up the system. I have to hold the
  power button down for several seconds to get a forced power-off
  or pull the plug.
  
  How do I setup BSD so that the command at the login panel turns
  the machine off?

This is not (or not just) about FreeBSD, but about your BIOS.
(All of my machines are set to Off means OFF!, damnit..)


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-20 Thread Kevin Kinsey

Malcolm Fitzgerald wrote:


When I log out and select Turn off the computer it shuts
down the system and leaves the machinery running, displaying
this message:

The operating system has halted.
Please press any key to reboot.

Pressing the power button fires up the system. I have
to hold the power button down for several seconds to
get a forced power-off or pull the plug.

How do I setup BSD so that the command at the login
panel turns the machine off?

Malcolm



It might be helpful to mention your windowing
system, but I doubt that it will make a lot of difference.

Most likely, FreeBSD doesn't grok your system's
ACPI.  What does uname -a say? (Let's establish
your OS version first).

Do you have any references to ACPI in your system's
boot message?  (you can look in /var/run/dmesg.boot).

What does kldstat(8) show?  Is acpi.ko loaded?

It is quite possible, if you are running a relatively
recent release on an older machine, that ACPI support
is intentionally disabled for your motherboard because
FreeBSD considers the system's BIOS/ACPI to be
broken.  If this is the case, I'm not sure if the
situation can be corrected, or not.  The good news:
sometimes it is possible to tell the system what kind
of ACPI support you need, and have it loaded at
boot-time; the bad news: some motherboards/BIOS
will never be supported, there simply won't be
enough programmer time to devote to all the
whims of every chipset designer who's been allowed
to release a product.

Kevin Kinsey

--
Imagine me going around with a pot belly.
It would mean political ruin.
-- Adolf Hitler


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why doesn't Turn Off The Computer turn off the computer?

2006-03-20 Thread Vayu
On Monday 20 March 2006 20:04, Kevin Kinsey wrote:
 Malcolm Fitzgerald wrote:
 
  When I log out and select Turn off the computer it shuts
  down the system and leaves the machinery running, displaying
  this message:
 
  The operating system has halted.
  Please press any key to reboot.
 
  Pressing the power button fires up the system. I have
  to hold the power button down for several seconds to
  get a forced power-off or pull the plug.
 
  How do I setup BSD so that the command at the login
  panel turns the machine off?
 
  Malcolm
 
 
 It might be helpful to mention your windowing
 system, but I doubt that it will make a lot of difference.
 
 Most likely, FreeBSD doesn't grok your system's
 ACPI.  What does uname -a say? (Let's establish
 your OS version first).
 


I don't know about how your window system shuts down, but from the command 
line I had the same problem.  I was using shutdown -h now and it would give 
me the same message that the system was halted, press any key to reboot.  I 
later learned that shutdown -p now would shut the power off as well.  Maybe 
your window system is doing the equivalent of -h instead of -p.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]