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

 

 

 

how to upgrade debian 10 kernel from the backports without r

Linux Kernel, Network, and Services configuration.
Message
Author
marietto
Posts: 80
Joined: 2014-07-13 16:30

how to upgrade debian 10 kernel from the backports without r

#1 Post by marietto »

I'm running debian 10 on a I9-9900k + gigabyte aurus pro (with the intel graphic chipset integrated) + nvidia RTX 2080ti graphic card. I have two monitors. I want to have the monitor B working with the nvidia graphic card and the monitor A with the intel integrated chipset. The problem is that only the monitor B is working now. The monitor B is turned off. Maybe there is something bad with the secondary graphic card,because debian disable the card that's not the most important. I want to enable it. Someone said to me that the kernel that I'm using (4.19) is old and it does not support the intel chipset of the mobo. I would like to update it,but I don't know how to do that. He said also that it is in the backports. So a couple of lines should be enough. I tried to compile a new kernel from scratch,version 5.3.2,using the default settings,but it didn't work,infact it freezes on the boot stage. So,the question is : how to upgrade easily the kernel of debian 10 buster,from 4.19 at least to a version that allows me to enable the intel chipset and also the firmware-misc-nonfree. thanks.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#2 Post by L_V »

linux-image-5.2.0-0.bpo.2-amd64 is available @ buster-backports

[ replace 'ftp.de' by your country

Code: Select all

# as root
echo 'deb http://ftp.de.debian.org/debian buster-backports main' |  tee -a /etc/apt/sources.list
apt update
apt policy linux-image-amd64
apt install linux-image-amd64=5.2+106~bpo10+1

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#3 Post by marietto »

/etc/kernel/postinst.d/dkms:
Error! Your kernel headers for kernel 5.2.0-0.bpo.2-amd64 cannot be found.
Please install the linux-headers-5.2.0-0.bpo.2-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.2.0-0.bpo.2-amd64

root@DESKTOP-N9UN2H3:/home/mariozio# apt install linux-headers-5.2.0-0.bpo.2-amd64
Configurazione di linux-headers-5.2.0-0.bpo.2-amd64 (5.2.9-2~bpo10+1)...
/etc/kernel/header_postinst.d/dkms:
Error! Bad return status for module build on kernel: 5.2.0-0.bpo.2-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/418.74/build/make.log for more information.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#4 Post by L_V »

Code: Select all

apt remove dkms

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#5 Post by marietto »

yeah,thanks. Now I have another error : can't connect to Xorg when I'm on rescue mode. And it freezes when it says : "gnome desktop manager initialized" when I'm on the normale mode. Anyway this kernel is able to make work the intel graphic chipset embedded inside the mobo. Actually the monitor attached to the nvidia graphic card is turned off. The monitor attached to the intel graphic is turned on.
Last edited by marietto on 2019-10-07 21:18, edited 1 time in total.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#6 Post by L_V »

marietto wrote:dkms/nvidia-current
Where did you get your nvidia driver ?

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#7 Post by marietto »

apt install nvidia-driver

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#8 Post by L_V »

I see, then needs nvidia-kernel-dkms.
+

Code: Select all

dpkg -l 'nvidia*' | awk '{print $1,$2}'
then

Code: Select all

apt remove linux-headers-amd64
apt-get install --no-install-recommends nvidia-driver linux-image-amd64=5.2+106~bpo10+1
+if, only if you really need linux-headers (??), they are available

Code: Select all

apt install linux-headers-amd64=5.2+106~bpo10+1

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#9 Post by marietto »

I'm not able to write the curly brackets on the keyboard :(

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#10 Post by L_V »

Ha yeah... I see. Then forget this command, and go further. If OK,
+

Code: Select all

apt install firmware-linux-free  libgles-nvidia1 libgles-nvidia2 libnvidia-cfg1 libopengl0  nvidia-persistenced nvidia-settings nvidia-vulkan-icd

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

Re: how to upgrade debian 10 kernel from the backports witho

#11 Post by stevepusser »

Debian currently doesn't have any nvidia-driver in buster-backports, and the stock 4.18.74 version won't build on a 5.2 kernel. You'll have to wait until Debian gets one in there, if you want to stick to straight Debian instead of a derivative.
MX Linux packager and developer

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#12 Post by marietto »

I've installed the suggested packages. it freezes again on boot,giving the error "failed to start nvidia persistence demon" ; failed to load kernel modules....

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#13 Post by L_V »

More explicit output might be helpful...
run:

Code: Select all

nvidia-smi
and check "Persistence-M" parameter.
+

Code: Select all

systemctl status nvidia-persistenced-manual.service
I don't have nvidia graphics to help.
If nvidia-driver buster driver is really not compatible with kernel 5.20, I wonder why there is no apt compatibility issue.

+ did you install the linux-headers ? If no, try to see if it helps.

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#14 Post by marietto »

nothing works correctly. check here : https://ibb.co/album/ekydOv

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#15 Post by L_V »

Code: Select all

systemctl start nvidia-persistenced-manual

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#16 Post by marietto »

unit nvidia-persistenced-manual.service not found.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#17 Post by L_V »

then

Code: Select all

systemctl start nvidia-persistenced

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#18 Post by marietto »

unit nvidia-persintenced.service not found.

let me understand : why the intel graphic chipset driver needs that the nvidia drivers are working to work ?

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: how to upgrade debian 10 kernel from the backports witho

#19 Post by L_V »

marietto wrote:let me understand : why the intel graphic chipset driver needs that the nvidia drivers are working to work ?
let me understand : why did you initially install nvidia-driver ?

Code: Select all

lspci -k | grep VGA -A3

marietto
Posts: 80
Joined: 2014-07-13 16:30

Re: how to upgrade debian 10 kernel from the backports witho

#20 Post by marietto »

01:00.0 VGA compatible controller:NVIDIA Corporation
Subsystem ZOTAC international TU102
kernel modules: nvidia

01:00.1 Audio device nVIDIA corp TU102

Post Reply