Hi!
Since today my Zynthian doesn’t boot anymore. After switching on, I only see the linux console login screen.
I connected by SSH and tried to start zynthian manually This is was happened:
(venv) root@zynthian:~# zynthian.sh
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
Current Operating System: Linux zynthian 6.6.47-v8-16k+ #1794 SMP PREEMPT Thu Aug 29 16:30:28 BST 2024 aarch64
Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=2C:CF:67:AA:56:48 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 root=PARTUUID=e249d476-02 rootfstype=ext4 fsck.repair=yes rootwait video=DSI-1:800x480@60,rotate=180 console=tty3 logo.nologo quiet loglevel=2 vt.global_cursor_default=0 modules-load=dwc2,libcomposite
xorg-server 2:21.1.7-3+rpt3+deb12u7 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 12 15:08:12 2025
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/zynthian/config/img/fb_zynthian_boot.jpg is a 800x480 JPEG image, color space Grayscale, 1 comp, Huffman coding.
Zooming image by 100%...done
Merging...done
didn't find evidence of prior run.
Building XImage...done
INFO:zynthian_gui_config.<module>: ZYNTHIAN-UI CONFIG ...
INFO:zynthian_gui_config.<module>: Wiring Layout V5
ZynCore: Setting-up 20+4 x Zynswitches...
ZynCore: Setting-up Zynpots => 4 x PEC11 ...
ZynCore->gpiod_start_callbacks: Callback thread created successfully
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ZynMidiRouter: Error connecting with jack server.
ERROR:zynthian_gui_config.<module>: lib_zyncore: Failed to initialise zynmidirouter (2)
*******************
EXIT STATUS => 202
*******************
/zynthian/config/img/fb_zynthian_message.jpg is a 800x480 JPEG image, color space YCbCr, 3 comps, Huffman coding.
Zooming image by 100%...done
Merging...done
Building XImage...done
INFO:zynthian_gui_config.<module>: ZYNTHIAN-UI CONFIG ...
INFO:zynthian_gui_config.<module>: Wiring Layout V5
ZynCore: Setting-up 20+4 x Zynswitches...
ZynCore: Setting-up Zynpots => 4 x PEC11 ...
ZynCore->gpiod_start_callbacks: Callback thread created successfully
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ZynMidiRouter: Error connecting with jack server.
ERROR:zynthian_gui_config.<module>: lib_zyncore: Failed to initialise zynmidirouter (2)
*******************
EXIT STATUS => 202
*******************
This is weird…
Yesterday night, I didn’t switched off my box. And now I’m coming home and all I see is the login console…
And when I try to run zynthian.sh on the console, there is exactly the same issue than before I flashed a new SD card.
What’s going on???
(venv) root@zynthian:~# systemctl status jack2
○ jack2.service - JACK2 Audio Server
Loaded: bad-setting (Reason: Unit jack2.service has a bad unit file setting.)
Active: inactive (dead)
(venv) root@zynthian:~# systemd-analyze verify /etc/systemd/system/jack2.service
/etc/systemd/system/jack2.service:11: Neither a valid executable name nor an absolute path: #JACKD_BIN_PATH#/jackd
jack2.service: Unit configuration has fatal error, unit will not be started.
Unit jack2.service has a bad unit file setting.
(venv) root@zynthian:~#journalctl -b
-----
Jan 14 16:05:16 zynthian systemd[1]: /etc/systemd/system/zynthian.service:14: WorkingDirectory= path is not absolute: #ZYNTHIAN_UI_DIR#
Jan 14 16:05:16 zynthian systemd[1]: zynthian.service: Unit configuration has fatal error, unit will not be started.
Jan 14 16:05:16 zynthian systemd[1]: /etc/systemd/system/zynthian-webconf.service:10: WorkingDirectory= path is not absolute: #ZYNTHIAN_DIR#/zynthian-webconf
Jan 14 16:05:16 zynthian systemd[1]: zynthian-webconf.service: Unit configuration has fatal error, unit will not be started.
Jan 14 16:05:16 zynthian systemd[1]: /etc/systemd/system/zynthian-config-on-boot.service:10: Neither a valid executable name nor an absolute path: #ZYNTHIAN_SYS>
Jan 14 16:05:16 zynthian systemd[1]: zynthian-config-on-boot.service: Unit configuration has fatal error, unit will not be started.
Jan 14 16:05:16 zynthian systemd[1]: /etc/systemd/system/usb-gadget.service:7: Neither a valid executable name nor an absolute path: #ZYNTHIAN_SYS_DIR#/sbin/set>
Jan 14 16:05:16 zynthian systemd[1]: usb-gadget.service: Unit configuration has fatal error, unit will not be started.
Jan 14 16:05:16 zynthian systemd[1]: /etc/systemd/system/mod-ttymidi.service:11: Neither a valid executable name nor an absolute path: #JACKD_BIN_PATH#/jack_wait
Jan 14 16:05:16 zynthian systemd[1]: mod-ttymidi.service: Unit configuration has fatal error, unit will not be started.
Jan 14 16:05:16 zynthian systemd[1]: /etc/systemd/system/jack2.service:11: Neither a valid executable name nor an absolute path: #JACKD_BIN_PATH#/jackd
Jan 14 16:05:16 zynthian systemd[1]: jack2.service: Unit configuration has fatal error, unit will not be started.
Jan 14 16:05:16 zynthian systemd[1]: /etc/systemd/system/a2jmidid.service:10: Neither a valid executable name nor an absolute path: #JACKD_BIN_PATH#/jack_wait
Jan 14 16:05:16 zynthian systemd[1]: a2jmidid.service: Unit configuration has fatal error, unit will not be started.
Jan 14 16:05:16 zynthian systemd[1]: jack2.service: Cannot add dependency job, ignoring: Unit jack2.service has a bad unit file setting.
Jan 14 16:05:16 zynthian systemd[1]: a2jmidid.service: Cannot add dependency job, ignoring: Unit a2jmidid.service has a bad unit file setting.
Jan 14 16:05:16 zynthian systemd[1]: usb-gadget.service: Cannot add dependency job, ignoring: Unit usb-gadget.service has a bad unit file setting.
Jan 14 16:05:16 zynthian systemd[1]: zynthian-config-on-boot.service: Cannot add dependency job, ignoring: Unit zynthian-config-on-boot.service has a bad unit f>
Jan 14 16:05:16 zynthian systemd[1]: mod-ttymidi.service: Cannot add dependency job, ignoring: Unit mod-ttymidi.service has a bad unit file setting.
Jan 14 16:05:16 zynthian systemd[1]: zynthian-webconf.service: Cannot add dependency job, ignoring: Unit zynthian-webconf.service has a bad unit file setting.
Jan 14 16:05:16 zynthian systemd[1]: zynthian.service: Cannot add dependency job, ignoring: Unit zynthian.service has a bad unit file setting.
-----