Re: peculiar suspend/resume bug.

From: Nigel Cunningham
Date: Tue Aug 15 2006 - 20:17:01 EST


Hi Dave.

On Tue, 2006-08-15 at 18:10 -0400, Dave Jones wrote:
> Here's a fun one.
> - Get a dual core cpufreq aware laptop (Like say, a core-duo)
> - Add a cpufreq monitor to gnome-panel. Configure it
> to watch the 2nd core.
> - Suspend.
> - Resume.
>
> Watch the cpufreq monitor die horribly.
>
> I believe this is because we take down the 2nd core at suspend
> time with cpu hotplug, and for some reason we're scheduling
> userspace before we bring that second core back up.
>
> Anyone have any clues why this is happening?

If you hotunplug and replug the cpu using the sysfs interface, rather
than suspending and resuming, does the same thing happen?

Regards,

Nigel

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