zynthian / zynthian-issue-tracking

Centralized Issue Tracking for Zynthian Project
https://github.com/orgs/zynthian/projects/1
11 stars 3 forks source link

ORAM 2024-05-22: RPI5 & custom HW sometimes stops booting #1086

Open Piattica opened 3 months ago

Piattica commented 3 months ago

Describe the bug My Zynthian HW (custom because not based on a offial kit) sometimes stops booting and to go ahead you have to reflash Os on SD.

To Reproduce When it happens there are the previous actions:

  1. I update the OS lauching the update from Admin menu. Update completed without issues.
  2. I load a snapshot, I play for long time.
  3. I switch off when Zynthian is not working (I am not playing or loading snapshots, etc.), cutting the power, as I do usually with my V4 Zynthian
  4. I switch on and I notice that Zynthian does not boot: screen is black and not backlight is off RPI5 cooler fan has max speed RPI5 led green obviously not possible to use webconf (If I remove the Zynthian OS SD, Zynthian behavior is the same)

Till now, it happened 4 times under ORAM 2024-05-22...2405 with 4 different progressive status of updates. I do not know how to reproduce systematically but I noticed that always it happens after an update. N.B.: it does not happen after each update; after some updates systems works perfectly.

Penultimate time I followed Jofemodo suggestion: I reflashed the bootloader then I reinserted the Zynthian OS SD that I removed after the issue: system did not boot

Last time after the issue I removed the SD and I inserted a SD with UBUNTU OS: system worked perfectly that I updated UBUTU, restared without issues. Then I removed UBUNTU and inserted Zynthian OS SD: it did not boot.

The only way to have th Zynthian working is to reflash the SD.

Setup: RPi5 4GB RAM with original active cooler (but it happened once without active cooler installed) 3A power supply (it happened either with the original of V4 kit either with another one) NXEZ HifiDAC image 5" touch screen image 64 GB Sandisk Ultra (it happened either with this SD either with another one)

Additional context zyncoder: oram (a7976d8) zynthian-ui: oram (1a505cb) zynthian-sys: oram (dcc37e6) zynthian-data: oram (db0355a) zynthian-webconf: oram (cce8b07)

About the SD preparation this is my procedure:

  1. Flash the SD using balenaEtcher-Portable-1.18.11.exe under Win10
  2. Insert SD in my custom Zynthian connected by ethernet cable to newtork
  3. Zynthian goes in a loop of booting but is visible in Zymthian.local
  4. automatic configuration is with RPI headphone and GENERIC HDMI display
  5. to stop the loop I change the audio setup using image and the corrective suggestion from Jofemodo image

P.S. I change the interface font size to 24

riban-bw commented 3 months ago

You have not described how you update the bootloader. I would suggest flashing the Raspberry Pi bootloader in this way:

After this, insert a uSD with freshly flashed ZynthianOS and let it do its initial configuration and reboot. Make the changes to give a stable platform and use.

This method of configuring the RPi5 bootloader worked for me so try it and report back.

Piattica commented 3 months ago

I did it following that procedure seggested to me by Jofemodo after issue #3

riban-bw commented 3 months ago

Sorry - did you do it via the procedure described by me in my last post or by another procedure described by jofemodo? If the latter then please describe that procedure in this ticket so that we have all the info here. And also try via this method I describe.

Piattica commented 3 months ago

I followed your procedure that is exactly the same suggested me by Jofoemodo. I add a detail forgotten before: always I change the font size to 24.

Now I reflashed the system on a 16GB SD card and done all what I wrote before: HARDWARE Raspberry Pi 5 Model B Rev 1.0 Audio: JustBoom DAC Display: Generic HDMI Display Wiring: DUMMIES I2C: Not detected Profile: SYSTEM Debian GNU/Linux 12 (bookworm) Build Date: 2024-05-21 Memory: 18% (764M/4045M) SD Card: 96% (13G/15G) Temperature: 47.7ºC Overclock: None MIDI & UI Tuning: 440 Hz Master Channel: 16 Preload Presets: On ZS3 (SubSnapShots): On Power Save: 60 minutes Audio Levels on Snapshots: On SOFTWARE zyncoder: oram (e0014fe) zynthian-ui: oram (453726c) zynthian-sys: oram (8602194) zynthian-data: oram (e222e11) zynthian-webconf: oram (2dba270) LIBRARY Snapshots: 24 User Presets: 2 User Soundfonts: 0 Audio Captures: 0 MIDI Captures: 0 NETWORK Hostname: zynthian Wifi: PM IP: 192.168.137.177 VNC: Off MIDI Services:

this is the log:

Restarting UI in debug mode Jun 14 15:39:46 zynthian systemd[1]: Started zynthian_debug.service - Zynthian User Interface (DEBUG). Jun 14 15:39:46 zynthian startx[2967]: X.Org X Server 1.21.1.7 Jun 14 15:39:46 zynthian startx[2967]: X Protocol Version 11, Revision 0 Jun 14 15:39:46 zynthian startx[2967]: Current Operating System: Linux zynthian 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 Jun 14 15:39:46 zynthian startx[2967]: Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe smsc95xx.macaddr=2C:CF:67:14:E3:CA vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 root=/dev/mmcblk0p2 rootfstype=ext4 fsck.repair=yes rootwait console=tty3 logo.nologo quiet splash vt.global_cursor_default=0 modules-load=dwc2,libcomposite Jun 14 15:39:46 zynthian startx[2967]: xorg-server 2:21.1.7-3+rpt2+deb12u7 (https://www.debian.org/support) Jun 14 15:39:46 zynthian startx[2967]: Current version of pixman: 0.42.2 Jun 14 15:39:46 zynthian startx[2967]: Before reporting problems, check http://wiki.x.org Jun 14 15:39:46 zynthian startx[2967]: to make sure that you have the latest version. Jun 14 15:39:46 zynthian startx[2967]: Markers: (--) probed, (**) from config file, (==) default setting, Jun 14 15:39:46 zynthian startx[2967]: (++) from command line, (!!) notice, (II) informational, Jun 14 15:39:46 zynthian startx[2967]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. Jun 14 15:39:46 zynthian startx[2967]: (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 14 15:39:46 2024 Jun 14 15:39:46 zynthian startx[2967]: (==) Using config directory: "/etc/X11/xorg.conf.d" Jun 14 15:39:46 zynthian startx[2967]: (==) Using system config directory "/usr/share/X11/xorg.conf.d" Jun 14 15:39:47 zynthian startx[2983]: /zynthian/config/img/fb_zynthian_boot.png is 800x480 PNG image, color type GRAY, 8 bit Jun 14 15:39:47 zynthian startx[2983]: Zooming image by 100%...done Jun 14 15:39:47 zynthian startx[2983]: Merging...didn't find evidence of prior run. Jun 14 15:39:47 zynthian startx[2983]: done Jun 14 15:39:47 zynthian startx[2983]: Building XImage...done Jun 14 15:39:47 zynthian startx[2976]: ---------------------------------------------- Jun 14 15:39:47 zynthian startx[2976]: Linux Version: bookworm Jun 14 15:39:47 zynthian startx[2976]: Kernel Version: 6.6.31+rpt-rpi-2712 Jun 14 15:39:47 zynthian startx[2976]: ZynthianOS Version: 2405 Jun 14 15:39:47 zynthian startx[2976]: Virtualization: none Jun 14 15:39:47 zynthian startx[2976]: Hardware Architecture: aarch64 Jun 14 15:39:47 zynthian startx[2976]: Hardware Model: Raspberry Pi 5 Model B Rev 1.0 Jun 14 15:39:47 zynthian startx[2976]: ---------------------------------------------- Jun 14 15:39:47 zynthian startx[3006]: INFO:zynthian_gui_config.: ZYNTHIAN-UI CONFIG ... Jun 14 15:39:47 zynthian startx[3006]: INFO:zynthian_gui_config.: No Wiring Layout configured. Only touch interface is available. Jun 14 15:39:48 zynthian startx[3006]: ZynCore->setup_zynswitch(1, 17, ...): Can't request line events from RPI GPIO Jun 14 15:39:48 zynthian startx[3006]: ZynCore->setup_zynswitch(2, 17, ...): Can't request line events from RPI GPIO Jun 14 15:39:48 zynthian startx[3006]: ZynCore->setup_zynswitch(3, 17, ...): Can't request line events from RPI GPIO Jun 14 15:39:48 zynthian startx[3006]: ZynCore: Setting-up 4 x Zynswitches... Jun 14 15:39:48 zynthian startx[3006]: ZynCore->setup_zyncoder(0, 17, 17): Can't configure zyncoder on a single pin! Jun 14 15:39:48 zynthian startx[3006]: ZynCore->setup_zyncoder(1, 17, 17): Can't configure zyncoder on a single pin! Jun 14 15:39:48 zynthian startx[3006]: ZynCore->setup_zyncoder(2, 17, 17): Can't configure zyncoder on a single pin! Jun 14 15:39:48 zynthian startx[3006]: ZynCore->setup_zyncoder(3, 17, 17): Can't configure zyncoder on a single pin! Jun 14 15:39:48 zynthian startx[3006]: ZynCore: Setting-up 8 x Zynpots (zyncoders)... Jun 14 15:39:48 zynthian startx[3006]: ZynCore->gpiod_start_callbacks: Callback thread created successfully Jun 14 15:39:48 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0 Jun 14 15:39:48 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None Jun 14 15:39:48 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None Jun 14 15:39:48 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None Jun 14 15:39:48 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None Jun 14 15:39:48 zynthian startx[3006]: DEBUG:zynthian_lv2.load_engines: Loaded engine config with timestamp: 1718374930.3333025 Jun 14 15:39:48 zynthian startx[3006]: Started libzynaudioplayer using libsndfile-1.2.0 Jun 14 15:39:48 zynthian startx[3006]: INFO:zynthian_engine_audioplayer.zynthian_engine_audioplayer: Supported Audio Codecs: ['aiff', 'aifc', 'au', 'caf', 'flac', 'mp3', 'vox', 'opus', 'ogg', 'wav'] Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_main.: STARTING ZYNTHIAN-UI ... Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_state_manager.init: Creating state manager Jun 14 15:39:49 zynthian startx[3006]: Started libzynmixer Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_chain_manager.init: Creating chain manager Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_engine_alsa_mixer.get_controllers_dict: MIXER CTRL LIST: [''] Jun 14 15:39:49 zynthian startx[3006]: Started libzynseq Jun 14 15:39:49 zynthian startx[3006]: Started libzynsmf Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_state_manager.start: Opened temperature sensor '/sys/class/hwmon/hwmon0/temp1_input' Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_state_manager.start: Opened undervoltage sensor '/sys/class/hwmon/hwmon3/in0_lcrit_alarm' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_autoconnect.init: Initializing 24 slots for MIDI devices Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_akai_apc_key25_mk2' for devices with ID 'APC Key 25 mk2 MIDI 2' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_akai_apc_key25_mk2' for devices with ID 'APC Key 25 mk2 IN 2' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_akai_midimix' for devices with ID 'MIDI Mix IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_akai_mpk_mini_mk3' for devices with ID 'MPK mini 3 IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_duopiano' for devices with ID 'GENERAL IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_korg_nanokontrol2' for devices with ID 'nanoKONTROL2 IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_launchkey_mini_mk3' for devices with ID 'Launchkey Mini MK3 IN 2' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_launchpad_mini' for devices with ID 'Launchpad Mini IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_launchpad_mini_mk3' for devices with ID 'Launchpad Mini MK3 IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_launchpad_pro_mk2' for devices with ID 'Launchpad Pro IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_launchpad_pro_mk3' for devices with ID 'Launchpad Pro MK3 IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_launchpad_x' for devices with ID 'Launchpad X IN 1' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_ctrldev_manager.update_available_drivers: Ctrldev driver 'zynthian_ctrldev_riband' for devices with ID 'riband Bluetooth' Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_autoconnect.midi_autoconnect: Connected MIDI-in device 0: ttymidi:MIDI_in Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_autoconnect.midi_autoconnect: Connected MIDI-in device 1: ZynMaster:midi_out Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_autoconnect.midi_autoconnect: Connected MIDI-out device 0: ttymidi:MIDI_out Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_autoconnect.midi_autoconnect: Connected MIDI-out device 1: ZynMaster:midi_in Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0 Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_chain_manager.add_chain: ADDED CHAIN 0 => midi_chan=None, mixer_chan=16, zmop_index=None Jun 14 15:39:49 zynthian startx[3006]: DEBUG:selector_events.init: Using selector: EpollSelector Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_gui_patterneditor.get_custom_keymap: MIDI channel 0 has not synth processors. Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_gui_brightness_config.get_backlight_sysctrl_fpath: Display brightness control file: /sys/class/backlight/4-0045/brightness Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_gui_brightness_config.init_ctrls: Setting display brightness to 255. Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(0, ...): Invalid index! Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(0, ...): Invalid index! Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(1, ...): Invalid index! Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(2, ...): Invalid index! Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(3, ...): Invalid index! Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_gui.zynswitches_init: INIT 1 ZYNSWITCHES ... Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_gui.zynswitches_midi_setup: CUSTOM I/O SETUP... Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_gui.osc_init: ZYNTHIAN-UI OSC server running in port 1370 Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_gui.close_screen: SCREEN HISTORY => [] Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_gui.close_screen: CLOSE SCREEN 'loading' => Back to 'audio_mixer' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_state_manager.load_snapshot: Loading snapshot '/zynthian/zynthian-my-data/snapshots/last_state.zss' ... Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_chain_manager.add_chain: ADDED CHAIN 1 => midi_chan=0, mixer_chan=0, zmop_index=0 Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_chain_manager.add_processor: Adding processor 'FS' with ID '3' Jun 14 15:39:49 zynthian startx[3006]: INFO:zynthian_engine.start: Starting Engine FluidSynth Jun 14 15:39:49 zynthian startx[3006]: DEBUG:zynthian_engine.start: Command: fluidsynth -a jack -m jack -g 1 -o synth.midi-bank-select=mma -o synth.cpu-cores=3 -o synth.polyphony=64 -o midi.jack.id='fluidsynth' -o audio.jack.id='fluidsynth' -o audio.jack.autoconnect=0 -o audio.jack.multi='yes' -o synth.audio-groups=16 -o synth.audio-channels=16 -o synth.effects-groups=1 -o synth.chorus.active=0 -o synth.reverb.active=0 Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(0, ...): Invalid index! Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(1, ...): Invalid index! Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(2, ...): Invalid index! Jun 14 15:39:49 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(3, ...): Invalid index! Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine_fluidsynth.add_processor: Add part 0 => fluidsynth:(l|r)_00 Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_chain_manager.add_processor: Adding processor 'JV/TAP AutoPanner' with ID '4' Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine_jalv.init: CREATING JALV ENGINE => TAP_AutoPanner-01 Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_engine.start: Starting Engine Jalv/TAP AutoPanner Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine.start: Command: jalv -n TAP_AutoPanner-01 http://moddevices.com/plugins/tap/autopan Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine_jalv.init: Jack Name => TAP_AutoPanner-01 Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_engine_jalv.get_lv2_controllers_dict: Getting Controller List from LV2 Plugin ... Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_chain_manager.add_processor: Adding processor 'JV/Tal-Reverb-III' with ID '2' Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine_jalv.init: CREATING JALV ENGINE => Tal-Reverb-III-01 Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_engine.start: Starting Engine Jalv/Tal-Reverb-III Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine.start: Command: jalv -n Tal-Reverb-III-01 urn:juce:TalReverb3 Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine_jalv.init: Jack Name => Tal-Reverb-III-01 Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_engine_jalv.get_lv2_controllers_dict: Getting Controller List from LV2 Plugin ... Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine_fluidsynth.get_bank_filelist: LOADING BANK FILES ... Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.get_bank_list: Loaded 81 banks Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_engine_fluidsynth.load_soundfont: Loading SoundFont '/zynthian/zynthian-data/soundfonts/sf2/jRhodes4.sf2' ... Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_engine_fluidsynth.load_soundfont: Loaded SoundFont '/zynthian/zynthian-data/soundfonts/sf2/jRhodes4.sf2' => 2 Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_engine_fluidsynth.load_bank_config: No yaml config file for soundfont '/zynthian/zynthian-data/soundfonts/sf2/jRhodes4.sf2' Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_engine_fluidsynth.get_preset_list: Getting Preset List for jRhodes4 Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.load_preset_list: Loaded 1 presets Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.set_preset: Preset selected: jRhodes3 (0) Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_engine_fluidsynth.set_preset: Set Preset => Processor: 0, SoundFont: 2, Bank: 0, Program: 0 Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.get_bank_list: Loaded 1 banks Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.load_preset_list: Loaded 1 presets Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.get_bank_list: Loaded 1 banks Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.load_preset_list: Loaded 10 presets Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.set_preset: Preset selected: Gentle Plate (3) Jun 14 15:39:50 zynthian startx[3006]: INFO:zynthian_processor.get_bank_list: Loaded 1 banks Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0 Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None Jun 14 15:39:50 zynthian startx[3006]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None Jun 14 15:39:50 zynthian startx[3006]: INFO:zynseq.restore_riff_data: Restoring RIFF data... Jun 14 15:39:50 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(0, ...): Invalid index! Jun 14 15:39:50 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(1, ...): Invalid index! Jun 14 15:39:50 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(2, ...): Invalid index! Jun 14 15:39:50 zynthian startx[3006]: ZynCore->setup_behaviour_zyncoder(3, ...): Invalid index!

riban-bw commented 3 months ago

Okay - so having flashed the latest RPi5 bootloader and inserted a fresh ZynthianOS uSD, you booted, waited for the reboot, configured and it was working. It continued to work during your first session but then, after powering down (by pulling power rather than a proper shutdown process), the next time you tried to boot, having made no further hardware or software configuration, it failed with blank screen, green LED, unable to reach IP - e.g. ping last known IP address?

Piattica commented 3 months ago

I repeat once more to be clearer: when it happens it is like to have a Zynthian HW without SD card

riban-bw commented 3 months ago

Okay - understood! This sounds like the uSD is getting corrupted. It is possible for this to happen when pulling power without a clean shutdown but it is very rare and the fact that you are experiencing it so often points to something odd with one or more of:

You have stated that this has happened with 2 different uSD cards. I would still recommend trying another. There has been anecdotal evidence of larger uSD not working well with Zynthian. I am suspicious of that and they may be related to the quality of the cards (there are many fake large cards) or maybe disk resizing not fully completing. But it may be worth (just for the sake of elimination) trying with a 32GB uSD. Also, all uSD are not equal. Even good brands have bad batches or behaviours that RPi finds odd. I have hade a lot of success with Kingston Canvas Select Plus 64GB 100MB/s. (Actually - those are 64GB which undermines my previous comment.) I use them because they are relatively cheap and have worked in all the RPi implementations I have put them in, including pulling the PSU without proper shutdown.

I think another uSD is the best next course of action.

Piattica commented 3 months ago

Thanks a lot Brian, Kingston Canvas Select Plus 64 GB uSD coming soon... :-)

Piattica commented 2 months ago

it happened one more time after activation of MIDI MASTER CHANNEL in Webconf