lkml.org 
[lkml]   [2005]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] properly stop devices before poweroff
Zwane Mwaikambo <zwane@arm.linux.org.uk> wrote:
>
> 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?

CPU0 CPU1 CPU2 CPU3
28: 0 0 0 0 LSAPIC cpe_poll
29: 0 0 0 0 LSAPIC cmc_poll
30: 0 0 0 0 IO-SAPIC-level cpe_hndlr
31: 0 0 0 0 LSAPIC cmc_hndlr
34: 19 0 0 0 IO-SAPIC-edge ide0
39: 0 0 0 0 IO-SAPIC-level acpi
48: 382 0 0 0 IO-SAPIC-level eth0
49: 0 2835 0 0 IO-SAPIC-level ioc0
50: 0 0 29 0 IO-SAPIC-level ioc1
51: 0 0 0 0 IO-SAPIC-level uhci_hcd:usb1
52: 51 0 0 0 IO-SAPIC-level uhci_hcd:usb2
232: 0 0 0 0 LSAPIC mca_rdzv
238: 0 0 0 0 LSAPIC perfmon
239: 122785 128748 129310 130523 LSAPIC timer
240: 0 0 0 0 LSAPIC mca_wkup
254: 29 77 101 102 LSAPIC IPI
ERR: 0

> 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.

Everything's up. Perhaps we're trying to disable devices more than once?
-
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: 2005-04-30 11:51    [W:0.050 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site