Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Latest linux upgrade 6.1.0-18-amd64 failed

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
bryanmc
Posts: 122
Joined: 2016-11-18 12:21
Has thanked: 2 times

[Solved] Latest linux upgrade 6.1.0-18-amd64 failed

#1 Post by bryanmc »

Doing the latest round of updates the kernel update failed... These are the reeors from the make log. I'm way past my comfort / knowledge zone on this one. Any and all help appreciated.

Code: Select all

ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
make[3]: *** [/usr/src/linux-headers-6.1.0-18-common/scripts/Makefile.modpost:126: /var/lib/dkms/nvidia-current/525.147.05/build/Module.symvers] Error 1
make[2]: *** [/usr/src/linux-headers-6.1.0-18-common/Makefile:1991: modpost] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.1.0-18-amd64'
make[1]: *** [Makefile:250: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-18-common'
make: *** [Makefile:82: modules] Error 2
Last edited by bryanmc on 2024-02-19 13:41, edited 1 time in total.

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#2 Post by Aki »

Please, open a bug report using the Debian Bug Tracking System.

I found this reference (even if for a newer kernel):
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#3 Post by stevepusser »

Do you have the proposed-updates section enabled? (install inxi, give us results of "inxi -r" in a terminal.)
MX Linux packager and developer

bryanmc
Posts: 122
Joined: 2016-11-18 12:21
Has thanked: 2 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#4 Post by bryanmc »

Yes

Code: Select all

bryan@zed:~$ inxi -r
Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
    2: deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
    3: deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
    4: deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
    5: deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
    6: deb http://download.virtualbox.org/virtualbox/debian bookworm contrib
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
    1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
bryan@zed:~$ 
Commentd out proposed-updates and ran apt update and apt upgrade and it installed linux 6.5.0-0.deb 12.4

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#5 Post by stevepusser »

Kernel 6.5 came from bookworm-backports somehow, since it's set at a lower priority than the main repos. They won't be automatic upgrades, unless you forced it somehow.

Did you happen to read the instructions for using the backports repo at https://backports.debian.org/Instructions/ ?
MX Linux packager and developer

bryanmc
Posts: 122
Joined: 2016-11-18 12:21
Has thanked: 2 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#6 Post by bryanmc »

To be honest Steve, I don't even remember adding the backports repo. I didn't force it, I just commented out proposed-updates. What is the current kernel for bookworm? I suppose I'll need to try to figure out how to dump 6.5 and the remnants of 6.1.0-18.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#7 Post by stevepusser »

First you need to figure out how and why these repo changes happened, and make sure they don't happen again.
MX Linux packager and developer

Fossy
df -h | participant
df -h | participant
Posts: 342
Joined: 2021-08-06 12:45
Has thanked: 34 times
Been thanked: 31 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#8 Post by Fossy »

bryanmc wrote: 2024-02-06 04:21 To be honest Steve, I don't even remember adding the backports repo. I didn't force it, I just commented out proposed-updates. What is the current kernel for bookworm? I suppose I'll need to try to figure out how to dump 6.5 and the remnants of 6.1.0-18.
" Latest linux upgrade 6.1.0-18-amd64 failed " ... ?
The latest current kernel is :
6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux

Code: Select all

phil@phil-gl753vd:~$ inxi -Sr
System:
  Host: phil-gl753vd Kernel: 6.1.0-17-amd64 arch: x86_64 bits: 64
    Desktop: Cinnamon v: 5.6.8 Distro: Debian GNU/Linux 12 (bookworm)
Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
    3: deb https://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/eid.list
    1: deb https://files.eid.belgium.be/debian bookworm main
phil@phil-gl753vd:~$ LANG=C sudo apt upgrade
[sudo] password for phil: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
phil@phil-gl753vd:~$
Could you please adapt the description of your problem in the title ?
Thank you
ASUS GL753VD / X550LD / K54HR / X751LAB ( x2 )
Bookworm12.5_Cinnamon / Calamares Single Boot installations
Firefox ESR / DuckDuckGo / Thunderbird / LibreOffice / GIMP / eID Software

https://cdimage.debian.org/debian-cd/cu ... so-hybrid/

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#9 Post by Aki »

Hello,
Fossy wrote: 2024-02-07 21:25 The latest current kernel is :
6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
@Fossy:
Well … for about the next 3 days. Debian package for kernel version 6.1.0-18 should be released soon with the next point release.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

felipsmartins
Posts: 2
Joined: 2023-10-12 21:03
Been thanked: 1 time

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#10 Post by felipsmartins »

EDITED: 2024-02-09 18:30 UTC 0

Upgrading to kernel 6.5 (from backports) fixed the nvidia issue when using kernel 6.1.0-18-amd64 and dkms:

Code: Select all

sudo apt install -t bookworm-backports linux-image-amd64
sudo apt install -t bookworm-backports linux-headers-amd64
ORIGINAL POST:

I can confirm this errors. SInce kernel 6.1.0-18-amd64 i have been having headaches (even kernel panic - solved by switching to previous kernel via boot menu).

Code: Select all

martins@martins ~ % sudo apt update && sudo apt list --upgradable && sudo apt-get upgrade -y
[sudo] password for martins: 
Hit:1 https://downloads.1password.com/linux/debian/amd64 stable InRelease                                                                                                                                                                    
Hit:2 http://deb.debian.org/debian bookworm InRelease                                                                                                                                                                                        
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                                                                
Hit:4 http://deb.debian.org/debian bookworm-backports InRelease                                                                                                                                                                              
Hit:5 https://download.docker.com/linux/debian bookworm InRelease                                                                                                                                                                            
Hit:6 https://repo.steampowered.com/steam stable InRelease                                                                                                                                                                                   
Hit:7 https://deb.opera.com/opera-stable stable InRelease                                                                                                                                                                                    
Hit:8 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                                                
Hit:9 https://packages.mozilla.org/apt mozilla InRelease                                                                                                                              
Hit:10 http://packages.microsoft.com/repos/code stable InRelease                                                              
Ign:11 https://repo.vivaldi.com/stable/deb stable InRelease         
Hit:12 https://repo.vivaldi.com/stable/deb stable Release
Hit:13 http://ftp.us.debian.org/debian bookworm-proposed-updates InRelease
Hit:15 http://security.debian.org/debian-security bookworm-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
Listing... Done
gir1.2-javascriptcoregtk-4.0/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
gir1.2-javascriptcoregtk-4.1/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
gir1.2-webkit2-4.0/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
gir1.2-webkit2-4.1/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libjavascriptcoregtk-4.0-18/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libjavascriptcoregtk-4.1-0/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libjavascriptcoregtk-6.0-1/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libwebkit2gtk-4.0-37/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libwebkit2gtk-4.1-0/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libwebkitgtk-6.0-4/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
  linux-headers-6.1.0-16-amd64 linux-headers-6.1.0-16-common
  linux-image-6.1.0-16-amd64
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  gir1.2-javascriptcoregtk-4.0 gir1.2-javascriptcoregtk-4.1 gir1.2-webkit2-4.0
  gir1.2-webkit2-4.1 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.1-0
  libjavascriptcoregtk-6.0-1 libwebkit2gtk-4.0-37 libwebkit2gtk-4.1-0
  libwebkitgtk-6.0-4
apt-listchanges: Reading changelogs...
10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/83.6 MB of archives.
After this operation, 77.8 kB of additional disk space will be used.
(Reading database ... 391213 files and directories currently installed.)
Preparing to unpack .../0-gir1.2-webkit2-4.0_2.42.5-1~deb12u1_amd64.deb ...
Unpacking gir1.2-webkit2-4.0:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../1-gir1.2-javascriptcoregtk-4.0_2.42.5-1~deb12u1_amd64.deb ...
Unpacking gir1.2-javascriptcoregtk-4.0:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../2-libwebkit2gtk-4.0-37_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libwebkit2gtk-4.0-37:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../3-libjavascriptcoregtk-4.0-18_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libjavascriptcoregtk-4.0-18:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../4-gir1.2-webkit2-4.1_2.42.5-1~deb12u1_amd64.deb ...
Unpacking gir1.2-webkit2-4.1:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../5-gir1.2-javascriptcoregtk-4.1_2.42.5-1~deb12u1_amd64.deb ...
Unpacking gir1.2-javascriptcoregtk-4.1:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../6-libwebkit2gtk-4.1-0_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libwebkit2gtk-4.1-0:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../7-libjavascriptcoregtk-4.1-0_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libjavascriptcoregtk-4.1-0:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../8-libwebkitgtk-6.0-4_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libwebkitgtk-6.0-4:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../9-libjavascriptcoregtk-6.0-1_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libjavascriptcoregtk-6.0-1:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Setting up linux-image-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j24 modules KERNEL_UNAME=6.1.0-18-amd64.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
nvidia-fs/2.13 autoinstall failed due to missing dependencies: nvidia-current
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-18-amd64 (--configure):
 installed linux-image-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1
Setting up libjavascriptcoregtk-4.0-18:amd64 (2.42.5-1~deb12u1) ...
Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j24 modules KERNEL_UNAME=6.1.0-18-amd64.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
nvidia-fs/2.13 autoinstall failed due to missing dependencies: nvidia-current
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-18-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-18-amd64 (--configure):
 installed linux-headers-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1
Setting up gir1.2-javascriptcoregtk-4.0:amd64 (2.42.5-1~deb12u1) ...
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-18-amd64 (= 6.1.76-1); however:
  Package linux-image-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libjavascriptcoregtk-4.1-0:amd64 (2.42.5-1~deb12u1) ...
Setting up libjavascriptcoregtk-6.0-1:amd64 (2.42.5-1~deb12u1) ...
Setting up libwebkit2gtk-4.0-37:amd64 (2.42.5-1~deb12u1) ...
Setting up libwebkit2gtk-4.1-0:amd64 (2.42.5-1~deb12u1) ...
Setting up gir1.2-webkit2-4.0:amd64 (2.42.5-1~deb12u1) ...
Setting up libwebkitgtk-6.0-4:amd64 (2.42.5-1~deb12u1) ...
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-18-amd64 (= 6.1.76-1); however:
  Package linux-headers-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up gir1.2-javascriptcoregtk-4.1:amd64 (2.42.5-1~deb12u1) ...
Setting up gir1.2-webkit2-4.1:amd64 (2.42.5-1~deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Errors were encountered while processing:
 linux-image-6.1.0-18-amd64
 linux-headers-6.1.0-18-amd64
 linux-image-amd64
 linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Output for inxi -Sr:

Code: Select all

martins@martins ~ % inxi -Sr
System:
  Host: martins Kernel: 6.1.0-17-amd64 arch: x86_64 bits: 64 Desktop: GNOME
    v: 43.9 Distro: Debian GNU/Linux 12 (bookworm)
Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
    2: deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
    3: deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
    4: deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
    5: deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
    6: deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
    7: deb http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware non-free
    8: deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware non-free
    9: deb http://ftp.us.debian.org/debian bookworm-proposed-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/1password.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main
  Active apt repos in: /etc/apt/sources.list.d/docker.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mozilla.list
    1: deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main
  Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
    1: deb https://deb.opera.com/opera-stable/ stable non-free
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
martins@martins ~ % 


vestyc
Posts: 1
Joined: 2024-02-10 15:21
Has thanked: 1 time

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#11 Post by vestyc »

Upgrading to the bookworm-backports version 6.5.0 kernel worked for me. Thought I would chime in since my 6.1.0-18 was failing when using the nvidia repo (see inxi -r below).

inxi -r

Code: Select all

Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib
    2: deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware
    3: deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
    4: deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
    5: deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
    6: deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
    7: deb http://deb.debian.org/debian/ bookworm-backports main non-free-firmware contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/nvidia-drivers.list
    1: deb [signed-by=/usr/share/keyrings/nvidia-drivers.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/ /
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
    1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/tailscale.list
    1: deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian bookworm main
dkms status (notice nvidia failed to install for 6.1.0-18)

Code: Select all

8812au/5.6.4.2_35491.20191025, 6.1.0-17-amd64, x86_64: installed
8812au/5.6.4.2_35491.20191025, 6.1.0-18-amd64, x86_64: installed
8812au/5.6.4.2_35491.20191025, 6.5.0-0.deb12.4-amd64, x86_64: installed
nvidia-current/545.23.08, 6.1.0-17-amd64, x86_64: installed
nvidia-current/545.23.08, 6.5.0-0.deb12.4-amd64, x86_64: installed
felipsmartins wrote: 2024-02-09 17:42 EDITED: 2024-02-09 18:30 UTC 0

Upgrading to kernel 6.5 (from backports) fixed the nvidia issue when using kernel 6.1.0-18-amd64 and dkms:

Code: Select all

sudo apt install -t bookworm-backports linux-image-amd64
sudo apt install -t bookworm-backports linux-headers-amd64
ORIGINAL POST:

I can confirm this errors. SInce kernel 6.1.0-18-amd64 i have been having headaches (even kernel panic - solved by switching to previous kernel via boot menu).

Code: Select all

martins@martins ~ % sudo apt update && sudo apt list --upgradable && sudo apt-get upgrade -y
[sudo] password for martins: 
Hit:1 https://downloads.1password.com/linux/debian/amd64 stable InRelease                                                                                                                                                                    
Hit:2 http://deb.debian.org/debian bookworm InRelease                                                                                                                                                                                        
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                                                                
Hit:4 http://deb.debian.org/debian bookworm-backports InRelease                                                                                                                                                                              
Hit:5 https://download.docker.com/linux/debian bookworm InRelease                                                                                                                                                                            
Hit:6 https://repo.steampowered.com/steam stable InRelease                                                                                                                                                                                   
Hit:7 https://deb.opera.com/opera-stable stable InRelease                                                                                                                                                                                    
Hit:8 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                                                
Hit:9 https://packages.mozilla.org/apt mozilla InRelease                                                                                                                              
Hit:10 http://packages.microsoft.com/repos/code stable InRelease                                                              
Ign:11 https://repo.vivaldi.com/stable/deb stable InRelease         
Hit:12 https://repo.vivaldi.com/stable/deb stable Release
Hit:13 http://ftp.us.debian.org/debian bookworm-proposed-updates InRelease
Hit:15 http://security.debian.org/debian-security bookworm-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
Listing... Done
gir1.2-javascriptcoregtk-4.0/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
gir1.2-javascriptcoregtk-4.1/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
gir1.2-webkit2-4.0/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
gir1.2-webkit2-4.1/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libjavascriptcoregtk-4.0-18/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libjavascriptcoregtk-4.1-0/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libjavascriptcoregtk-6.0-1/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libwebkit2gtk-4.0-37/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libwebkit2gtk-4.1-0/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
libwebkitgtk-6.0-4/stable-security 2.42.5-1~deb12u1 amd64 [upgradable from: 2.42.4-1~deb12u1]
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
  linux-headers-6.1.0-16-amd64 linux-headers-6.1.0-16-common
  linux-image-6.1.0-16-amd64
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  gir1.2-javascriptcoregtk-4.0 gir1.2-javascriptcoregtk-4.1 gir1.2-webkit2-4.0
  gir1.2-webkit2-4.1 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.1-0
  libjavascriptcoregtk-6.0-1 libwebkit2gtk-4.0-37 libwebkit2gtk-4.1-0
  libwebkitgtk-6.0-4
apt-listchanges: Reading changelogs...
10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/83.6 MB of archives.
After this operation, 77.8 kB of additional disk space will be used.
(Reading database ... 391213 files and directories currently installed.)
Preparing to unpack .../0-gir1.2-webkit2-4.0_2.42.5-1~deb12u1_amd64.deb ...
Unpacking gir1.2-webkit2-4.0:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../1-gir1.2-javascriptcoregtk-4.0_2.42.5-1~deb12u1_amd64.deb ...
Unpacking gir1.2-javascriptcoregtk-4.0:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../2-libwebkit2gtk-4.0-37_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libwebkit2gtk-4.0-37:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../3-libjavascriptcoregtk-4.0-18_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libjavascriptcoregtk-4.0-18:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../4-gir1.2-webkit2-4.1_2.42.5-1~deb12u1_amd64.deb ...
Unpacking gir1.2-webkit2-4.1:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../5-gir1.2-javascriptcoregtk-4.1_2.42.5-1~deb12u1_amd64.deb ...
Unpacking gir1.2-javascriptcoregtk-4.1:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../6-libwebkit2gtk-4.1-0_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libwebkit2gtk-4.1-0:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../7-libjavascriptcoregtk-4.1-0_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libjavascriptcoregtk-4.1-0:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../8-libwebkitgtk-6.0-4_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libwebkitgtk-6.0-4:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Preparing to unpack .../9-libjavascriptcoregtk-6.0-1_2.42.5-1~deb12u1_amd64.deb ...
Unpacking libjavascriptcoregtk-6.0-1:amd64 (2.42.5-1~deb12u1) over (2.42.4-1~deb12u1) ...
Setting up linux-image-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j24 modules KERNEL_UNAME=6.1.0-18-amd64.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
nvidia-fs/2.13 autoinstall failed due to missing dependencies: nvidia-current
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-18-amd64 (--configure):
 installed linux-image-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1
Setting up libjavascriptcoregtk-4.0-18:amd64 (2.42.5-1~deb12u1) ...
Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j24 modules KERNEL_UNAME=6.1.0-18-amd64.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
nvidia-fs/2.13 autoinstall failed due to missing dependencies: nvidia-current
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-18-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-18-amd64 (--configure):
 installed linux-headers-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1
Setting up gir1.2-javascriptcoregtk-4.0:amd64 (2.42.5-1~deb12u1) ...
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-18-amd64 (= 6.1.76-1); however:
  Package linux-image-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libjavascriptcoregtk-4.1-0:amd64 (2.42.5-1~deb12u1) ...
Setting up libjavascriptcoregtk-6.0-1:amd64 (2.42.5-1~deb12u1) ...
Setting up libwebkit2gtk-4.0-37:amd64 (2.42.5-1~deb12u1) ...
Setting up libwebkit2gtk-4.1-0:amd64 (2.42.5-1~deb12u1) ...
Setting up gir1.2-webkit2-4.0:amd64 (2.42.5-1~deb12u1) ...
Setting up libwebkitgtk-6.0-4:amd64 (2.42.5-1~deb12u1) ...
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-18-amd64 (= 6.1.76-1); however:
  Package linux-headers-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up gir1.2-javascriptcoregtk-4.1:amd64 (2.42.5-1~deb12u1) ...
Setting up gir1.2-webkit2-4.1:amd64 (2.42.5-1~deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Errors were encountered while processing:
 linux-image-6.1.0-18-amd64
 linux-headers-6.1.0-18-amd64
 linux-image-amd64
 linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Output for inxi -Sr:

Code: Select all

martins@martins ~ % inxi -Sr
System:
  Host: martins Kernel: 6.1.0-17-amd64 arch: x86_64 bits: 64 Desktop: GNOME
    v: 43.9 Distro: Debian GNU/Linux 12 (bookworm)
Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
    2: deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
    3: deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
    4: deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
    5: deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
    6: deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
    7: deb http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware non-free
    8: deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware non-free
    9: deb http://ftp.us.debian.org/debian bookworm-proposed-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/1password.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main
  Active apt repos in: /etc/apt/sources.list.d/docker.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mozilla.list
    1: deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main
  Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
    1: deb https://deb.opera.com/opera-stable/ stable non-free
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
martins@martins ~ % 


Fossy
df -h | participant
df -h | participant
Posts: 342
Joined: 2021-08-06 12:45
Has thanked: 34 times
Been thanked: 31 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#12 Post by Fossy »

Aki wrote: 2024-02-07 22:03 Hello,
Fossy wrote: 2024-02-07 21:25 The latest current kernel is :
6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
@Fossy:
Well … for about the next 3 days. Debian package for kernel version 6.1.0-18 should be released soon with the next point release.
Hi @Aki
Done , went smoothly and without problems :

Code: Select all

bookworm@bookworm-k54hr:~$ cat /etc/debian_version
12.5
bookworm@bookworm-k54hr:~$ uname -a
Linux bookworm-k54hr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
bookworm@bookworm-k54hr:~$ inxi -Sr
System:
  Host: bookworm-k54hr Kernel: 6.1.0-18-amd64 arch: x86_64 bits: 64
    Desktop: Cinnamon v: 5.6.8 Distro: Debian GNU/Linux 12 (bookworm)
Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
    3: deb https://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/eid.list
    1: deb https://files.eid.belgium.be/debian bookworm main
bookworm@bookworm-k54hr:~$
ASUS GL753VD / X550LD / K54HR / X751LAB ( x2 )
Bookworm12.5_Cinnamon / Calamares Single Boot installations
Firefox ESR / DuckDuckGo / Thunderbird / LibreOffice / GIMP / eID Software

https://cdimage.debian.org/debian-cd/cu ... so-hybrid/

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#13 Post by Aki »

Hello,

You can try backporting the nvidia kernel module from Debian Sid:

Code: Select all

nvidia-graphics-drivers (525.147.05-6) unstable; urgency=medium

  * Apply pfn_valid patch from gentoo to fix kernel module build for
    Linux 6.1.76, 6.6.15, 6.7.3, 6.8.  (Closes: #1063363, #1062932)
  * nvidia-detect: Tesla and regular driver packages have been merged.
  * Update lintian overrides.

 -- Andreas Beckmann <anbe@debian.org>  Fri, 09 Feb 2024 20:43:30 +0100
The /etc/apt/sources.list file must be integrated with a reference to sources repositories:

Code: Select all

deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ sid main contrib non-free non-free-firmware
Then, you can locally rebuild the nvidia binary packages from Debian Sid as backports for Debian Stable:

Code: Select all

$ su -l -c "apt install build-essential devscripts quilt linux-headers-$(uname -r) dh-sequence-dkms dh-dkms dh-exec libnvidia-egl-wayland1 libglvnd-dev"
$ su -l -c "apt update"
$ apt source nvidia-driver/sid
$ cd nvidia-graphics-drivers-525.147.05/
$ dch --bpo
$ dpkg-buildpackage --build=binary --unsigned-changes

$ sudo dpkg --simulate -i ./nvidia-alternative_525.147.05-6~bpo12+1_amd64.deb ./nvidia-vdpau-driver_525.147.05-6~bpo12+1_amd64.deb ./xserver-xorg-video-nvidia_525.147.05-6~bpo12+1_amd64.deb ./nvidia-driver-bin_525.147.05-6~bpo12+1_amd64.deb ./nvidia-driver_525.147.05-6~bpo12+1_amd64.deb ./nvidia-driver-libs_525.147.05-6~bpo12+1_amd64.deb ./libnvidia-glcore_525.147.05-6~bpo12+1_amd64.deb ./libgl1-nvidia-glvnd-glx_525.147.05-6~bpo12+1_amd64.deb ./nvidia-egl-icd_525.147.05-6~bpo12+1_amd64.deb ./libglx-nvidia0_525.147.05-6~bpo12+1_amd64.deb ./libegl-nvidia0_525.147.05-6~bpo12+1_amd64.deb
In requires 3-4 GByte of hard disk space and some time to build the packages.

As a test, I rebuilt all the packages, but couldn't test their installation because I don't have the necessary graphics hardware. If the installation fails, the kernel modules may not be available for previous kernel versions, too. If you want to install rebuilt packages, you need to remove the --simulate option in the dkpg command.

Hope this helps.
--
[1] https://raw.githubusercontent.com/gento ... alid.patch
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Dawnmist
Posts: 1
Joined: 2024-02-11 00:47

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#14 Post by Dawnmist »

@Aki - I have attempted to follow your instructions to backport the sid nvidia package, but it runs into a chicken-and-egg problem at the `dpkg-buildpackage` step if the nvidia drivers are currently installed on the user's system.

The NVIDIA source package depends on `linux-headers-amd64`, but that package is the one that pulls in the `linux-headers-6.1.0-18-amd64` package, and the linux-headers-6.1.0-18-amd64 package is the one that fails to install due to the lack of the patch to the NVIDIA package that we're trying to compile. Without the linux-headers-amd64 installed, the NVIDIA source package refuses to build due to the missing dependency, and the dependency cannot be installed due to the linux-headers-6.1.0-18-amd64 package installation failure.

For the moment I've downgraded my kernel, and removed the meta packages linux-headers-amd64 and linux-image-amd64 so that apt isn't stuck in a broken state for those metapackages due to the 6.1.0-18 kernel issue.

Thank you for your assistance in trying to get the updated nvidia package through from sid to proposed-updates quickly! I'm following the discussion at https://bugs.debian.org/cgi-bin/bugrepo ... ug=1063675 for the issue. :)

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#15 Post by sunrat »

For now it's advisable to not upgrade if using nvidia drivers until a fixed version is available, which probably won't be long.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#16 Post by Aki »

Hello @Dawnmist,
Dawnmist wrote: 2024-02-11 01:10 @Aki - I have attempted to follow your instructions to backport the sid nvidia package, but it runs into a chicken-and-egg problem at the `dpkg-buildpackage` step if the nvidia drivers are currently installed on the user's system.]
[..]
Thank you for your assistance in trying to get the updated nvidia package through from sid to proposed-updates quickly! I'm following the discussion at https://bugs.debian.org/cgi-bin/bugrepo ... ug=1063675 for the issue. :)
Thanks for your feedback. I tested the solution in a Debian Bookworm 12.5 with a 6.1.0-18 package fully configured (because I don't have nvidia proprietary modules installed). As you pointed out this is not the case when the kernel 6.1.0-18 installation fails during the system upgrade when the issue occurs, indeed.

I suppose that the package can be rebuild booting Debian with the previous kernel 6.1.0-17 after uninstalling the linux-image-6.1.0-18-amd64.

I agree with @sunrat's suggestion from the previous post, as it is currently the easiest way to get a working installation with 6.1.0-18 (EDIT Sun Feb 11 13:24:04 CET 2024: if you run nvidia proprietary kernel modules).
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Fossy
df -h | participant
df -h | participant
Posts: 342
Joined: 2021-08-06 12:45
Has thanked: 34 times
Been thanked: 31 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#17 Post by Fossy »

@Aki and @sunrat
Given my respectable age and lack of technical knowledge, the upgrade Gods have apparently spared me from upgrade problems so far ;
All (5) of our laptops have now been upgraded without any problems :
Why am I , on several laptops , spared from this problem ?
Maybe you will find the answer in my configurations which are identical for all our laptops ?

I pick out my personal " daily driver / workstation " :

Code: Select all

phil@phil-gl753vd:~$ cat /etc/debian_version 
12.5
phil@phil-gl753vd:~$ inxi -Fxpmrz 
System:
  Kernel: 6.1.0-18-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: Cinnamon v: 5.6.8 Distro: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: ASUSTeK product: GL753VD v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: GL753VD v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: GL753VD.308 date: 04/29/2019
Battery:
  ID-1: BAT0 charge: 37.9 Wh (98.7%) condition: 38.4/47.5 Wh (80.8%)
    volts: 16.2 min: 14.4 model: Simplo SDI ICR18650 status: not charging
Memory:
  RAM: total: 7.64 GiB used: 2.43 GiB (31.8%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: quad core model: Intel Core i7-7700HQ bits: 64 type: MT MCP
    arch: Kaby Lake rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 800 min/max: 800/3800 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 bogomips: 44798
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel
    arch: Gen-9.5 bus-ID: 00:02.0
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: ASUSTeK
    driver: nouveau v: kernel arch: Pascal bus-ID: 01:00.0 temp: 30.0 C
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-11:5
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 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 HD Graphics 630 (KBL
    GT2) direct-render: Yes
Audio:
  Device-1: Intel CM238 HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3
  API: ALSA v: k6.1.0-18-amd64 status: kernel-api
  Server-1: PipeWire v: 0.3.65 status: active
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel bus-ID: 02:00.0
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus-ID: 03:00.0
  IF: enp3s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-9:4
  Report: hciconfig ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 119.24 GiB used: 34.3 GiB (28.8%)
  ID-1: /dev/sda vendor: SK Hynix model: HFS128G39TND-N210A size: 119.24 GiB
Partition:
  ID-1: / size: 114.53 GiB used: 34.29 GiB (29.9%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 299.4 MiB used: 5.8 MiB (1.9%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 2.02 GiB used: 0 KiB (0.0%)
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 37.0 C pch: 43.0 C mobo: N/A gpu: nouveau
    temp: 30.0 C
  Fan Speeds (RPM): cpu: 2000
Repos:
  Packages: 2399
  Active apt repos in: /etc/apt/sources.list
    1: deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
    3: deb https://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/eid.list
    1: deb https://files.eid.belgium.be/debian bookworm main
Info:
  Processes: 229 Uptime: 22m Init: systemd target: graphical (5) Compilers:
  gcc: 12.2.0 Shell: Bash v: 5.2.15 inxi: 3.3.26
phil@phil-gl753vd:~$ 
By the way , my linux-image en linux-headers settings in synaptic :

linux-image ( 2 active kernels + meta package) :
Image
linux-headers ( none of the packages active ) :
Image

Helpful information ?
Translated with DeepL.com (free version)
ASUS GL753VD / X550LD / K54HR / X751LAB ( x2 )
Bookworm12.5_Cinnamon / Calamares Single Boot installations
Firefox ESR / DuckDuckGo / Thunderbird / LibreOffice / GIMP / eID Software

https://cdimage.debian.org/debian-cd/cu ... so-hybrid/

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#18 Post by sunrat »

@Fossy you avoided the problem because you are using nouveau, not nvidia driver. The issue is in the current Bookworm nvidia driver, not the kernel.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Narodnaya Volya
Posts: 27
Joined: 2023-01-14 20:58
Has thanked: 6 times
Been thanked: 2 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#19 Post by Narodnaya Volya »

I have the same problem with latest upgrade.
Sadly i did upgrade and the system wont boot up.

I suppose i have to clean install?

tomcass
Posts: 21
Joined: 2021-09-18 12:40
Has thanked: 1 time
Been thanked: 2 times

Re: Latest linux upgrade 6.1.0-18-amd64 failed

#20 Post by tomcass »

I thought the whole point of the stable release is that this kinda stuff isn't meant to happen. Am I wrong?

Post Reply