Re: [patch] properly stop devices before poweroff

Zwane Mwaikambo
2005-04-29T13:36:25Z

On Fri, 29 Apr 2005, Andrew Morton wrote:

> Pavel Machek <pavel@ucw.cz> 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