piVCCU installation korrupt nach update?

Virtualisierte CCU für Raspberry Pi und Clones

Moderator: Co-Administratoren

Antworten
daniel_2k
Beiträge: 7
Registriert: 20.02.2016, 19:58

piVCCU installation korrupt nach update?

Beitrag von daniel_2k » 02.01.2022, 15:02

Hallo zusammen,

ich habe heute ganz normal meinen raspberrypi mit apt update und apt full-upgrade aktualisiert.
Dabei wurde auch pivccu-dkms installiert und eingerichtet (was immer das ist, war vorher nicht drauf).
Die Geschichte ist auch scheinbar soweit ohne Fehler durch (siehe log im Anhang).
Allerdings startet jetzt piVCCU nach dem Neustart des raspi nicht mehr.
Wie ich herausgefunden habe gibt es die Datei start_container.sh, die der Service pivccu.service ja startet, nicht mehr.
In /var/lib/piVCCU/ fehlen scheinbar diverse Dateien.
Ich habe die jetzt vom Git mal manuell reinpackt und entsprechend secured, aber der Service startet nicht:

Code: Alles auswählen

pi@raspberrypi:/var/lib/piVCCU $ systemctl status pivccu.service
● pivccu.service - piVCCU
   Loaded: loaded (/lib/systemd/system/pivccu.service; disabled; vendor preset: enabled)
   Active: failed (Result: resources) since Sun 2022-01-02 14:44:52 CET; 14min ago
  Process: 8217 ExecStart=/var/lib/piVCCU/start_container.sh (code=exited, status=0/SUCCESS)
      CPU: 495ms

Jan 02 14:44:15 raspberrypi start_container.sh[8217]: <12>Jan  2 14:44:15 piVCCU: No network bridge could be detected.
Jan 02 14:44:16 raspberrypi start_container.sh[8217]: kernel.sched_rt_runtime_us = -1
Jan 02 14:44:21 raspberrypi start_container.sh[8217]: lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
Jan 02 14:44:21 raspberrypi start_container.sh[8217]: lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode
Jan 02 14:44:21 raspberrypi start_container.sh[8217]: lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --l
Jan 02 14:44:21 raspberrypi systemd[1]: pivccu.service: PID file /var/run/pivccu.pid not readable (yet?) after start: No such file or directory
Jan 02 14:44:52 raspberrypi systemd[1]: pivccu.service: Daemon never wrote its PID file. Failing.
Jan 02 14:44:52 raspberrypi systemd[1]: Failed to start piVCCU.
Jan 02 14:44:52 raspberrypi systemd[1]: pivccu.service: Unit entered failed state.
Jan 02 14:44:52 raspberrypi systemd[1]: pivccu.service: Failed with result 'resources'.
Da bin ich jetzt mit meinem Linux-Kenntnissen am Ende.
Scheinbar ist meine piVCCU-Installation kaputt gegangen (wieso auch immer).
Leider habe ich jetzt kein Backup der CCU-Konfig, sonst würde ich das kurzer Hand neu installieren.

Daher die Frage nun: was kann ich tun? Kann ich piVCCU irgendwie neuinstallieren, ohne das meine Konfig verloren geht?
Dateianhänge
pivccu-dkms.txt
(9.09 KiB) 38-mal heruntergeladen

daniel_2k
Beiträge: 7
Registriert: 20.02.2016, 19:58

Re: piVCCU installation korrupt nach update?

Beitrag von daniel_2k » 06.01.2022, 18:02

Also inzwischen weiß ich, denke ich, was passiert ist.
piVCCU (die normale nicht piVCCU3) ist gar nicht mehr installiert.
Jetzt habe ich versucht es erneut zu installieren bekomme aber immer:

Code: Alles auswählen

$ sudo apt install pivccu
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 pivccu : Hängt ab von: pivccu-modules-dkms (>= 1.0.10) soll aber nicht installiert werden
pivccu-modules-dkms gibt es laut apt list -a pivccu-modules-dkms aber nur noch in Version 1.0.70.
Also kann er es nicht installieren.
Wie bekomme ich jetzt die Version 1.0.10 wieder drauf?

Ich vermute, dass mit dem apt full-upgrade die dkms auf 1.0.70 gehoben wurde und das sich mit pivccu beißt und er es removed hat.
So wie es aussieht hängt pivccu von pivccu-modules-dkms mit >= 1.0.10 an. Aber pivccu-modules-dkms in der Version 1.0.70 conflicts mit pivccu.
Da beißt sich die Katze in den Schwanz.

BananaJow
Beiträge: 2
Registriert: 03.03.2022, 14:59
System: Alternative CCU (auf Basis OCCU)

Re: piVCCU installation korrupt nach update?

Beitrag von BananaJow » 03.03.2022, 15:09

Eine Lösung, hab ich leider nicht, aber ein ähnliches Problem.

Ausgangssituation war Raspi 4B mit Buster und pivccu3 3.57 über bridge setup und iobroker auf dem Standard Debian.

Da ich mal wieder updaten wollte (sudo apt update, sudo apt upgrade; war eine längere Pause, da ich mir bei der 3.55 mal die Finger verbrannt hab) kamen dann einige Updateprobleme auch am dkms Modul. Anschließend scheint der pivccu etwas zu fehlen und der Service startet wohl nicht mehr

Kann man das reparieren oder start ich besser mit einer neuen Installation? Backups der Applikationen und auch des Images sind da...

Code: Alles auswählen

 
 sudo pivccu-info
piVCCU version: 3.61.7-69
Kernel modules: Not available
Raw UART dev:   Available
Rasp.Pi UART:   Assigned to GPIO pins
HMRF Hardware:  RPI-RF-MOD
 Connected via: GPIO (/dev/raw-uart)
 Board serial:  5A4993F1F4
 Radio MAC:     0xFFF1F4
HMIP Hardware:  RPI-RF-MOD
 Connected via: GPIO (/dev/raw-uart)
 SGTIN:         3014F711A0001F5A4993F1F4
 Radio MAC:     0xB14C52
State:          STOPPED
Preparing to unpack .../18-pivccu-modules-dkms_1.0.71_all.deb ...
Removed /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service.
Removed /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service.
Removed /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service.

-------- Uninstall Beginning --------
Module: pivccu
Version: 1.0.59
Kernel: 5.10.17+ (armv7l)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

dummy_rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


dw_apb_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


eq3_char_loop.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


fake_hmrf.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


generic_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_eth.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb-2.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


led_trigger_timer.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


meson_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


pl011_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


plat_eq3ccu2.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rpi_rf_mod_led.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rtc-rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17+/kernel/drivers/pivccu/
rmdir: failed to remove directory 'kernel/drivers': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

-------- Uninstall Beginning --------
Module: pivccu
Version: 1.0.59
Kernel: 5.10.17-v7+ (armv7l)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

dummy_rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


dw_apb_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


eq3_char_loop.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


fake_hmrf.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


generic_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_eth.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb-2.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


led_trigger_timer.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


meson_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


pl011_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


plat_eq3ccu2.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rpi_rf_mod_led.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rtc-rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7+/kernel/drivers/pivccu/
rmdir: failed to remove directory 'kernel/drivers': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

-------- Uninstall Beginning --------
Module: pivccu
Version: 1.0.59
Kernel: 5.10.17-v7l+ (armv7l)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

dummy_rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


dw_apb_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


eq3_char_loop.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


fake_hmrf.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


generic_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_eth.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb-2.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


led_trigger_timer.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


meson_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


pl011_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


plat_eq3ccu2.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rpi_rf_mod_led.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove 'kernel/drivers/pivccu': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rtc-rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.17-v7l+/kernel/drivers/pivccu/
rmdir: failed to remove directory 'kernel/drivers': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 1.0.59
completely from the DKMS tree.
------------------------------
Done.
Unpacking pivccu-modules-dkms (1.0.71) over (1.0.59) ...
Preparing to unpack .../19-raspberrypi-kernel-headers_1%3a1.20211201~buster-1_armhf.deb ...
Unpacking raspberrypi-kernel-headers (1:1.20211201~buster-1) over (1.20210303-1) ...
Preparing to unpack .../20-pivccu-modules-raspberrypi_2.0-17_all.deb ...
Removed /etc/systemd/system/multi-user.target.wants/pivccu-rpi-modules.service.
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Adding 'diversion of /var/lib/piVCCU/dtb/overlays/pivccu-raspberrypi.dtbo to /usr/share/rpikernelhack/overlays/pivccu-raspberrypi.dtbo by rpikernelhack'
Unpacking pivccu-modules-raspberrypi (2.0-17) over (2.0-15) ...
Setting up pivccu-modules-dkms (1.0.71) ...
Error! There are no instances of module: pivccu
1.0.71 located in the DKMS tree.

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

DKMS: add completed.
Error! echo
Your kernel headers for kernel 5.10.17-v7l+ cannot be found at
/lib/modules/5.10.17-v7l+/build or /lib/modules/5.10.17-v7l+/source.
Created symlink /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Created symlink /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Created symlink /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Setting up systemd (241-7~deb10u8+rpi1) ...
(Reading database ... 128291 files and directories currently installed.)
Preparing to unpack .../pivccu3_3.61.7-69_armhf.deb ...

BananaJow
Beiträge: 2
Registriert: 03.03.2022, 14:59
System: Alternative CCU (auf Basis OCCU)

Re: piVCCU installation korrupt nach update?

Beitrag von BananaJow » 09.03.2022, 22:24

Also ich hab die Abhängigkeiten nicht aufgelöst bekommen und bei der Gelegenheit auf bullseye upgedated. Die Neuinstallation mit einspielen Backup ging eigentlich relativ schnell und es läuft wieder alles...

Antworten

Zurück zu „piVCCU“