Re: Oops when shutting down laptop

From: Andrew Morton
Date: Fri Aug 05 2005 - 01:14:31 EST


Kristian Grønfeldt Sørensen <kriller@xxxxxx> wrote:
>
> My laptop oops'es in the final phase of shutdown. It started this
> Monday. I don't remember having done anything particular with respect to
> the kernel around that time. It only happens when going to runlevel 0 -
> a reboot does not result in an oops.
>
> Until yesterday i used kernel 2.6.13-rc3, but i have now compiled
> 2.6.13-rc5 with some debugging support. However the problem persists.
>
> Since the oops happens so late in the shutdown-sequence, that all
> filesystems has been unmounted, i am unable to capture the oops on the
> disc, but a picture of the oops is available at
> http://www.vkr.dk/~kriller/oops.jpg . (Sorry for not writing the oops in
> this mail).
>
> I tried to remove all modules except speedstep_centrino, freqtable,
> processor and ipv6 (reported as being in use), before calling poweroff,
> but with no change.

We've been busily reverting new power management patches and it's likely
that we fixed this one in the past day or so. So please test 2.6.13-rc6
when it comes out, or 2.6.13-rc5-git3 which is about three hours away,
thanks.

If it still happens please add the below patch so we can work out the
offending device. Or apply it anyway - we may have a buggy driver which
will just bite us again later.

Thanks.

--- devel/drivers/base/power/suspend.c~a 2005-08-04 23:06:27.000000000 -0700
+++ devel-akpm/drivers/base/power/suspend.c 2005-08-04 23:08:06.000000000 -0700
@@ -92,6 +92,8 @@ int device_suspend(pm_message_t state)
get_device(dev);
up(&dpm_list_sem);

+ printk("Suspending device %s\n", kobject_name(&dev->kobj));
+
error = suspend_device(dev, state);

down(&dpm_list_sem);
_

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