Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unknown init daemon: sysvinit" during installation; sysvinit-based Debian/AntiX/MXLinux-derived distro (AVLinux) #958

Open
olvlo opened this issue Oct 2, 2024 · 0 comments

Comments

@olvlo
Copy link

olvlo commented Oct 2, 2024

Thanks for the great work!
Unfortunately, I have been unable to make the driver work in AVLinux, an MXLinux remaster based using sysvinit :(

Dependencies are satisfied:

> --------------------------------------------------------------------
> 
> Checking dependencies
> 
> unzip is installed
> linux-headers-6.9.12-2-liquorix-amd64 is installed
> dkms is installed
> lsb-release is installed
> linux-source is installed
> x11-xserver-utils is installed
> wget is installed
> libdrm-dev:amd64 is installed
> libelf-dev:amd64 is installed
> git is installed
> pciutils is installed
> build-essential is installed
> 
> Platform requirements satisfied, proceeding ...
> 
> -------------------------------------------------------------------
> 
> 

And an error message stands out to me during installation: " Unknown init daemon: sysvinit"

> -------------------------------------------------------------------
> 
> Preparing for install
> 
> Archive:  DisplayLink_Ubuntu_6.0.zip
>   inflating: 6.0/displaylink-driver-6.0.0-24.run
>   inflating: 6.0/DisplayLink USB Graphics Software for Ubuntu 6.0-Release Notes.txt
> Creating directory displaylink-driver-6.0.0
> Verifying archive integrity...  100%   MD5 checksums are OK. All good.
> Uncompressing DisplayLink Linux Driver 6.0.0  100%
> patching file 6.0/displaylink-driver-6.0/displaylink-installer.sh
> 
> Installing driver version: 6.0
> 
> Trying to use the forced init system: sysvinit
> Distribution discovered: No LSB modules are available.
> Debian GNU/Linux 12 (bookworm)
> WARNING: This is not an officially supported distribution.
> Please use DisplayLink Forum for getting help if you find issues.
> 
> Installing
> [ Installing EVDI ]
> [[ Installing EVDI DKMS module ]]
> /usr/sbin/dkms.mx status evdi/1.14.4
> /usr/sbin/dkms.mx install /tmp/tmp.V3My5jLGxN/evdi/module -k 6.9.12-2-liquorix-amd64 -k 6.6.12-1-liquorix-amd64 -a x86_64
> Sign command: /lib/modules/6.9.12-2-liquorix-amd64/build/scripts/sign-file
> Binary /lib/modules/6.9.12-2-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
> Creating symlink /var/lib/dkms/evdi/1.14.4/source -> /usr/src/evdi-1.14.4
> 
> Building module:
> Cleaning build area...
> make -j4 KERNELRELEASE=6.9.12-2-liquorix-amd64 all INCLUDEDIR=/lib/modules/6.9.12-2-liquorix-amd64/build/include KVERSION=6.9.12-2-liquorix-amd64 DKMS_BUILD=1....
> Cleaning build area...
> 
> evdi.ko.xz:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/6.9.12-2-liquorix-amd64/updates/dkms/
> depmod......
> Sign command: /lib/modules/6.6.12-1-liquorix-amd64/build/scripts/sign-file
> Binary /lib/modules/6.6.12-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
> Error! DKMS tree already contains: evdi-1.14.4
> You cannot add the same module/version combo more than once.
> EVDI DKMS module already installed.
> EFI variables are not supported on this system
> System has not been booted with systemd as init system (PID 1). Can't operate.
> Failed to connect to bus: Host is down
> [[ Installing EVDI library ]]
> make: Entering directory '/tmp/tmp.V3My5jLGxN/evdi/library'
> cc -I../module -std=gnu99 -fPIC -D_FILE_OFFSET_BITS=64  $(pkg-config --cflags-only-I libdrm)   -c -o evdi_lib.o evdi_lib.c
> cc evdi_lib.o -shared -Wl,-soname,libevdi.so.1 -o libevdi.so.1.14.4 -lc -lgcc
> cp libevdi.so.1.14.4 libevdi.so
> ln -sf libevdi.so.1.14.4 libevdi.so.1
> make: Leaving directory '/tmp/tmp.V3My5jLGxN/evdi/library'
> [ Installing x64-ubuntu-1604/DisplayLinkManager ]
> [ Installing libraries ]
> [ Installing firmware packages ]
> [ Installing licence file ]
> Unknown init daemon: sysvinit
> Adding udlfb to blacklist
> Adding udl to blacklist
> 
> -------------------------------------------------------------------

Debug returns the following text:

> 
> -------------------------------------------------------------------
> 
> Starting Debug ...
> 
> Did you read Post Installation Guide? https://github.com/AdnanHodzic/displaylink-debian/blob/master/docs/post-install-guide.md [y/N] y
> 
> Did you read Troubleshooting most common issues? https://github.com/AdnanHodzic/displaylink-debian/blob/master/docs/common-issues.md [y/N] y
> 
> --------------- Linux system info ----------------
> 
> Distro: Debian
> Release: bookworm
> Kernel: 6.9.12-2-liquorix-amd64
> 
> ---------------- DisplayLink info ----------------
> 
> Driver version: 1.14.4
> DisplayLink service status: displaylink is not running ... failed!
> EVDI service version: 1.14.4
> 
> ------------------ Graphics card -----------------
> 
> Vendor: i915
> Subsystem: 630
> VGA: Intel Corporation HD Graphics 630 (rev 04)
> VGA (3D): NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
> X11 version: 21.1.7-3+deb12u7
> X11 configs: /etc/X11/xorg.conf.d/20-synaptics.conf /etc/X11/xorg.conf.d/20-displaylink.conf
> 
> -------------- DisplayLink xorg.conf -------------
> 
> File: /etc/X11/xorg.conf.d/20-displaylink.conf
> Contents:
>  Section "ServerLayout"
>     Identifier "layout"
>     Screen 0 "nvidia"
>     Inactive "intel"
> EndSection
> 
> Section "Device"
>     Identifier "intel"
>     Driver "modesetting"
>     Option "AccelMethod" "None"
> EndSection
> 
> Section "Screen"
>     Identifier "intel"
>     Device "intel"
> EndSection
> 
> Section "Device"
>     Identifier "nvidia"
>     Driver "nvidia"
>     Option "ConstrainCursor" "off"
> EndSection
> 
> Section "Screen"
>     Identifier "nvidia"
>     Device "nvidia"
>     Option "AllowEmptyInitialConfiguration" "on"
>     Option "IgnoreDisplayDevices" "CRT"
> EndSection
> 
> -------------------- Monitors --------------------
> 
> Providers: number : 6
> Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 5 name:NVIDIA-0
> Provider 1: id: 0x2b2 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
> Provider 2: id: 0x291 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
> Provider 3: id: 0x270 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
> Provider 4: id: 0x24f cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
> Provider 5: id: 0x1db cap: 0x2, Sink Output crtcs: 3 outputs: 2 associated providers: 1 name:modesetting
> 
> -------------------------------------------------------------------
> 
> Use this information when submitting an issue (http://bit.ly/2GLDlpY)
> 
> -------------------------------------------------------------------
> 

Any help will be greatly appreciated!!

PS/Edit: It didn't occur to me to mention it earlier, but in case it makes any difference, the script does install properly when booting with systemd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant