Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  kernel 4.20.0 fails to load kernel modules  (Read 14496 times)

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: kernel 4.20.0 fails to load kernel modules
« Reply #45 on: 2019/01/15, 09:27:03 »
That's why i was saying, make yoursel comfortable and use graphics hardware, which is using free drivers, that come inline with kernel.
If you want Nvidia for some reason, live with the planed obsolence on their products.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline Geier0815

  • User
  • Posts: 586
Re: kernel 4.20.0 fails to load kernel modules
« Reply #46 on: 2019/01/15, 10:19:50 »
Quote from: geklmintendont
so... is there a fix or not? Do I have to uninstall Virtualbox? I can go without it for a while, I guess, but I'd like to have it soon.
Maybe you missed (as I am) that the bionic-version of oracle virtualbox 6 works with an up-to-date system?
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

Offline vilde

  • User
  • Posts: 708
Re: kernel 4.20.0 fails to load kernel modules
« Reply #47 on: 2019/01/15, 10:34:26 »
That's why i was saying, make yoursel comfortable and use graphics hardware, which is using free drivers, that come inline with kernel.
If you want Nvidia for some reason, live with the planed obsolence on their products.
That's true towo, I agree, but that's valid only if you are in the position to choose hardware, I can't afford to buy a new laptop because it happens to be a nvidia graphics hardware inside the one I have.  As for the moment my nvidia card in my  multimeda-computer is working, when it doesn't anymore I have to find a way to solve that. Change computer, change os or whatever?

About VB, I did have to install the bionic-version because I need VB
« Last Edit: 2019/01/15, 10:38:20 by vilde »

Offline df8oe

  • User
  • Posts: 112
  • Linux von Innen
    • DF8OE
Re: kernel 4.20.0 fails to load kernel modules
« Reply #48 on: 2019/01/15, 10:36:52 »
I have learnt that I have to look at these aspects BEFORE I buy any hardware. I never would leave Linux because of plannend obsolescanse of commercial drivers. I always would change the impacted hardware  8)

Offline clubex

  • User
  • Posts: 265
Re: kernel 4.20.0 fails to load kernel modules
« Reply #49 on: 2019/01/15, 12:18:50 »
Code: [Select]
inxi -GGraphics:  Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nouveau v: kernel
           Display: server: X.org 1.20.3 driver: nouveau tty: 122x30
           Message: Advanced graphics data unavailable in console for root.

Nvidia says driver 410.93 is suitable for my card and yet since kernel 4.20.0 and /systemd/udev update it no longer installs. Towo says 415.25 should install and yet it doesn't. Any attempt at installing any nvidia driver produces exactly what I posted when I opened this thread. There are many bug reports concerning systemd and udev 240.x so I'm not the only one. Something is wrong here and it all stems from moving to the 4.20.xx kernel and maybe systemd/udev update.

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: kernel 4.20.0 fails to load kernel modules
« Reply #50 on: 2019/01/15, 12:38:47 »
"it doesn't" is saying zero!
So no one can or will help you.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: kernel 4.20.0 fails to load kernel modules
« Reply #51 on: 2019/01/15, 13:17:50 »
Quote from: clubex
Nvidia says driver 410.93 is suitable for my card and yet since kernel 4.20.0 and /systemd/udev update it no longer installs. Towo says 415.25 should install and yet it doesn't. Any attempt at installing any nvidia driver produces exactly what I posted when I opened this thread. There are many bug reports concerning systemd and udev 240.x so I'm not the only one. Something is wrong here and it all stems from moving to the 4.20.xx kernel and maybe systemd/udev update.

Please try this (make sure you are fully upgraded by dist-upgrade)

Code: [Select]
apt purge nvidia.    (don't forget the period!!)

echo deb http://deb.debian.org/debian/ experimental main contrib non-free | tee -a /etc/apt/sources.list.d/debian.list

echo deb http://packages.siduction.org/extra  experimental main contrib non-free | tee -a /etc/apt/sources.list.d/debian.list

apt update; apt install nvidia-driver nvidia-driver-libs nvidia-settings nvidia-kernel-dkms vulkan-utils -t experimental --install-recommends --assume-yes

If this fails, post the WHOLE output.
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline clubex

  • User
  • Posts: 265
Re: kernel 4.20.0 fails to load kernel modules
« Reply #52 on: 2019/01/15, 23:18:39 »
Thanks piper: I just tried your suggestion but unfortunately it failed with the same outcome as my first post in this thread (I'm OP). I had already tried doing the install in this way (except for the recommends part) many times before, especially after each kernel and/or systemd/udev upgrade. At each the nvidia modules failed to load.
When you say "output" which output would you like? My apologies I'm afraid it will have to wait until tomorrow before I can reply.


Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: kernel 4.20.0 fails to load kernel modules
« Reply #53 on: 2019/01/16, 00:27:31 »
The output of the nvidia install in command line

I just built a fresh iso for myself with nvidia drivers included with no problems also.
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline clubex

  • User
  • Posts: 265
Re: kernel 4.20.0 fails to load kernel modules
« Reply #54 on: 2019/01/16, 12:10:18 »
piper: thanks for your help

Yesterday your script ran to a conculsion although on reboot the nvidia modules failed to load.

This morning things are completely different.

I piped the the output of your installation script to a text file. The CLI stopped with this output
Code: [Select]
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

E: Package 'nvidia-driver' has no installation candidate
the output of the text file read
Code: [Select]
Reading package lists...
Building dependency tree...
Reading state information...
Package nvidia-driver is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  nvidia-driver-bin nvidia-persistenced
So istead of using nvidia-driver I tried the installation using nvidia-driver-bin and nvidia-persistenced with following output
Code: [Select]
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver-bin : Depends: nvidia-alternative (= 390.87-6) but it is not going to be installed
                     Depends: libnvidia-ml1 (>= 319) but it is not going to be installed
                     Recommends: nvidia-driver but it is not installable
 nvidia-persistenced : Depends: libnvidia-cfg1 but it is not going to be installed or
                                libnvidia-cfg1-any
Any insights you might have wil be gratefully received.

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: kernel 4.20.0 fails to load kernel modules
« Reply #55 on: 2019/01/16, 14:46:56 »
Can I see the FULL output of

Code: [Select]
apt policy
and

Code: [Select]
dpkg --list nvidia*
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline clubex

  • User
  • Posts: 265
Re: kernel 4.20.0 fails to load kernel modules
« Reply #56 on: 2019/01/16, 15:41:43 »
Code: [Select]
apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://download.virtualbox.org/virtualbox/debian stretch/contrib amd64 Packages
     release o=Oracle Corporation,n=stretch,l=Oracle Corporation,c=contrib,b=amd64
     origin download.virtualbox.org
 500 http://packages.siduction.org/fixes unstable/contrib amd64 Packages
     release o=Siduction,a=unstable,n=unstable,c=contrib,b=amd64
     origin packages.siduction.org
 500 http://packages.siduction.org/fixes unstable/main amd64 Packages
     release o=Siduction,a=unstable,n=unstable,c=main,b=amd64
     origin packages.siduction.org
 500 http://packages.siduction.org/extra unstable/main amd64 Packages
     release o=Siduction,n=unstable,c=main,b=amd64
     origin packages.siduction.org
 500 http://ftp.uni-stuttgart.de/siduction/fixes unstable/contrib amd64 Packages
     release o=Siduction,a=unstable,n=unstable,c=contrib,b=amd64
     origin ftp.uni-stuttgart.de
 500 http://ftp.uni-stuttgart.de/siduction/fixes unstable/main amd64 Packages
     release o=Siduction,a=unstable,n=unstable,c=main,b=amd64
     origin ftp.uni-stuttgart.de
   1 http://ftp.uni-stuttgart.de/siduction/extra experimental/non-free amd64 Packages
     release o=Siduction,n=experimental,c=non-free,b=amd64
     origin ftp.uni-stuttgart.de
 500 http://ftp.uni-stuttgart.de/siduction/extra unstable/main amd64 Packages
     release o=Siduction,n=unstable,c=main,b=amd64
     origin ftp.uni-stuttgart.de
 500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
     release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=amd64
     origin deb.opera.com
 500 https://download.videolan.org/pub/debian/stable  Packages
     release o=videolan,a=stable,n=stable,l=videolan,c=
     origin download.videolan.org
   1 http://packages.siduction.org/extra experimental/non-free amd64 Packages
     release o=Siduction,n=experimental,c=non-free,b=amd64
     origin packages.siduction.org
   1 http://packages.siduction.org/extra experimental/contrib amd64 Packages
     release o=Siduction,n=experimental,c=contrib,b=amd64
     origin packages.siduction.org
   1 http://packages.siduction.org/extra experimental/main amd64 Packages
     release o=Siduction,n=experimental,c=main,b=amd64
     origin packages.siduction.org
   1 http://deb.debian.org/debian experimental/non-free amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
   1 http://deb.debian.org/debian experimental/contrib amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
   1 http://deb.debian.org/debian experimental/main amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=main,b=amd64
     origin deb.debian.org
   1 http://httpredir.debian.org/debian experimental/main amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=main,b=amd64
     origin httpredir.debian.org
   1 http://httpredir.debian.org/debian experimental/contrib amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=contrib,b=amd64
     origin httpredir.debian.org
   1 http://httpredir.debian.org/debian experimental/non-free amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=non-free,b=amd64
     origin httpredir.debian.org
 500 http://httpredir.debian.org/debian unstable/non-free amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=non-free,b=amd64
     origin httpredir.debian.org
 500 http://httpredir.debian.org/debian unstable/contrib amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=contrib,b=amd64
     origin httpredir.debian.org
 500 http://httpredir.debian.org/debian unstable/main amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=amd64
     origin httpredir.debian.org
Pinned packages:
     nvidia-driver -> 415.25-0.siduction.2 with priority -30000
     nvidia-driver -> 410.93-1 with priority -30000
     nvidia-driver -> 390.87-6 with priority -30000
     glx-diversions -> 0.9.0 with priority -30000
     xserver-xorg-video-nvidia -> 415.25-0.siduction.2 with priority -30000
     xserver-xorg-video-nvidia -> 410.93-1 with priority -30000
     xserver-xorg-video-nvidia -> 390.87-6 with priority -30000
The latter part looks strange as i don't remember pinning any packages let alone anything to do with nvidia.
I'll be back soon with the output of dpkg --list nvidia* as I can only use one and the same machine for the tests. Thanks again piper.

Offline clubex

  • User
  • Posts: 265
Re: kernel 4.20.0 fails to load kernel modules
« Reply #57 on: 2019/01/16, 15:52:07 »
My apologies for the delay I was going to apply dpkg --list nvidia* after installing nividia-driver but I forgot that since this morning i can't.
dpkg --list nvidia* gives
Code: [Select]
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
un  nvidia-alternative <none>       <none>       (no description available)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: kernel 4.20.0 fails to load kernel modules
« Reply #58 on: 2019/01/16, 19:38:01 »
This, is a fucking mess and haven't been upgraded in 6 years (2013) not sure why your using it.

Code: [Select]
https://download.videolan.org/debian/stable/
Why not just do

Code: [Select]
apt install vlc
This and the pinned packages are probably screwing you to some extent

My opinion, start from scratch with a clean source list

If you used

Code: [Select]
apt purge nvidia.
You need the period !!

nvidia-alternative should not be showing period, I tested this, this is what gets removed and it does not show for me using dpkg --list nvidia*

http://paste.debian.net/hidden/84bd300b/
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline clubex

  • User
  • Posts: 265
Re: kernel 4.20.0 fails to load kernel modules
« Reply #59 on: 2019/01/16, 23:04:42 »
Well i cleaned up my sources.list, removed the pinning and fixed the presence of nvidia-alternative in the policy list. Reinstalled nvidia-driver and rebooted. But again the modules failed to load.
As I said I don't really need the nvidia drivers and my machine works OK. I've spent far too much of my time on this problem so I'm calling it a day. Thanks for your help piper. All I can say is the nvidia drivers worked and since the new kernel or the systemd upgrade they don't.