Symcon 5.2 startet nicht

Hallo, nach einen Upgrade (ohne Fehler) von
5.1-3138 auf 5.2-4062 startet die IPSymcon nicht mehr.

pi@raspberrypi:~ $ sudo /etc/init.d/symcon status
IP-Symcon is not running.
pi@raspberrypi:~ $ sudo /etc/init.d/symcon start
IP-Symcon started with PID
pi@raspberrypi:~ $ sudo /etc/init.d/symcon status
IP-Symcon is not running.

Der Service schaft es irgendwie nicht ein PID zu vergeben.
Was machen?

Logfile hochladen. Ggf. GDB anwerfen.

paresy

gdb output


pi@raspberrypi:/var/log/symcon $ sudo gdb /usr/bin/symcon
GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/symcon...done.
(gdb) run
Starting program: /usr/bin/symcon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x017e36e8 in _armv7_tick ()
(gdb)

Wohin soll ich das Logfile laden?

Steht hier im Thema:
Debugging für Experten (Raspberry Pi, Linux)
Aber du musst zuerst mit c+Enter den Sigill übergehen.
Michael

auch wenn ich mit c + Enter weiter gehe steht keine gescheite Fehlermeldung


pi@raspberrypi:~ $ sudo gdb /usr/bin/symcon
GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/symcon...done.
(gdb) run
Starting program: /usr/bin/symcon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x017e36e8 in _armv7_tick ()
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0x01793650 in OBJ_nid2sn ()
(gdb) c
Continuing.

Program terminated with signal SIGILL, Illegal instruction.
The program no longer exists.
(gdb)

anbei noch das gdb_debug

mache ich übrigens ein downgrade auf 5.1-3138…funktieniert symcon sofort wieder


pi@raspberrypi:~ $ sudo apt install symcon=5.1-3138
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
  symcon
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 43.8 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://apt.symcon.de stable/rpi armhf symcon armhf 5.1-3138 [43.8 MB]
Fetched 43.8 MB in 23s (1,851 kB/s)
dpkg: warning: downgrading symcon from 5.2-4062 to 5.1-3138
(Reading database ... 36959 files and directories currently installed.)
Preparing to unpack .../symcon_5.1-3138_armhf.deb ...
IP-Symcon is not running.
Unpacking symcon (5.1-3138) over (5.2-4062) ...

Setting up symcon (5.1-3138) ...
IP-Symcon is not running.
Starting...
IP-Symcon started with PID 16314
Processing triggers for systemd (232-25+deb9u11) ...
Processing triggers for man-db (2.7.6.1-2) ...
pi@raspberrypi:~ $


gdb.txt (2.15 KB)

Hi! Leider hast du dich nicht an die Anleitung gehalten. Im GDB Log ist immer noch das SIGILL.

Und wo ist das benötigte Logfile? Magst du das auch mal hier hochladen?

paresy

Ist das Problem noch aktuell? Wenn nein - woran lag es :)?

paresy

Hallo,

ich habe das ganz soeben noch einmal probiert. Leider noch immer der gleiche Fehler.
In der Anlage ist das gdb.log und ein putty.log wo meine Schritte ersichtlich sind.

Was kann ich noch tun?

putty.log.txt (4.84 KB)

gdb.txt (2.15 KB)

Magst du mal Beitrag #7 lesen?

Leider ist GDB immer noch falsch. Und das normale Logfile fehlt. Ich kann dir also weiterhin nicht helfen.

paresy

Hallo paresy,

es gibt kein Logfile vom symcon. Der Prozess schaft es nicht so weit.
Was habe ich gemacht:

  • symcon ordentlich gestoppt
  • logfiles aus /var/log/symcon
  • /etc/apt/sources.list geändert von stable auf beta
  • sudo apt update
  • sudo apt upgrade
    ** jetzt wird das Update installiert und die Meldung kommt

Symcon is not running.
Starting…
IP-Symcon started with PID

  • es liegt unter /var/log/symcon KEIN Logfile
  • sudo gdb /usr/bin/symcon
  • run +enter
  • c + enter
  • c+ enter
  • output ist wie folgt

Program received signal SIGILL, Illegal instruction.
0x017e37a8 in _armv7_tick ()
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0x017936f0 in OBJ_nid2sn ()

(gdb) c
Continuing.

Program terminated with signal SIGILL, Illegal instruction.
The program no longer exists.

Das ist dann ja mehr als kurios. Kannst du ein paar Details zu deinem System nennen? Welcher Raspberry Pi? Welches OS? Komplett aktualisiert?

paresy

…anbei ein Auszug aus der relevanten Daten:


pi@raspberrypi:~ $ sudo lshw | grep "product:" -m 1
    product: Raspberry Pi Model B Plus Rev 1.2
-----------------
@raspberrypi:~ $ vcgencmd version
Aug 30 2019 17:57:30
Copyright (c) 2012 Broadcom
version 91518454866504fb0ff9164391cb66b83f05ba07 (clean) (release) (start)
pi@raspberrypi:~ 
-----------------
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:~ $
-----------------
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.69+ #1256 Fri Aug 30 16:24:47 BST 2019 armv6l GNU/Linux
-----------------
pi@raspberrypi:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 0010
Serial          : 00000000aeab2446
pi@raspberrypi:~

Hallo,

dem kann ich mich anschließen.
Gilt auch für Buster, Kernel 4.19.66+, pi Revision 000e.

@Michael: in meiner mail jhabe ich auch schon davon berichtet, dass weder gdb ein log ausspuckt, noch Symcon soweit startet, dass ein log begonnen wird.
Die Stable läuft, testing und ninja nicht.

Nachtrag: begonnen hat das Problem hier: https://www.symcon.de/forum/threads/41367-Installationsprobleme-bei-5-3-4502

Grüße, Gerhard

Das scheint ein klares Pi1 Problem zu sein wenn ich es gerade richtig sehe. Dann werde ich morgen mal so ein gutes Gerät in der Hardware Kiste suchen :slight_smile:

paresy

gleiches Problem auf einem Raspberry Pi Zero W
IPS 5.1 startet, ab 5.2 startet IPS nicht mehr

Danke für euer Feedback. Wir haben das Problem im RC4 gelöst!

paresy

Servus,

bin seit 6 Wochen auf IPS unterwegs und voll begeistert was ihr da macht!:loveips:
Das Grundgesrüst steht und nun kommen die Feinheiten.
Mit der manuellen Moduleinbindung ist es oft nicht so einfach und den Modulstore finde ich als top Lösung.
ist schon bekannt wann 5.2 rauskommt.
Gibt es einen ungefähren Plan wann welche Module in den Store kommen?

Mfg Klaus

Heyho, eine kurze Frage. Ich bin aufgrund des Testing Kanals mittlerweile auf 5.3. Wie kann ich (ich nutze übrigens armhf) auf 5.2 Stable?

deb [arch=armhf] http://apt.symcon.de/ testing rpi
Einfach auf stable wechseln??

Da die Settings aktuell kompatibel sind kannst du das machen. Du musst Symcon aber deinstallieren und dann aus dem Stable Kanal installieren.

paresy