[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638264: [linux-image-3.0.0-1-amd64] Suspend to memory failed



On Thu, Aug 18, 2011 at 11:15 AM, Liang Guo <bluestonechina@gmail.com> wrote:
> Package: linux-image-3.0.0-1-amd64
> Version: 3.0.0-2
> Severity: important
>
> I'm running linux 3.0.0-2 on a Lenovo x220 box, cpu is
> Core(TM) i5-2410M, when I try to suspend to memory, the
> screen become black with a cursor flashing, the suspend
> keep flashing too. I can only force shutdown and restart
> it.
>
> when I try to debug this problem according
> linux/Documentation/power/s2ram.txt, I found there is no
> /sys/power/pm_trace. The 'ls -al /sys/power' outputs:

Hi, I have cought this bug now, the root source is iwlagn, when
iwlagn is not loaded, or is configured(I means select enable
wireless in network manager), suspend to memory works as
expected; when iwlagn is loaded but not configured, suspend
to memory will fail.

The remain problem is why I don't have /sys/power/pm_trace
even if CONFIG_PM_DEBUG and CONFIG_CAN_PM_TRACE
is enabled.

$ grep -i pm_[td] /boot/config-3.0.0-1-amd64
CONFIG_PM_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_CAN_PM_TRACE=y
# CONFIG_PM_TRACE_RTC is not set

Thanks,
-- 
Liang Guo
http://bluestone.cublog.cn



Reply to: