lkml.org 
[lkml]   [2007]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] (repost) Fix SMP poweroff hangs
Santiago Garcia Mantinan wrote:
> Doesn't fix for me!
>
> I have an Athlon x2 running on a Asus A8N-E mobo which has an NForce 4
> chipset, I thought this patch would fix poweroff for me too, but it doesn't.
>
> I'm seing this on 2.6.23-rc8 with and without your patch, here is what I get
> on the console:
>
> Shutdown: hdd
> Shutdown: hda
> System halted.
>
> Nothing else pops up.

I'd say your problem is more of a distro issue,
in that the method you are using to shutdown
is not actually requesting "poweroff".

That last mess above ("System halted.") comes from kernel_halt(),
rather than the expected message ("Power down.") from kernel_power_off().

So, try using the "poweroff" command instead of "halt",
or try using "halt -p". If neither of those work,
then edit /etc/init.d/halt and hardcode the "-p" parameter
inside there onto the "halt" command line(s).

I had to do that frequently back in the Redhat/Fedora days.
I'm sure they have a nice GUI for it somewhere,
but at the time it was simpler to just edit the script.

Cheers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-30 19:25    [from the cache]
©2003-2011 Jasper Spaans