[Kernel-packages] [Bug 1947618] Re: [i915] CPU locks up on Ubuntu 21.10 boot when 2 displays are connected

2022-05-19 Thread Colin Foster
Confirmed, my system boots fine when that second monitor isn't plugged
in. I removed the bluetooth driver as well, but that didn't fix it.


This is the adapter I'm using (I believe):
https://us.amazon.com/NiaoChao-Adapter-Charging-Compatible-MacBook/dp/B08CRXD22M

I have a bunch of USBC / HDMI adapters around, so maybe other ones won't
halt the boot.

The kernel I'm running:
5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64 
x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1947618

Title:
  [i915] CPU locks up on Ubuntu 21.10 boot when 2 displays are connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I've updated from 21.04 to 21.10 and that bug has appeared in kernel
  5.13.0-19. When 2 displays are connected simulateneously (DP and HDMI)
  before graphics server is started the kernel hangs up and reports that
  cpu is locked up. Boot with 5.11 kernel doesn't produce that problem.

  PC is based on i7-11700 CPU.

  Here is part of kernel log with call trace:
  кас 18 19:36:24 MWU-2197 kernel: fb0: switching to inteldrmfb from EFI VGA
  кас 18 19:36:24 MWU-2197 kernel: Console: switching to colour dummy device 
80x25
  кас 18 19:36:24 MWU-2197 kernel: i915 :00:02.0: vgaarb: deactivate vga 
console
  кас 18 19:36:24 MWU-2197 kernel: snd_hda_intel :00:1f.3: enabling device 
( -> 0002)
  кас 18 19:36:24 MWU-2197 kernel: i915 :00:02.0: vgaarb: changed VGA 
decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
  кас 18 19:36:24 MWU-2197 kernel: mei_hdcp 
:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound :00:02.0 (ops 
i915_hdcp_component_ops [i915])
  кас 18 19:36:24 MWU-2197 kernel: i915 :00:02.0: [drm] Finished loading 
DMC firmware i915/rkl_dmc_ver2_02.bin (v2.2)
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM: chip id 63
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM: features 0x07
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: Broadcom Bluetooth Device
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) 
build 1467
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM20702A1 
'brcm/BCM20702A1-0b05-17cb.hcd' Patch
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: Broadcom Bluetooth Device
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) 
build 1467
  кас 18 19:36:51 MWU-2197 kernel: watchdog: BUG: soft lockup - CPU#0 stuck for 
26s! [systemd-udevd:461]
  кас 18 19:36:51 MWU-2197 kernel: Modules linked in: snd_sof_pci_intel_tgl 
snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation 
soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof 
snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi 
soundwire_bus ledtrig_audio snd_soc_core snd_compress ac97_bus 
snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi 
snd_hda_codec nls_iso8859_1 snd_hda_core fjes(-) mei_hdcp intel_rapl_msr 
i915(+) snd_hwdep snd_pcm intel_rapl_common snd_seq_midi snd_seq_midi_event 
btusb x86_pkg_temp_thermal snd_rawmidi intel_powerclamp btrtl drm_kms_helper 
btbcm snd_seq coretemp btintel crct10dif_pclmul snd_seq_device 
ghash_clmulni_intel cec snd_timer bluetooth rc_core aesni_intel snd crypto_simd 
i2c_algo_bit joydev cryptd fb_sys_fops mei_me ecdh_generic syscopyarea 
input_leds ecc sysfillrect intel_cstate eeepc_wmi wmi_bmof efi_pstore ee1004 
soundcore sysimgblt mei sch_fq_codel mac_hid acpi_pad acpi_tad msr parport_pc 
ppdev
  кас 18 19:36:51 MWU-2197 kernel:  lp parport drm ip_tables x_tables autofs4 
hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid mfd_aaeon asus_wmi 
sparse_keymap intel_lpss_pci crc32_pclmul nvme xhci_pci i2c_i801 ahci 
intel_lpss e1000e nvme_core i2c_smbus libahci idma64 xhci_pci_renesas wmi video 
pinctrl_tigerlake
  кас 18 19:36:51 MWU-2197 kernel: CPU: 0 PID: 461 Comm: systemd-udevd Not 
tainted 5.13.0-19-generic #19-Ubuntu
  кас 18 19:36:51 MWU-2197 kernel: Hardware name: ASUS System Product 
Name/PRIME B560M-A, BIOS 1017 07/12/2021
  кас 18 19:36:51 MWU-2197 kernel: RIP: 
0010:skl_commit_modeset_enables+0x1b1/0x540 [i915]
  кас 18 19:36:51 MWU-2197 kernel: Code: 39 d8 7e 5d 49 8b 75 20 83 c3 01 8d 43 
ff 48 98 48 8d 0c c5 00 00 00 00 48 29 c1 48 8d 04 ce 4c 8b 20 4c 8b 50 10 4c 
8b 40 18 <4d> 85 e4 74 1a 41 8b 8c 24 f0 03 00 00 41 0f b6 c7 4c 89 55 b8 48
  кас 18 19:36:51 MWU-2197 kernel: RSP: 0018:b89600d6b7b8 EFLAGS: 0202
  кас 18 19:36:51 MWU-2197 kernel: RAX: 97474f0867b8 RBX: 0002 
RCX: 0007
  кас 18 19:36:51 MWU-2197 kernel: RDX: 97474434 RSI: 97474f086780 
RDI: 974748c5ef3c
  кас 18 19:36:51 MWU-2197 kernel: RBP: b89600d6b828 R08: 974749b72000 
R09: 0800
  кас 18 19:36:51 MWU-2197 kernel: R10: 974741e22000 R11: 97474f086828 
R12: 974752d1e000
  

[Kernel-packages] [Bug 1947618] Re: [i915] CPU locks up on Ubuntu 21.10 boot when 2 displays are connected

2022-05-19 Thread Colin Foster
I'm seeing the same thing with 20.04 when running any of the 5.13
kernels. Last tested with 5.13.0-41.

My setup is an ASUS Hero XIII motherboard. Monitor plugged in, with a
second monitor plugged in via a USB / HDMI adapter (not sure if that is
relevant)

I had to remove iwlwifi-ty-a0-gf-a0.pnvm and iwlwifi-
ty-a0-gf-a0-63.ucode to get wifi to work, but the boot hangs with any
5.13 kernels. Only 5.11 will work, unfortunately.

Some of the bluetooth startup info when it fails (5.13):

Bluetooth: Core ver 2.22
 
NET: Registered protocol family 31  
 
Bluetooth: HCI device and connection manager initialized
 
Bluetooth: HCI socket layer initialized 
 
Bluetooth: L2CAP socket layer initialized   
 
Bluetooth: SCO socket layer initialized 
 
Intel(R) Wireless WiFi driver for Linux 
 
iwlwifi :04:00.0: enabling device ( -> 0002)
 
iwlwifi :04:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-63.ucode 
failed with error -2 
iwlwifi :04:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-62.ucode 
failed with error -2 
iwlwifi :04:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-61.ucode 
failed with error -2 
iwlwifi :04:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-60.ucode 
failed with error -2 
usbcore: registered new interface driver btusb  
 
iwlwifi :04:00.0: api flags index 2 larger than supported by driver 
 
iwlwifi :04:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 93.8.63.28 
 
iwlwifi :04:00.0: loaded firmware version 59.601f3a66.0 
ty-a0-gf-a0-59.ucode op_mode iwlmvm  
Bluetooth: hci0: Firmware timestamp 2022.9 buildtype 1 build 40196  
 
Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi 
 
Bluetooth: hci0: Boot Address: 0x100800 
 
Bluetooth: hci0: Firmware Version: 175-42.20
 


The startup info when it succeeds (5.11):

Bluetooth: Core ver 2.22
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
usbcore: registered new interface driver btusb
Reached target Bluetooth.
Starting Bluetooth service...
Bluetooth: hci0: Firmware timestamp 2020.42 buildtype 1 build 15791


I haven't upgraded yet, but I booted to the 2022.04 image and I was pleased to 
see everything booted up without any issues. I'll see if there's anything else 
to try - maybe around that ibt-0041-0041.sfi firmware

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1947618

Title:
  [i915] CPU locks up on Ubuntu 21.10 boot when 2 displays are connected

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I've updated from 21.04 to 21.10 and that bug has appeared in kernel
  5.13.0-19. When 2 displays are connected simulateneously (DP and HDMI)
  before graphics server is started the kernel hangs up and reports that
  cpu is locked up. Boot with 5.11 kernel doesn't produce that problem.

  PC is based on i7-11700 CPU.

  Here is part of kernel log with call trace:
  кас 18 19:36:24 MWU-2197 kernel: fb0: switching to inteldrmfb from EFI VGA
  кас 18 19:36:24 MWU-2197 kernel: Console: switching to colour dummy device 
80x25
  кас 18 19:36:24 MWU-2197 kernel: i915 :00:02.0: vgaarb: deactivate vga 
console
  кас 18 19:36:24 MWU-2197 kernel: snd_hda_intel :00:1f.3: enabling device 
( -> 0002)
  кас 18 19:36:24 MWU-2197 kernel: i915 :00:02.0: vgaarb: changed VGA 
decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
  кас 18 19:36:24 MWU-2197 kernel: mei_hdcp 
:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound :00:02.0 (ops 
i915_hdcp_component_ops [i915])
  кас 18 19:36:24 MWU-2197 kernel: i915 :00:02.0: [drm] Finished loading 
DMC firmware i915/rkl_dmc_ver2_02.bin (v2.2)
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM: chip id 63
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM: features 0x07
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: Broadcom Bluetooth Device
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) 
build 1467
  кас 18 19:36:25 MWU-2197 kernel: Bluetooth: hci0: BCM20702A1 
'brcm/BCM20702A1-0b05-17cb.hcd' Patch
  кас 18 19:36:25