halt -dp worked for me...never tried it before. Now, I did do a couple
of things. I upgraded my kernel to 2.6.20r8 and set the acpi=force
kernel parameter. I don't know whether the acpi=force paramenter fixed
the problem. I did see the gentoo shutdown.sh script (which you can view
at the bottom of this message) and it seems to call the halt command
with the options -dp. This means that before the same halt -dp was being
used and the system did not shutdown properly. Now I manually enter the
halt -dp command and it works flawlessly. So, maybe it was the kernel
upgrade or the acpi=force kernel parameter that is causing it to work.

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

opts="-d"
[ "${INIT_HALT}" != "HALT" ] && opts="${opts}p" # here it is
[ "${RC_DOWN_INTERFACE}" = "yes" ] && opts="${opts}i"
[ "${RC_DOWN_HARDDISK}" = "yes" ] && opts="${opts}h"

/sbin/halt "${opts}"

# hmm, if the above failed, that's kind of odd ...
# so let's force a halt
/sbin/halt -f


On Fri, 2007-06-01 at 12:47 +0900, [EMAIL PROTECTED] wrote:
> 
> > -----Original Message-----
> > From: Richard Marz [mailto:[EMAIL PROTECTED] 
> > Sent: Friday, June 01, 2007 11:40 AM
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] Shutdown -h now is not powering 
> > down system.
> > 
> > 
> > No. But, I will try it now. I'll let you know if it works in 
> > a few minutes because I'm downloading the latests kernel 
> > sources. On Thu, 2007-05-31 at 23:30 -0300, Davi wrote:
> > > shutdown -h now -P
> > 
> > -- 
> > [EMAIL PROTECTED] mailing list
> > 
> 
> If shutodwn -h now -P doesn't work, try
> shutdown -P -h now
> 
> I know that is just a matter of symantics, but a lot 
> of programs want the "options" all in one spot. ^^;;
> Not sure about this one.
> 

-- 
[EMAIL PROTECTED] mailing list

Reply via email to