Coder Social home page Coder Social logo

dln2-dkms's Introduction

dln2-dkms

dln2 kernel modules for Linux distributions that are lacking those.

Installation

The following procedure is meant for a PiKVM installation, but should be mostly the same for any other Linux distribution.

Enter the following commands in the terminal:

git clone https://github.com/zappanaut/dln2-dkms
pacman -S dkms
cd dln2-dkms
./install.sh
reboot

dln2-dkms's People

Contributors

zappanaut avatar nvllsvm avatar

Stargazers

Tobias Hochgürtel avatar  avatar

Watchers

 avatar

dln2-dkms's Issues

Won't build on latest PiKVM

The latest version is of this module isn't compatible with the latest pikvm version. Included the error during build:

[root@pikvm(g:main) g:/]# ./install.sh
Creating symlink /var/lib/dkms/dln2/5.15.0/source -> /usr/src/dln2-5.15.0
The kernel is be built without module signing facility, modules won't be signed
Error! The /var/lib/dkms/dln2/5.15.0/6.1.57-2-rpi-ARCH/armv7l/dkms.conf for module dln2 includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.
The kernel is be built without module signing facility, modules won't be signed
Error! The /var/lib/dkms/dln2/5.15.0/6.1.57-2-rpi-ARCH/armv7l/dkms.conf for module dln2 includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.

Is there any way to force install on the newer kernel or does some code have to be rewritten?
New kernel version is: 6.1.57-2-rpi-ARCH

Error when running install.sh after PiKVM OS update from October 2023

Hello, after running the bigger PiKVM update from October 2023 (see announcement: https://discord.com/channels/580094191938437144/712960053174599712/1165521850743410779) I ran into the issue the the PiKVM is throwing a 500 error in the webgui. Before that everything was working fine.
Usually when this happens this is tied to the connected pikvm-usb-atx-ctrl not being detected and showing up in the directory /dev/gpio-by-serial. So I checked that and noticed that the directory gpio-by-serial was empty.

So I thought perhaps after the OS update, I need to install dln2-dkms again.
I followed the instructions again:
git clone https://github.com/zappanaut/dln2-dkms pacman -S dkms cd dln2-dkms ./install.sh reboot

But when running the install.sh, I get the following error message (the initial message might have been different, as I ran it twice now). But I assume the issue is the last section of the error message.

./install.sh
mkdir: cannot create directory '/dev/gpio-by-serial': File exists
Error! DKMS tree already contains: dln2-5.15.0
You cannot add the same module/version combo more than once.
The kernel is be built without module signing facility, modules won't be signed
Error! The /var/lib/dkms/dln2/5.15.0/6.1.61-1-rpi-ARCH/armv7l/dkms.conf for module dln2 includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.
The kernel is be built without module signing facility, modules won't be signed
Error! The /var/lib/dkms/dln2/5.15.0/6.1.61-1-rpi-ARCH/armv7l/dkms.conf for module dln2 includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.``

I rebooted the PIKVM several times, but the USB devices will not show up in the directory gpio-by-serial.
So I am not sure if this issue is related to dln2-dkms, but I thought I start here to find out if this error might be the cause.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.