Error when booting since new gorgona edge?

Hello fellas,

after installing the new gorgona edge image I can’t boot my zynthian anymore (error screen). Please help!

Summary

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
Current Operating System: Linux zynthian 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l
Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Build Date: 11 November 2016 11:59:59AM
xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
Current version of pixman: 0.33.3
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: Mon Sep 18 11:26:34 2017
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
INFO:root:Wiring Layout PROTOTYPE-4
DEBUG:root:ZYNCODER A: [26, 25, 0, 4]
DEBUG:root:ZYNCODER B: [21, 27, 7, 3]
DEBUG:root:SWITCHES layout: [107, 23, 106, 2]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don’t restrict self connect requests"
control open “hw:0” (No such file or directory)
control open “hw:0” (No such file or directory)
creating alsa driver … hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control open “hw:0” (No such file or directory)
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
JackTemporaryException : now quits…
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
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
ERROR:zynautoconnect.zynthian_autoconnect:Failed to connect with Jack Server: Error initializing “Zynthian_autoconnect”: <jack.Status 0x11: failure, server_failed>
ERROR:zynautoconnect.zynthian_autoconnect:ERROR Autoconnecting: ‘NoneType’ object has no attribute 'get_ports’
Zyncoder: Zynswitches poll thread created successfully
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don’t restrict self connect requests"
control open “hw:0” (No such file or directory)
control open “hw:0” (No such file or directory)
creating alsa driver … hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control open “hw:0” (No such file or directory)
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
JackTemporaryException : now quits…
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
ERROR:zynautoconnect.zynthian_autoconnect:ERROR Autoconnecting: ‘NoneType’ object has no attribute 'get_ports’
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
ERROR:zynautoconnect.zynthian_autoconnect:ERROR Autoconnecting: ‘NoneType’ object has no attribute 'get_ports’
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
ERROR:zynautoconnect.zynthian_autoconnect:ERROR Autoconnecting: ‘NoneType’ object has no attribute 'get_ports’
jack server is not running or cannot be started
Zyncoder: Error connecting with jack server.
Zyncoder: MIDI tuning frequency set to 440 Hz (8192)
./zynthian.sh: line 112: 834 Segmentation fault ./zynthian_gui.py
INFO:root:Wiring Layout PROTOTYPE-4
DEBUG:root:ZYNCODER A: [26, 25, 0, 4]
DEBUG:root:ZYNCODER B: [21, 27, 7, 3]
DEBUG:root:SWITCHES layout: [107, 23, 106, 2]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don’t restrict self connect requests"
control open “hw:0” (No such file or directory)
control open “hw:0” (No such file or directory)
creating alsa driver … hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control open “hw:0” (No such file or directory)
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
JackTemporaryException : now quits…
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server

The problem seems to be related with your soundcard. It could be:

  • misconfigured
  • unconnected or badly connected
  • broken

First of all, power-off your zynthian, unplug all the USB devices and verify that your power source can supply 1.5-2 A of good quality DC-current (ALWAYS use a good power source!!).

Second, verify that the soundcard is well connected to the RBPi, also verify carefully the wiring. If you have changed some wire, you can cause conflict or short-circuit.

Third, power-on your zynthian and access the webconf tool. Verify that your configuration is correct:

  • Audio: HifiBerry DAC+
  • Display: PiTFT 2.8" (resistive)
  • Wiring: PROTOTYPE-4

Push “Save” button from “Display” or “Audio” tabs. This will regenerate the zynthian configuration and will reboot the device.

Fourth, test again to see if it works OK now. If not, please, login into your Zynthian Box and send the output from the next 3 commands:

# pstree

# lsmod

# cat /boot/config.txt

Kind Regards,

ah! Somehow it switched my soundcard! I was actually using the audioinjector and now it was set to hifiberry :+1: