debmatic 3.69.7-108. Installationsprobleme.

Debian/Ubuntu basierte CCU

Moderator: Co-Administratoren

Antworten
wesachs
Beiträge: 5
Registriert: 16.06.2023, 07:24
System: Alternative CCU (auf Basis OCCU)

debmatic 3.69.7-108. Installationsprobleme.

Beitrag von wesachs » 18.06.2023, 18:11

An Alex (.. und nicht Axel. Asche auf mein Haupt).
Nochmal den Versuch das Problem zu beschreiben.

habe ein MSI-Cubi-N-8GL "frisch" mit debian12 installiert und debmatic 3.69.7-108 mit dem HMIP-RFUSB-Stick installiert, funktioniert NICHT:

> debmatic-info
debmatic version: 3.69.7-108
OS: Debian GNU/Linux 12 (bookworm)
Kernel: 6.1.0-9-amd64 x86_64
Service Status: Running
Kernel modules: Not available
Raw UART dev: Not available
HMRF Hardware: unknown
HMIP Hardware: unknown

Auszug aus /var/log/syslog:

root@psp66:~ # tail -f /var/log/syslog
...
2023-06-16T10:25:41.140354+02:00 psp66 kernel: [ 920.544575] usb 1-3: new full-speed USB device number 7 using xhci_hcd
2023-06-16T10:25:41.288121+02:00 psp66 kernel: [ 920.694581] usb 1-3: New USB device found, idVendor=1b1f, idProduct=c020, bcdDevice= 1.00
2023-06-16T10:25:41.288193+02:00 psp66 kernel: [ 920.694604] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2023-06-16T10:25:41.288199+02:00 psp66 kernel: [ 920.694612] usb 1-3: Product: eQ-3 HmIP-RFUSB
2023-06-16T10:25:41.288201+02:00 psp66 kernel: [ 920.694618] usb 1-3: Manufacturer: Silicon Labs
2023-06-16T10:25:41.288203+02:00 psp66 kernel: [ 920.694623] usb 1-3: SerialNumber: 3014F711A0000420C9A18108
2023-06-16T10:25:41.343978+02:00 psp66 kernel: [ 920.750980] Loading of module with unavailable key is rejected
...

habe dann ein NUC11 exakt wie oben installiert, funktioniert:

root@psp03:/home/ernst # debmatic-info

debmatic version: 3.69.7-108
OS: Debian GNU/Linux 12 (bookworm)
Kernel: 6.1.0-9-amd64 x86_64
Service Status: Running
Kernel modules: Available
Raw UART dev: Available
HMRF Hardware: HMIP-RFUSB
Connected via: eQ-3 HmIP-RFUSB@usb-0000:00:14.0-1 (/dev/raw-uart)
Board serial: 20C9A18108
Radio MAC: 0xFF137E
HMIP Hardware: HMIP-RFUSB
Connected via: eQ-3 HmIP-RFUSB@usb-0000:00:14.0-1 (/dev/raw-uart)
SGTIN: 3014F711A0000420C9A18108
Radio MAC: 0xB734B8

Hast Du ein Tip für mich?

Grüße Werner

PS: Habe dann aus versehen ein seit mehreren Jahren 24/7-debmatic auch mit 3.69.7-108 überinstalliert. Davon vielleicht später. Ich möchte es jetzt nicht übertreiben.

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: debmatic 3.69.7-108. Installationsprobleme.

Beitrag von deimos » 18.06.2023, 19:25

Hi,

was liefert "sudo dpkg-reconfigure pivccu-modules-dkms" (nur auf dem MSI).

Viele Grüße
Alex

wesachs
Beiträge: 5
Registriert: 16.06.2023, 07:24
System: Alternative CCU (auf Basis OCCU)

Re: debmatic 3.69.7-108. Installationsprobleme.

Beitrag von wesachs » 19.06.2023, 10:26

Hallo Alex,

gesagt, gemacht, auf MSI:

> dpkg-reconfigure pivccu-modules-dkms

luft Fehlerfrei durch und ... debian funktioniert.

Uma das zu verstehen habe ich debmatic und pivccu-modules-dkms "removed" und dann wie in

https://github.com/alexreinert/debmatic ... otheros.md

beschrieben nach einen "reboot" neu installiert. Diesesmal gibt es bei der Installation von pivccu-modules-dkms
keine Fehler und es laeuft.

Hmmmmm?, das einzige was ich geaendert habe ist dass ich ein "gutes" 2m USB Verlaengerungskabel zum HmIP-RFUSB
verwendet habe.

Was solls, prima, debmatic auf debian12 laeuft.

-----------------------------------------------

Nun zu 3'ten Rechner der mein eigentliches Problem darstellt. Es ist ein:

Asus-PN41 (im folgenden Asus).

Der steht im Keller, laeuft seit 01.22 24/7 und macht die Datenerfassung/BMS und vieles mehr zu meiner
Eigenstromversorgung (50 kWh Lifepo4 Batterien). Auf dem Rechner laeuft seit 01.22:

Ubuntu 20.04 (5.11.0-37-generic) und ein altes, fruehes debmatic

Alle "obigen" Versuche waren nur dazu da wegen "never touch a ..." Sicherheit zu kriegen dass ein upgrade auf das neue
debmatic gelingt.

Dann habe ich Idiot nicht aufgepasst und bei den vielen "ssh-Fenster" zu den 3 Rechner irgendwann einmal irgendetwas bei den
Tests auch auf den Asus eingetippt zu haben. Resultat natuerlich das das debmatic auf dem 24/7 Produktionsrechner nicht mehr lief.

Zum Glueck ist die "debmatic-Funktionalitaet" nicht "lebensnotwendig" aber "nice to have" (Temperatur, schalten von Luefter, etc.).

Dann habe ich debmatic auf den Asus deinstalliert und nochmals wie in "otheros.md" beschrieben installiert. Dann:

> debmatic-info
debmatic version: 3.69.7-108
OS: Ubuntu 20.04.2 LTS
Kernel: 5.11.0-37-generic x86_64
Service Status: Running
Kernel modules: Available
Raw UART dev: Available
HMRF Hardware: HmIP-RFUSB
Connected via: eQ-3 HmIP-RFUSB@usb-0000:00:14.0-6 (/dev/raw-uart)
Board serial: 1709ADFE81
Radio MAC: 0x581446
HMIP Hardware: HmIP-RFUSB
Connected via: eQ-3 HmIP-RFUSB@usb-0000:00:14.0-6 (/dev/raw-uart)
SGTIN: 3014F711A000041709ADFE81
Radio MAC: 0xB734B8

Dann habe ich das "backup" eingespielt ... und ... das debamtic braucht sehr lange zum starten. Die Geraete sind bei "Einstellungen->"
vorhanden, bei "Status und Bedienung->" aber nicht und nach einigen Sekunsen pop ein Fenster hoch "Eine Komponente ... reagiert nicht mehr ...".

systemctl stop debmatic.service
systemctl start debmatic.service

erzeugt:

> tail -f /var/log/syslog
Jun 19 10:18:49 psp67 systemd[1]: Stopping debmatic eq3configd...
Jun 19 10:18:49 psp67 systemd[1]: Stopping debmatic HssLED...
Jun 19 10:18:49 psp67 systemd[1]: Stopping debmatic ssdpd...
Jun 19 10:18:49 psp67 systemd[1]: debmatic-updaterffirmware.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic update rf firmware.
Jun 19 10:18:49 psp67 systemd[1]: debmatic-eq3configd.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic eq3configd.
Jun 19 10:18:49 psp67 systemd[1]: debmatic-ssdpd.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic ssdpd.
Jun 19 10:18:49 psp67 systemd[1]: debmatic-rfd.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic rfd.
Jun 19 10:18:49 psp67 lighttpd[60238]: (server.c.1970) server stopped by UID = 0 PID = 1
Jun 19 10:18:49 psp67 systemd[1]: Stopping debmatic lighttpd...
Jun 19 10:18:49 psp67 systemd[1]: debmatic-updatelgwkey.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic update lgw key.
Jun 19 10:18:49 psp67 systemd[1]: debmatic-updatelgwfirmware.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic update lgw firmware.
Jun 19 10:18:49 psp67 systemd[1]: debmatic-lighttpd.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic lighttpd.
Jun 19 10:18:49 psp67 systemd[1]: debmatic-prepareinterfaceslist.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic prepare InterfacesList.xml.
Jun 19 10:18:49 psp67 rmmod[60461]: rmmod: ERROR: Module dummy_rx8130 is not currently loaded
Jun 19 10:18:49 psp67 systemd[1]: debmatic-hssled.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic HssLED.
Jun 19 10:18:49 psp67 systemd[1]: Stopping debmatic...
Jun 19 10:18:49 psp67 echo[60465]: - > /sys/module/hb_rf_eth/parameters/connect
Jun 19 10:18:49 psp67 rmmod[60466]: rmmod: ERROR: Module hb_rf_eth is not currently loaded
Jun 19 10:18:49 psp67 systemd[1]: debmatic.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Stopped debmatic.
Jun 19 10:18:49 psp67 systemd[1]: Starting piVCCU DKMS Modules...
Jun 19 10:18:49 psp67 systemd[1]: pivccu-dkms.service: Succeeded.
Jun 19 10:18:49 psp67 systemd[1]: Finished piVCCU DKMS Modules.
Jun 19 10:18:49 psp67 systemd[1]: Starting debmatic...
Jun 19 10:18:51 psp67 systemd[1]: Finished debmatic.
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic eq3configd...
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic HssLED...
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic prepare InterfacesList.xml...
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic ssdpd...
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic update rf firmware...
Jun 19 10:18:51 psp67 systemd[1]: Started debmatic HssLED.
Jun 19 10:18:51 psp67 systemd[1]: Finished debmatic prepare InterfacesList.xml.
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic lighttpd...
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic update lgw firmware...
Jun 19 10:18:51 psp67 systemd[1]: Started debmatic eq3configd.
Jun 19 10:18:51 psp67 systemd[1]: Finished debmatic update rf firmware.
Jun 19 10:18:51 psp67 systemd[1]: Condition check resulted in debmatic multimacd being skipped.
Jun 19 10:18:51 psp67 lighttpd[60676]: (server.c.1488) server started (lighttpd/1.4.55)
Jun 19 10:18:51 psp67 systemd[1]: Started debmatic lighttpd.
Jun 19 10:18:51 psp67 systemd[1]: Condition check resulted in debmatic hs485d being skipped.
Jun 19 10:18:51 psp67 systemd[1]: Started debmatic ssdpd.
Jun 19 10:18:51 psp67 systemd[1]: Finished debmatic update lgw firmware.
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic update lgw key...
Jun 19 10:18:51 psp67 update_lgw_key.sh[60687]: ls: cannot access '/etc/config/*.keychange': No such file or directory
Jun 19 10:18:51 psp67 systemd[1]: Finished debmatic update lgw key.
Jun 19 10:18:51 psp67 systemd[1]: Starting debmatic rfd...
Jun 19 10:18:51 psp67 start_rfd.sh[60702]: Daemonizing to background
Jun 19 10:18:51 psp67 rfd: CCU2CommController::improvedInit() - Identify response string not handled:
Jun 19 10:18:56 psp67 rfd: () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
Jun 19 10:18:56 psp67 rfd: No BidCoS-Interface available
Jun 19 10:20:51 psp67 systemd[1]: debmatic-rfd.service: Can't open PID file /var/status/rfd.status (yet?) after start: Operation not permitted
Jun 19 10:20:51 psp67 systemd[1]: debmatic-rfd.service: Failed with result 'protocol'.
Jun 19 10:20:51 psp67 systemd[1]: Failed to start debmatic rfd.
Jun 19 10:20:51 psp67 systemd[1]: Starting debmatic hmserver...
Jun 19 10:20:52 psp67 start_hmserver.sh[60912]: Init Hardware Info
Jun 19 10:20:56 psp67 systemd[1]: debmatic-rfd.service: Scheduled restart job, restart counter is at 1.
Jun 19 10:20:56 psp67 systemd[1]: Stopped debmatic rfd.
Jun 19 10:20:56 psp67 systemd[1]: Condition check resulted in debmatic multimacd being skipped.
Jun 19 10:20:56 psp67 systemd[1]: Starting debmatic rfd...
Jun 19 10:20:56 psp67 start_rfd.sh[60978]: Daemonizing to background
Jun 19 10:20:56 psp67 rfd: CCU2CommController::improvedInit() - Identify response string not handled:
Jun 19 10:21:01 psp67 rfd: () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
Jun 19 10:21:01 psp67 rfd: No BidCoS-Interface availableJun 19 10:20:51 psp67 systemd[1]: debmatic-rfd.service: Can't open PID file /var/status/rfd.status (yet?) after start: Operation not permitted
Jun 19 10:20:51 psp67 systemd[1]: debmatic-rfd.service: Failed with result 'protocol'.
Jun 19 10:20:51 psp67 systemd[1]: Failed to start debmatic rfd.
Jun 19 10:20:51 psp67 systemd[1]: Starting debmatic hmserver...
Jun 19 10:20:52 psp67 start_hmserver.sh[60912]: Init Hardware Info
Jun 19 10:20:56 psp67 systemd[1]: debmatic-rfd.service: Scheduled restart job, restart counter is at 1.
Jun 19 10:20:56 psp67 systemd[1]: Stopped debmatic rfd.
Jun 19 10:20:56 psp67 systemd[1]: Condition check resulted in debmatic multimacd being skipped.
Jun 19 10:20:56 psp67 systemd[1]: Starting debmatic rfd...
Jun 19 10:20:56 psp67 start_rfd.sh[60978]: Daemonizing to background
Jun 19 10:20:56 psp67 rfd: CCU2CommController::improvedInit() - Identify response string not handled:
Jun 19 10:21:01 psp67 rfd: () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
Jun 19 10:21:01 psp67 rfd: No BidCoS-Interface available
Jun 19 10:22:56 psp67 systemd[1]: debmatic-rfd.service: Can't open PID file /var/status/rfd.status (yet?) after start: Operation not permitted
Jun 19 10:22:56 psp67 systemd[1]: debmatic-rfd.service: Failed with result 'protocol'.
Jun 19 10:22:56 psp67 systemd[1]: Failed to start debmatic rfd.
Jun 19 10:23:01 psp67 systemd[1]: debmatic-rfd.service: Scheduled restart job, restart counter is at 2.
Jun 19 10:23:01 psp67 systemd[1]: Stopped debmatic rfd.
Jun 19 10:23:01 psp67 systemd[1]: Condition check resulted in debmatic multimacd being skipped.
Jun 19 10:23:01 psp67 systemd[1]: Starting debmatic rfd...
Jun 19 10:23:01 psp67 start_rfd.sh[61250]: Daemonizing to background
Jun 19 10:23:01 psp67 rfd: CCU2CommController::improvedInit() - Identify response string not handled:
Jun 19 10:23:06 psp67 rfd: () CCU2CommController::setCSMACAEnabled(): Error disabling CSMA/CA.
Jun 19 10:23:06 psp67 rfd: No BidCoS-Interface available

und kommt nicht hoch ..

?

Gruesse Werner

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: debmatic 3.69.7-108. Installationsprobleme.

Beitrag von deimos » 19.06.2023, 10:57

Hi,

stop mal debmatic, lösch alle Daten unter /var/status/ und starte das System danach neu.

Ich kann allerdings auch nicht sicher sagen, ob die aktuelle debmatic Version noch auf Ubuntu 20.04 läuft, ich teste nur gegen 22.04 oder neuer.

Viele Grüße
Alex

wesachs
Beiträge: 5
Registriert: 16.06.2023, 07:24
System: Alternative CCU (auf Basis OCCU)

Re: debmatic 3.69.7-108. Installationsprobleme.

Beitrag von wesachs » 19.06.2023, 14:35

Hallo Alex,

/var/status ist leer damit keine Aenderung zum aktuellen Stand.

Jetzt habe ich folgende Optionen:

1. Upgrade auf 22.04. Wuerde ich nur ungerne machen da auf Asus viel Software, alles selbst-gemacht, mit einigen verschiedenen auch speziellen, nicht standarditisierten Protokollen laeuft. Mal schauen?
2. Mittelfristig den MSI als interims Ersatz fuer den ASUS mit debian12 fertig machen (Ubuntu werde ich aus verschiedenen Gruenden zukuenftig nicht mehr machen).
3. Ich installiere ein debmatic welches unter Ubuntu 20.04 getestet ist.

Ich priorisiere die Option 3 da ich mir damit die bestehende Installation von Asus nicht zerschiessen kann und ich dann Zeit habe
den Asus aus debian (z.B. mit Option 2) zu bringen.

Meine Frage: Wie bekomme/installiere ich die letzte debmatic-Version die unter U20.04 getestet wurde.

Gruesse Werner

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: debmatic 3.69.7-108. Installationsprobleme.

Beitrag von deimos » 19.06.2023, 14:57

Hi,

ich kann dir leider nicht mehr sagen, welches die letzte Version war, bei der ich das getestet habe und vor allem kann ich dir nicht sagen, wie du ein Downgrade über so viele Versionen hinbekommst ich bin nicht mal sicher, ob das sauber gehen wird.

Viele Grüße
Alex

wesachs
Beiträge: 5
Registriert: 16.06.2023, 07:24
System: Alternative CCU (auf Basis OCCU)

Re: debmatic 3.69.7-108. Installationsprobleme.

Beitrag von wesachs » 19.06.2023, 16:00

Alex, ersteinmal vielen Dank. Kenne jetzt gangbare Wege und kann mit dem aktuellen
Status auf Asus ohne debmatic einige Wochen leben.

Gruss Werner

Antworten

Zurück zu „debmatic“