Re: Machine crashes right *after* ~successful resume

From: Wilmer van der Gaast
Date: Thu Oct 16 2014 - 05:36:14 EST


Hello,

On 16-10-14 05:32, Yinghai Lu wrote:

Can you please try attached patch? that should workaround the problem.

Sadly, no luck. (I do assume you meant me to use the patch against a clean 3.17 tree *without* yesterday's revert patch applied.) Back to a crash at/after the third resume:

[ 372.502897] usb 3-1.1: reset high-speed USB device number 3 using ehci-pci
[ 372.678765] usb 2-1.5: reset low-speed USB device number 3 using ehci-pci
[ 373.398437] Clocksource tsc unstable (delta = -136457848 ns)
[ 373.897503] Switched to clocksource hpet
[ 373.897536] PM: resume of devices complete after 2143.535 msecs
[ 373.898225] r8169 0000:07:00.0 eth0: link up
[ 374.319311] Restarting tasks ... done.
(And then nothing.)

Interestingly I did see the "resume of devices" time grow on each resume again this time. I'll put the full dmesg dump in the same place like before: http://gaast.net/~wilmer/.lkml/

There's a lspci -vv dump there as well, as Bjorn asked for. I'll file a bug on bugzilla tonight.

as some driver is using pci_enable_device in .resume instead of
pci_renable_device....

Maybe this doesn't matter, but I could reproduce this issue even with no modules loaded at all (so barebone that I couldn't even mount my rootfs and had to do this testing in the initrd), so with only mainline kernel code running.


Thanks,

Wilmer v/d Gaast.

--
+-------- .''`. - -- ---+ + - -- --- ---- ----- ------+
| wilmer : :' : gaast.net | | OSS Programmer www.bitlbee.org |
| lintux `. `~' debian.org | | Full-time geek wilmer.gaast.net |
+--- -- - ` ---------------+ +------ ----- ---- --- -- - +
--
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/