kernel 4.20.0 fails to load kernel modules

Begonnen von clubex, 2018/12/24, 12:53:19

Vorheriges Thema - Nächstes Thema

clubex

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.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


piper

You forgot an important part (video), and the output of the failed modules

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 have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

df8oe

I cannot confirm here. 4.20 starts and loads all neccessary modules flawlessly...


Greetings
df8oe

pjnsmb


kernel 4.20 is not working for me



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

axt

Zitat von: pjnsmbkernel 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!

Zitat von: df8oe4.20 starts and loads all neccessary modules flawlessly...
Same here (GF710, nouveau).

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 at the start of the file

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
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


axt

For supported Nvidia GPUs you could install nvidia 415.25, if you have to...

dibl

Zitat von: terroreekI 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.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

clubex


~# 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


~# 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.



terroreek

Zitat von: dibl in 2018/12/24, 19:50:15
Zitat von: terroreekI 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. 

towo

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.

df8oe

Is it possible that nvidia kicked off support for many graphic cards like Quadro 4000 in new 415.25-0 driver?

axt

Quadro 4000 is GF100 (Fermi) based as well as GeForce 400 series. The last driver version is 396.18.

Purge nvidia and use nouveau!

axt

#13
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.

dibl

Zitat von: towotowo:Defiant> LANG=C apt policy nvidia-driver
nvidia-driver:
  Installed: (none)
  Candidate: 415.25-0.siduction.2
.
.
.

Vielen Dank, towo!
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.