Re: [linux-pm] intermittent suspend problem again



"Rafael J. Wysocki" <rjw@xxxxxxx> writes:

On Saturday 28 November 2009, Ferenc Wagner wrote:
"Rafael J. Wysocki" <rjw@xxxxxxx> writes:

On Wednesday 18 November 2009, Ferenc Wagner wrote:

Ferenc Wagner <wferi@xxxxxxx> writes:

Since I've instrumented s2disk and the hibernation path, no freeze
happened during hibernating the machine.

Not until I removed the delays from hibernation_platform_enter(), which
were put there previously to get step-by-step feedback. Removing them
again resulted in a freeze in short course, maybe just two hibernations
later. The instrumentation shows it stuck in dpm_suspend_start(PMSG_HIBERNATE).
Does it mean that some device driver is at fault?

A driver or one of the platform hooks.

I'll check if it always fails at the same point (although tracing into
dpm_suspend_start isn't pure fun because of the multitude of devices it
loops over). Is there any way to get printk output from that phase?

Compile with CONFIG_PM_VERBOSE (it does mean exactly that).

The last message now was:

e100: 0000:02:08.0: hibernate, may wakeup

Looks like hibernating the e100 driver is unstable.

Can you verify that by trying to hibernate without the e100 driver?

Not really, as I still can't reliable reproduce the issue. Since I'm
running with suspend loglevel = 8, it's happened only twice (in a row),
with seemingly exact same console output. Some earlier freezes also
happened in dpm_suspend_start, at least. However, I can certainly add
e100 to SUSPEND_MODULES under /etc/pm/config.d, and continue running
with that. Or I can try stress-testing the module, but not sure, how.
Interestingly, git log v2.6.31.. -- e100.c is tiny, but 8fbd962e affects
the suspend/resume routines through e100_up. This could explain the
timing-sensitive nature of the issue. I took the liberty to change the
Cc list, maybe linux-netdev can lend us a hand.
--
Regards,
Feri.
--
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/



Relevant Pages

  • Re: [linux-pm] intermittent suspend problem again
    ... A driver or one of the platform hooks. ... Is there any way to get printk output from that phase? ... Looks like hibernating the e100 driver is unstable. ... hibernation/resume cycles in a tight loop using the RTC wakealarm. ...
    (Linux-Kernel)
  • Re: [linux-pm] intermittent suspend problem again
    ... Not until I removed the delays from hibernation_platform_enter, ... Does it mean that some device driver is at fault? ... A driver or one of the platform hooks. ... Looks like hibernating the e100 driver is unstable. ...
    (Linux-Kernel)
  • Re: [linux-pm] intermittent suspend problem again
    ... Removing them ... Does it mean that some device driver is at fault? ... A driver or one of the platform hooks. ... Looks like hibernating the e100 driver is unstable. ...
    (Linux-Kernel)
  • ieee1394 driver resume blue screen
    ... I am using a driver for IEEE1394 DCAM-compliant cameras (sources can be ... When hibernating with this driver loaded, I get a blue screen at resume, ... way to prevent system hibernation if this driver is loaded? ...
    (microsoft.public.development.device.drivers)