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