Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

kernel module load error

Started by jo, January 29, 2020, 04:14:17 PM

Previous topic - Next topic

jo

I got Kernel modlue load failure after upgrading sparkylinux-gameoveredition.....
i tried to fix kernels, but didnt change anything...
does anyone have a clue on this???
Thanks for your help



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 Wed 2020-01-29 12:37:00 CET; 27s ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 558 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
   Main PID: 558 (code=exited, status=1/FAILURE)

Jan 29 12:37:00 zorck-pc systemd-modules-load[565]: modprobe: ERROR: could not insert 'nvidia': Invalid argument
Jan 29 12:37:00 zorck-pc systemd-modules-load[568]: modprobe: FATAL: Module nvidia-current-modeset not found in directory /lib/modules/5.5.0-sparky-amd64
Jan 29 12:37:00 zorck-pc systemd-modules-load[563]: modprobe: ERROR: ../libkmod/libkmod-module.c:990 command_do() Error running install command 'modprobe nvidia ; modp>
Jan 29 12:37:00 zorck-pc systemd-modules-load[563]: modprobe: ERROR: could not insert 'nvidia_modeset': Invalid argument
Jan 29 12:37:00 zorck-pc systemd-modules-load[569]: modprobe: FATAL: Module nvidia-current-drm not found in directory /lib/modules/5.5.0-sparky-amd64
Jan 29 12:37:00 zorck-pc systemd-modules-load[558]: Error running install command 'modprobe nvidia-modeset ; modprobe -i nvidia-current-drm ' for module nvidia_drm: re>
Jan 29 12:37:00 zorck-pc systemd-modules-load[558]: Failed to insert module 'nvidia_drm': Invalid argument
Jan 29 12:37:00 zorck-pc systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jan 29 12:37:00 zorck-pc systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jan 29 12:37:00 zorck-pc systemd[1]: Failed to start Load Kernel Modules.

jo

Quote from: jo on January 29, 2020, 04:14:17 PM
I got Kernel modlue load failure after upgrading sparkylinux-gameoveredition.....
i tried to fix kernels, but didnt change anything...
does anyone have a clue on this???
Thanks for your help



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 Wed 2020-01-29 12:37:00 CET; 27s ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 558 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
   Main PID: 558 (code=exited, status=1/FAILURE)

Jan 29 12:37:00 zorck-pc systemd-modules-load[565]: modprobe: ERROR: could not insert 'nvidia': Invalid argument
Jan 29 12:37:00 zorck-pc systemd-modules-load[568]: modprobe: FATAL: Module nvidia-current-modeset not found in directory /lib/modules/5.5.0-sparky-amd64
Jan 29 12:37:00 zorck-pc systemd-modules-load[563]: modprobe: ERROR: ../libkmod/libkmod-module.c:990 command_do() Error running install command 'modprobe nvidia ; modp>
Jan 29 12:37:00 zorck-pc systemd-modules-load[563]: modprobe: ERROR: could not insert 'nvidia_modeset': Invalid argument
Jan 29 12:37:00 zorck-pc systemd-modules-load[569]: modprobe: FATAL: Module nvidia-current-drm not found in directory /lib/modules/5.5.0-sparky-amd64
Jan 29 12:37:00 zorck-pc systemd-modules-load[558]: Error running install command 'modprobe nvidia-modeset ; modprobe -i nvidia-current-drm ' for module nvidia_drm: re>
Jan 29 12:37:00 zorck-pc systemd-modules-load[558]: Failed to insert module 'nvidia_drm': Invalid argument
Jan 29 12:37:00 zorck-pc systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jan 29 12:37:00 zorck-pc systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jan 29 12:37:00 zorck-pc systemd[1]: Failed to start Load Kernel Modules.




Also this:

    inxi -F
System:
  Host: zorck-pc Kernel: 5.5.0-sparky-amd64 x86_64 bits: 64
  Desktop: Xfce 4.14.2 Distro: SparkyLinux 6 (Po-Tolo)
Machine:
  Type: Desktop Mobo: MSI model: 970A-G46 (MS-7693) v: 2.0
  serial: <root required> BIOS: American Megatrends v: 2.8 date: 01/08/2016
CPU:
  Topology: 6-Core model: AMD FX-6300 bits: 64 type: MCP L2 cache: 2048 KiB
  Speed: 3754 MHz min/max: N/A Core speeds (MHz): 1: 3754 2: 3760 3: 3762
  4: 3754 5: 3759 6: 3734
Graphics:
  Device-1: NVIDIA GK104 [GeForce GTX 770] driver: N/A
  Display: x11 server: X.Org 1.20.7 driver: nouveau,vesa
  unloaded: fbdev,modesetting resolution: 1024x768~N/A
  OpenGL: renderer: llvmpipe (LLVM 9.0.1 128 bits) v: 3.3 Mesa 19.3.2
Audio:
  Device-1: AMD SBx00 Azalia driver: snd_hda_intel
  Device-2: NVIDIA GK104 HDMI Audio driver: snd_hda_intel
  Sound Server: ALSA v: k5.5.0-sparky-amd64
Network:
  Device-1: Ralink RT5392 PCIe Wireless Network Adapter driver: rt2800pci
  IF: wlan0 state: down mac: e2:43:fa:bf:35:7c
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: d4:3d:7e:2c:8b:f4
Drives:
  Local Storage: total: 1.46 TiB used: 233.31 GiB (15.6%)
  ID-1: /dev/sda vendor: Intenso model: SSD size: 119.24 GiB
  ID-2: /dev/sdb vendor: Seagate model: ST31000528AS size: 931.51 GiB
  ID-3: /dev/sdc model: EMTEC X150 480GB size: 447.13 GiB
Partition:
  ID-1: / size: 76.40 GiB used: 11.47 GiB (15.0%) fs: ext4 dev: /dev/sda3
  ID-2: /home size: 818.70 GiB used: 177.17 GiB (21.6%) fs: ext4
  dev: /dev/sdb1
  ID-3: swap-1 size: 2.05 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda4
Sensors:
  System Temperatures: cpu: 34.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 191 Uptime: 3h 50m Memory: 7.73 GiB used: 1.29 GiB (16.7%)
  Shell: bash inxi: 3.0.37

paxmark1

Possibly 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948257#105


kmod and intiramfs problem if I read right. 

My kmod in sid is now kmod 26+ 20191223-1
My initramfs-tools-core is 0.136   I have not seen errors in Sid-Unstable for a couple days. Sid is on SDHC on atom.   

My 4 y.o. Sparky testing is on the hdd on same atom and not booted in several days.  36 hours work on Tuesday am.  Someone else can post what initramfs... is at in testing.  Site unexpectedly down for
https://packages.debian.org/sid/initramfs-tools-core

You can try later.  Off to work again. 

I observed multiple kmod errors when kernel bumps upgrades occured in i386 Debian sid  Sway Wayland on an atom. 

https://forum.siduction.org/index.php?topic=7852.msg63864#msg63864

Ben is Ben Hutchings a kernel dev a kernel dev and I source I have trusted for seveal years. 

Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

jo

Ok. I more a newbie to linux... but try to figure it out. I did :

sudo apt-get purge nvidia*

after deleting all nvidia related stuff, sparky starts normal as before. (But i need dxvk, so nouveau is not enough)

after a normal sudo apt-get update
  and  sudo apt-get upgrade it installs all the nvidia stuff from repo... but still broken.

if i should try to experiment with this kmod/initramfs, i need more reading, cause i dont know yetwhat it is, or does :D.


Thank you for your help!

jo

also i add this. when istalling  nvidia drivers manually from terminal, this happens:

sudo apt-get install nvidia-driver

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
nvidia-driver ist schon die neueste Version (430.64-5).
nvidia-driver wurde als manuell installiert festgelegt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
nvidia-kernel-dkms (430.64-5) wird eingerichtet ...
Removing old nvidia-current-430.64 DKMS files...

------------------------------
Deleting module version: 430.64
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-430.64 DKMS files...
Building for 5.5.0-sparky-amd64
Building initial module for 5.5.0-sparky-amd64
Error! Bad return status for module build on kernel: 5.5.0-sparky-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/430.64/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes nvidia-kernel-dkms (--configure):
»installiertes nvidia-kernel-dkms-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 10 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von nvidia-driver:
nvidia-driver hängt ab von nvidia-kernel-dkms (= 430.64-5) | nvidia-kernel-430.64; aber:
  Paket nvidia-kernel-dkms ist noch nicht konfiguriert.
  Paket nvidia-kernel-430.64 ist nicht installiert.
  Paket nvidia-kernel-dkms, das nvidia-kernel-430.64 bereitstellt, ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes nvidia-driver (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)

jo


paxmark1

I saw the kmods and my first thought was the bug I posted.  But maybe it did not get to Testing - Rolling - PoTolo.  Most showstopper bugs get addressed in Sid but this one had the potential to get by, just erroneous error messages.     

Nvidia is probably the culprit.  I do not have any Nvidia so I do not keep up on it.  It appears the GTX770 came out in 2014ish.  It should be fairly well supported in Debian now, but I am not an expert at Nvidia. 
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

jo

i thank you for your time anyway... tried that fix, but does not work... i guess i made some mistake weeks ago... so my kernel and the dependencies are like fucked up....maybe i justfresh install it all.

View the most recent posts on the forum