Score:0

Linux Kernal 5.15.0-50 PCI device enumeration diff. from 0-48

tc flag

I've been using Ubuntu on a Dell laptop successfully for some time but yesterday when booting the OS seemed to fail to enumerate all the devices.

The symptoms were that the Wi-Fi module, the track pad and, when connected, the thunderbolt dock failed to be recognised, even at the login screen for user name & password

It's dual boot so I checked straight away with windows and the hardware is fine. While investigating I tried "boot options" in the boot loader and booted to 5.15.0-48 rather than 0-50, and straight away that's working fine.

I've tried powering down cold and booted several times, but nothing seems to recover it. The 0-48 boot works consistently.

I've captured the dmesg for both boots and they are very different. My first thoughts are a failure to correctly enumerate devices on boot but I don't see a smoking gun (with my very limited experience) so I'd be grateful for more experience on this.

The dmsg output diverges at the init:

5.15.0.-48

    run /init as init process
      with arguments:
        /init
        splash
      with environment:
        HOME=/
        TERM=linux
        BOOT_IMAGE=/boot/vmlinuz-5.15.0-48-generic
    hid: raw HID events driver (C) Jiri Kosina
    wmi_bus wmi_bus-PNP0C14:03: WQBC data block query control method not found
    acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:03)
    xhci_hcd 0000:00:14.0: xHCI Host Controller
    xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
    xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
    ahci 0000:00:17.0: version 3.0
    ahci 0000:00:17.0: SSS flag set, parallel bus scan disabled
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: xHCI Host Controller
    usb usb1: Manufacturer: Linux 5.15.0-48-generic xhci-hcd
    usb usb1: SerialNumber: 0000:00:14.0
    intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 16 ports detected
    i801_smbus 0000:00:1f.4: SPD Write Disable is set
    i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
    idma64 idma64.0: Found Intel integrated DMA 64-bit
    e1000e: Intel(R) PRO/1000 Network Driver
    e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
    ahci 0000:00:17.0: AHCI 0001.0301 32 slots 3 ports 6 Gbps 0x1a impl SATA mode
    ahci 0000:00:17.0: flags: 64bit ncq sntf stag pm led clo only pio slum part ems sxs deso sadm sds apst 
    nvme nvme0: pci function 0000:3d:00.0
    xhci_hcd 0000:00:14.0: xHCI Host Controller
    xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
    xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: xHCI Host Controller
    usb usb2: Manufacturer: Linux 5.15.0-48-generic xhci-hcd
    usb usb2: SerialNumber: 0000:00:14.0
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 10 ports detected
    usb: port power management may be unreliable
    scsi host0: ahci
    scsi host1: ahci
    scsi host2: ahci
    scsi host3: ahci
    scsi host4: ahci
    ata1: DUMMY
    ata2: SATA max UDMA/133 abar m2048@0xed453000 port 0xed453180 irq 128
    ata3: DUMMY
    ata4: SATA max UDMA/133 abar m2048@0xed453000 port 0xed453280 irq 128
    ata5: SATA max UDMA/133 abar m2048@0xed453000 port 0xed453300 irq 128
    nvme nvme0: 8/0/0 default/read/poll queues
     nvme0n1: p1 p2 p3 p4 p5

and on 5.15.0-50:

    run /init as init process
      with arguments:
        /init
        splash
      with environment:
        HOME=/
        TERM=linux
        BOOT_IMAGE=/boot/vmlinuz-5.15.0-50-generic
    e1000e: Intel(R) PRO/1000 Network Driver
    e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
    xhci_hcd 0000:00:14.0: xHCI Host Controller
    xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
    xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
    xhci_hcd 0000:00:14.0: xHCI Host Controller
    xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
    xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: xHCI Host Controller
    usb usb1: Manufacturer: Linux 5.15.0-50-generic xhci-hcd
    usb usb1: SerialNumber: 0000:00:14.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 16 ports detected
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: xHCI Host Controller
    usb usb2: Manufacturer: Linux 5.15.0-50-generic xhci-hcd
    usb usb2: SerialNumber: 0000:00:14.0
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 10 ports detected
    usb: port power management may be unreliable
    ahci 0000:00:17.0: version 3.0
    ahci 0000:00:17.0: SSS flag set, parallel bus scan disabled
    nvme nvme0: pci function 0000:3d:00.0
    ahci 0000:00:17.0: AHCI 0001.0301 32 slots 3 ports 6 Gbps 0x1a impl SATA mode
    ahci 0000:00:17.0: flags: 64bit ncq sntf stag pm led clo only pio slum part ems sxs deso sadm sds apst 
    scsi host0: ahci
    scsi host1: ahci
    scsi host2: ahci
    scsi host3: ahci
    scsi host4: ahci
    ata1: DUMMY
    ata2: SATA max UDMA/133 abar m2048@0xed453000 port 0xed453180 irq 129
    ata3: DUMMY
    ata4: SATA max UDMA/133 abar m2048@0xed453000 port 0xed453280 irq 129
    ata5: SATA max UDMA/133 abar m2048@0xed453000 port 0xed453300 irq 129
    nvme nvme0: 8/0/0 default/read/poll queues
    usb 1-2: new full-speed USB device number 2 using xhci_hcd
     nvme0n1: p1 p2 p3 p4 p5
    tsc: Refined TSC clocksource calibration: 2711.998 MHz
    clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x27178451938, max_idle_ns: 440795251172 ns
    clocksource: Switched to clocksource tsc
    usb 1-2: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.10
    usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    usb 1-2: Product: USB Receiver
    usb 1-2: Manufacturer: Logitech
    usb 1-6: new full-speed USB device number 3 using xhci_hcd
    e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock
    e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) d0:94:66:ff:42:ce
    e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
    e1000e 0000:00:1f.6 eth0: MAC: 12, PHY: 12, PBA No: FFFFFF-0FF
    ata2: SATA link down (SStatus 0 SControl 300)
    input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input6
    usb 1-6: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.10
    usb 1-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    usb 1-10: new full-speed USB device number 4 using xhci_hcd
    ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
    ata4.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
    ata4.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    ata4.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
    ata4.00: ACPI cmd 00/00:00:00:00:00:a0 (NOP) rejected by device (Stat=0x51 Err=0x04)
    ata4.00: ATA-10: CT1000BX500SSD1, M6CR060, max UDMA/133
    ata4.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA
    ata4.00: Features: Dev-Sleep
    ata4.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
    ata4.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    ata4.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
    ata4.00: ACPI cmd 00/00:00:00:00:00:a0 (NOP) rejected by device (Stat=0x51 Err=0x04)
    usb 1-10: New USB device found, idVendor=0a5c, idProduct=5834, bcdDevice= 1.01
    usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-10: Product: 5880
    usb 1-10: Manufacturer: Broadcom Corp
    usb 1-10: SerialNumber: 0123456789AB

CD

There are obviously a lot more lines and sections are interleaved but I've shortened for brevity. The only obvious errors in the -50 output are:

    snapd-desktop-i[2022]: segfault at 0 ip 00007fd814bf13d4 sp 00007fff1bf2b558 error 4 in libglib-2.0.so.0.6400.6[7fd814bc7000+9a000]
    Code: f8 5b 5d c3 66 90 f3 0f 1e fa 48 83 ec 08 e8 53 70 fd ff 85 c0 0f 94 c0 48 83 c4 08 0f b6 c0 c3 66 0f 1f 44 00 00 f3 0f 1e fa  be 07 41 b8 05 15 00 00 84 c0 74 1d 0f 1f 80 00 00 00 00 44 89
    rfkill: input handler disabled
    audit: type=1400 audit(1665498398.624:77): apparmor="DENIED" operation="connect" profile="snap.snapd-desktop-integration.snapd-desktop-integration" name="/run/nscd/socket" pid=2356 comm="getent" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
    audit: type=1400 audit(1665498398.624:78): apparmor="DENIED" operation="connect" profile="snap.snapd-desktop-integration.snapd-desktop-integration" name="/run/nscd/socket" pid=2356 comm="getent" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
    snapd-desktop-i[2315]: segfault at 0 ip 00007fee5a5373d4 sp 00007fffa57941b8 error 4 in libglib-2.0.so.0.6400.6[7fee5a50d000+9a000]
    Code: f8 5b 5d c3 66 90 f3 0f 1e fa 48 83 ec 08 e8 53 70 fd ff 85 c0 0f 94 c0 48 83 c4 08 0f b6 c0 c3 66 0f 1f 44 00 00 f3 0f 1e fa  be 07 41 b8 05 15 00 00 84 c0 74 1d 0f 1f 80 00 00 00 00 44 89
    audit: type=1400 audit(1665498399.120:79): apparmor="DENIED" operation="connect" profile="snap.snapd-desktop-integration.snapd-desktop-integration" name="/run/nscd/socket" pid=2474 comm="getent" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
    audit: type=1400 audit(1665498399.120:80): apparmor="DENIED" operation="connect" profile="snap.snapd-desktop-integration.snapd-desktop-integration" name="/run/nscd/socket" pid=2474 comm="getent" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0

Any advice on how to get the 0-50 re-running would be much appreciated.
Arthur

karel avatar
sa flag
Does this answer your question? [Set "older" kernel as default grub entry](https://askubuntu.com/questions/216398/set-older-kernel-as-default-grub-entry)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.