Re: [patch] properly stop devices before poweroff

From: Zwane Mwaikambo
Date: Fri Apr 29 2005 - 08:34:47 EST


On Fri, 29 Apr 2005, Andrew Morton wrote:

> Pavel Machek <pavel@xxxxxx> wrote:
> >
> >
> > Without this patch, Linux provokes emergency disk shutdowns and
> > similar nastiness. It was in SuSE kernels for some time, IIRC.
> >
>
> With this patch when running `halt -p' my ia64 Tiger (using
> tiger_defconfig) gets a stream of badnesses in iosapic_unregister_intr()
> and then hangs up.
>
> Unfortunately it all seems to happen after the serial port has been
> disabled because nothing comes out. I set the console to a squitty font
> and took a piccy. See
> http://www.zip.com.au/~akpm/linux/patches/stuff/dsc02505.jpg
>
> I guess it's an ia64 problem. I'll leave the patch in -mm for now.

Could you cat /proc/interrupts during runtime? It looks like the device
being suspended never went through pci_device_enable() (e.g. ethernet
interface wasn't up). It's harmless right now.

Thanks,
Zwane

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