Announcement

Collapse
No announcement yet.

Today's kernel update broke network and sound

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Today's kernel update broke network and sound

    As per title. This morning I got kernel 5.15.0-53.59 and it broke both wired and wireless networking and sound on my Lenovo machine. I had to boot to the previous kernel to get back to normal!
    Constant change is here to stay!

    #2
    I’ve probably asked this before, but do you have package dkms installed?
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Nothing like that installed.

      The previous kernel works fine though.

      Is there something I need to install?

      My brain has been out of it this past week. I'm still messed up from my return fright to London. I can't seem to get anything done properly.
      Constant change is here to stay!

      Comment


        #4
        Lenovo laptop here, no problems with wifi or sound with the new kernel.
        Regards, John Little

        Comment


          #5
          DKMS is now installed. For some reason my WiFi adaptor driver (Realtek 8821C PCIe Wi-Fi driver​) was not installed although I'm sure I installed it when I installed the system. Anyway, sound and network still do not work with the new kernel.
          Last edited by Beerislife; Nov 15, 2022, 11:36 PM.
          Constant change is here to stay!

          Comment


            #6
            Working system... When I get time I'll post the non working system...

            lspci

            00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
            00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
            00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
            PCIe Dummy Host Bridge
            00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge
            [6:0]
            00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge
            [6:0]
            00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge
            [6:0]
            00:01.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge
            [6:0]
            00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
            PCIe Dummy Host Bridge
            00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe G
            PP Bridge 0 to Bus A
            00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe G
            PP Bridge 0 to Bus B
            00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
            00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
            00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Fun
            ction 0
            00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Fun
            ction 1
            00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Fun
            ction 2
            00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Fun
            ction 3
            00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Fun
            ction 4
            00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Fun
            ction 5
            00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Fun
            ction 6
            00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Fun
            ction 7
            01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (
            rev a1)
            01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (
            rev a1)
            02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI
            Express Gigabit Ethernet Controller (rev 0c)
            03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe
            Wireless Network Adapter
            04:00.0 Non-Volatile memory controller: Micron/Crucial Technology P2 NVMe PCIe SSD
            (rev 01)
            05:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Ze
            ppelin/Raven/Raven2 PCIe Dummy Function (rev c8)
            05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Model
            s 10h-1fh) Platform Security Processor
            05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
            05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
            05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Fire
            Flight/Renoir Audio Processor
            05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh
            ) HD Audio Controller
            06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AH
            CI mode] (rev 61)

            inxi -Fxz
            System:
            Kernel: 5.15.0-52-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
            Desktop: KDE Plasma 5.26.3 Distro: KDE neon 22.04 5.26
            base: Ubuntu 22.04 LTS Jammy
            Machine:
            Type: Desktop System: LENOVO product: 90J0008JJP v: ideacentre 510A-15ARR
            serial: <superuser required>
            Mobo: LENOVO model: 3706 v: SDK0J40700 WIN 3258167643981
            serial: <superuser required> UEFI: LENOVO v: O4DKT35A date: 12/30/2019
            Battery:
            Device-1: hidpp_battery_0 model: Logitech M350 Wireless Mouse
            charge: 55% (should be ignored) status: Discharging
            CPU:
            Info: quad core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64
            type: MT MCP arch: Zen/Zen+ note: check rev: 1 cache:L1: 384 KiB L2: 2 MiB
            L3: 4 MiB
            Speed (MHz):avg: 1349 high: 1657 min/max: 1400/3700 boost: enabled
            cores:1: 1255 2: 1398 3: 1253 4: 1252 5: 1235 6: 1394 7: 1657 8: 1352
            bogomips: 59087
            Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
            Graphics:
            Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Micro-Star MSI
            driver: nvidia v: 515.65.01 bus-ID: 01:00.0
            Device-2: ARC Camera type: USB driver: snd-usb-audio,uvcvideo
            bus-ID: 3-1.2.4:7
            Display: x11 server: X.Org v: 1.21.1.3 driver:X:loaded: nvidia
            unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
            resolution: 1920x1080~60Hz
            OpenGL:renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
            v: 4.6.0 NVIDIA 515.65.01 direct render: Yes
            Audio:
            Device-1: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI
            driver: snd_hda_intel v: kernel bus-ID: 01:00.1
            Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
            driver: snd_pci_acp3x v: kernel bus-ID: 05:00.5
            Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
            v: kernel bus-ID: 05:00.6
            Device-4: ARC Camera type: USB driver: snd-usb-audio,uvcvideo
            bus-ID: 3-1.2.4:7
            Sound Server-1: ALSA v: k5.15.0-52-generic running: yes
            Sound Server-2: PulseAudio v: 15.99.1 running: yes
            Sound Server-3: PipeWire v: 0.3.48 running: yes
            Network:
            Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
            vendor: Lenovo driver: r8169 v: kernel port: e000 bus-ID: 02:00.0
            IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
            Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
            vendor: Lenovo driver: rtl8821ce v: v5.5.2.1_35598.20191029 port: d000
            bus-ID: 03:00.0
            IF: wlp3s0 state: up mac: <filter>
            Bluetooth:
            Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
            bus-ID: 3-1.3:4
            Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
            bt-v: 2.1 lmp-v: 4.2
            Drives:
            Local Storage:total: 1.82 TiB used: 498.32 GiB (26.7%)
            ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P2SSD8 size: 931.51 GiB
            temp: 27.9 C
            ID-2: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
            Partition:
            ID-1: / size: 47.57 GiB used: 19.45 GiB (40.9%) fs: ext4
            dev: /dev/nvme0n1p2
            ID-2: /boot/efi size: 256 MiB used: 6 MiB (2.3%) fs: vfat
            dev: /dev/nvme0n1p1
            ID-3: /home size: 867.7 GiB used: 241.9 GiB (27.9%) fs: ext4
            dev: /dev/nvme0n1p4
            Swap:
            ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) file: /swapfile
            Sensors:
            System Temperatures:cpu: N/A mobo: N/A gpu: nvidia temp: 37 C
            Fan Speeds (RPM): N/A gpu: nvidia fan: 40%
            Info:
            Processes: 259 Uptime: 10m Memory: 15.55 GiB used: 3.5 GiB (22.5%)
            Init: systemd runlevel: 5 Compilers:gcc: 11.3.0 Packages: 2361 Shell: Bash
            v: 5.1.16 inxi: 3.3.13




            Last edited by Beerislife; Nov 16, 2022, 12:03 AM.
            Constant change is here to stay!

            Comment


              #7
              Non working kernel...

              inxi -Fxz

              System:
              Kernel: 5.15.0-53-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
              Desktop: KDE Plasma 5.26.3 Distro: KDE neon 22.04 5.26
              base: Ubuntu 22.04 LTS Jammy
              Machine:
              Type: Desktop System: LENOVO product: 90J0008JJP v: ideacentre 510A-15ARR
              serial: <superuser required>
              Mobo: LENOVO model: 3706 v: SDK0J40700 WIN 3258167643981
              serial: <superuser required> UEFI: LENOVO v: O4DKT35A date: 12/30/2019
              CPU:
              Info: quad core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64
              type: MT MCP arch: Zen/Zen+ note: check rev: 1 cache: L1: 384 KiB L2: 2 MiB
              L3: 4 MiB
              Speed (MHz): avg: 1673 high: 3075 min/max: 1400/3700 boost: enabled
              cores: 1: 1227 2: 1226 3: 2953 4: 1226 5: 1227 6: 1226 7: 3075 8: 1227
              bogomips: 59092
              Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
              Graphics:
              Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Micro-Star MSI
              driver: nvidia v: 515.65.01 bus-ID: 01:00.0
              Device-2: ARC Camera type: USB driver: N/A bus-ID: 3-1.2.4:7
              Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: nvidia
              unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
              resolution: 1920x1080~60Hz
              OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
              v: 4.6.0 NVIDIA 515.65.01 direct render: Yes
              Audio:
              Device-1: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI
              driver: N/A bus-ID: 01:00.1
              Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A
              bus-ID: 05:00.5
              Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: N/A
              bus-ID: 05:00.6
              Device-4: ARC Camera type: USB driver: N/A bus-ID: 3-1.2.4:7
              Sound Server-1: PulseAudio v: 15.99.1 running: yes
              Sound Server-2: PipeWire v: 0.3.48 running: yes
              Network:
              Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
              vendor: Lenovo driver: N/A port: e000 bus-ID: 02:00.0
              Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
              vendor: Lenovo driver: N/A port: d000 bus-ID: 03:00.0
              Bluetooth:
              Device-1: Realtek Bluetooth Radio type: USB driver: N/A bus-ID: 3-1.3:4
              Drives:
              Local Storage: total: 1.82 TiB used: 497.44 GiB (26.7%)
              ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P2SSD8 size: 931.51 GiB
              temp: 32.9 C
              ID-2: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
              Partition:
              ID-1: / size: 47.57 GiB used: 18.57 GiB (39.0%) fs: ext4
              dev: /dev/nvme0n1p2
              ID-2: /boot/efi size: 256 MiB used: 6 MiB (2.3%) fs: vfat
              dev: /dev/nvme0n1p1
              ID-3: /home size: 867.7 GiB used: 241.91 GiB (27.9%) fs: ext4
              dev: /dev/nvme0n1p4
              Swap:
              ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) file: /swapfile
              Sensors:
              System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 33 C
              Fan Speeds (RPM): N/A gpu: nvidia fan: 40%
              Info:
              Processes: 246 Uptime: 1m Memory: 15.55 GiB used: 1.47 GiB (9.5%)
              Init: systemd runlevel: 5 Compilers: gcc: 11.3.0 Packages: 2358 Shell: Bash
              v: 5.1.16 inxi: 3.3.13​
              Constant change is here to stay!

              Comment


                #8
                On further inspection, there are no Linux Headers, or other relevant files for 5.15.0-53-generic x86_64 installed at all. There are also no packages to install. I seem to have a broken kernel package somehow!
                Constant change is here to stay!

                Comment


                  #9
                  No mention of the new kernel at all in Muon, but it is listed as broken when trying to remove it with Ukuu...
                  Attached Files
                  Constant change is here to stay!

                  Comment


                    #10
                    Search for 'linux-image' as opposed to 'kernel' just to filter by package names, or just for '5.15.0'

                    But to check for some basics, let's look for any info we can find on the command line;
                    make sure the three basic meta-packages for kernel-related items are installed. These always depend on the current versions of various kernel packages, and will pull them in if they are not installed

                    Code:
                    sudo apt install linux-generic linux-headers-generic linux-image-generic
                    Post any errors or anything that fails to install.

                    You should have these packages installed (as deps of those three above):

                    linux-headers-5.15.0-53 linux-headers-5.15.0-53-generic linux-image-5.15.0-53-generic
                    linux-modules-5.15.0-53-generic linux-modules-extra-5.15.0-53-generic​​

                    if it were just the wireless, I'd suspect a third party driver for the rtl8821ce failed to rebuild for the new kernel (dkms), or the official rtl8821ce-dkms package failed to rebuild it. But Losing three different pieces of hardware males me think some module packages failed to install for some reason.

                    Comment


                      #11
                      Thanks, that seemed to help, I think.

                      I ran

                      Code:
                      sudo apt install linux-generic linux-headers-generic linux-image-generic
                      and the kernel installed and finished with this message...

                      Code:
                      Setting up linux-modules-extra-5.15.0-53-generic (5.15.0-53.59) ... 
                      Setting up thermald (2.4.9-1ubuntu0.1) ...
                      Setting up linux-image-generic (5.15.0.53.53) ...
                      Setting up linux-headers-generic (5.15.0.53.53) ...
                      Setting up linux-generic (5.15.0.53.53) ...
                      Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
                      Processing triggers for man-db (2.10.2-1) ...
                      Not building database; man-db/auto-update is not 'true'.
                      Processing triggers for initramfs-tools (0.140ubuntu13) ...
                      update-initramfs: Generating /boot/initrd.img-5.15.0-53-generic
                      Processing triggers for linux-image-5.15.0-53-generic (5.15.0-53.59) ...
                      /etc/kernel/postinst.d/dkms:
                      * dkms: running auto installation service for kernel 5.15.0-53-generic
                      ...done.
                      /etc/kernel/postinst.d/initramfs-tools:
                      update-initramfs: Generating /boot/initrd.img-5.15.0-53-generic
                      /etc/kernel/postinst.d/zz-update-grub:
                      Sourcing file `/etc/default/grub'
                      Sourcing file `/etc/default/grub.d/99_breeze-grub.cfg'
                      Sourcing file `/etc/default/grub.d/init-select.cfg'
                      Generating grub configuration file ...
                      Found theme: /boot/grub/themes/breeze/theme.txt
                      Found linux image: /boot/vmlinuz-5.15.0-53-generic
                      Found initrd image: /boot/initrd.img-5.15.0-53-generic
                      Found linux image: /boot/vmlinuz-5.15.0-52-generic
                      Found initrd image: /boot/initrd.img-5.15.0-52-generic
                      Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
                      Warning: os-prober will not be executed to detect other bootable partitions.
                      Systems on them will not be added to the GRUB boot configuration.
                      Check GRUB_DISABLE_OS_PROBER documentation entry.
                      Adding boot menu entry for UEFI Firmware Settings ...
                      done
                      But after a reboot all seems to be well again!

                      Cheers!

                      Last edited by Snowhog; Nov 16, 2022, 05:50 PM.
                      Constant change is here to stay!

                      Comment


                        #12
                        Originally posted by Beerislife View Post
                        Code:
                        Setting up linux-modules-extra-5.15.0-53-generic (5.15.0-53.59) ...
                        I am going to guess that this was the ultimate item that fixed things
                        But why you didn't seem to have the main meta-packages linux-generic, linux-headers-generic, and linux-image-generic is odd.
                        You weren't an early-upgrading guinea pig by any chance , were you?

                        Comment


                          #13
                          Really, I have no idea, when I wake up bleary eyed in the morning and I see a bunch of updates I just install them.

                          And possibly regret it later...
                          Constant change is here to stay!

                          Comment


                            #14
                            Originally posted by Beerislife View Post
                            Really, I have no idea, when I wake up bleary eyed in the morning and I see a bunch of updates I just install them.

                            And possibly regret it later...
                            I want this quote on a T-Shirt!
                            ​"Keep it between the ditches"
                            K*Digest Blog
                            K*Digest on Twitter

                            Comment


                              #15
                              Originally posted by dequire View Post

                              I want this quote on a T-Shirt!
                              +1 on that!!

                              Comment

                              Working...
                              X