Hi,
die aktuelle Armbian Buster Version enthält gcc in Version 8.3.0. In dem von Dir genannten Armbian Thread werden ähnliche Probleme diskutiert weil der Kernel mit gcc 9.2.1 kompiliert wurde und Anforderungen hat, die gcc 8 nicht erfüllen kann. Deshalb der von vigeland vorgeschlagene Workaround (Einfügen von Code am Ende der .c Dateien). Alternativ könnte auch das Makefile angepasst werden.
Ich habe mal Tests durchgeführt:
1.) pivccu3 startet erfolgreich, wenn ich als Funkmodul das 'fake radio module' konfiguriere. Das Webinterface der pivccu3 kann ich aufrufen, aber es gibt natürlich keinen Funkkontakt.
2.) pivccu3 startet nicht erfolgreich, wenn ich als Funkmodul 'RPI-RF-MOD' konfiguriere und hb-rf-eth verwende. Eine andere Auswahl habe ich ja nicht um die hb-rf-eth Platine zu verwenden.
Ich denke, dass eventuell lediglich noch Anpassungen an hb-rf-eth helfen würden, damit das unter Armbian richtig funktioniert:
Das Problem ist letztendlich raw-uart (siehe syslog zu 2. in Zeilen 7+8), was auch pivccu3 bei der Installation meldet (raw-uart wird nicht gefunden). Bei der Installation von hb-rf-eth tritt immer noch am Ende der bekannte pivccu Error auf. Wäre das Problem zu beheben lediglich durch Einfügen von Code am Ende der .c/.cpp Dateien von hb-rf-eth so wie von vigeland vorgeschlagen ?
Das alles betrifft auch die Installation von Debmatic unter Armbian.
Danke und viele Grüße !
syslog zu 1.)
Code: Alles auswählen
Oct 26 21:54:32 localhost systemd[1]: Starting piVCCU DKMS Modules...
Oct 26 21:54:32 localhost systemd[1]: pivccu-dkms.service: Succeeded.
Oct 26 21:54:32 localhost systemd[1]: Started piVCCU DKMS Modules.
Oct 26 21:54:32 localhost systemd[1]: Starting piVCCU...
Oct 26 21:54:33 localhost systemd[1]: var-lib-piVCCU3-rootfs-dev.mount: Succeeded.
Oct 26 21:54:33 localhost systemd[3228]: var-lib-piVCCU3-rootfs-dev.mount: Succeeded.
Oct 26 21:54:33 localhost systemd[1]: var-lib-piVCCU3-rootfs-proc.mount: Succeeded.
Oct 26 21:54:33 localhost systemd[3228]: var-lib-piVCCU3-rootfs-proc.mount: Succeeded.
Oct 26 21:54:34 localhost start_container.sh[4726]: kernel.sched_rt_runtime_us = -1
Oct 26 21:54:34 localhost kernel: [ 469.079197] br0: port 2(vethpivccu) entered blocking state
Oct 26 21:54:34 localhost kernel: [ 469.079219] br0: port 2(vethpivccu) entered disabled state
Oct 26 21:54:34 localhost kernel: [ 469.079430] device vethpivccu entered promiscuous mode
Oct 26 21:54:34 localhost systemd-udevd[4615]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 26 21:54:34 localhost systemd-udevd[4615]: Could not generate persistent MAC address for veth6XPV9A: No such file or directory
Oct 26 21:54:34 localhost systemd-udevd[4625]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 26 21:54:34 localhost systemd-udevd[4625]: Using default interface naming scheme 'v240'.
Oct 26 21:54:34 localhost NetworkManager[742]: <info> [1603745674.3276] manager: (veth6XPV9A): new Veth device (/org/freedesktop/NetworkManager/Devices/11)
Oct 26 21:54:34 localhost NetworkManager[742]: <info> [1603745674.3314] manager: (vethpivccu): new Veth device (/org/freedesktop/NetworkManager/Devices/12)
Oct 26 21:54:34 localhost kernel: [ 469.154521] eth0: renamed from veth6XPV9A
Oct 26 21:54:34 localhost kernel: [ 469.177635] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Oct 26 21:54:34 localhost kernel: [ 469.177914] IPv6: ADDRCONF(NETDEV_CHANGE): vethpivccu: link becomes ready
Oct 26 21:54:34 localhost kernel: [ 469.178395] br0: port 2(vethpivccu) entered blocking state
Oct 26 21:54:34 localhost kernel: [ 469.178413] br0: port 2(vethpivccu) entered listening state
Oct 26 21:54:34 localhost NetworkManager[742]: <info> [1603745674.4294] device (vethpivccu): carrier: link connected
Oct 26 21:54:34 localhost systemd[1]: Started piVCCU.
Oct 26 21:54:34 localhost systemd[1]: Started Monitor HB-RF-ETH.
Oct 26 21:54:36 localhost avahi-daemon[753]: Joining mDNS multicast group on interface vethpivccu.IPv6 with address fe80::fc89:ccff:fee8:4286.
Oct 26 21:54:36 localhost avahi-daemon[753]: New relevant interface vethpivccu.IPv6 for mDNS.
Oct 26 21:54:36 localhost avahi-daemon[753]: Registering new address record for fe80::fc89:ccff:fee8:4286 on vethpivccu.*.
Oct 26 21:54:41 localhost systemd[1]: Starting piVCCU DKMS Modules...
Oct 26 21:54:41 localhost systemd[1]: pivccu-dkms.service: Succeeded.
Oct 26 21:54:41 localhost systemd[1]: Started piVCCU DKMS Modules.
Oct 26 21:54:49 localhost kernel: [ 484.343210] br0: port 2(vethpivccu) entered learning state
Oct 26 21:55:01 localhost CRON[5144]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Oct 26 21:55:08 localhost kernel: [ 502.829698] bpfilter: Loaded bpfilter_umh pid 5170
Oct 26 21:55:24 localhost chronyd[1288]: Selected source 136.243.66.91
Oct 26 21:56:27 localhost kernel: [ 581.976703] eq3loop: created slave mmd_hmip
Oct 26 21:56:27 localhost kernel: [ 581.977239] eq3loop: created slave mmd_bidcos
Oct 26 21:56:29 localhost kernel: [ 584.092461] eq3loop: eq3loop_open_slave() mmd_bidcos
Oct 26 22:00:01 localhost CRON[9267]: (root) CMD (/usr/lib/armbian/armbian-truncate-logs)
Oct 26 22:01:59 localhost systemd[1]: Starting Cleanup of Temporary Directories...
Oct 26 22:01:59 localhost systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Oct 26 22:01:59 localhost systemd[1]: Started Cleanup of Temporary Directories.
Oct 26 22:02:04 localhost kernel: [ 918.935182] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro,commit=600
Oct 26 22:02:04 localhost monitor_hb_rf_connection.sh[4952]: Waiting for CCU startup ........................................................................................................................................................$
syslog zu 2.)
Code: Alles auswählen
Oct 26 21:52:04 localhost systemd[1]: Starting piVCCU DKMS Modules...
Oct 26 21:52:04 localhost systemd[1]: pivccu-dkms.service: Succeeded.
Oct 26 21:52:04 localhost systemd[1]: Started piVCCU DKMS Modules.
Oct 26 21:52:04 localhost systemd[1]: Starting piVCCU...
Oct 26 21:52:04 localhost kernel: [ 319.525621] hb-rf-eth hb-rf-eth: Trying to connect to xx.xx.xx.xx
Oct 26 21:52:04 localhost kernel: [ 319.633253] hb-rf-eth hb-rf-eth: Successfully connected to xx.xx.xx.xx
Oct 26 21:52:04 localhost kernel: [ 319.744964] raw-uart raw-uart: Reset radio module
Oct 26 21:52:23 localhost piVCCU3: HMRF hardware was not detected
Oct 26 21:52:23 localhost start_container.sh[4130]: <12>Oct 26 21:52:23 piVCCU3: HMRF hardware was not detected
Oct 26 21:52:23 localhost piVCCU3: HMIP hardware was not detected
Oct 26 21:52:23 localhost start_container.sh[4130]: <12>Oct 26 21:52:23 piVCCU3: HMIP hardware was not detected
Oct 26 21:52:23 localhost start_container.sh[4130]: kernel.sched_rt_runtime_us = -1
Oct 26 21:52:23 localhost systemd-udevd[463]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 26 21:52:23 localhost systemd-udevd[463]: Could not generate persistent MAC address for vethX2WAPI: No such file or directory
Oct 26 21:52:23 localhost systemd-udevd[466]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 26 21:52:23 localhost kernel: [ 338.641837] br0: port 2(vethpivccu) entered blocking state
Oct 26 21:52:23 localhost kernel: [ 338.641881] br0: port 2(vethpivccu) entered disabled state
Oct 26 21:52:23 localhost kernel: [ 338.642488] device vethpivccu entered promiscuous mode
Oct 26 21:52:23 localhost NetworkManager[742]: <info> [1603745543.8858] manager: (vethX2WAPI): new Veth device (/org/freedesktop/NetworkManager/Devices/9)
Oct 26 21:52:23 localhost NetworkManager[742]: <info> [1603745543.8904] manager: (vethpivccu): new Veth device (/org/freedesktop/NetworkManager/Devices/10)
Oct 26 21:52:23 localhost kernel: [ 338.707840] eth0: renamed from vethX2WAPI
Oct 26 21:52:23 localhost kernel: [ 338.746535] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Oct 26 21:52:23 localhost kernel: [ 338.746820] IPv6: ADDRCONF(NETDEV_CHANGE): vethpivccu: link becomes ready
Oct 26 21:52:23 localhost kernel: [ 338.747300] br0: port 2(vethpivccu) entered blocking state
Oct 26 21:52:23 localhost kernel: [ 338.747319] br0: port 2(vethpivccu) entered listening state
Oct 26 21:52:23 localhost NetworkManager[742]: <info> [1603745543.9937] device (vethpivccu): carrier: link connected
Oct 26 21:52:24 localhost start_container.sh[4130]: lxc-start: lxc: lxccontainer.c: wait_on_daemonized_start: 842 Received container state "ABORTING" instead of "RUNNING"
Oct 26 21:52:24 localhost start_container.sh[4130]: lxc-start: lxc: tools/lxc_start.c: main: 330 The container failed to start
Oct 26 21:52:24 localhost start_container.sh[4130]: lxc-start: lxc: tools/lxc_start.c: main: 333 To get more details, run the container in foreground mode
Oct 26 21:52:24 localhost start_container.sh[4130]: lxc-start: lxc: tools/lxc_start.c: main: 336 Additional information can be obtained by setting the --logfile and --logpriority options
Oct 26 21:52:24 localhost systemd[1]: Started piVCCU.
Oct 26 21:52:24 localhost systemd[1]: pivccu.service: Main process exited, code=exited, status=1/FAILURE
Oct 26 21:52:24 localhost systemd[1]: pivccu.service: Failed with result 'exit-code'.
Oct 26 21:52:24 localhost kernel: [ 338.849896] br0: port 2(vethpivccu) entered disabled state
Oct 26 21:52:24 localhost kernel: [ 338.852147] device vethpivccu left promiscuous mode
Oct 26 21:52:24 localhost kernel: [ 338.852178] br0: port 2(vethpivccu) entered disabled state
Oct 26 21:52:24 localhost NetworkManager[742]: <info> [1603745544.1183] device (vethpivccu): released from master device br0