Bug#959232: linux-image-5.5.0-2-amd64: system freeze after suspend-to-ram: potentially IRQ-related issue

2020-09-06 Thread Salvatore Bonaccorso
Hi Maximilian,

On Fri, May 01, 2020 at 11:56:00AM +0200, Maximilian Stein wrote:
> Package: src:linux
> Version: 5.5.17-1
> Severity: normal
> 
> Dear maintainer,
> 
> Occasionally my system freezes after waking up from suspend-to-ram.
> More precisely, the KDE lock screen appears, I can type my passphrase,
> but then the screen just stays black leaving me movable mouse. I
> neither can switch to a virtual terminal (Strg+Alt+F1 etc.) nor kill
> the session with SysRq+K. Rebooting with SysRqs still works though.
> 
> Investigating the issues in the kernel logs reveals a message
> indicating a NULL ptr derefererence in the kernel that is related to
> IRQ (see below).
> 
> My device was in suspend-to-ram since yesterday so the attached log
> includes all messages since I opened the laptop lid. It was generated
> using:
> 
>   journalctl -b-1 --dmesg --since today --quiet --no-hostname --grep 
> '^(?!iptables:)'
> 
> Such freezes happen about once a week and since I got the device (so
> it also happened with older kernels).
> 
> The device is a Lenovo X1 Carbon 6th Generation with an Intel
> i7-8650U with up-to-date BIOS running Debian Testing.
> 
> Any help is highly appreciated.

A similar report was done in SuSE 
https://bugzilla.suse.com/show_bug.cgi?id=1129258

Can you check if hte issue ist still present with a more recent
kernel, ideally test up to 5.8.7-1 in unstable.

If the issue is still present, it might be woth reporting it directly
upstream to the linux-...@vger.kernel.org list.

Regards,
Salvatore



Bug#959232: linux-image-5.5.0-2-amd64: system freeze after suspend-to-ram: potentially IRQ-related issue

2020-05-01 Thread Maximilian Stein
Package: src:linux
Version: 5.5.17-1
Severity: normal

Dear maintainer,

Occasionally my system freezes after waking up from suspend-to-ram.
More precisely, the KDE lock screen appears, I can type my passphrase,
but then the screen just stays black leaving me movable mouse. I
neither can switch to a virtual terminal (Strg+Alt+F1 etc.) nor kill
the session with SysRq+K. Rebooting with SysRqs still works though.

Investigating the issues in the kernel logs reveals a message
indicating a NULL ptr derefererence in the kernel that is related to
IRQ (see below).

My device was in suspend-to-ram since yesterday so the attached log
includes all messages since I opened the laptop lid. It was generated
using:

  journalctl -b-1 --dmesg --since today --quiet --no-hostname --grep 
'^(?!iptables:)'

Such freezes happen about once a week and since I got the device (so
it also happened with older kernels).

The device is a Lenovo X1 Carbon 6th Generation with an Intel
i7-8650U with up-to-date BIOS running Debian Testing.

Any help is highly appreciated.

Best,
Maximilian


-- Package-specific info:
** Version:
Linux version 5.5.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version 9.3.0 
(Debian 9.3.0-10)) #1 SMP Debian 5.5.17-1 (2020-04-15)

** Command line:
BOOT_IMAGE=/vmlinuz-5.5.0-2-amd64 root=/dev/mapper/mia--vg-root ro 
rootflags=subvol=@ quiet

** Tainted: OE (12288)
 * externally-built ("out-of-tree") module was loaded
 * unsigned module was loaded

** Kernel log:
Mai 01 10:49:38 kernel: Freezing user space processes ... (elapsed 0.002 
seconds) done.
Mai 01 10:49:38 kernel: OOM killer disabled.
Mai 01 10:49:38 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 
seconds) done.
Mai 01 10:49:38 kernel: printk: Suspending console(s) (use no_console_suspend 
to debug)
Mai 01 10:49:38 kernel: wlp2s0: deauthenticating from e8:df:70:xx:xx:xx by 
local choice (Reason: 3=DEAUTH_LEAVING)
Mai 01 10:49:38 kernel: psmouse serio1: Failed to disable mouse on 
isa0060/serio1
Mai 01 10:49:38 kernel: e1000e: EEE TX LPI TIMER: 0011
Mai 01 10:49:38 kernel: ACPI: EC: interrupt blocked
Mai 01 10:49:38 kernel: ACPI: Preparing to enter system sleep state S3
Mai 01 10:49:38 kernel: ACPI: EC: event blocked
Mai 01 10:49:38 kernel: ACPI: EC: EC stopped
Mai 01 10:49:38 kernel: PM: Saving platform NVS memory
Mai 01 10:49:38 kernel: Disabling non-boot CPUs ...
Mai 01 10:49:38 kernel: smpboot: CPU 1 is now offline
Mai 01 10:49:38 kernel: smpboot: CPU 2 is now offline
Mai 01 10:49:38 kernel: smpboot: CPU 3 is now offline
Mai 01 10:49:38 kernel: smpboot: CPU 4 is now offline
Mai 01 10:49:38 kernel: smpboot: CPU 5 is now offline
Mai 01 10:49:38 kernel: smpboot: CPU 6 is now offline
Mai 01 10:49:38 kernel: smpboot: CPU 7 is now offline
Mai 01 10:49:38 kernel: ACPI: Low-level resume complete
Mai 01 10:49:38 kernel: ACPI: EC: EC started
Mai 01 10:49:38 kernel: PM: Restoring platform NVS memory
Mai 01 10:49:38 kernel: Enabling non-boot CPUs ...
Mai 01 10:49:38 kernel: x86: Booting SMP configuration:
Mai 01 10:49:38 kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Mai 01 10:49:38 kernel: CPU1 is up
Mai 01 10:49:38 kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Mai 01 10:49:38 kernel: CPU2 is up
Mai 01 10:49:38 kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Mai 01 10:49:38 kernel: CPU3 is up
Mai 01 10:49:38 kernel: smpboot: Booting Node 0 Processor 4 APIC 0x1
Mai 01 10:49:38 kernel: CPU4 is up
Mai 01 10:49:38 kernel: smpboot: Booting Node 0 Processor 5 APIC 0x3
Mai 01 10:49:38 kernel: CPU5 is up
Mai 01 10:49:38 kernel: smpboot: Booting Node 0 Processor 6 APIC 0x5
Mai 01 10:49:38 kernel: CPU6 is up
Mai 01 10:49:38 kernel: smpboot: Booting Node 0 Processor 7 APIC 0x7
Mai 01 10:49:38 kernel: CPU7 is up
Mai 01 10:49:38 kernel: ACPI: Waking up from system sleep state S3
Mai 01 10:49:38 kernel: ACPI: EC: interrupt unblocked
Mai 01 10:49:38 kernel: pcieport :00:1d.0: Intel SPT PCH root port ACS 
workaround enabled
Mai 01 10:49:38 kernel: pcieport :00:1c.2: Intel SPT PCH root port ACS 
workaround enabled
Mai 01 10:49:38 kernel: pcieport :00:1c.4: Intel SPT PCH root port ACS 
workaround enabled
Mai 01 10:49:38 kernel: pcieport :00:1c.0: Intel SPT PCH root port ACS 
workaround enabled
Mai 01 10:49:38 kernel: ACPI: EC: event unblocked
Mai 01 10:49:38 kernel: xhci_hcd :00:14.0: port 6 resume PLC timeout
Mai 01 10:49:38 kernel: usb 2-3: Disable of device-initiated U1 failed.
Mai 01 10:49:38 kernel: usb 2-3: Disable of device-initiated U2 failed.
Mai 01 10:49:38 kernel: nvme nvme0: Shutdown timeout set to 8 seconds
Mai 01 10:49:38 kernel: nvme nvme0: 8/0/0 default/read/poll queues
Mai 01 10:49:38 kernel: usb 2-3: reset SuperSpeed Gen 1 USB device number 2 
using xhci_hcd
Mai 01 10:49:38 kernel: usb 1-8: reset high-speed USB device number 4 using 
xhci_hcd
Mai 01 10:49:38 kernel: usb 1-9: reset full-speed USB device number 5 using 
xhci_hcd
Mai 01 10:49:38 kernel: acpi LNXPOWER:01: Turning OFF
Mai 01 10:49:38