The officially official Devuan Forum!

You are not logged in.

#1 Hardware & System Configuration » Nvidia module build breaks kernel modules build » 2024-03-09 19:21:27

asgalon
Replies: 1

Hi,

I really look forward to the day when I throw out the NVIDIA graphics card...

The latest update of nvidia drivers (525.147-05) broke the kernel modules build for 6.1.0-18 upwards:

make -f /usr/src/linux-headers-6.1.0-18-common/scripts/Makefile.modpost
   sed 's/ko$/o/'  /var/lib/dkms/nvidia-current/525.147.05/build/modules.order | scripts/mod/modpost -m     -o /var/lib/dkms/nvidia-current/525.147.05/build/Module.symvers -e -i Module.symvers -T -
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
make[3]: *** [/usr/src/linux-headers-6.1.0-18-common/scripts/Makefile.modpost:126: /var/lib/dkms/nvidia-current/525.147.05/build/Module.symvers] Error 1
make[2]: *** [/usr/src/linux-headers-6.1.0-18-common/Makefile:1991: modpost] Error 2
make[2]: se sale del directorio '/usr/src/linux-headers-6.1.0-18-amd64'
make[1]: *** [Makefile:250: __sub-make] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-6.1.0-18-common'
make: *** [Makefile:82: modules] Error 2

This seems to be a more or less known problem on debian, but as a very unfortunate sideeffect this update seems to completely clobber my grub setup which leads to the encrypted root volume being unavailable on boot. Any idea how to resolve this nvidia mess in devuan?

#2 Installation » [SOLVED] Lenovo ThinkPad T510 chimaera install » 2022-10-02 13:04:20

asgalon
Replies: 0

Hi, I am working on updating a 5 year old debian installation on a T510 thinkpad for my sister-in-law and after wasting about ten hours I am a bit out of ideas... First I started the slow path upgrading debian 8 to 9 and then 10, but 10 completely broke the nvidia setup for the NVIDIA Corporation GT218M [NVS 3100M] X interface. I could not get the nvidia-legacy-340xx-driver to work, and nouveau did not cover it either. So I then changed over to direct debian 11 (bullseye) install. The live usb system worked fine after adding the wlan firmware, but after finishing the installation neither network (cable or wlan) nor X windows worked. slim hangs waiting for x to startup and it completely blocks off the keyboard so I can't even switch virtual terminal to a console. So the next step was to try chimaera. At least the network works normally so I get in via ssh, but the X installation is also broken, both debian and devuan show the same entries in Xorg.0.log, both with or without setting up xorg.con explicitly with X -configure

Without xorg.conf:
[  1531.149] (II) Loading sub module "glamoregl"
[  1531.149] (II) LoadModule: "glamoregl"
[  1531.149] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  1531.149] (EE) Failed to load /usr/lib/xorg/modules/libglamoregl.so: libffi.so.6: cannot open shared object file: No such file or directory
[  1531.149] (EE) modeset: Failed to load module "glamoregl" (loader failed, 0)
[  1531.149] (EE) modeset(0): Failed to load glamor module.

and

[  1531.823] (II) LoadModule: "libinput"
[  1531.823] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1531.824] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: version `LIBINPUT_1.15' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)
[  1531.824] (EE) Failed to load module "libinput" (loader failed, 0)
[  1531.824] (EE) No input driver matching `libinput'
[  1531.824] (II) Falling back to input driver `libinput'
[  1531.824] (II) LoadModule: "libinput"
[  1531.824] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1531.824] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: version `LIBINPUT_1.15' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)
[  1531.824] (EE) Failed to load module "libinput" (loader failed, 0)
[  1531.824] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event2)
[  1531.824] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[  1531.824] (II) LoadModule: "libinput"
[  1531.824] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1531.825] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: version `LIBINPUT_1.15' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)
[  1531.825] (EE) Failed to load module "libinput" (loader failed, 0)
[  1531.825] (EE) No input driver matching `libinput'
[  1531.825] (II) Falling back to input driver `libinput'
[  1531.825] (II) LoadModule: "libinput"

With xorg.conf the nouveau server starts:
[   613.133] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: version `LIBINPUT_1.15' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)
[   613.133] (EE) Failed to load module "libinput" (loader failed, 0)
[   613.133] (EE) No input driver matching `libinput'
[   613.133] (II) Falling back to input driver `libinput'
[   613.133] (II) LoadModule: "libinput"
[   613.133] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   613.133] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: version `LIBINPUT_1.15' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)
[   613.133] (EE) Failed to load module "libinput" (loader failed, 0)
[   613.134] (II) config/udev: Adding input device Video Bus (/dev/input/event1)
[   613.134] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   613.134] (II) LoadModule: "libinput"
[   613.134] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   613.134] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: version `LIBINPUT_1.15' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)
[   613.134] (EE) Failed to load module "libinput" (loader failed, 0)
[   613.134] (EE) No input driver matching `libinput'
[   613.134] (II) Falling back to input driver `libinput'
[   613.134] (II) LoadModule: "libinput"
[   613.134] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   613.135] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/local/lib/libinput.so.10: version `LIBINPUT_1.15' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)
[   613.135] (EE) Failed to load module "libinput" (loader failed, 0)

It looks like bullseye/chimaera have libinput version 1.16 and not 1.15. I am scratching my head here, because on a modern ThinkStation chimaera installed without any difficulties, so I suspect it is not that the whole dependencies for the xserver were basically completely broken in stable. Any ideas?

Found it... I had to preserve /home, /opt and /usr/local, and /usr/local/lib was in LD_LIBRARY_PATH and superseded the default libraries. Well, so my sister-in-law will now get chimaera instead of bullseye....

#3 Installation » upgrading from ascii to beowulf, libpolkit-qt5-1-1 stuck (solved) » 2020-01-25 14:30:20

asgalon
Replies: 5

Hi, after upgrading from ascii to beowulf, I had libpolkit-qt5-1-1 stuck at version 0.112.0-05 and the XFCE session buttons for shutdown and reboot were greyed out, which has been puzzling me for two weeks now. Apparently during the upgrade process I got consolekit reinstalled and elogind probably  removed, and the libpolkit-qt-1-1 packages on hold for dependency conflicts, which for some reason or other looked very difficult to fix in aptitude. Simply installing elogind, which eliminates consolekit, solved everything. libpolkit-qt5-1-1 is a dependency of libkfm_auth5, which in my case was an indirect dependency of digikam.
Not sure how that got tangled up during the upgrade, like so often I forgot to start script on the shell before starting the process. Anyway, I have been searching for solutions and came up quite empty, so maybe this helps someone...

Board footer

Forum Software