seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2019/11/17, 13:33:05


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: kernel 4.20.0 fails to load kernel modules  (Read 5964 times)

0 Members and 1 Guest are viewing this topic.

Offline clubex

  • User
  • Posts: 265
kernel 4.20.0 fails to load kernel modules
« on: 2018/12/24, 12:53:19 »
I've not done any investigating for the moment (It's Xmas eve and no time) but reverting to the previous kernel was a temp solution for me.
Code: [Select]
inxi -a
CPU: Quad Core AMD Phenom II X4 945 (-MCP-) speed/min/max: 800/800/3000 MHz
Kernel: 4.19.12-towo.1-siduction-amd64 x86_64 Up: 15m Mem: 1488.6/7980.7 MiB (18.7%)
Storage: 465.76 GiB (47.7% used) Procs: 186 Shell: bash 4.4.23 inxi: 3.0.29

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.719
  • we are the priests ... of the temples of syrinx
Re: kernel 4.20.0 fails to load kernel modules
« Reply #1 on: 2018/12/24, 13:04:02 »
You forgot an important part (video), and the output of the failed modules

Code: [Select]
06:54:35 AM-Mon Dec 24-[piper@x1] $ inxi -c0SGx
System:    Host: x1 Kernel: 4.20.0-towo.1-siduction-amd64 x86_64 bits: 64 compiler: gcc v: 8.2.0 Desktop: KDE Plasma 5.14.3
           Distro: siduction 18.3.0 Paint It Black - kde - (201812140049) base: Debian GNU/Linux buster/sid
Graphics:  Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: eVga.com. driver: nvidia v: 415.25 bus ID: 01:00.0
           Display: x11 server: X.Org 1.20.3 driver: nvidia unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
           OpenGL: renderer: GeForce GTX 970/PCIe/SSE2 v: 4.6.0 NVIDIA 415.25 direct render: Yes
06:59:06 AM-Mon Dec 24-[piper@x1] $

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

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

Offline df8oe

  • User
  • Posts: 103
  • Linux von Innen
    • DF8OE
Re: kernel 4.20.0 fails to load kernel modules
« Reply #2 on: 2018/12/24, 13:18:37 »
I cannot confirm here. 4.20 starts and loads all neccessary modules flawlessly...


Greetings
df8oe

Offline pjnsmb

  • User
  • Posts: 61
Re: kernel 4.20.0 fails to load kernel modules
« Reply #3 on: 2018/12/24, 16:19:48 »

kernel 4.20 is not working for me


Code: [Select]
peter@peter-mate:~$ inxi -c0SGx
System:
  Host: peter-mate Kernel: 4.19.12-towo.1-siduction-amd64 x86_64 bits: 64
  compiler: gcc v: 8.2.0 Desktop: MATE 1.20.3
  Distro: siduction 18.3.0 Patience - mate - (201811041851)
  base: Debian GNU/Linux buster/sid
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
  vendor: Gigabyte driver: i915 v: kernel bus ID: 00:02.0
  Device-2: NVIDIA GM107 [GeForce GTX 750] vendor: ZOTAC driver: nvidia v: 390.87
  bus ID: 01:00.0
  Display: x11 server: X.Org 1.20.3 driver: modesetting,nvidia unloaded: nouveau,vesa
  resolution: 1440x900~60Hz
  OpenGL: renderer: GeForce GTX 750/PCIe/SSE2 v: 4.6.0 NVIDIA 390.87
  direct render: Yes


Selecting previously unselected package linux-headers-4.20.0-towo.1-siduction-amd64.
(Reading database ... 248349 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.20.0-towo.1-siduction-amd64_4.20-1_amd64.deb ...
Unpacking linux-headers-4.20.0-towo.1-siduction-amd64 (4.20-1) ...
Selecting previously unselected package linux-image-4.20.0-towo.1-siduction-amd64.
Preparing to unpack .../linux-image-4.20.0-towo.1-siduction-amd64_4.20-1_amd64.deb ...
Unpacking linux-image-4.20.0-towo.1-siduction-amd64 (4.20-1) ...
Preparing to unpack .../linux-headers-siduction-amd64_4.20-1_amd64.deb ...
Unpacking linux-headers-siduction-amd64 (4.20-1) over (4.19-33) ...
Preparing to unpack .../linux-image-siduction-amd64_4.20-1_amd64.deb ...
Unpacking linux-image-siduction-amd64 (4.20-1) over (4.19-33) ...
Setting up linux-headers-4.20.0-towo.1-siduction-amd64 (4.20-1) ...
/etc/kernel/header_postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.20.0-towo.1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/390.87/build/make.log for more information.
Setting up linux-image-4.20.0-towo.1-siduction-amd64 (4.20-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.19.12-towo.1-siduction-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-4.19.12-towo.1-siduction-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-4.20.0-towo.1-siduction-amd64
I: /initrd.img is now a symlink to boot/initrd.img-4.20.0-towo.1-siduction-amd64
/etc/kernel/postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.20.0-towo.1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/390.87/build/make.log for more information.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.20.0-towo.1-siduction-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/patience/theme.txt
Found linux image: /boot/vmlinuz-4.20.0-towo.1-siduction-amd64
Found initrd image: /boot/initrd.img-4.20.0-towo.1-siduction-amd64
Found linux image: /boot/vmlinuz-4.19.12-towo.1-siduction-amd64
Found initrd image: /boot/initrd.img-4.19.12-towo.1-siduction-amd64
Found linux image: /boot/vmlinuz-4.19.11-towo.2-siduction-amd64
Found initrd image: /boot/initrd.img-4.19.11-towo.2-siduction-amd64






hope the information helps
regards
pjnsmb

Offline axt

  • User
  • Posts: 327
    • axebase.net
Re: kernel 4.20.0 fails to load kernel modules
« Reply #4 on: 2018/12/24, 17:45:34 »
Quote from: pjnsmb
kernel 4.20 is not working for me

What does that mean in concrete terms? Because of nvidia, or rather this version of nvidia?

You have a GF GTX750, take nouveau!

Quote from: df8oe
4.20 starts and loads all neccessary modules flawlessly...
Same here (GF710, nouveau).

Offline terroreek

  • User
  • Posts: 169
Re: kernel 4.20.0 fails to load kernel modules
« Reply #5 on: 2018/12/24, 18:50:48 »
I have the same issue, looks like when I take a look at the /var/lib/dkms/nvidia-current/390.87/build/make.log I see the following error at the start of the file

Code: [Select]
DKMS make.log for nvidia-current-390.87 for kernel 4.20.0-towo.1-siduction-amd64 (x86_64)
Mon Dec 24 12:42:28 EST 2018
make  V=1 -C /lib/modules/4.20.0-towo.1-siduction-amd64/build M=/var/lib/dkms/nvidia-curr$
make[1]: Entering directory '/usr/src/linux-headers-4.20.0-towo.1-siduction-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing."$
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
and at the bottom of the make.log
Code: [Select]
make[1]: *** [Makefile:1578: _module_/var/lib/dkms/nvidia-current/390.87/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.20.0-towo.1-siduction-amd64'
make: *** [Makefile:79: modules] Error 2

Offline axt

  • User
  • Posts: 327
    • axebase.net
Re: kernel 4.20.0 fails to load kernel modules
« Reply #6 on: 2018/12/24, 19:17:23 »
For supported Nvidia GPUs you could install nvidia 415.25, if you have to...

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.925
    • Land of the Buckeye
Re: kernel 4.20.0 fails to load kernel modules
« Reply #7 on: 2018/12/24, 19:50:15 »
Quote from: terroreek
I have the same issue, looks like when I take a look at the /var/lib/dkms/nvidia-current/390.87/build/make.log I see the following error ...

Yes, it is the same with driver ver. 396.54.  It appears we have to go with ver 415.23 or .25, to use kernel 4.20.
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline clubex

  • User
  • Posts: 265
Re: kernel 4.20.0 fails to load kernel modules
« Reply #8 on: 2018/12/24, 23:35:47 »
Code: [Select]
~# systemctl --failed

  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION                       
● clamav-daemon.service        loaded failed failed Clam AntiVirus userspace daemon   
● systemd-modules-load.service loaded failed failed Load Kernel Modules               
● virtualbox.service           loaded failed failed LSB: VirtualBox Linux kernel module

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

3 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
so systemd-modules-load was loaded but failed

Code: [Select]
~# systemctl status systemd-modules-load

● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-12-24 20:28:29 GMT; 2min 46s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 702 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 702 (code=exited, status=1/FAILURE)

Dec 24 20:28:29 westfield systemd-modules-load[702]: modprobe: ERROR: could not insert 'nvidia': Operation not permitted
Dec 24 20:28:29 westfield systemd-modules-load[702]: modprobe: FATAL: Module nvidia-current-modeset not found in directory /lib/modules/4.20.0-towo.1-siduction-amd64
Dec 24 20:28:29 westfield systemd-modules-load[702]: modprobe: ERROR: ../libkmod/libkmod-module.c:979 command_do() Error running install command for nvidia_modeset
Dec 24 20:28:29 westfield systemd-modules-load[702]: modprobe: ERROR: could not insert 'nvidia_modeset': Operation not permitted
Dec 24 20:28:29 westfield systemd-modules-load[702]: modprobe: FATAL: Module nvidia-current-drm not found in directory /lib/modules/4.20.0-towo.1-siduction-amd64
Dec 24 20:28:29 westfield systemd-modules-load[702]: Error running install command for nvidia_drm
Dec 24 20:28:29 westfield systemd-modules-load[702]: Failed to insert 'nvidia_drm': Operation not permitted
Dec 24 20:28:29 westfield systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Dec 24 20:28:29 westfield systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Dec 24 20:28:29 westfield systemd[1]: Failed to start Load Kernel Modules.

And the modules are indeed missing. So I'm presuming that nvidia hasn't yet caught up with kernal 4.20.0
It's a long time since I needed the advantages of the nvidia kernel so, for me, it's been easily solved by going "back" to nouveau.

ps please excuse any typos as I'm a little drunk. Happy Xmas all.



Offline terroreek

  • User
  • Posts: 169
Re: kernel 4.20.0 fails to load kernel modules
« Reply #9 on: 2018/12/26, 05:35:58 »
Quote from: terroreek
I have the same issue, looks like when I take a look at the /var/lib/dkms/nvidia-current/390.87/build/make.log I see the following error ...

Yes, it is the same with driver ver. 396.54.  It appears we have to go with ver 415.23 or .25, to use kernel 4.20.
I was hoping for new drivers for better DXVK and steamplay options but ... I dont think either of those are in experimental yet. 

Online towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.308
Re: kernel 4.20.0 fails to load kernel modules
« Reply #10 on: 2018/12/26, 09:34:02 »
Code: [Select]
towo:Defiant> LANG=C apt policy nvidia-driver
nvidia-driver:
  Installed: (none)
  Candidate: 415.25-0.siduction.2
  Version table:
     415.25-0.siduction.2 600
        600 http://packages.siduction.org/extra experimental/non-free amd64 Packages
     410.78-2 300
        300 http://deb.debian.org/debian experimental/non-free amd64 Packages
     390.87-5 500
        500 http://deb.debian.org/debian unstable/non-free amd64 Packages
        500 http://incoming.debian.org/debian-buildd buildd-unstable/non-free amd64 Packages
     390.87-4 500
        500 http://deb.debian.org/debian testing/non-free amd64 Packages
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline df8oe

  • User
  • Posts: 103
  • Linux von Innen
    • DF8OE
Re: kernel 4.20.0 fails to load kernel modules
« Reply #11 on: 2018/12/26, 18:00:52 »
Is it possible that nvidia kicked off support for many graphic cards like Quadro 4000 in new 415.25-0 driver?

Offline axt

  • User
  • Posts: 327
    • axebase.net
Re: kernel 4.20.0 fails to load kernel modules
« Reply #12 on: 2018/12/26, 18:34:44 »
Quadro 4000 is GF100 (Fermi) based as well as GeForce 400 series. The last driver version is 396.18.

Purge nvidia and use nouveau!

Offline axt

  • User
  • Posts: 327
    • axebase.net
Re: kernel 4.20.0 fails to load kernel modules
« Reply #13 on: 2018/12/26, 18:54:23 »
df8oe, da Du ja Deutscher bist...kann natürlich sein, daß irgendwann irgendwer den 396er oder 340er patcht...bis zum nächsten Kernel oder xorg. Ich jedenfalls bin das ewige Hinterhergepatche bei/für nvidia leid, fahre nur noch nouveau (GF710). Aktueller Kernel ist mir weit wichtiger (ich spiele nicht).

Eine höhere GPU-Temperatur und höheren Verbrauch solltest Du freilich im Auge behalten, zumindest bei einem Notebook.
« Last Edit: 2018/12/26, 19:00:27 by axt »

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.925
    • Land of the Buckeye
Re: kernel 4.20.0 fails to load kernel modules
« Reply #14 on: 2018/12/26, 20:09:09 »
Quote from: towo
towo:Defiant> LANG=C apt policy nvidia-driver
nvidia-driver:
  Installed: (none)
  Candidate: 415.25-0.siduction.2
.
.
.

Vielen Dank, towo!
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS