FS#37720 - [linux] Kernel panic on resume from suspend (3.12 only)
Attached to Project:
Arch Linux
Opened by Maël Kerbiriou (Piezoid) - Sunday, 10 November 2013, 15:21 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Tuesday, 21 January 2014, 00:28 GMT
Opened by Maël Kerbiriou (Piezoid) - Sunday, 10 November 2013, 15:21 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Tuesday, 21 January 2014, 00:28 GMT
|
Details
Description:
Kernel panic when resuming from suspend. "freezer" and "devices" > /sys/power/pm_test modes are working fine, but "platform" cause the kernel panic. Additional info: * package version(s) - linux 3.12-1 cause the problem. - linux 3.11.6-1 was working fine. * config and/or log files etc. Kernel panic is mentioning synaptic and ps2 drivers. I don't know how to log better debug information (pstore remains empty). Steps to reproduce: # systemctl suspend |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Tuesday, 21 January 2014, 00:28 GMT
Reason for closing: Fixed
Additional comments about closing: Tested with 3.12.8-1, problem solved !
Tuesday, 21 January 2014, 00:28 GMT
Reason for closing: Fixed
Additional comments about closing: Tested with 3.12.8-1, problem solved !
I managed to get a "platform" suspend without kernel panic (first boot on the syslog with resumedelay=30). I got some
ACPI Error: Method parse/execution failed
CPI Error: [_T_0] Namespace lookup failure, AE_ALREADY_EXISTS
Then I reboot to try to reproduce that, but I get a kernel panic, this time partially logged by journald :
BUG: unable to handle kernel paging request at ffffc900175a0014
[...]
Call Trace:
[<ffffffffa05cc525>] ? rtsx_pci_card_detect+0x55/0x1d0 [rtsx_pci]
[...]
User space had enough time to wake up.
Next reboots are less interesting because kernels errors were not logged.
I reported this to LKML: https://lkml.org/lkml/2013/11/17/21
Thanks.
http://seblu.net/a/arm/week/core/os/x86_64/linux-3.11.6-1-x86_64.pkg.tar.xz
After that I'll try the previsous kernel and if it works, I'll try to make a git-bisect session.
Question for @fmoreau : what is the temporary solution while waiting for this patch to be integrated into the kernel ? Downgrade to 3.11.6, blacklist rtsx_pci module (it appears I have two entry for a realtek device, one of unassigned class that uses the rtsx driver/module and one for the Ethernet controller using r8169), build myself a kernel integrating this patch (this would be the first time I dig into kernel compiling, so I'm not so eager to follow this solution)?
Thanks
Sadly, the driver's developer doesn't seem to care about this bug. Maybe you could confirm on LKML that you're also hit by this bug, it might help to make things done.
Joining the LKML thread and adding my use case was my first intention, but given the complexity of the procedures routinely asked there, and my likely inability to provide relevant info (the bisect thing killed me ;-)) besides my absence of knowledge of how to present the case, I preferred contacting you here/subscribing to the Arch bug. Although I saw the developper/maintainer's contact info in the output of modinfo rtsx_pci (that's Wei WANG, right?), I didn't know if emailing him was an acceptable way to further this issue...
I'm preparing a mail to the LKML thread, but what info should I include for my report to be useful?
Thanks
Most of the information needed to debug and fix it has been dig out therefore I don't think you'll be asked to provide more information.
Thanks
Cheers.