Re: [PATCH] (repost) Fix SMP poweroff hangs

2007-10-01 Thread Santiago Garcia Mantinan
> There was a bug in 2.6.23-rc8 that caused this to happen. > > It's been fixed in the later -git kernels > (commits 2f3f22269bdf702311342c5d106dfdd7347d1c3e, > 853298bc03ef65e3eb392f5d61265605214ee8fb). You are right, I have downloaded current head of git and seems to work ok. Sorry for the los

Re: [PATCH] (repost) Fix SMP poweroff hangs

2007-10-01 Thread Rafael J. Wysocki
On Sunday, 30 September 2007 19:54, Santiago Garcia Mantinan wrote: > > 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 tha

Re: [PATCH] (repost) Fix SMP poweroff hangs

2007-09-30 Thread Santiago Garcia Mantinan
I booted into single mode, then umounted all unneeded stuff and put / to ro, stopped all unused raids, ... then did... >/sbin/halt -f -p > > The machine *should* poweroff. Nope, it didn't and what was curious was that I was left at the bash prompt :-? > If not, then do the whole thing again

Re: [PATCH] (repost) Fix SMP poweroff hangs

2007-09-30 Thread Mark Lord
Santiago Garcia Mantinan wrote: 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_pow

Re: [PATCH] (repost) Fix SMP poweroff hangs

2007-09-30 Thread Santiago Garcia Mantinan
> 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

Re: [PATCH] (repost) Fix SMP poweroff hangs

2007-09-30 Thread Mark Lord
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: S

Re: [PATCH] (repost) Fix SMP poweroff hangs

2007-09-30 Thread Santiago Garcia Mantinan
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

[PATCH] (repost) Fix SMP poweroff hangs

2007-09-28 Thread Mark Lord
Rafael J. Wysocki wrote: .. @@ -879,6 +880,7 @@ if (pm_power_off_prepare) pm_power_off_prepare(); sysdev_shutdown(); + disable_nonboot_cpus(); Before sysdev_shutdown(), please. sysdev_shutdown() may touch things that belong to CPU0. Thanks. Here is the