Re: [PATCH] properly stop devices before poweroff

2005-08-01 Thread Olaf Hering
un, 26 Jun 2005 06:24:33 -0700 > > [PATCH] properly stop devices before poweroff > > Without this patch, Linux provokes emergency disk shutdowns and > similar nastiness. It was in SuSE kernels for some time, IIRC. > > Signed-off-by: Pavel Machek <[EMAIL PROTECTED]&g

Re: [patch] properly stop devices before poweroff

2005-07-27 Thread Andrew Morton
Kenji Kaneshige <[EMAIL PROTECTED]> wrote: > > After all, I think ia64-halt-hangup-fix.patch should be removed > from -mm tree. yup, I already tested-and-dropped it, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mor

Re: [patch] properly stop devices before poweroff

2005-07-27 Thread Kenji Kaneshige
Hi, I think the patch Tony mentioned (ia64-halt-hangup-fix.patch) was already merged into -mm tree. But as Tony said, it doesn't work and removing reboot notifier of e1000 looks better than changing ia64 version of pcibios_disable_device(). After all, I think ia64-halt-hangup-fix.patch should be

RE: [patch] properly stop devices before poweroff

2005-07-27 Thread Luck, Tony
>> The remaining problem is cause by the order of the calls in sys_reboot: >> >> device_suspend(PMSG_SUSPEND); >> device_shutdown(); >> >> The call to device_suspend() shuts down the mpt/fusion >driver. But then >> device_shutdown() calls sd_shutdown() which prin

Re: [patch] properly stop devices before poweroff

2005-07-27 Thread Pavel Machek
Hi! > > > I started on my OLS homework from Andrew ... and began looking > > > into what is going on here. > > > > > > > Thanks ;) I guess we'll end up with a better kernel, even though you appear > > to be an innocent victim here. > > The "Badness in iosapic_unregister_intr at arch/ia64/kernel

Re: [patch] properly stop devices before poweroff

2005-07-26 Thread Andrew Morton
[EMAIL PROTECTED] wrote: > > Andrew Morton wrote: > > "Luck, Tony" <[EMAIL PROTECTED]> wrote: > > > > > > I started on my OLS homework from Andrew ... and began looking > > > into what is going on here. > > > > > > > Thanks ;) I guess we'll end up with a better kernel, even though you appear > >

Re: [patch] properly stop devices before poweroff

2005-07-26 Thread tony . luck
Andrew Morton wrote: > "Luck, Tony" <[EMAIL PROTECTED]> wrote: > > > > I started on my OLS homework from Andrew ... and began looking > > into what is going on here. > > > > Thanks ;) I guess we'll end up with a better kernel, even though you appear > to be an innocent victim here. The "Badness

Re: [patch] properly stop devices before poweroff

2005-07-26 Thread Andrew Morton
"Luck, Tony" <[EMAIL PROTECTED]> wrote: > > I started on my OLS homework from Andrew ... and began looking > into what is going on here. > Thanks ;) I guess we'll end up with a better kernel, even though you appear to be an innocent victim here. > > Andrew: How did you get the squitty font on i

RE: [patch] properly stop devices before poweroff

2005-07-26 Thread Luck, Tony
I started on my OLS homework from Andrew ... and began looking into what is going on here. The story so far: Pavel added calls to device_suspend() to three of the cases in the sys_reboot() path. This stopped ia64 from being able to shutdown. There is a oops with a stacktrace pointing back at the

Re: [patch] properly stop devices before poweroff

2005-04-21 Thread tvrtko . ursulin
On 21/04/2005 12:38:29 linux-kernel-owner wrote: >> >Without this patch, Linux provokes emergency disk shutdowns and >> >similar nastiness. It was in SuSE kernels for some time, IIRC. >> OMG! And I did try to raise that issue 10 months ago, see below: >> http://www.ussg.iu.edu/hypermail/linux/kern

Re: [patch] properly stop devices before poweroff

2005-04-21 Thread Pavel Machek
Hi! > >Without this patch, Linux provokes emergency disk shutdowns and > >similar nastiness. It was in SuSE kernels for some time, IIRC. > > OMG! And I did try to raise that issue 10 months ago, see below: > > http://www.ussg.iu.edu/hypermail/linux/kernel/0406.0/0242.html Heh, verify that this

Re: [patch] properly stop devices before poweroff

2005-04-21 Thread tvrtko . ursulin
On 21/04/2005 12:13:46 linux-kernel-owner wrote: >Without this patch, Linux provokes emergency disk shutdowns and >similar nastiness. It was in SuSE kernels for some time, IIRC. OMG! And I did try to raise that issue 10 months ago, see below: http://www.ussg.iu.edu/hypermail/linux/kernel/0406.0/

[patch] properly stop devices before poweroff

2005-04-21 Thread Pavel Machek
Without this patch, Linux provokes emergency disk shutdowns and similar nastiness. It was in SuSE kernels for some time, IIRC. Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> --- clean/kernel/sys.c 2005-03-19 00:32:32.0 +0100 +++ linux/kernel/sys.c 2005-03-22 12:20:53.0 +0100 @