Problem when updating the kernel [SOLVED]

Kernels & Hardware, configuring network, installing services

Problem when updating the kernel [SOLVED]

Postby Scorpion » 2018-11-20 20:17

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.
Scorpion
 
Posts: 59
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel

Postby milomak » 2018-11-20 20:30

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: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Debian Sid, Win10,
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Debian Sid
milomak
 
Posts: 1860
Joined: 2009-06-09 22:20

Re: Problem when updating the kernel

Postby Scorpion » 2018-11-20 21:54

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?
Scorpion
 
Posts: 59
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel

Postby stevepusser » 2018-11-20 22:00

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10281
Joined: 2009-10-06 05:53

Re: Problem when updating the kernel

Postby Scorpion » 2018-11-21 09:45

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
Scorpion
 
Posts: 59
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel

Postby llivv » 2018-11-21 14:24

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.
User avatar
llivv
 
Posts: 5715
Joined: 2007-02-14 18:10
Location: cold storage

Re: Problem when updating the kernel

Postby Segfault » 2018-11-21 14:30

I have also 3 EFI partitions. In three computers. Each has one. Why on earth should I have more than one per computer!? :shock:
Segfault
 
Posts: 816
Joined: 2005-09-24 12:24

Re: Problem when updating the kernel

Postby Scorpion » 2018-11-21 15:17

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).
Scorpion
 
Posts: 59
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel

Postby Scorpion » 2018-11-21 15:19

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.
Scorpion
 
Posts: 59
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel

Postby Segfault » 2018-11-21 16:13

Confusing. Did someone come and create two odd EFI partitions in your computer? Call him/her back to clean up the mess.
Segfault
 
Posts: 816
Joined: 2005-09-24 12:24

Re: Problem when updating the kernel

Postby stevepusser » 2018-11-21 18:17

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?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10281
Joined: 2009-10-06 05:53

Re: Problem when updating the kernel

Postby Scorpion » 2018-11-21 20:07

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
Scorpion
 
Posts: 59
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel

Postby sunrat » 2018-11-21 21:58

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
sunrat
 
Posts: 2495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Problem when updating the kernel

Postby Scorpion » 2018-11-22 12:13

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.
Scorpion
 
Posts: 59
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel

Postby sunrat » 2018-11-22 21:48

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
sunrat
 
Posts: 2495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable