Bizarre issues with zynthian V5.1: Hardware or software related?

Don’t worry! It’s perfectly OK to report the issues in the forum thread. Anyway, i also think it’s better to move to a new thread.

You can be sure we will fix your issues in one way or other. If needed, i will send you a mainboard replacement, or whatever part is creating the issues.

More checks … could you check that the 2 white leds in the mainboard remains “on” when it start to fail? Also, could you check the I2C status when it’s failing?

You should get something like this:

(venv) root@zynthian:~# i2cdetect 1
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-1.
I will probe address range 0x08-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: 20 21 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- UU -- -- UU -- -- 
50: -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

Regards,

More, please, try looking at the system logs to see if there is some error messages when it’s failing:

journalctl -f -n 200

Finally, just to be sure, could you check the md5sum from the image you are using?

Thanks

I am sure we will get to the bottom of it @jofemodo! I know how you roll!

They stay on.

Here is my I2C status right after it failing:

(venv) root@zynthian:~# i2cdetect 1
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-1.
I will probe address range 0x08-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: 20 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- UU -- -- UU -- --
50: -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- --
60: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -

Here is the journalctl output:

(venv) root@zynthian:~# journalctl -f -n 200
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3566] settings: (eth0): created default wired connection 'Wired connection 1'
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3566] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian avahi-daemon[801]: Server startup complete. Host name is zynthian.local. Local service cookie is 919138485.
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3608] device (wlan0): driver supports Access Point (AP) mode
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3614] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3617] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian systemd[1]: Started a2jmidid.service - Alsa to Jack Bridge.
Sep 24 23:58:30 zynthian a2jmidid[1042]: JACK MIDI <-> ALSA sequencer MIDI bridge, version 9 built on Mon Feb 13 13:15:41 2023
Sep 24 23:58:30 zynthian a2jmidid[1042]: Copyright 2006,2007 Dmitry S. Baikov
Sep 24 23:58:30 zynthian a2jmidid[1042]: Copyright 2007,2008,2009,2011,2012 Nedko Arnaudov
Sep 24 23:58:30 zynthian a2jmidid[1042]: Bridge starting...
Sep 24 23:58:30 zynthian a2jmidid[1042]: Using JACK server 'default'
Sep 24 23:58:30 zynthian a2jmidid[1042]: Hardware ports will not be exported.
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3954] device (lo): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3956] device (lo): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3957] device (lo): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.3960] device (lo): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.4166] device (lo): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.4169] device (lo): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.4180] device (lo): Activation: successful, device activated.
Sep 24 23:58:30 zynthian a2jmidid[1042]: Bridge started
Sep 24 23:58:30 zynthian a2jmidid[1042]: Press ctrl-c to stop the bridge
Sep 24 23:58:30 zynthian a2jmidid[1042]: port created: Midi Through [14] (capture): Midi Through Port-0
Sep 24 23:58:30 zynthian a2jmidid[1042]: port created: Midi Through [14] (playback): Midi Through Port-0
Sep 24 23:58:30 zynthian wpa_supplicant[1006]: nl80211: kernel reports: Registration to specific type not supported
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.5536] device (wlan0): supplicant interface state: internal-starting -> disconnected
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.5537] Wi-Fi P2P device controlled by interface wlan0 created
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.5539] manager: (p2p-dev-wlan0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/4)
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.5543] device (p2p-dev-wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.5546] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Sep 24 23:58:30 zynthian NetworkManager[1005]: <info>  [1727218710.5551] device (p2p-dev-wlan0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:31 zynthian systemd[1]: e2scrub_reap.service: Deactivated successfully.
Sep 24 23:58:31 zynthian systemd[1]: Finished e2scrub_reap.service - Remove Stale Online ext4 Metadata Check Snapshots.
Sep 24 23:58:31 zynthian kernel: mmc0: Card stuck being busy! __mmc_poll_for_busy
Sep 24 23:58:31 zynthian avahi-daemon[801]: Service "zynthian ZYNTHIAN WEBCONF" (/services/zynthian-webconf.service) successfully established.
Sep 24 23:58:31 zynthian avahi-daemon[801]: Service "zynthian ZYNTHIAN SSH" (/services/zynthian-ssh.service) successfully established.
Sep 24 23:58:31 zynthian avahi-daemon[801]: Service "zynthian ZYNTHIAN RTPMIDI" (/services/zynthian-rtpmidi.service) successfully established.
Sep 24 23:58:31 zynthian avahi-daemon[801]: Service "zynthian ZYNTHIAN OSC" (/services/zynthian-osc.service) successfully established.
Sep 24 23:58:31 zynthian avahi-daemon[801]: Service "zynthian ZYNTHIAN MODUI" (/services/zynthian-modui.service) successfully established.
Sep 24 23:58:31 zynthian zynthian_webconf.sh[994]: INFO:zynthian_gui_config.<module>: ZYNTHIAN-UI CONFIG ...
Sep 24 23:58:31 zynthian zynthian_webconf.sh[994]: INFO:zynthian_gui_config.<module>: Wiring Layout V5
Sep 24 23:58:32 zynthian jack_wait[882]: server is available
Sep 24 23:58:32 zynthian systemd[1]: Started mod-ttymidi.service - MOD ttymidi.
Sep 24 23:58:32 zynthian kernel: pl011-axi 1f00030000.serial: DMA channel TX dma2chan4
Sep 24 23:58:32 zynthian kernel: pl011-axi 1f00030000.serial: DMA channel RX dma2chan5
Sep 24 23:58:32 zynthian zynthian_webconf.sh[994]: DEBUG:zynthian_lv2.load_engines: Loaded engine config with timestamp: 1727134080.9905598
Sep 24 23:58:33 zynthian startx[1097]: ----------------------------------------------
Sep 24 23:58:33 zynthian startx[1097]: Linux Version: bookworm
Sep 24 23:58:33 zynthian startx[1097]: Kernel Version: 6.6.47-v8-16k+
Sep 24 23:58:33 zynthian startx[1097]: ZynthianOS Version: 2409
Sep 24 23:58:33 zynthian startx[1097]: Virtualization: none
Sep 24 23:58:33 zynthian startx[1097]: Hardware Architecture: aarch64
Sep 24 23:58:33 zynthian startx[1097]: Hardware Model: Raspberry Pi 5 Model B Rev 1.0
Sep 24 23:58:33 zynthian startx[1097]: ----------------------------------------------
Sep 24 23:58:33 zynthian startx[1126]: /zynthian/config/img/fb_zynthian_boot.jpg is a 800x480 JPEG image, color space Grayscale, 1 comp, Huffman coding.
Sep 24 23:58:33 zynthian startx[1126]:   Zooming image by 100%...done
Sep 24 23:58:33 zynthian startx[1126]:   Merging...didn't find evidence of prior run.
Sep 24 23:58:33 zynthian startx[1126]: done
Sep 24 23:58:33 zynthian startx[1126]:   Building XImage...done
Sep 24 23:58:33 zynthian zynthian_webconf.sh[994]: Started libzynaudioplayer using libsndfile-1.2.0
Sep 24 23:58:33 zynthian zynthian_webconf.sh[994]: INFO:zynthian_engine_audioplayer.zynthian_engine_audioplayer: Supported Audio Codecs: ['aiff', 'aifc', 'au', 'caf', 'flac', 'mp3', 'vox', 'opus', 'ogg', 'wav']
Sep 24 23:58:33 zynthian systemd[1]: systemd-rfkill.service: Deactivated successfully.
Sep 24 23:58:33 zynthian zynthian_webconf.sh[994]: INFO:audio_config_handler.<module>: RBPi Device Name: ''
Sep 24 23:58:33 zynthian zynthian_webconf.sh[994]: DEBUG:selector_events.__init__: Using selector: EpollSelector
Sep 24 23:58:33 zynthian startx[1128]: ZynCore: Setting-up 20+4 x Zynswitches...
Sep 24 23:58:33 zynthian startx[1128]: ZynCore: Setting-up Zynpots => 4 x PEC11 ...
Sep 24 23:58:33 zynthian startx[1128]: ZynCore->gpiod_start_callbacks: Callback thread created successfully
Sep 24 23:58:34 zynthian startx[1128]: Started libzynaudioplayer using libsndfile-1.2.0
Sep 24 23:58:34 zynthian startx[1128]: Started libzynmixer
Sep 24 23:58:34 zynthian startx[1128]: Started libzynseq
Sep 24 23:58:34 zynthian startx[1128]: Started libzynsmf
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1856] policy: auto-activating connection 'shelburnehouse' (166beab0-6fc9-4b22-9aa1-b38927a618bb)
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1862] device (wlan0): Activation: starting connection 'shelburnehouse' (166beab0-6fc9-4b22-9aa1-b38927a618bb)
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1864] device (wlan0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1867] manager: NetworkManager state is now CONNECTING
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1875] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1881] device (wlan0): Activation: (wifi) access point 'shelburnehouse' has security, but secrets are required.
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1882] device (wlan0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1884] sup-iface[3e9b46c802e959e7,0,wlan0]: wps: type pbc start...
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1897] device (wlan0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1906] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1909] device (wlan0): Activation: (wifi) connection 'shelburnehouse' has security, and secrets exist.  No new secrets needed.
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1909] Config: added 'ssid' value 'shelburnehouse'
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1910] Config: added 'scan_ssid' value '1'
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1910] Config: added 'bgscan' value 'simple:30:-70:86400'
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1910] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1910] Config: added 'auth_alg' value 'OPEN'
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.1910] Config: added 'psk' value '<hidden>'
Sep 24 23:58:37 zynthian wpa_supplicant[1006]: wlan0: WPS-CANCEL
Sep 24 23:58:37 zynthian wpa_supplicant[1006]: wlan0: Trying to associate with SSID 'shelburnehouse'
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.2039] device (wlan0): supplicant interface state: disconnected -> associating
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.2039] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> associating
Sep 24 23:58:37 zynthian wpa_supplicant[1006]: wlan0: Associated with 7c:9a:54:c5:4f:29
Sep 24 23:58:37 zynthian wpa_supplicant[1006]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Sep 24 23:58:37 zynthian wpa_supplicant[1006]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
Sep 24 23:58:37 zynthian wpa_supplicant[1006]: wlan0: WPA: Key negotiation completed with 7c:9a:54:c5:4f:29 [PTK=CCMP GTK=CCMP]
Sep 24 23:58:37 zynthian wpa_supplicant[1006]: wlan0: CTRL-EVENT-CONNECTED - Connection to 7c:9a:54:c5:4f:29 completed [id=0 id_str=]
Sep 24 23:58:37 zynthian dhcpcd[866]: wlan0: carrier acquired
Sep 24 23:58:37 zynthian dhcpcd[866]: wlan0: connected to Access Point: shelburnehouse
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.3176] device (wlan0): supplicant interface state: associating -> completed
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.3176] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "shelburnehouse"
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.3177] device (p2p-dev-wlan0): supplicant management interface state: associating -> completed
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.3180] device (wlan0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.3187] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Sep 24 23:58:37 zynthian dhcpcd[866]: wlan0: IAID 67:37:e4:4d
Sep 24 23:58:37 zynthian dhcpcd[866]: wlan0: adding address fe80::b834:fbd:9286:555b
Sep 24 23:58:37 zynthian avahi-daemon[801]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::b834:fbd:9286:555b.
Sep 24 23:58:37 zynthian avahi-daemon[801]: New relevant interface wlan0.IPv6 for mDNS.
Sep 24 23:58:37 zynthian avahi-daemon[801]: Registering new address record for fe80::b834:fbd:9286:555b on wlan0.*.
Sep 24 23:58:37 zynthian avahi-daemon[801]: Registering new address record for fe80::96ef:5613:443c:3943 on wlan0.*.
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.3635] dhcp4 (wlan0): state changed new lease, address=10.0.0.11
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.3641] policy: set 'shelburnehouse' (wlan0) as default for IPv4 routing and DNS
Sep 24 23:58:37 zynthian avahi-daemon[801]: Joining mDNS multicast group on interface wlan0.IPv4 with address 10.0.0.11.
Sep 24 23:58:37 zynthian avahi-daemon[801]: New relevant interface wlan0.IPv4 for mDNS.
Sep 24 23:58:37 zynthian avahi-daemon[801]: Registering new address record for 10.0.0.11 on wlan0.IPv4.
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.4277] device (wlan0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.4409] device (wlan0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.4418] device (wlan0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.4422] manager: NetworkManager state is now CONNECTED_SITE
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.4461] device (wlan0): Activation: successful, device activated.
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.4469] manager: NetworkManager state is now CONNECTED_GLOBAL
Sep 24 23:58:37 zynthian NetworkManager[1005]: <info>  [1727218717.4486] manager: startup complete
Sep 24 23:58:37 zynthian systemd[1]: Finished NetworkManager-wait-online.service - Network Manager Wait Online.
Sep 24 23:58:37 zynthian systemd[1]: Reached target network-online.target - Network is Online.
Sep 24 23:58:37 zynthian systemd[1]: Starting rc-local.service - /etc/rc.local Compatibility...
Sep 24 23:58:37 zynthian systemd[1]: Starting rpc-statd-notify.service - Notify NFS peers of a restart...
Sep 24 23:58:37 zynthian rc.local[1325]: My IP address is 10.0.0.11
Sep 24 23:58:37 zynthian systemd[1]: Started rc-local.service - /etc/rc.local Compatibility.
Sep 24 23:58:37 zynthian sm-notify[1334]: Version 2.6.2 starting
Sep 24 23:58:37 zynthian systemd[1]: Started getty@tty1.service - Getty on tty1.
Sep 24 23:58:37 zynthian systemd[1]: Reached target getty.target - Login Prompts.
Sep 24 23:58:37 zynthian systemd[1]: Reached target multi-user.target - Multi-User System.
Sep 24 23:58:37 zynthian systemd[1]: Starting systemd-update-utmp-runlevel.service - Record Runlevel Change in UTMP...
Sep 24 23:58:37 zynthian systemd[1]: Started rpc-statd-notify.service - Notify NFS peers of a restart.
Sep 24 23:58:37 zynthian systemd[1]: systemd-update-utmp-runlevel.service: Deactivated successfully.
Sep 24 23:58:37 zynthian systemd[1]: Finished systemd-update-utmp-runlevel.service - Record Runlevel Change in UTMP.
Sep 24 23:58:37 zynthian systemd[1]: Startup finished in 1.212s (kernel) + 10.953s (userspace) = 12.165s.
Sep 24 23:58:37 zynthian dhcpcd[866]: wlan0: rebinding lease of 10.0.0.12
Sep 24 23:58:37 zynthian dhcpcd[866]: wlan0: probing address 10.0.0.12/24
Sep 24 23:58:38 zynthian dhcpcd[866]: wlan0: soliciting an IPv6 router
Sep 24 23:58:39 zynthian dhcpcd[866]: wlan0: Router Advertisement from fe80::7e9a:54ff:fec5:4f20
Sep 24 23:58:39 zynthian dhcpcd[866]: wlan0: adding address 2601:186:827f:90d0:430f:efca:4d6a:aa69/64
Sep 24 23:58:39 zynthian avahi-daemon[801]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::b834:fbd:9286:555b.
Sep 24 23:58:39 zynthian avahi-daemon[801]: Joining mDNS multicast group on interface wlan0.IPv6 with address 2601:186:827f:90d0:430f:efca:4d6a:aa69.
Sep 24 23:58:39 zynthian avahi-daemon[801]: Registering new address record for 2601:186:827f:90d0:430f:efca:4d6a:aa69 on wlan0.*.
Sep 24 23:58:39 zynthian avahi-daemon[801]: Withdrawing address record for fe80::96ef:5613:443c:3943 on wlan0.
Sep 24 23:58:39 zynthian avahi-daemon[801]: Withdrawing address record for fe80::b834:fbd:9286:555b on wlan0.
Sep 24 23:58:39 zynthian dhcpcd[866]: wlan0: adding route to 2601:186:827f:90d0::/64
Sep 24 23:58:39 zynthian dhcpcd[866]: wlan0: confirming prior DHCPv6 lease
Sep 24 23:58:39 zynthian dhcpcd[866]: wlan0: adding default route via fe80::7e9a:54ff:fec5:4f20
Sep 24 23:58:39 zynthian NetworkManager[1005]: <info>  [1727218719.3539] dhcp6 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Sep 24 23:58:39 zynthian NetworkManager[1005]: <info>  [1727218719.3540] dhcp6 (wlan0): canceled DHCP transaction
Sep 24 23:58:39 zynthian NetworkManager[1005]: <info>  [1727218719.3540] dhcp6 (wlan0): state changed no lease
Sep 24 23:58:39 zynthian NetworkManager[1005]: <info>  [1727218719.3542] policy: set 'shelburnehouse' (wlan0) as default for IPv6 routing and DNS
Sep 24 23:58:39 zynthian avahi-daemon[801]: Registering new address record for 2601:186:827f:90d0:852e:5ac4:aa00:46ff on wlan0.*.
Sep 24 23:58:41 zynthian dhcpcd[866]: wlan0: REPLY6 received from fe80::7e9a:54ff:fec5:4f20
Sep 24 23:58:41 zynthian dhcpcd[866]: wlan0: adding address 2601:186:827f:90d0::1050/128
Sep 24 23:58:41 zynthian avahi-daemon[801]: Registering new address record for 2601:186:827f:90d0::1050 on wlan0.*.
Sep 24 23:58:41 zynthian dhcpcd[866]: wlan0: renew in 28400, rebind in 54320, expire in 71600 seconds
Sep 24 23:58:43 zynthian dhcpcd[866]: wlan0: leased 10.0.0.12 for 172800 seconds
Sep 24 23:58:43 zynthian avahi-daemon[801]: Registering new address record for 10.0.0.12 on wlan0.IPv4.
Sep 24 23:58:43 zynthian dhcpcd[866]: wlan0: adding route to 10.0.0.0/24
Sep 24 23:58:43 zynthian dhcpcd[866]: wlan0: adding default route via 10.0.0.1
Sep 24 23:58:47 zynthian systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Sep 24 23:58:47 zynthian sshd[1460]: Accepted password for root from 10.0.0.112 port 57965 ssh2
Sep 24 23:58:47 zynthian sshd[1460]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)
Sep 24 23:58:48 zynthian systemd[1]: Created slice user-0.slice - User Slice of UID 0.
Sep 24 23:58:48 zynthian systemd[1]: Starting user-runtime-dir@0.service - User Runtime Directory /run/user/0...
Sep 24 23:58:48 zynthian systemd-logind[811]: New session 1 of user root.
Sep 24 23:58:48 zynthian systemd[1]: Finished user-runtime-dir@0.service - User Runtime Directory /run/user/0.
Sep 24 23:58:48 zynthian systemd[1]: Starting user@0.service - User Manager for UID 0...
Sep 24 23:58:48 zynthian (systemd)[1480]: pam_unix(systemd-user:session): session opened for user root(uid=0) by (uid=0)
Sep 24 23:58:48 zynthian kernel: systemd[1480]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
Sep 24 23:58:48 zynthian systemd[1480]: Queued start job for default target default.target.
Sep 24 23:58:48 zynthian systemd[1480]: Created slice app.slice - User Application Slice.
Sep 24 23:58:48 zynthian systemd[1480]: Reached target paths.target - Paths.
Sep 24 23:58:48 zynthian systemd[1480]: Reached target timers.target - Timers.
Sep 24 23:58:48 zynthian systemd[1480]: Starting dbus.socket - D-Bus User Message Bus Socket...
Sep 24 23:58:48 zynthian systemd[1480]: Listening on dirmngr.socket - GnuPG network certificate management daemon.
Sep 24 23:58:48 zynthian systemd[1480]: Listening on gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Sep 24 23:58:48 zynthian systemd[1480]: Listening on gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Sep 24 23:58:48 zynthian systemd[1480]: Listening on gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Sep 24 23:58:48 zynthian systemd[1480]: Listening on gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Sep 24 23:58:48 zynthian systemd[1480]: Listening on pk-debconf-helper.socket - debconf communication socket.
Sep 24 23:58:48 zynthian systemd[1480]: Listening on dbus.socket - D-Bus User Message Bus Socket.
Sep 24 23:58:48 zynthian systemd[1480]: Reached target sockets.target - Sockets.
Sep 24 23:58:48 zynthian systemd[1480]: Reached target basic.target - Basic System.
Sep 24 23:58:48 zynthian systemd[1480]: Reached target default.target - Main User Target.
Sep 24 23:58:48 zynthian systemd[1480]: Startup finished in 152ms.
Sep 24 23:58:48 zynthian systemd[1]: Started user@0.service - User Manager for UID 0.
Sep 24 23:58:48 zynthian systemd[1]: Started session-1.scope - Session 1 of User root.
Sep 24 23:58:48 zynthian sshd[1460]: pam_env(sshd:session): deprecated reading of user environment enabled
Sep 24 23:58:57 zynthian systemd[1]: systemd-fsckd.service: Deactivated successfully.
Sep 25 00:01:37 zynthian systemd-timesyncd[661]: Contacted time server [2600:1700:3d24:740f:9524:529a:6489:d48f]:123 (2.debian.pool.ntp.org).
Sep 25 00:01:37 zynthian systemd-timesyncd[661]: Initial clock synchronization to Wed 2024-09-25 00:01:37.015879 BST.
Sep 25 00:01:37 zynthian systemd[1]: Starting dpkg-db-backup.service - Daily dpkg database backup service...
Sep 25 00:01:37 zynthian systemd[1]: dpkg-db-backup.service: Deactivated successfully.
Sep 25 00:01:37 zynthian systemd[1]: Finished dpkg-db-backup.service - Daily dpkg database backup service.
Sep 25 00:01:38 zynthian systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Sep 25 00:01:47 zynthian startx[1128]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 1, delay: 102460.0us

could you check the md5sum from the image you are using?

MD5 hash of zynthianos-last-stable.img:
18d69cd11b81bd11009acd4ce6fa21a6

(note that is of the extracted img file)

Thanks!

Also worth noting, if I just leave it on, it locks up after a while and I can’t do anything, ssh also freezes.
Is there a log that shows the last things that happened? Like when when they find the captain’s log on a sunken ship?

You could enable persistent logs by editing the /etc/fstab and commenting the tmpfs line for /var/log. Then reboot and the logs will be persistent.
Don’t forget to restore normal behavior when finishing. This line is important for avoiding SD corruption when power button turned off.

Regards,

I can probably handle that - if we do it, what logs would we be interested in?

Also, I ran journalctl just now when it threw the Error 139, maybe you will see something useful here:

(venv) root@zynthian:~# journalctl -f -n 200
Sep 25 02:41:24 zynthian systemd[1486]: Reached target default.target - Main User Target.
Sep 25 02:41:24 zynthian systemd[1486]: Startup finished in 134ms.
Sep 25 02:41:24 zynthian systemd[1]: Started user@0.service - User Manager for UID 0.
Sep 25 02:41:24 zynthian systemd[1]: Started session-1.scope - Session 1 of User root.
Sep 25 02:41:24 zynthian sshd[1467]: pam_env(sshd:session): deprecated reading of user environment enabled
Sep 25 02:41:35 zynthian systemd[1]: systemd-fsckd.service: Deactivated successfully.
Sep 25 02:41:36 zynthian systemd-timesyncd[660]: Contacted time server [2602:2b7:d11:f4::123]:123 (2.debian.pool.ntp.org).
Sep 25 02:41:36 zynthian systemd-timesyncd[660]: Initial clock synchronization to Wed 2024-09-25 02:41:36.528407 BST.
Sep 25 02:41:37 zynthian systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Sep 25 02:49:03 zynthian sshd[1467]: Received disconnect from 10.0.0.112 port 59232:11: disconnected by user
Sep 25 02:49:03 zynthian sshd[1467]: Disconnected from user root 10.0.0.112 port 59232
Sep 25 02:49:03 zynthian sshd[1467]: pam_unix(sshd:session): session closed for user root
Sep 25 02:49:03 zynthian systemd-logind[791]: Session 1 logged out. Waiting for processes to exit.
Sep 25 02:49:03 zynthian systemd[1]: session-1.scope: Deactivated successfully.
Sep 25 02:49:03 zynthian systemd-logind[791]: Removed session 1.
Sep 25 02:49:13 zynthian systemd[1]: Stopping user@0.service - User Manager for UID 0...
Sep 25 02:49:13 zynthian systemd[1486]: Activating special unit exit.target...
Sep 25 02:49:13 zynthian systemd[1486]: Stopped target default.target - Main User Target.
Sep 25 02:49:13 zynthian systemd[1486]: Stopped target basic.target - Basic System.
Sep 25 02:49:13 zynthian systemd[1486]: Stopped target paths.target - Paths.
Sep 25 02:49:13 zynthian systemd[1486]: Stopped target sockets.target - Sockets.
Sep 25 02:49:13 zynthian systemd[1486]: Stopped target timers.target - Timers.
Sep 25 02:49:13 zynthian systemd[1486]: Closed dbus.socket - D-Bus User Message Bus Socket.
Sep 25 02:49:13 zynthian systemd[1486]: Closed dirmngr.socket - GnuPG network certificate management daemon.
Sep 25 02:49:13 zynthian systemd[1486]: Closed gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Sep 25 02:49:13 zynthian systemd[1486]: Closed gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Sep 25 02:49:13 zynthian systemd[1486]: Closed gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Sep 25 02:49:13 zynthian systemd[1486]: Closed gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Sep 25 02:49:13 zynthian systemd[1486]: Closed pk-debconf-helper.socket - debconf communication socket.
Sep 25 02:49:13 zynthian systemd[1486]: Removed slice app.slice - User Application Slice.
Sep 25 02:49:13 zynthian systemd[1486]: Reached target shutdown.target - Shutdown.
Sep 25 02:49:13 zynthian systemd[1486]: Finished systemd-exit.service - Exit the Session.
Sep 25 02:49:13 zynthian systemd[1486]: Reached target exit.target - Exit the Session.
Sep 25 02:49:13 zynthian systemd[1]: user@0.service: Deactivated successfully.
Sep 25 02:49:13 zynthian systemd[1]: Stopped user@0.service - User Manager for UID 0.
Sep 25 02:49:13 zynthian systemd[1]: Stopping user-runtime-dir@0.service - User Runtime Directory /run/user/0...
Sep 25 02:49:13 zynthian systemd[1]: run-user-0.mount: Deactivated successfully.
Sep 25 02:49:13 zynthian systemd[1]: user-runtime-dir@0.service: Deactivated successfully.
Sep 25 02:49:13 zynthian systemd[1]: Stopped user-runtime-dir@0.service - User Runtime Directory /run/user/0.
Sep 25 02:49:13 zynthian systemd[1]: Removed slice user-0.slice - User Slice of UID 0.
Sep 25 02:52:39 zynthian startx[1127]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 1, delay: 102304.0us
Sep 25 02:53:25 zynthian kernel: usb 3-2: new full-speed USB device number 2 using xhci-hcd
Sep 25 02:53:25 zynthian kernel: usb 3-2: New USB device found, idVendor=9516, idProduct=2015, bcdDevice= 1.00
Sep 25 02:53:25 zynthian kernel: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 25 02:53:25 zynthian kernel: usb 3-2: Product: SL STUDIO
Sep 25 02:53:25 zynthian kernel: usb 3-2: Manufacturer: STUDIOLOGIC
Sep 25 02:53:25 zynthian kernel: usb 3-2: SerialNumber: 00000000050C
Sep 25 02:53:25 zynthian mtp-probe[5588]: checking bus 3, device 2: "/sys/devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2"
Sep 25 02:53:25 zynthian mtp-probe[5588]: bus: 3, device: 2 was not an MTP device
Sep 25 02:53:25 zynthian kernel: usbcore: registered new interface driver snd-usb-audio
Sep 25 02:53:25 zynthian mtp-probe[5593]: checking bus 3, device 2: "/sys/devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2"
Sep 25 02:53:25 zynthian mtp-probe[5593]: bus: 3, device: 2 was not an MTP device
Sep 25 02:53:27 zynthian jackd[807]: scan: added port hw:2,0,0 in-hw-2-0-0-SL-STUDIO-MIDI-1
Sep 25 02:53:27 zynthian jackd[807]: scan: added port hw:2,0,1 in-hw-2-0-1-SL-STUDIO-MIDI-2
Sep 25 02:53:27 zynthian jackd[807]: scan: added port hw:2,0,0 out-hw-2-0-0-SL-STUDIO-MIDI-1
Sep 25 02:53:27 zynthian jackd[807]: scan: added port hw:2,0,1 out-hw-2-0-1-SL-STUDIO-MIDI-2
Sep 25 02:53:27 zynthian jackd[807]: scan: opened port hw:2,0,0 in-hw-2-0-0-SL-STUDIO-MIDI-1
Sep 25 02:53:27 zynthian jackd[807]: scan: opened port hw:2,0,1 in-hw-2-0-1-SL-STUDIO-MIDI-2
Sep 25 02:53:27 zynthian jackd[807]: scan: opened port hw:2,0,0 out-hw-2-0-0-SL-STUDIO-MIDI-1
Sep 25 02:53:27 zynthian jackd[807]: scan: opened port hw:2,0,1 out-hw-2-0-1-SL-STUDIO-MIDI-2
Sep 25 02:54:36 zynthian startx[1127]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 2, delay: 102108.0us
Sep 25 02:54:50 zynthian a2jmidid[1068]: *** stack smashing detected ***: terminated
Sep 25 02:54:50 zynthian systemd[1]: a2jmidid.service: Main process exited, code=killed, status=6/ABRT
Sep 25 02:54:50 zynthian systemd[1]: a2jmidid.service: Failed with result 'signal'.
Sep 25 02:54:50 zynthian systemd[1]: a2jmidid.service: Consumed 2.601s CPU time.
Sep 25 02:54:50 zynthian startx[1127]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 3, delay: 48722.0us
Sep 25 02:54:51 zynthian systemd[1]: a2jmidid.service: Scheduled restart job, restart counter is at 1.
Sep 25 02:54:51 zynthian systemd[1]: Stopped a2jmidid.service - Alsa to Jack Bridge.
Sep 25 02:54:51 zynthian systemd[1]: a2jmidid.service: Consumed 2.601s CPU time.
Sep 25 02:54:51 zynthian systemd[1]: Starting a2jmidid.service - Alsa to Jack Bridge...
Sep 25 02:54:51 zynthian jack_wait[6195]: server is available
Sep 25 02:54:51 zynthian systemd[1]: Started a2jmidid.service - Alsa to Jack Bridge.
Sep 25 02:54:51 zynthian a2jmidid[6198]: JACK MIDI <-> ALSA sequencer MIDI bridge, version 9 built on Mon Feb 13 13:15:41 2023
Sep 25 02:54:51 zynthian a2jmidid[6198]: Copyright 2006,2007 Dmitry S. Baikov
Sep 25 02:54:51 zynthian a2jmidid[6198]: Copyright 2007,2008,2009,2011,2012 Nedko Arnaudov
Sep 25 02:54:51 zynthian a2jmidid[6198]: Bridge starting...
Sep 25 02:54:51 zynthian a2jmidid[6198]: Using JACK server 'default'
Sep 25 02:54:51 zynthian a2jmidid[6198]: Hardware ports will not be exported.
Sep 25 02:54:52 zynthian a2jmidid[6198]: Bridge started
Sep 25 02:54:52 zynthian a2jmidid[6198]: Press ctrl-c to stop the bridge
Sep 25 02:54:52 zynthian a2jmidid[6198]: port created: Midi Through [14] (capture): Midi Through Port-0
Sep 25 02:54:52 zynthian a2jmidid[6198]: port created: Midi Through [14] (playback): Midi Through Port-0
Sep 25 02:55:17 zynthian systemd[1]: Starting jackrtpmidid.service - RTP-MIDI Service...
Sep 25 02:55:17 zynthian jack_wait[6430]: server is available
Sep 25 02:55:17 zynthian systemd[1]: Started jackrtpmidid.service - RTP-MIDI Service.
Sep 25 02:55:17 zynthian systemd[1]: Starting qmidinet.service - QMidiNet Service...
Sep 25 02:55:17 zynthian jack_wait[6441]: server is available
Sep 25 02:55:17 zynthian systemd[1]: Started qmidinet.service - QMidiNet Service.
Sep 25 02:55:33 zynthian startx[1087]: ./zynthian.sh: line 291:  1127 Segmentation fault      ./zynthian_main.py
Sep 25 02:55:33 zynthian startx[1087]: *******************
Sep 25 02:55:33 zynthian startx[1087]: EXIT STATUS => 139
Sep 25 02:55:33 zynthian startx[1087]: *******************
Sep 25 02:55:33 zynthian startx[6565]: /zynthian/config/img/fb_zynthian_message.jpg is a 800x480 JPEG image, color space YCbCr, 3 comps, Huffman coding.
Sep 25 02:55:33 zynthian startx[6565]:   Zooming image by 100%...done
Sep 25 02:55:33 zynthian startx[6565]:   Merging...done
Sep 25 02:55:33 zynthian startx[6565]:   Building XImage...done
Sep 25 02:55:44 zynthian startx[6624]: ZynCore: Setting-up 20+4 x Zynswitches...
Sep 25 02:55:44 zynthian startx[6624]: ZynCore: Setting-up Zynpots => 4 x PEC11 ...
Sep 25 02:55:44 zynthian startx[6624]: ZynCore->gpiod_start_callbacks: Callback thread created successfully
Sep 25 02:55:44 zynthian startx[6624]: Started libzynaudioplayer using libsndfile-1.2.0
Sep 25 02:55:44 zynthian startx[6624]: Started libzynmixer
Sep 25 02:55:44 zynthian startx[6624]: Started libzynseq
Sep 25 02:55:44 zynthian startx[6624]: Started libzynsmf
Sep 25 02:55:44 zynthian systemd[1]: Stopping jackrtpmidid.service - RTP-MIDI Service...
Sep 25 02:55:44 zynthian systemd[1]: jackrtpmidid.service: Deactivated successfully.
Sep 25 02:55:44 zynthian systemd[1]: Stopped jackrtpmidid.service - RTP-MIDI Service.
Sep 25 02:55:44 zynthian systemd[1]: Stopping qmidinet.service - QMidiNet Service...
Sep 25 02:55:44 zynthian systemd[1]: qmidinet.service: Deactivated successfully.
Sep 25 02:55:44 zynthian systemd[1]: Stopped qmidinet.service - QMidiNet Service.
Sep 25 02:55:44 zynthian startx[6624]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 1, delay: 48754.0us
Sep 25 02:55:44 zynthian startx[6624]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 2, delay: 48753.0us
Sep 25 02:55:45 zynthian startx[6624]: WARNING:zynthian_autoconnect.midi_autoconnect: Port 'jackrtpmidid:rtpmidi_in' not available
Sep 25 02:55:45 zynthian startx[6624]: WARNING:zynthian_autoconnect.midi_autoconnect: Port 'QmidiNet:in_1' not available
Sep 25 02:56:02 zynthian sshd[6944]: Accepted password for root from 10.0.0.112 port 59324 ssh2
Sep 25 02:56:02 zynthian sshd[6944]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)
Sep 25 02:56:02 zynthian systemd[1]: Created slice user-0.slice - User Slice of UID 0.
Sep 25 02:56:02 zynthian systemd[1]: Starting user-runtime-dir@0.service - User Runtime Directory /run/user/0...
Sep 25 02:56:02 zynthian systemd-logind[791]: New session 3 of user root.
Sep 25 02:56:02 zynthian systemd[1]: Finished user-runtime-dir@0.service - User Runtime Directory /run/user/0.
Sep 25 02:56:02 zynthian systemd[1]: Starting user@0.service - User Manager for UID 0...
Sep 25 02:56:02 zynthian (systemd)[6963]: pam_unix(systemd-user:session): session opened for user root(uid=0) by (uid=0)
Sep 25 02:56:02 zynthian systemd[6963]: Queued start job for default target default.target.
Sep 25 02:56:02 zynthian systemd[6963]: Created slice app.slice - User Application Slice.
Sep 25 02:56:02 zynthian systemd[6963]: Reached target paths.target - Paths.
Sep 25 02:56:02 zynthian systemd[6963]: Reached target timers.target - Timers.
Sep 25 02:56:02 zynthian systemd[6963]: Starting dbus.socket - D-Bus User Message Bus Socket...
Sep 25 02:56:02 zynthian systemd[6963]: Listening on dirmngr.socket - GnuPG network certificate management daemon.
Sep 25 02:56:02 zynthian systemd[6963]: Listening on gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Sep 25 02:56:02 zynthian systemd[6963]: Listening on gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Sep 25 02:56:02 zynthian systemd[6963]: Listening on gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Sep 25 02:56:02 zynthian systemd[6963]: Listening on gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Sep 25 02:56:02 zynthian systemd[6963]: Listening on pk-debconf-helper.socket - debconf communication socket.
Sep 25 02:56:02 zynthian systemd[6963]: Listening on dbus.socket - D-Bus User Message Bus Socket.
Sep 25 02:56:02 zynthian systemd[6963]: Reached target sockets.target - Sockets.
Sep 25 02:56:02 zynthian systemd[6963]: Reached target basic.target - Basic System.
Sep 25 02:56:02 zynthian systemd[6963]: Reached target default.target - Main User Target.
Sep 25 02:56:02 zynthian systemd[6963]: Startup finished in 121ms.
Sep 25 02:56:02 zynthian systemd[1]: Started user@0.service - User Manager for UID 0.
Sep 25 02:56:02 zynthian systemd[1]: Started session-3.scope - Session 3 of User root.
Sep 25 02:56:02 zynthian sshd[6944]: pam_env(sshd:session): deprecated reading of user environment enabled
Sep 25 02:56:17 zynthian systemd[1]: Starting systemd-tmpfiles-clean.service - Cleanup of Temporary Directories...
Sep 25 02:56:18 zynthian systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
Sep 25 02:56:18 zynthian systemd[1]: Finished systemd-tmpfiles-clean.service - Cleanup of Temporary Directories.
Sep 25 02:56:18 zynthian systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.
Sep 25 02:56:27 zynthian systemd[1]: Starting man-db.service - Daily man-db regeneration...
Sep 25 02:56:28 zynthian systemd[1]: man-db.service: Deactivated successfully.
Sep 25 02:56:28 zynthian systemd[1]: Finished man-db.service - Daily man-db regeneration.
Sep 25 02:56:56 zynthian startx[6624]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 3, delay: 102170.0us
Sep 25 02:57:01 zynthian startx[6624]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 4, delay: 102104.0us
Sep 25 02:57:47 zynthian startx[1087]: ./zynthian.sh: line 291:  6624 Segmentation fault      ./zynthian_main.py
Sep 25 02:57:47 zynthian startx[1087]: *******************
Sep 25 02:57:47 zynthian startx[1087]: EXIT STATUS => 139
Sep 25 02:57:47 zynthian startx[1087]: *******************
Sep 25 02:57:47 zynthian startx[7619]: /zynthian/config/img/fb_zynthian_message.jpg is a 800x480 JPEG image, color space YCbCr, 3 comps, Huffman coding.
Sep 25 02:57:47 zynthian startx[7619]:   Zooming image by 100%...done
Sep 25 02:57:47 zynthian startx[7619]:   Merging...done
Sep 25 02:57:47 zynthian startx[7619]:   Building XImage...done
Sep 25 02:57:58 zynthian startx[7694]: ZynCore: Setting-up 20+4 x Zynswitches...
Sep 25 02:57:58 zynthian startx[7694]: ZynCore: Setting-up Zynpots => 4 x PEC11 ...
Sep 25 02:57:58 zynthian startx[7694]: ZynCore->gpiod_start_callbacks: Callback thread created successfully
Sep 25 02:57:58 zynthian startx[7694]: Started libzynaudioplayer using libsndfile-1.2.0
Sep 25 02:57:58 zynthian startx[7694]: Started libzynmixer
Sep 25 02:57:58 zynthian startx[7694]: Started libzynseq
Sep 25 02:57:58 zynthian startx[7694]: Started libzynsmf
Sep 25 02:58:50 zynthian startx[7694]: WARNING:zynthian_engine_jalv.set_preset: 'P203_TUNING_REF_NOTE'
Sep 25 02:58:50 zynthian startx[7694]: WARNING:zynthian_engine_jalv.set_preset: 'P204_TUNING_SCALE_FILE'
Sep 25 02:58:50 zynthian startx[7694]: WARNING:zynthian_engine_jalv.set_preset: 'P205_TUNING_KEYMAP_FILE'
Sep 25 02:58:50 zynthian startx[7694]: WARNING:zynthian_engine_jalv.set_preset: 'P201_TUNING_ENABLED'
Sep 25 02:58:50 zynthian startx[7694]: WARNING:zynthian_engine_jalv.set_preset: 'P202_TUNING_REF_PITCH'
Sep 25 02:58:50 zynthian systemd[1]: Starting jackrtpmidid.service - RTP-MIDI Service...
Sep 25 02:58:50 zynthian jack_wait[8271]: server is available
Sep 25 02:58:50 zynthian systemd[1]: Started jackrtpmidid.service - RTP-MIDI Service.
Sep 25 02:59:32 zynthian systemd[1]: Stopping jackrtpmidid.service - RTP-MIDI Service...
Sep 25 02:59:32 zynthian systemd[1]: jackrtpmidid.service: Deactivated successfully.
Sep 25 02:59:32 zynthian systemd[1]: Stopped jackrtpmidid.service - RTP-MIDI Service.
Sep 25 02:59:32 zynthian startx[7694]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 1, delay: 102275.0us
Sep 25 03:00:35 zynthian startx[7694]: WARNING:zynthian_processor.set_state: Invalid controller for processor Audio Levels: 'ADC_0'
Sep 25 03:00:35 zynthian startx[7694]: WARNING:zynthian_processor.set_state: Invalid controller for processor Audio Levels: 'ADC_1'
Sep 25 03:00:35 zynthian systemd[1]: Starting qmidinet.service - QMidiNet Service...
Sep 25 03:00:35 zynthian jack_wait[9087]: server is available
Sep 25 03:00:35 zynthian systemd[1]: Started qmidinet.service - QMidiNet Service.
Sep 25 03:00:57 zynthian systemd[1]: Stopping qmidinet.service - QMidiNet Service...
Sep 25 03:00:57 zynthian systemd[1]: qmidinet.service: Deactivated successfully.
Sep 25 03:00:57 zynthian systemd[1]: Stopped qmidinet.service - QMidiNet Service.
Sep 25 03:00:57 zynthian startx[7694]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 2, delay: 102140.0us
Sep 25 03:01:47 zynthian startx[1087]: ./zynthian.sh: line 291:  7694 Segmentation fault      ./zynthian_main.py
Sep 25 03:01:47 zynthian startx[1087]: *******************
Sep 25 03:01:47 zynthian startx[1087]: EXIT STATUS => 139
Sep 25 03:01:47 zynthian startx[1087]: *******************
Sep 25 03:01:47 zynthian startx[9724]: /zynthian/config/img/fb_zynthian_message.jpg is a 800x480 JPEG image, color space YCbCr, 3 comps, Huffman coding.
Sep 25 03:01:47 zynthian startx[9724]:   Zooming image by 100%...done
Sep 25 03:01:47 zynthian startx[9724]:   Merging...done
Sep 25 03:01:47 zynthian startx[9724]:   Building XImage...done
Sep 25 03:01:57 zynthian startx[9783]: ZynCore: Setting-up 20+4 x Zynswitches...
Sep 25 03:01:57 zynthian startx[9783]: ZynCore: Setting-up Zynpots => 4 x PEC11 ...
Sep 25 03:01:57 zynthian startx[9783]: ZynCore->gpiod_start_callbacks: Callback thread created successfully
Sep 25 03:01:58 zynthian startx[9783]: Started libzynaudioplayer using libsndfile-1.2.0
Sep 25 03:01:58 zynthian startx[9783]: Started libzynmixer
Sep 25 03:01:58 zynthian startx[9783]: Started libzynseq
Sep 25 03:01:58 zynthian startx[9783]: Started libzynsmf

Hi @nagrom!

  • Please, check temperature from webconf when it’s failing.
  • Disable overclocking from webconf (reboot)

Regards,

BTW, did you make a good work with the thermal pad when installing the thermal block? This is critical with the RPi5.

Thanks

This is really strange because i’m quite confident that the underlaying libraries work nicely. Having segmentation faults, probably from python interpreter, is something i never saw before.

How many different SD-cards have you tried?

Regards,

I forgot to say this is perfectly OK

More …


Sep 25 02:54:50 zynthian a2jmidid[1068]: *** stack smashing detected ***: terminated
Sep 25 02:54:50 zynthian systemd[1]: a2jmidid.service: Main process exited, code=killed, status=6/ABRT
Sep 25 02:54:50 zynthian systemd[1]: a2jmidid.service: Failed with result 'signal'.
Sep 25 02:54:50 zynthian systemd[1]: a2jmidid.service: Consumed 2.601s CPU time.

This is really strange too. I never saw this on zynthian. Stack Smashing detection is a protection mechanism created by the compiler for protecting from buffer overflows!! This program (a2jmidid) never did this before!!

Finally:

Sep 25 02:55:17 zynthian systemd[1]: Started jackrtpmidid.service - RTP-MIDI Service.
Sep 25 02:55:17 zynthian systemd[1]: Starting qmidinet.service - QMidiNet Service...

Have you enabled these 2 services? Please, disable them for testing.

It really smells like some issue with the SD-card or the RPi5 (overclocking, bad board, etc).
Did you buy your RPi5 from a trusted source?

Could you try inserting the SD-card into the RPi5 directly, without using the extender.
Take care with the extender cable. The union is fragile (we are working to improve it).

Regards,

2 Likes

Disabling overclocking seems to have fixed it! I will keep messing around and report back…

Highest I’ve seen is 40 degrees C

Not to brag or anything, but if there was a world championship for cutting the thermal pad accurately I believe I would be crowned king. It’s possible there is a robot that can do it better, but that robot probably has some other very undesirable attributes. I used a surgical scalpel, digital calipers, and my best magnifying headset (really).

I tried 3 different ones, and ran them all in my working pi4 set up too, so I’m pretty confident they are fine.

I haven’t made any changes to the default build, these must be coming from the zynthian code, I’ve left them alone for now as everything seems to be working.

I got it from the same guy I get my pizza and drugs from :grinning:
No, I bought it from Amazon (I trust the pizza guy a lot more than Amazon, but they have the best shipping) - my understanding is that there aren’t any counterfeit raspberry pis out there as the chip supply is carefully controlled, but who knows. It certainly does seem like it’s not working up to full potential. I have another one coming tomorrow which I will try out.

I did try this too with no change so have put it back now.

@jofemodo I can’t thank you enough for your time and attention here!

I will report back after I really try to beat it up today.

Running autoconfig...
Detected I2C Chips: ['PCM1863@0x4A', 'PCM5242@0x4D', 'RV3028@0x52', 'TPA6130@0x60']
Checking Boards: ['V5_MAIN', 'V5_CONTROL']
ERROR: Undetected Hardware ['MCP23017@0x20', 'MCP23017@0x21']
Checking Boards: ['Z2_MAIN', 'V5_CONTROL']
ERROR: Undetected Hardware ['MCP23017@0x20', 'MCP23017@0x21']
Checking Boards: ['Z2_MAIN', 'Z2_CONTROL']
ERROR: Undetected Hardware ['MCP23017@0x20', 'MCP23017@0x21', 'ADS1115@0x48', 'ADS1115@0x49']
Checking Boards: ['Z2_MAIN_BETA', 'Z2_CONTROL']
ERROR: Undetected Hardware ['MCP23017@0x20', 'MCP23017@0x21', 'ADS1115@0x48', 'ADS1115@0x49']
Checking Boards: ['ZynADAC', 'ZynScreen']
ERROR: Undetected Hardware ['MCP23017@0x20']
Checking Boards: ['HifiBerryDAC+', 'ZynScreen']
ERROR: Undetected Hardware ['MCP23017@0x20']
Detected Custom kit!
Configuring Zynthian for Custom ...

Reboot...

Running autoconfig...
Detected I2C Chips: ['PCM1863@0x4A', 'PCM5242@0x4D', 'RV3028@0x52', 'TPA6130@0x60']
Checking Boards: ['V5_MAIN', 'V5_CONTROL']
ERROR: Undetected Hardware ['MCP23017@0x20', 'MCP23017@0x21']
Checking Boards: ['Z2_MAIN', 'V5_CONTROL']
ERROR: Undetected Hardware ['MCP23017@0x20', 'MCP23017@0x21']
Checking Boards: ['Z2_MAIN', 'Z2_CONTROL']
ERROR: Undetected Hardware ['MCP23017@0x20', 'MCP23017@0x21', 'ADS1115@0x48', 'ADS1115@0x49']
Checking Boards: ['Z2_MAIN_BETA', 'Z2_CONTROL']
ERROR: Undetected Hardware ['MCP23017@0x20', 'MCP23017@0x21', 'ADS1115@0x48', 'ADS1115@0x49']
Checking Boards: ['ZynADAC', 'ZynScreen']
ERROR: Undetected Hardware ['MCP23017@0x20']
Checking Boards: ['HifiBerryDAC+', 'ZynScreen']
ERROR: Undetected Hardware ['MCP23017@0x20']
Detected Custom kit!
Zynthian already configured for Custom.

Fixing ALSA mixer settings...

Regenerating keys...
Removing current webconf cookie secret...
A new webconf cookie secret will be generated on next request.
Removing current system SSH keys...
Generating new system SSH keys...
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub
The key fingerprint is:
SHA256:GOuN8Uvk7AqvM3HGlyjSTnXS/l7a/YMoo2Jmp2143wo root@zynthian
The key's randomart image is:
+---[RSA 3072]----+
|                 |
|                 |
|      ..         |
|      o+o        |
|   . o+=S.       |
|  . =.=O+        |
|   +.=+E*.  o .  |
|    +O.*.+o= o . |
|    ==O+=+*.. ..o|
+----[SHA256]-----+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub
The key fingerprint is:
SHA256:QpIr6d7wkZk7Z1i/EfxiYbrhap1zUCUBfnfYZTg7lHs root@zynthian
The key's randomart image is:
+---[DSA 1024]----+
|      ....   oo  |
|     o  . .o=o   |
|    o o .oo.o+   |
|   . + o.. .+ E  |
|  o . ..S    o   |
| . . +o+ +       |
|  o =+o++ .      |
| . +++*+oo       |
|  ..==oo..       |
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub
The key fingerprint is:
SHA256:lLcDAFpIVHX1y7rQYk+8hCetjqajyXAWvhTBg7+SiEA root@zynthian
The key's randomart image is:
+---[ECDSA 256]---+
| ooo+oo ...      |
| o.o   o . .     |
|.E=     + . .    |
|.. o   . o o .   |
|. +     S o o    |
|+o +     = o     |
|* *     * O      |
| B o. .o X o     |
|  =..+..o +      |
+----[SHA256]-----+
Restarting SSH server ...
Removing current SSL certificate...
Generating new SSL certificate for 100 years...
Generating splash images for display resolution 800 x 480...
Resizing partition...

Additionally, I can play sounds and it recognizes my midi controller but it dawned on me last night while tinkering that the lights and buttons are not working nor are any of the encoders.

You control board seems to not be well connected. It was not detected in the first boot, so your kit was not configured. Or perhaps you booted for testing before connecting the control board?

Cheers,

I did test things before I closed up the case, maybe it was not well connected at the time but I do have the ribbon cable installed now. Would that explain why my buttons are not working? In the web UI it shows that there is no connection to the I2c.

EDIT: Ignore Me… I had the ribbon cable upside down…

We’ve all done it, and we served our penance…

5 Likes

Mine has been completely stable since turning off overclocking. I played it a lot today, loaded a bunch of samples, restored snapshots, turned pianoteq up to full samples and 64 voices.

It’s been totally rock solid, no strange behavior at all!

I will try another pi5 over the weekend anyway, as I don’t trust this one :male_detective:

2 Likes

Appreciate all of your work and prompt replies!

2 Likes

That is interesting. We have seen some (I think only one so far) RPi5 that don’t overclock well so maybe you have a similar model. Another possibility is that cooling is less efficient with your installation, e.g. the bonding to CPU or case is suboptimal. I am also aware that some RPI are manufactured under license. (I think the ones sold by CPC/Farnel in the UK are.) So it is plusible that different fabrication plants may result in different physical device behaviour (which may be related to my first point about overclocking).

4 Likes

I’m starting to suspect that the Pi5 doesn’t overclock so nicely as the Pi4. If more cases are confirmed, i will proceed to set default overclock to “None” in the stable image for kit V5.1. Users could try to overclock after booting and testing everything is working OK without overclocking.

BTW, it seems that it’s not a thermal issue. Not in the case i tested at zynthian labs, not in the @nagrom’s case.

Regards,

4 Likes