From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Gerwitz Subject: bug#34176: X200 kernel panic on S3 resume (linux-libre > 4.18.9) Date: Wed, 23 Jan 2019 00:58:57 -0500 Message-ID: <877eevq5i6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmBhj-0002kr-E2 for bug-guix@gnu.org; Wed, 23 Jan 2019 01:08:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmBhi-0006Xn-J6 for bug-guix@gnu.org; Wed, 23 Jan 2019 01:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmBhi-0006Xf-GD for bug-guix@gnu.org; Wed, 23 Jan 2019 01:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmBhi-0001rh-3G for bug-guix@gnu.org; Wed, 23 Jan 2019 01:08:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:51086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmBgw-0002IP-Fv for bug-guix@gnu.org; Wed, 23 Jan 2019 01:07:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmBZQ-0001bA-2T for bug-guix@gnu.org; Wed, 23 Jan 2019 00:59:28 -0500 Received: from localhost ([::1]:48319 helo=mikegerwitz-pc.gerwitz.local) by fencepost.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1gmBZM-0004Ir-8T for bug-guix@gnu.org; Wed, 23 Jan 2019 00:59:28 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34176@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Guix: I've been sitting on this one for a little while since I didn't have time to try debugging it. Sometime after 2018-09-25 (linux-libre 4.18.9), my X200 locks up after resuming from S3 (suspend to memory). The system is unresponsive, but Alt+Sysreq+B is recognized and reboots the system. Unfortunately, I don't know when this happened---my next upgrade on this box was 2018-12-01, kernel version 4.19.5. I produced a minimal system configuration where I stripped out all but base services (attached below) and the problem still occurs. After wasting a bunch of time on that, I finally added the `no_console_suspend' boot param and, sure enough, I get a kernel panic. It does not write the log to disk, so I'm reproducing it here in part manually: =2D-8<---------------cut here---------------start------------->8--- ACPI: Waking up from system sleep state S3 ACPI: EC: Interrupt unblocked ACPI: EC: event unblocked usb usb3: root hub lost power or was reset general protection fault: 0000 [#1] SMP PTI CPU: 1 PID: 441 Comm: kworker/u4:23 Tainted: 6 4.28-3gnu #1 Hardware name: LENOVO 7459VLP/7459VLP, BIOS CBET4000 3774c98 09/07/2016 Workqueue: events_unbound async_run_entry_fn RIP: 0010:uhci_scan_schedule.part.38+0xa3/0xad0 Code: [...machine code...] [...register values...] Call trace: [I'm omitting address offsets] ? __dev_printk uhci_hub_status_data usb_hcd_poll_rh_status uhci_pci_resume resume_common hcd_pci_resume pci_pm_resume [...ata stuff, successful...] uhci_hcd 0000:00:1d.0: host controller process error, something bad happene= d! uhci_hcd 0000:00:1d.0: host controller halted, very bad! uhci_hcd 0000:00:1d.0: HC died; cleaning up =2D-8<---------------cut here---------------end--------------->8--- I found this: https://01.org/linuxgraphics/gfx-docs/drm/driver-api/usb/persist.html But it states for `persist': For hubs the feature is automatically and permanently enabled and the power/persist file doesn=E2=80=99t even exist, so you only have to worry about setting it for devices where it really matters. (Which is indeed true for my hub 0000:00:1d.0, which is usb6, according to dmesg.) If someone with more experience with these types of issues offer me some advice on my next steps (including the best place to report upstream either for linux-libre or linux, if that's more appropriate), I'd appreciate it. =2D-=20 Mike Gerwitz Free Software Hacker+Activist | GNU Maintainer & Volunteer GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05 https://mikegerwitz.com --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJcSAKhAAoJEIyRe39dxRuiIkQQAJG39bkIuLAM8d5C4ztAQhrJ BQF4nfd7T0QQyAjBG5N9gsTFc9iBOcvHF05bATiayUJHQSG1MtfTkUPZhtgLZ8D3 WRK+WRrDUpc8IgycKiCJ46GdZKuX6p3bb47vgHwF8j45WEYguAmuLCJbaembIp6D KNbBucMLN19Jk3J+I9O5ucLzuOiUNMtGmGnNO8sfTAAtQ1kSZrtwqY0AwcspUZLv BmLlHQrj+4DGqP+R9HowRgDSbGqNcJPNq5hp0IQ5Jfz8Iqm0GkPdDojxMh3v0xAC pPWatCUFxLHCMuz+RolI74zWqJAmoFGeAQDAGt0kRes2mBTnLf1MBHpNcWjXwjSi zLNIpTuXDbvwmKBzffVG6GF81UuR3ajPo+mIlYzNsydm31j+oH6eB2Z5NNQ5lJsd 3fU9Oca4DGu153K2bP41qioYFT/e+8aFTY14GGB5aPtrlDwQFIkkgasZhA2H1Tf2 AcdccAJ0G7CyZzUAmr1t+y5MZDwNVLcgi2XFvxWcrNBAJJJca1vQIvPhFTh44/Br TrMZGbYclXiiY7yfGbJKs4T0s4dyBhn4AiuGu5hQjMk1gCnQveySU+/1OJNdzcw4 hN3Y+SyGBAcH6AJx42F7kbh7/ID1yZIOqFncYyxPNK8FwIK6iMVy6jv5z58l21Of 2RdF/zSpet9C5JkV91Km =1p/D -----END PGP SIGNATURE----- --=-=-=--