[Solved] Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

Linux Kernel, Network, and Services configuration.
Message
Author
Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#21 Post by Aki »

Hello,

@undesign, @alexis-burrows, @konuq, @Swevenham:
Did you try if installing the newer Linux kernel from proposed-updates repository solves the issue ?

To install it, you can add the following line to the file named "/etc/apt/sources.list":

Code: Select all

deb https://deb.debian.org/debian bookworm-proposed-updates main contrib non-free non-free-firmware
Then, you can issue the following commands to install the newer kernel version:

Code: Select all

sudo apt update
sudo apt install linux-image-amd64/proposed-updates
Then reboot and test the newer kernel.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

undesign
Posts: 109
Joined: 2015-05-27 09:03
Has thanked: 8 times
Been thanked: 8 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#22 Post by undesign »

@Aki: this new kernel 6.1.0-16 does solves the issue.

Later edit: I reverted that line (so that I should not see the proposed updates anymore), but how can I get rid of kernel-6.5 when I do a "apt update"?
kernel 6.5 is now in the experimental phase, I am interested only in packages in stable.

User avatar
sunrat
Site admin
Site admin
Posts: 7366
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 133 times
Been thanked: 650 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#23 Post by sunrat »

undesign wrote: 2023-12-14 20:36Later edit: I reverted that line (so that I should not see the proposed updates anymore), but how can I get rid of kernel-6.5 when I do a "apt update"?
kernel 6.5 is now in the experimental phase, I am interested only in packages in stable.
You didn't mention installing 6.5 kernel. Please post the output of this so we know which kernels you have installed:

Code: Select all

apt list -i linux-image-* linux-headers-*
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

undesign
Posts: 109
Joined: 2015-05-27 09:03
Has thanked: 8 times
Been thanked: 8 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#24 Post by undesign »

I installed kernel 6.1.0-16.
The problem is that now kernel 6.5 (and associated gcc compiler) appears in the list of available updates and I can't get rid of them, although:
- I commented the line for proposed updates
- I removed /var/cache/apt/ and /var/lib/apt/lists
(After the cleanup "apt update" takes longer, as expected)

Now "apt list --upgradable" shows me kernel 6.5, so at the next "apt upgrade" these packages will be installed. And obviously, I do not want that.

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#25 Post by Aki »

undesign wrote: 2023-12-14 21:46 I installed kernel 6.1.0-16.
The problem is that now kernel 6.5 (and associated gcc compiler) appears in the list of available updates and I can't get rid of them, although:
- I commented the line for proposed updates
- I removed /var/cache/apt/ and /var/lib/apt/lists
(After the cleanup "apt update" takes longer, as expected)

Now "apt list --upgradable" shows me kernel 6.5, so at the next "apt upgrade" these packages will be installed. And obviously, I do not want that.
You probably need to disable in /etc/apt/sources.list the repository from where kernel 6.5 has been installed.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Aki
Global Moderator
Global Moderator
Posts: 3954
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 520 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#26 Post by Aki »

undesign wrote: 2023-12-14 20:36 @Aki: this new kernel 6.1.0-16 does solves the issue.
:D
undesign wrote: 2023-12-14 20:36Later edit: I reverted that line (so that I should not see the proposed updates anymore), but how can I get rid of kernel-6.5 when I do a "apt update"? kernel 6.5 is now in the experimental phase, I am interested only in packages in stable.
Do you have still configured backports repositories in /ect/at/sources.list ? If yes, you can comment out backport repositories and then issue the command:

Code: Select all

apt update
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

undesign
Posts: 109
Joined: 2015-05-27 09:03
Has thanked: 8 times
Been thanked: 8 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#27 Post by undesign »

Now:
- I completely removed the line for backports repository in my sources.list file
- I did a "apt autoclean"
- I did:
rm -rf /var/lib/apt/lists
rm /var/cache/apt/*.bin (there were no other files inside)
- I did: apt update

But I still get this:

Code: Select all

6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Listing... Done
chromium-common/stable-security 120.0.6099.109-1~deb12u1 amd64 [upgradable from: 120.0.6099.71-1~deb12u1]
chromium-sandbox/stable-security 120.0.6099.109-1~deb12u1 amd64 [upgradable from: 120.0.6099.71-1~deb12u1]
chromium/stable-security 120.0.6099.109-1~deb12u1 amd64 [upgradable from: 120.0.6099.71-1~deb12u1]
linux-compiler-gcc-12-x86/stable-backports 6.5.10-1~bpo12+1 amd64 [upgradable from: 6.1.67-1]
linux-image-amd64/stable-backports 6.5.10-1~bpo12+1 amd64 [upgradable from: 6.1.67-1]
linux-libc-dev/stable-backports 6.5.10-1~bpo12+1 amd64 [upgradable from: 6.1.67-1]
Now, if do an "apt upgrade" this new kernel 6.5 will be installed.
Currently, I have:

Code: Select all

uname -a
Linux macbook 6.1.0-16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux

User avatar
sunrat
Site admin
Site admin
Posts: 7366
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 133 times
Been thanked: 650 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#28 Post by sunrat »

Install inxi and show us

Code: Select all

inxi -r
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

alexander
Posts: 20
Joined: 2014-03-17 08:11
Has thanked: 2 times
Been thanked: 1 time

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#29 Post by alexander »

I had to rollback to 6.1.0-13-amd64 as on 6.1.0-15-amd64 my laptop wouldn't come out of sleep when opening lid, and on reboot/shutdown there would be a few processes hanging, namely network manager and some others.

I run xfce + i3wm and polybar - when trying to reconnect (manually triggered) to the wi-fi network, the system would hang (though I could see the clock still running in polybar).

Reverting back to 6.1.0-13-amd64 fixes everything.

inxi -F

Code: Select all

System:
  Host: satyr Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 Desktop: i3 v: 4.22
    Distro: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: Acer product: Aspire A514-55 v: V1.17
    serial: <superuser required>
  Mobo: ADL model: Europa_ADU v: V1.17 serial: <superuser required>
    UEFI: Insyde v: 1.17 date: 11/22/2022
Battery:
  ID-1: BAT1 charge: 29.1 Wh (54.9%) condition: 53.0/53.0 Wh (100.0%)
CPU:
  Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i5-1235U bits: 64
    type: MST AMCP cache: L2: 6.5 MiB
  Speed (MHz): avg: 400 min/max: 400/4400:3300 cores: 1: 400 2: 400 3: 400
    4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
Graphics:
  Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: Chicony ACER HD User Facing type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel Graphics (ADL GT2)
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    driver: sof-audio-pci-intel-tgl
  API: ALSA v: k6.1.0-13-amd64 status: kernel-api
  Server-1: PulseAudio v: 16.1 status: active
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
  IF: wlp42s0 state: up mac: f4:6a:dd:58:e1:2d
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp43s0 state: down mac: 40:c2:ba:1a:c1:14
Bluetooth:
  Device-1: Lite-On Wireless_Device type: USB driver: btusb
  Report: hciconfig ID: hci0 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no software: no
    address: 00:00:00:00:00:00
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
Drives:
  Local Storage: total: 476.94 GiB used: 57.38 GiB (12.0%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 2450 MTFDKBA512TFK
    size: 476.94 GiB
Partition:
  ID-1: / size: 22.75 GiB used: 5.23 GiB (23.0%) fs: ext4 dev: /dev/dm-1
  ID-2: /boot size: 455.1 MiB used: 80.9 MiB (17.8%) fs: ext2
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 511 MiB used: 5.8 MiB (1.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 432.55 GiB used: 51.53 GiB (11.9%) fs: ext4
    dev: /dev/dm-5
  ID-5: /tmp size: 1.79 GiB used: 280 KiB (0.0%) fs: ext4 dev: /dev/dm-4
  ID-6: /var size: 9.07 GiB used: 554.7 MiB (6.0%) fs: ext4 dev: /dev/dm-2
Swap:
  ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) dev: /dev/dm-3
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 264 Uptime: 9m Memory: 11.39 GiB used: 3.99 GiB (35.0%)
  Shell: Bash inxi: 3.3.26

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1530
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 63 times
Been thanked: 89 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#30 Post by None1975 »

According debian-stable-announce mailing list, this problem is solved:
Package : linux
Version : 6.1.67-1 [bookworm]
Importance : medium
Debian Bugs : 1057967 1057969

The Linux kernel update included with Debian 12.4 introduced a regression
with some WiFi adapters. A potential deadlock might cause network managers
to hang and result in lockups on suspend, poweroff and reboot.

This update resolves that regression.
OS: Debian 12.4 Bookworm / DE: XFCE
Debian Wiki | DontBreakDebian, My config files on github

undesign
Posts: 109
Joined: 2015-05-27 09:03
Has thanked: 8 times
Been thanked: 8 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#31 Post by undesign »

sunrat wrote: 2023-12-15 10:08 Install inxi and show us

Code: Select all

inxi -r
After a shutdown and restart, kernel 6.5 is gone from the list of the available packages.
I do not know how this was solved and what was the problem before, but it is ok now.

Thanks everybody for your assistance!

undesign
Posts: 109
Joined: 2015-05-27 09:03
Has thanked: 8 times
Been thanked: 8 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#32 Post by undesign »

The issue is solved with kernel 6.1.0-16 / 6.1.67-1, so I will mark this as solved.

User avatar
sunrat
Site admin
Site admin
Posts: 7366
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 133 times
Been thanked: 650 times

Re: Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#33 Post by sunrat »

undesign wrote: 2023-12-15 18:32 The issue is solved with kernel 6.1.0-16 / 6.1.67-1, so I will mark this as solved.
Excellent! I see that kernel has now been pushed to the bookworm-updates section of the repo so that needs to be active in sources (should be by default).
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
alexis-burrows
Posts: 5
Joined: 2023-07-11 01:00
Has thanked: 3 times
Been thanked: 1 time

Re: [Solved] Issues with kernel 6.1.0-15-amd64/stable 6.1.66-1

#34 Post by alexis-burrows »

Just want to update. Sorry so late.
6.1.0-16 works great. Everything is back to normal and no issues detected so far.
The firmware-realtek package from repos doesn't work for my rtl8821cu dongle, but the Brostrend drivers successfully installed on this kernel.
Routing Ethernet soon cables soon.
Thank you everyone commenting here and very special thanks to all the Debian devs. 🩷

Post Reply