pivccu startet nicht mehr nach Stromausfall

Virtualisierte CCU für Raspberry Pi und Clones

Moderator: Co-Administratoren

Antworten
Benutzeravatar
Homoran
Beiträge: 8613
Registriert: 02.07.2013, 15:29
Wohnort: Köln
Danksagung erhalten: 4 Mal

pivccu startet nicht mehr nach Stromausfall

Beitrag von Homoran » 23.03.2018, 18:22

Gibt es eigentlich ein HowTo zur Fehlersuche?
Wenn ja - Sorry, ich habe es nicht gefunden.
ich bilde mir ein da gebs was, kann ich aber auch mit YAHM verwechseln.

Meine piVCCU ist verschwunden, der Raspi ist noch erreichbar.
Wie geht man jetz am besten vor um die Ursache zu finden?

Code: Alles auswählen

pi@raspberrypi:~ $ sudo pivccu-info
piVCCU version: 2.31.25-23
Kernel modules: Available
Raw UART dev:   Not available
Board serial:   Unknown
State:          STOPPED

Danke
Rainer
Alle meine Hinweise sind auf eigene Gefahr umzusetzen. Immer einen Fachmann zu Rate ziehen!

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

Re: pivccu startet nicht mehr nach Stromausfall

Beitrag von deimos » 23.03.2018, 18:29

Hi,

per SSH drauf und sudo pivccu-info. Wenn gestartet, dann mit sudo pivccu-attach in die CCU wechseln und da weiter suchen. wenn nicht gestartet, dann mit sudo systemctl start pivccu versuchen zu starten und wenn das fehlschlägt, die beiden Befehle aus der Fehlermeldung ausführen.

Viele Grüße
Alex

Benutzeravatar
Homoran
Beiträge: 8613
Registriert: 02.07.2013, 15:29
Wohnort: Köln
Danksagung erhalten: 4 Mal

Re: pivccu startet nicht mehr nach Stromausfall

Beitrag von Homoran » 23.03.2018, 18:35

Hallo Alex,
danke für die schnelle Hilfe

Code: Alles auswählen

 sudo pivccu-attach
lxc-attach: attach.c: lxc_attach: 742 Failed to get init pid.

Code: Alles auswählen

 systemctl status pivccu.service
● pivccu.service - piVCCU
   Loaded: loaded (/lib/systemd/system/pivccu.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-03-23 18:33:50 CET; 21s ago
  Process: 587 ExecStart=/var/lib/piVCCU/start_container.sh (code=exited, status=1/FAILURE)
      CPU: 34ms

Mär 23 18:33:50 raspberrypi systemd[1]: Starting piVCCU...
Mär 23 18:33:50 raspberrypi piVCCU[589]: Could not locate raw uart interface. Are the kernel modules and the device tree overlays installed
Mär 23 18:33:50 raspberrypi start_container.sh[587]: <11>Mar 23 18:33:50 piVCCU: Could not locate raw uart interface. Are the kernel module
Mär 23 18:33:50 raspberrypi systemd[1]: pivccu.service: Control process exited, code=exited status=1
Mär 23 18:33:50 raspberrypi systemd[1]: Failed to start piVCCU.
Mär 23 18:33:50 raspberrypi systemd[1]: pivccu.service: Unit entered failed state.
Mär 23 18:33:50 raspberrypi systemd[1]: pivccu.service: Failed with result 'exit-code'.

Code: Alles auswählen

 $ journalctl -xe
Mär 23 18:32:44 raspberrypi sudo[571]: pam_unix(sudo:session): session closed for user root
Mär 23 18:33:50 raspberrypi sudo[581]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/systemctl start pivccu
Mär 23 18:33:50 raspberrypi sudo[581]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Mär 23 18:33:50 raspberrypi systemd[1]: Starting piVCCU...
-- Subject: Unit pivccu.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pivccu.service has begun starting up.
Mär 23 18:33:50 raspberrypi piVCCU[589]: Could not locate raw uart interface. Are the kernel modules and the device tree overlays installed
Mär 23 18:33:50 raspberrypi start_container.sh[587]: <11>Mar 23 18:33:50 piVCCU: Could not locate raw uart interface. Are the kernel module
Mär 23 18:33:50 raspberrypi systemd[1]: pivccu.service: Control process exited, code=exited status=1
Mär 23 18:33:50 raspberrypi systemd[1]: Failed to start piVCCU.
-- Subject: Unit pivccu.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pivccu.service has failed.
--
-- The result is failed.
Mär 23 18:33:50 raspberrypi systemd[1]: pivccu.service: Unit entered failed state.
Mär 23 18:33:50 raspberrypi systemd[1]: pivccu.service: Failed with result 'exit-code'.
Mär 23 18:33:50 raspberrypi sudo[581]: pam_unix(sudo:session): session closed for user root
lines 1308-1330/1330 (END)

Gruß
Rainer
Alle meine Hinweise sind auf eigene Gefahr umzusetzen. Immer einen Fachmann zu Rate ziehen!

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

Re: pivccu startet nicht mehr nach Stromausfall

Beitrag von deimos » 23.03.2018, 19:09

Hi,
Homoran hat geschrieben: Raw UART dev: Not available
da liegt das Problem. Jetzt müssen wir nur noch rausbekommen, warum das nicht vorhanden ist.
Kannst du bitte mal deine /boot/config.txt posten und die Ausgabe von

Code: Alles auswählen

sudo dmsg | grep uart
Viele Grüße
Alex

Benutzeravatar
Homoran
Beiträge: 8613
Registriert: 02.07.2013, 15:29
Wohnort: Köln
Danksagung erhalten: 4 Mal

Re: pivccu startet nicht mehr nach Stromausfall

Beitrag von Homoran » 23.03.2018, 19:14

wenn es dich akademisch interessiert sehr gerne später

ich habe gerade eine neue sd beschrieben - die läuft mit der selben Hardware.
Das Backup wäre auch schon drin, wenn mein Image nicht noch eine ätere Version enthalten hätte.
Im Moment läuft apt update...

Ich hoffe nur, dass dann die Version nicht zu neu ist ;-)

Gruß
rainer
Alle meine Hinweise sind auf eigene Gefahr umzusetzen. Immer einen Fachmann zu Rate ziehen!

Antworten

Zurück zu „piVCCU“