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

 

 

 

Problem when updating the kernel [SOLVED]

Linux Kernel, Network, and Services configuration.
Message
Author
User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Problem when updating the kernel [SOLVED]

#1 Post by Scorpion »

I followed this guide https://wiki.debian.org/HowToUpgradeKernel that states:
<!> Make sure you read everything it tells you during the installation, especially about initrd image. If you use an unusual boot loader, you might need to reconfigure after installing the kernel image - don't forget to tell it to use appropriate initrd image for the kernel in this case (PackageManagement page has details about listing contents of a package).
My bootloader can be unusual, becasue there are 3 efi partitions.
The system reported "Fail to load kernel modules" and the display manager didn' t start.
The installation (apt-get install linux-image-4.18...) didn 't tell me anything.
What do I need to do?.
Also in the old kernel the display manager did' t start.
I installed lightdm (via cli) and used it that for a while.
I' m on debian 9 amd64.
Last edited by Scorpion on 2018-11-23 12:51, edited 1 time in total.

milomak
Posts: 2160
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: Problem when updating the kernel

#2 Post by milomak »

you have told us a number of things but have not showed them

we have no insight into what your system looks like. so unless you show us all this actual information, you will get nowhere
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel

#3 Post by Scorpion »

milomak wrote:you have told us a number of things but have not showed them

we have no insight into what your system looks like. so unless you show us all this actual information, you will get nowhere
What information do you need?

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

Re: Problem when updating the kernel

#4 Post by stevepusser »

Install inxi and report the output of

Code: Select all

inxi -Fxz
in a terminal here.

Put the output in code tags. That should give a nice idea of your hardware and drivers. My first guess is that you are using the proprietary Nvidia drivers and did not know that you have to use the version of those from backports for recent kernels.
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel

#5 Post by Scorpion »

Is true I am using the nvidia drivers. How can I install them via backports? (backports are already enabled).
I also using cuda.
i tried this https://wiki.debian.org/NvidiaGraphicsD ... ckports.29 but:

Code: Select all

apt-get install -t stretch-backports nvidia-driver 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nvidia-driver is already the newest version (384.130-1).
So I' m using that nvidia driver (and a nvidia card).
Is there something else that should I know about the new kernels?

Code: Select all

inxi -Fxz
System:
  Host: debian-desktop Kernel: 4.9.0-8-amd64 x86_64 bits: 64 compiler: gcc 
  v: 6.3.0 Desktop: Gnome 3.22.3 Distro: Debian GNU/Linux 9 (stretch) 
Graphics:
  Device-1: NVIDIA GF108 [GeForce GT 530] vendor: Pegatron driver: nvidia 
  v: 384.130 bus ID: 01:00.0 
  Device-2: NVIDIA GP106 [GeForce GTX 1060 3GB] driver: nvidia v: 384.130 
  bus ID: 03:00.0 
  Display: x11 server: X.Org 1.19.2 driver: modesetting,nouveau,nvidia 
  unloaded: fbdev,vesa resolution: 1360x768~60Hz 
  OpenGL: renderer: GeForce GT 530/PCIe/SSE2 v: 4.5.0 NVIDIA 384.130 
  direct render: Yes

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Problem when updating the kernel

#6 Post by llivv »

Scorpion wrote: My bootloader can be unusual, becasue there are 3 efi partitions.
The system reported "Fail to load kernel modules" and the display manager didn' t start.

What do I need to do?.
What's unusual about that?
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Problem when updating the kernel

#7 Post by Segfault »

I have also 3 EFI partitions. In three computers. Each has one. Why on earth should I have more than one per computer!? :shock:

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel

#8 Post by Scorpion »

llivv wrote:<!> Make sure you read everything it tells you during the installation, especially about initrd image. If you use an unusual boot loader, you might need to reconfigure after installing the kernel image - don't forget to tell it to use appropriate initrd image for the kernel in this case (PackageManagement page has details about listing contents of a package).
Becasue the guide states:
<!> Make sure you read everything it tells you during the installation, especially about initrd image. If you use an unusual boot loader, you might need to reconfigure after installing the kernel image - don't forget to tell it to use appropriate initrd image for the kernel in this case (PackageManagement page has details about listing contents of a package).

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel

#9 Post by Scorpion »

Segfault wrote:I have also 3 EFI partitions. In three computers. Each has one. Why on earth should I have more than one per computer!? :shock:
I wish to have one partition too.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Problem when updating the kernel

#10 Post by Segfault »

Confusing. Did someone come and create two odd EFI partitions in your computer? Call him/her back to clean up the mess.

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

Re: Problem when updating the kernel

#11 Post by stevepusser »

The current version of the Nvidia driver in stretch-backports is 390.87, and you need that version, because the older Nvida driver versions will fail to build on the backports kernel. It showed that error on the terminal output when you installed the newer kernel, but you must have missed it.

It doesn't seem that you have the backports repository enabled...what does "inxi -r" show for your repositories?
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel

#12 Post by Scorpion »

Code: Select all

inxi -r
Repos:
  Active apt repos in: /etc/apt/sources.list 
  1: deb http://deb.debian.org/debian stretch main contrib non-free
  2: deb-src http://deb.debian.org/debian stretch main contrib non-free
  3: deb http://deb.debian.org/debian stretch-updates main contrib non-free
  4: deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
  5: deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
  6: deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free
  7: deb http://ftp.debian.org/debian stretch-backports main
I installed the (384) nvidia drivers via backports

User avatar
sunrat
Administrator
Administrator
Posts: 6414
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Problem when updating the kernel

#13 Post by sunrat »

Scorpion wrote:

Code: Select all

...
  7: deb http://ftp.debian.org/debian stretch-backports main
I installed the (384) nvidia drivers via backports
Not with those sources. You need contrib non-free added to your backports line. I guess it defaulted to installing nvidia-driver from main which currently has 384.130-1.
“ 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
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel

#14 Post by Scorpion »

sunrat wrote:
Scorpion wrote:

Code: Select all

...
  7: deb http://ftp.debian.org/debian stretch-backports main
I installed the (384) nvidia drivers via backports
Not with those sources. You need contrib non-free added to your backports line. I guess it defaulted to installing nvidia-driver from main which currently has 384.130-1.
Right so I also need the non-free.
Meanwhile I had some big problems with the nvidia-driver. Aptitude saved me.
390 successfully installed, after I installed the 4.18... kernel and it is fine.

User avatar
sunrat
Administrator
Administrator
Posts: 6414
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Problem when updating the kernel

#15 Post by sunrat »

Scorpion wrote:390 successfully installed, after I installed the 4.18... kernel and it is fine.
Yay! :D 8) Please edit the title in your first post and add [SOLVED] so it may help others.
“ 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
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#16 Post by Scorpion »

In the end:
0- Configure the sources.list with the non free and the backports.
1- Install the intel-microcode or the amd-microcode https://wiki.debian.org/Microcode. I got an error about that (with the new kernel).
2- Install the new kernel https://wiki.debian.org/HowToUpgradeKernel (and maybe reboot into that)
3- Install the headers https://wiki.debian.org/NvidiaGraphicsDrivers (both if you will keep also the default kernel, why not?)
4- Install the nvidia-driver (same wiki as before). Reboot.
5- Install cuda https://wiki.debian.org/CUDA
Last edited by Scorpion on 2018-12-31 09:00, edited 1 time in total.

User avatar
piper
Posts: 102
Joined: 2005-07-03 08:29

Re: Problem when updating the kernel [SOLVED]

#17 Post by piper »

I know nothing about backports, I'm a sid (buildd repos) user, but, cuda *may have problems at this time, or very soon, since I know jack crap about backports and theirs not a problem disregard this ;)

The transitions of nvidia-cuda-toolkit (auto) and llvm-toolchain-3.9-rm (auto) may/may not give problems

transitions

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#18 Post by Scorpion »

Backports are not unstable so I think that it will be fine. We will see :D
But I do have a problem when I boot take some time and the writings doesn' t appear on the screen.
I have the impression that gd3 starts when I open the tty 2(CTRL+ALT+F2).

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#19 Post by Scorpion »

After 5:15 minutes of waiting after I chose normal boot option (debian 4.18 kernel from backports) I pressed quickly enter 3 times. I got some writing. One maybe can help fix this problem apt daily download 4:55 and still not finished (only problematic/incomplete).
After some seconds gdm3 started.
Some times I left the pc there so I don' t need to press a key.
Why are not there the writings? Why so long?
Another pc with same kernel/system but without nvidia driver is fine.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Problem when updating the kernel [SOLVED]

#20 Post by Head_on_a_Stick »

Scorpion wrote:Why so long?
Not enough entropy, perhaps?

Try

Code: Select all

# apt install haveged
# systemctl enable haveged
deadbang

Post Reply