Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Virtualisierte CCU für Raspberry Pi und Clones

Moderator: Co-Administratoren

Benutzeravatar
didiator
Beiträge: 97
Registriert: 21.12.2017, 13:25
System: CCU
Wohnort: Lübesse

Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von didiator » 18.04.2023, 18:33

Hi,

ich versuche Debmatic nach der Anleitung https://github.com/alexreinert/debmatic ... berrypi.md zu installieren.
Beim Punkt 2

Code: Alles auswählen

sudo apt install raspberrypi-kernel-headers pivccu-modules-dkms
bekam ich zunächst Probleme mit den kernel headern. Habe diese dann wie folgt nachinstalliert:

Code: Alles auswählen

cd /usr/src
git clone --depth 1 https://github.com/raspberrypi/linux.git
sudo ln -s linux linux-headers-$(uname -r)
sudo ln -s /usr/src/linux /lib/modules/$(uname -r)/build
cd linux
wget https://raw.githubusercontent.com/raspberrypi/firmware/master/extra/Module.symvers
sudo apt install libncurses-dev
sudo make menuconfig
sudo make prepare
sudo make modules_prepare
Bei

Code: Alles auswählen

 sudo apt reinstall raspberrypi-kernel-headers pivccu-modules-dkms
bekomme ich nun die Fehlermeldung:

Code: Alles auswählen

Setting up pivccu-modules-dkms (1.0.79) ...
Error! The module/version combo: pivccu-1.0.79
is not located in the DKMS tree.
  SYNC    include/config/auto.conf.cmd
  HOSTCC  scripts/kconfig/conf.o
  HOSTLD  scripts/kconfig/conf
  UPD     include/config/kernel.release
  UPD     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
cc     recordmcount.c   -o recordmcount

Creating symlink /var/lib/dkms/pivccu/1.0.79/source ->
                 /usr/src/pivccu-1.0.79

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...
Error! The module/version combo: pivccu-1.0.79
is not located in the DKMS tree.
Beim Builden gibt es dann den Fehler:

Code: Alles auswählen

Building module:
cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=5.15.84-v8+ ARCH=arm64 all............(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.84-v8+ (aarch64)
Was kann ich da tun?
---------------------------------------------------------------
stay original...

Debmatic auf der Basis von Paspberry Pi4, SSD
ca. 90 HM, HmIP und Wired Geräte
HB-RF-ETH
Alexa Anbindung
Node-Red

Benutzeravatar
deimos
Beiträge: 5399
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 958 Mal
Kontaktdaten:

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von deimos » 18.04.2023, 18:51

Hi,

welches OS verwendest du genau und benutzt du ein 32 oder ein 64 Bit Image?

Welche Fehler kamen beim Installieren der Header und weshalb denkst du, dass du diese durch deinen manuellen Weg korrekt installiert bekommst?

Viele Grüße
Alex

Benutzeravatar
didiator
Beiträge: 97
Registriert: 21.12.2017, 13:25
System: CCU
Wohnort: Lübesse

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von didiator » 18.04.2023, 19:08

noch eine Ergänzung:
ich sehe gerade, dass in pivccu-modules-dkms ein anderer kernel angesprochen wird:

Code: Alles auswählen

Unpacking pivccu-modules-dkms (1.0.79) over (1.0.79) ...
Preparing to unpack .../raspberrypi-kernel-headers_1%3a1.20230405-1_arm64.deb ...
Unpacking raspberrypi-kernel-headers (1:1.20230405-1) over (1:1.20230405-1) ...
Setting up raspberrypi-kernel-headers (1:1.20230405-1) ...
run-parts: executing /etc/kernel/header_postinst.d/dkms 6.1.21+
dkms: running auto installation service for kernel 6.1.21+:.
ich habe aber den aktuellen 64 Bit installiert:

Code: Alles auswählen

uname -r
5.15.84-v8+
Eine Version 6.1.21+ gibt's da auch, das ist aber m.E. nicht die richtige. Ich bin aber kein Linux Spezialist und kann das nicht deuten.

Kann mir jemand sagen wie ich das berichtigen muss?
---------------------------------------------------------------
stay original...

Debmatic auf der Basis von Paspberry Pi4, SSD
ca. 90 HM, HmIP und Wired Geräte
HB-RF-ETH
Alexa Anbindung
Node-Red

Benutzeravatar
didiator
Beiträge: 97
Registriert: 21.12.2017, 13:25
System: CCU
Wohnort: Lübesse

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von didiator » 18.04.2023, 19:14

Hallo Alex,

Es kam die Meldung, dass die kernel header nicht gefunden wurden.

Code: Alles auswählen

Error! The module/version combo: pivccu-1.0.79
is not located in the DKMS tree.

Creating symlink /var/lib/dkms/pivccu/1.0.79/source ->
                 /usr/src/pivccu-1.0.79

DKMS: add completed.
Error! Your kernel headers for kernel 5.15.84-v8+ cannot be found.
Please install the linux-headers-5.15.84-v8+ package,
or use the --kernelsourcedir option to tell DKMS where it's located
Im Verzeichnis /usr/src gab es kein Verzeichnis für den aktiven kernel linux-headers-5.15.84-v8+. Dort war nur linux-headers-6.1.21-v8+ und pivccu-1.0.79 enthalten.

uname -r ergab, dass die Version 5.15.84-v8+ aktuell ist.

War meine Interpretation nicht korrekt? Oder was hätte ich anders machen müssen?
---------------------------------------------------------------
stay original...

Debmatic auf der Basis von Paspberry Pi4, SSD
ca. 90 HM, HmIP und Wired Geräte
HB-RF-ETH
Alexa Anbindung
Node-Red

Benutzeravatar
didiator
Beiträge: 97
Registriert: 21.12.2017, 13:25
System: CCU
Wohnort: Lübesse

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von didiator » 18.04.2023, 19:23

64 Bit
---------------------------------------------------------------
stay original...

Debmatic auf der Basis von Paspberry Pi4, SSD
ca. 90 HM, HmIP und Wired Geräte
HB-RF-ETH
Alexa Anbindung
Node-Red

Benutzeravatar
deimos
Beiträge: 5399
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 958 Mal
Kontaktdaten:

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von deimos » 18.04.2023, 19:54

Hi,

5.15.84 ist beim Raspberry Pi kein aktueller Kernel mehr. Kann es sein, dass du ein älteres Image verwendet hast und da kein Update gemacht hast?

Viele Grüße
Alex

Benutzeravatar
didiator
Beiträge: 97
Registriert: 21.12.2017, 13:25
System: CCU
Wohnort: Lübesse

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von didiator » 18.04.2023, 20:00

Ich habe mit dem Raspberry Imager das 64 Bit Image mit der Desktopversion gezogen. Eine spezielle Version habe ich nicht ausgewählt. Da liegt m.E. nur eine 64 Bit Version mit Desktop rum. Die habe ich genommen. Das Ganze ist eine frische Installation, in der ich außer den Dingen aus der Installationsanleitung für Debmatic noch nichts gemacht habe. Ich habe das sogar noch auf SD-Card und noch nicht auf die SSD übertragen.
---------------------------------------------------------------
stay original...

Debmatic auf der Basis von Paspberry Pi4, SSD
ca. 90 HM, HmIP und Wired Geräte
HB-RF-ETH
Alexa Anbindung
Node-Red

Benutzeravatar
didiator
Beiträge: 97
Registriert: 21.12.2017, 13:25
System: CCU
Wohnort: Lübesse

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von didiator » 19.04.2023, 09:33

Hallo Alex,

ich habe eben noch einmal ein frisches image gezogen. Unmittelbar nach dem Start sieht es folgendermaßen aus:

Code: Alles auswählen

pi@pi4:~ $ cd /usr/src
pi@pi4:/usr/src $ ls -l
total 4
drwxr-xr-x 3 root root 4096 Feb 21 05:01 sense-hat


pi@pi4:/usr/src $ ls -l /lib/modules
total 4
drwxr-xr-x 3 root root 4096 Feb 21 04:53 5.15.84-v8+


pi@pi4:/usr/src $ uname -r
5.15.84-v8+
Das ist doch nicht korrekt, oder? Müssten nicht die header-Dateien unter /usr/src/linux-headers-5.15.84-v8+ zu finden sein? Einen solchen Ordner gibt es aber nicht.

Und ist nicht-wie Du sagst, die Kernel Version uralt?

Was kann ich da tun?
---------------------------------------------------------------
stay original...

Debmatic auf der Basis von Paspberry Pi4, SSD
ca. 90 HM, HmIP und Wired Geräte
HB-RF-ETH
Alexa Anbindung
Node-Red

Benutzeravatar
deimos
Beiträge: 5399
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 958 Mal
Kontaktdaten:

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von deimos » 19.04.2023, 09:53

Hi,

mach mal "sudo apt update && sudo apt upgrade", ich vermute mal, dass dann der 6er Kernel kommt.

Viele Grüße
Alex

Benutzeravatar
didiator
Beiträge: 97
Registriert: 21.12.2017, 13:25
System: CCU
Wohnort: Lübesse

Re: Installation Debmatic: The module/version combo: pivccu-1.0.79 is not located in the DKMS tree

Beitrag von didiator » 19.04.2023, 10:20

Leider kommt er nicht.
Ich versuche das Ganze jetzt nochmal mit dem Etcher. Dabei ist mir aufgefallen, dass ich bei https://www.raspberrypi.com/software/op ... -os-64-bit nur ein Image der 5.15-er Version bekomme.

Raspberry Pi OS with desktop
Release date: February 21st 2023
System: 64-bit
Kernel version: 5.15
Debian version: 11 (bullseye)

muss ich das von woanders runterladen?
---------------------------------------------------------------
stay original...

Debmatic auf der Basis von Paspberry Pi4, SSD
ca. 90 HM, HmIP und Wired Geräte
HB-RF-ETH
Alexa Anbindung
Node-Red

Antworten

Zurück zu „piVCCU“