Skip to main content
Topic: Update often breaks kernel (Read 578 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Update often breaks kernel

It often happens that on update, when new kernel needs to be built, I am getting error similar to 'cannot read' one below:

Code: [Select]
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img --microcode /boot/amd-ucode.img --microcode /boot/intel-ucode.img
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET] ==> Starting build: '6.5.5-artix1-1'
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET] sort: cannot read: '/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.1/1-2.1.3/1-2.1.3:1.1/ep_85/uevent': No such file or directory
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET] modprobe: ERROR: missing parameters. See -h.
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-10-09T09:56:25+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-10-09T09:56:25+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-10-09T09:56:25+0100] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-10-09T09:56:25+0100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-10-09T09:56:25+0100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-10-09T09:56:25+0100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect --microcode /boot/amd-ucode.img --microcode /boot/intel-ucode.img
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET] ==> Starting build: '6.5.5-artix1-1'
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-10-09T09:56:26+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qed'
[2023-10-09T09:56:27+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'bfa'
[2023-10-09T09:56:27+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'aic94xx'
[2023-10-09T09:56:27+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
[2023-10-09T09:56:27+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla1280'
[2023-10-09T09:56:27+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'wd719x'
[2023-10-09T09:56:27+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2023-10-09T09:56:28+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-10-09T09:56:29+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-10-09T09:56:29+0100] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-10-09T09:56:29+0100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-10-09T09:56:29+0100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-10-09T09:56:30+0100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-10-09T09:56:31+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-10-09T09:56:31+0100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
[2023-10-09T09:56:32+0100] [ALPM-SCRIPTLET] ==> Image generation successful

Then after reboot, that kernel can't boot and I must use fallback. However this only happens on pacman -Syu, if I build kernel manually with
Code: [Select]
sudo mkinitcpio -P
then it never fails.

It doesn't make sense to behave differently but maybe you can spot something. This is otherwise healthy laptop with zero problems.

Re: Update often breaks kernel

Reply #1

  You had a microcode upgrade along with a kernel upgrade. By default  after kernel upgrade it does mkinitcpio only for the kernel but when microcode is also upgraded it has to do a global mkinitcpio not only for the kernel.

I'm having microcode placed as ignored so it doesn't get upgraded behind my back and do that nasty surprise. Every time you make a microcode upgrade you have to mkinitcpio -P, it's not only you.


Re: Update often breaks kernel

Reply #2
Thanks for the clarification. It can be frightening for less experienced users, so if there is better way to solve it than blacklisting microcode it would be good thing to have distro wide.

Re: Update often breaks kernel

Reply #3

 Making it ignored doesn't necessarily mean it's black listed it's just a safety net. Microcode gets upgraded 1-2 times in a year if at all so marking it ignored shouldn't impact much your work flow. Also when microcode receives an update pacman gonna warn you it's currently ignored so you just go to etc/pacman.conf remove from ignore then upgrade but remember to mkinicpio -P afterwards.

 Or simply be very cautious when you look upon pkg to be upgraded each time you do a pacman -Syu.


Re: Update often breaks kernel

Reply #4
@dpx
Sorry but I think you are being led astray. There is no "mkinitcpio only for the kernel" & "global mkinitcpio not only for the kernel".

What there is are presets under /etc/mkinitcpio.d

As standard there will just be /etc/mkinitcpio.d/linux.preset though there may be others if you've added them your self or *.preset.pacsave if you've ever edited /etc/mkinitcpio.d/linux.preset.

mkinitcpio -P will process all the presets in /etc/mkinitcpio.d (only with the extension .preset, not the pacsaves)

If you look in  /etc/mkinitcpio.d/linux.preset
Quote
# mkinitcpio preset file for the 'linux' package

ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux"

PRESETS=('default' 'fallback')

#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-linux.img"
#default_options=""

#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-linux-fallback.img"
fallback_options="-S autodetect"
you'll see that it generates two initramfs's
'default' initramfs-linux.img & 'fallback' initramfs-linux-fallback.img

The options for initramfs-linux-fallback.img specifically remove the autodetect hook
Code: [Select]
fallback_options="-S autodetect"

The autodetect hook is where mkinitcpio is failing trying to build the default initramfs
Code: [Select]
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2023-10-09T09:56:24+0100] [ALPM-SCRIPTLET] sort: cannot read: '/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.1/1-2.1.3/1-2.1.3:1.1/ep_85/uevent': No such file or directory

Why this should work when you run it manually but not when pacman runs it I'm not sure?
I'd start by trying to figure out which device that is.
Code: [Select]
lspci -v
You probably have lspci but if not it's in pciutils package.

For what it's worth on my system
Spoiler (click to show/hide)

I'd check your laptop is on the most recent UEFI / BIOS and also search the internet for your exact model of laptop and errors with the same device.





Re: Update often breaks kernel

Reply #5

 If you mark microcode ignored in pacman.conf and the problem still happens yeah might be some other issue. See next time when you upgrade the kernel if it does it again could be something more than mc but I doubt 97% it's that case.


Re: Update often breaks kernel

Reply #6
If I am not mistaken, 05:00.3 that causes problems is internal USB controller? However it only causes problems with pacman -Syu kernel upgrade, I have never failed to build kernel manually. Everything functions flawlessly otherwise and I was using this same laptop on Arch for a couple of years without any kernel build problems. I could bet it is software instead of hardware problem. Any ideas?

Code: [Select]
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
Subsystem: Hewlett-Packard Company Renoir/Cezanne Root Complex
Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
Subsystem: Hewlett-Packard Company Renoir/Cezanne IOMMU
Flags: bus master, fast devsel, latency 0, IRQ -2147483648
Capabilities: [40] Secure device <?>
Capabilities: [64] MSI: Enable- Count=1/4 Maskable- 64bit+
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
Flags: fast devsel, IOMMU group 0

00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge (prog-if 00 [Normal decode])
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Flags: bus master, fast devsel, latency 0, IRQ 26, IOMMU group 1
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: f000-ffff [size=4K] [16-bit]
Memory behind bridge: fb000000-fc0fffff [size=17M] [32-bit]
Prefetchable memory behind bridge: ffe0000000-fff1ffffff [size=288M] [32-bit]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [2a0] Access Control Services
Kernel driver in use: pcieport

00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 2
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: e000-efff [size=4K] [16-bit]
Memory behind bridge: fc900000-fc9fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [2a0] Access Control Services
Capabilities: [370] L1 PM Substates
Kernel driver in use: pcieport

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
Flags: fast devsel, IOMMU group 3

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Flags: bus master, fast devsel, latency 0, IRQ 28, IOMMU group 4
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: d000-dfff [size=4K] [16-bit]
Memory behind bridge: fc800000-fc8fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [2a0] Access Control Services
Capabilities: [370] L1 PM Substates
Kernel driver in use: pcieport

00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Flags: bus master, fast devsel, latency 0, IRQ 29, IOMMU group 5
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: [disabled] [32-bit]
Memory behind bridge: fc700000-fc7fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [2a0] Access Control Services
Capabilities: [370] L1 PM Substates
Kernel driver in use: pcieport

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
Flags: fast devsel, IOMMU group 6

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Flags: bus master, fast devsel, latency 0, IRQ 30, IOMMU group 6
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: c000-cfff [size=4K] [16-bit]
Memory behind bridge: fc200000-fc5fffff [size=4M] [32-bit]
Prefetchable memory behind bridge: d0000000-e01fffff [size=258M] [32-bit]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [400] Data Link Feature <?>
Capabilities: [410] Physical Layer 16.0 GT/s <?>
Capabilities: [440] Lane Margining at the Receiver <?>
Kernel driver in use: pcieport

00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Flags: bus master, fast devsel, latency 0, IRQ 31, IOMMU group 6
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: [disabled] [32-bit]
Memory behind bridge: fc600000-fc6fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [400] Data Link Feature <?>
Capabilities: [410] Physical Layer 16.0 GT/s <?>
Capabilities: [440] Lane Margining at the Receiver <?>
Kernel driver in use: pcieport

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
Flags: 66MHz, medium devsel, IOMMU group 7
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 7

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
Flags: fast devsel, IOMMU group 8

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
Flags: fast devsel, IOMMU group 8

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
Flags: fast devsel, IOMMU group 8

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
Flags: fast devsel, IOMMU group 8
Kernel driver in use: k10temp
Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
Flags: fast devsel, IOMMU group 8

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
Flags: fast devsel, IOMMU group 8

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
Flags: fast devsel, IOMMU group 8

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
Flags: fast devsel, IOMMU group 8

01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1) (prog-if 00 [VGA controller])
DeviceName: NVIDIA Graphics Device
Subsystem: Hewlett-Packard Company TU117M
Flags: bus master, fast devsel, latency 0, IRQ 79, IOMMU group 9
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Memory at ffe0000000 (64-bit, prefetchable) [size=256M]
Memory at fff0000000 (64-bit, prefetchable) [size=32M]
I/O ports at f000 [size=128]
Expansion ROM at fc000000 [virtual] [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express
Capabilities: [bb0] Physical Resizable BAR
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
Subsystem: Hewlett-Packard Company Device 88dd
Flags: bus master, fast devsel, latency 0, IRQ 71, IOMMU group 9
Memory at fc080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
DeviceName: OnBoard Enthernets
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Flags: fast devsel, IRQ 69, IOMMU group 10
I/O ports at e000 [size=256]
Memory at fc904000 (64-bit, non-prefetchable) [size=4K]
Memory at fc900000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [170] Latency Tolerance Reporting
Capabilities: [178] L1 PM Substates
Kernel driver in use: r8169
Kernel modules: r8169

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852AE 802.11ax PCIe Wireless Network Adapter
DeviceName: Realtek Wireless LAN + BT
Subsystem: Hewlett-Packard Company RTL8852AE 802.11ax PCIe Wireless Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 74, IOMMU group 11
I/O ports at d000 [size=256]
Memory at fc800000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-88-52-01
Capabilities: [158] Latency Tolerance Reporting
Capabilities: [160] L1 PM Substates
Kernel driver in use: rtw89_8852ae
Kernel modules: rtw89_8852ae

04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980 (prog-if 02 [NVM Express])
Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller 980
Flags: bus master, fast devsel, latency 0, IRQ 54, NUMA node 0, IOMMU group 12
Memory at fc700000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable+ Count=13 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [158] Power Budgeting <?>
Capabilities: [168] Secondary PCI Express
Capabilities: [188] Latency Tolerance Reporting
Capabilities: [190] L1 PM Substates
Kernel driver in use: nvme
Kernel modules: nvme

05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6) (prog-if 00 [VGA controller])
DeviceName:  Onboard IGD
Subsystem: Hewlett-Packard Company Cezanne [Radeon Vega Series / Radeon Vega Mobile Series]
Flags: bus master, fast devsel, latency 0, IRQ 45, IOMMU group 6
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=2M]
I/O ports at c000 [size=256]
Memory at fc500000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Capabilities: [400] Data Link Feature <?>
Capabilities: [410] Physical Layer 16.0 GT/s <?>
Capabilities: [440] Lane Margining at the Receiver <?>
Kernel driver in use: amdgpu
Kernel modules: amdgpu

05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
Subsystem: Hewlett-Packard Company Family 17h (Models 10h-1fh) Platform Security Processor
Flags: bus master, fast devsel, latency 0, IRQ 72, IOMMU group 6
Memory at fc400000 (32-bit, non-prefetchable) [size=1M]
Memory at fc5c8000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/2 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable+ Count=2 Masked-
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: ccp
Kernel modules: ccp

05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company Renoir/Cezanne USB 3.1
Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 6
Memory at fc300000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company Renoir/Cezanne USB 3.1
Flags: bus master, fast devsel, latency 0, IRQ 45, IOMMU group 6
Memory at fc200000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
Subsystem: Hewlett-Packard Company ACP/ACP3X/ACP6x Audio Coprocessor
Flags: fast devsel, IRQ 78, IOMMU group 6
Memory at fc580000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt

05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
Subsystem: Hewlett-Packard Company Family 17h/19h HD Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 73, IOMMU group 6
Memory at fc5c0000 (32-bit, non-prefetchable) [size=32K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode]
Flags: bus master, fast devsel, latency 0, IRQ 33, IOMMU group 6
Memory at fc601000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/2 Maskable- 64bit+
Capabilities: [d0] SATA HBA v1.0
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [400] Data Link Feature <?>
Capabilities: [410] Physical Layer 16.0 GT/s <?>
Capabilities: [440] Lane Margining at the Receiver <?>
Kernel driver in use: ahci

06:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode]
Flags: bus master, fast devsel, latency 0, IRQ 35, IOMMU group 6
Memory at fc600000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/2 Maskable- 64bit+
Capabilities: [d0] SATA HBA v1.0
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: ahci

Re: Update often breaks kernel

Reply #7
 
 I see some 'PCI Express...Renoir/Cezanne' device. PCI Express is known it gives errors at boot it's kinda oldish technology better unplug that device before boot.


Re: Update often breaks kernel

Reply #8

 Think there's need to regenerate grub also after a microcode update.
Code: [Select]
# grub-mkconfig -o /boot/grub/grub.cfg


Re: Update often breaks kernel

Reply #9
What's your lsusb?

Re: Update often breaks kernel

Reply #10
lsusb:

Code: [Select]
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0408:5365 Quanta Computer, Inc. HP TrueVision HD Camera
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 18a5:0436 Verbatim, Ltd Mobile Drive
Bus 002 Device 003: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:2852 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 007: ID 0d8c:1066 C-Media Electronics, Inc. I'm Fulla Schiit
Bus 001 Device 006: ID 3297:4974 ZSA Technology Labs ErgoDox EZ
Bus 001 Device 005: ID 046d:c077 Logitech, Inc. Mouse
Bus 001 Device 004: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -v: attached as file because of file length.