Moode Forum
Mosbuild fails after Boot 4 permanently - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Mosbuild fails after Boot 4 permanently (/showthread.php?tid=215)



Mosbuild fails after Boot 4 permanently - Fidelity089 - 05-31-2018

Hi,

I am trying to build moOde 4.1 as described but always after step / boot 4 is fails;
the screen (over HDMI) is black, device does not boot up anymore, network not reachable.

Pls help out! Thanks

Here the moslog until Boot 4:
https://pastebin.com/tQYHpNH7


RE: Mosbuild fails after Boot 4 permanently - Tim Curtis - 05-31-2018

Try the following:

- Disconnect local display and keyboard
- Power off
- Connect Ethernet cable
- Power up

Then from another computer on your network connect via SSH and post the output from the command mosbrief.

-Tim


RE: Mosbuild fails after Boot 4 permanently - Fidelity089 - 05-31-2018

(05-31-2018, 04:38 PM)Tim Curtis Wrote: Try the following:

- Disconnect local display and keyboard
- Power off
- Connect Ethernet cable
- Power up

Then from another computer on your network connect via SSH and post the output from the command mosbrief.

-Tim

Hi Tim,

already tried this several times - even when with a fresh install..

Cannot access the system anymore, because no network avaiability is given after the mosbuild fails after Step 4

Therefore I cannot access SSH anymore in order to get infos

Any suggestions?


RE: Mosbuild fails after Boot 4 permanently - hjheins - 05-31-2018

Which Pi are you using please?
I noticed a similar issue when using a Pi series 1.
There the issue was that the mosbuild moode was hanging on a bluetooth device that was not available (which is no surprise as it does not exist in a Pi 1).

My solution was actually disabling the service that started bluetooth. When done, it booted as expected.


RE: Mosbuild fails after Boot 4 permanently - Fidelity089 - 05-31-2018

I use the ew Pi3 B+ - it has bluetooth, therefore this might not be the issue - but thanks to your reply!


RE: Mosbuild fails after Boot 4 permanently - Tim Curtis - 05-31-2018

I just ran a 4.1 Build using a Pi3B+ and no issues. I used a second USB-SDCard adapter and not the Direct build. If u are using the Direct Build method then per the instructions it requires a fresh, unmodified 2018-03-13 Raspbian Stretch Lite.

The symptoms "...device does not boot up anymore, network not reachable" suggests a bad SDCard, wrong version of Raspbian if using the Direct Build method, something external to the Builder.

-Tim

Build - Writing Base OS and main Build Worker to second SDCard
Code:
Authenticated to rp3 ([192.168.1.142]:22).
Linux kernel 4.14.43-v7+ running on armv7l architecture
                         ____     __  
             __ _  ___  / __ \___/ /__
            /  ' \/ _ \/ /_/ / _  / -_)
           /_/_/_/\___/\____/\_,_/\__/
                                         
                moOde audio player
               (C) 2014 Tim Curtis


The programs included with Moode are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.
Moode comes with absolutely no warranties expressed or
implied, or any other guarantees.

pi@rp3:~ $ sudo ./mosbuild.sh
****************************************************************
**
**  Moode OS Builder v2.4
**
**  Welcome to the automated process for creating the wonderful
**  custom Linux OS that runs moOde audio player.
**
**  1. You will need a Raspberry Pi running Raspbian with SSH
**  enabled and at least 2.5 GB free space on the boot SDCard.
**
**  2. The build can be written directly to the boot SDCard or
**  to a second USB-SDCard plugged into the Raspberry Pi.
**
**  WARNING: Raspbian Stretch Lite 2018-03-13 must be used if
**  building directly on the boot SDCard. It must be a fresh,
**  unmodified installation of Stretch Lite otherwise the build
**  results cannot be guaranteed.
**
**  Be sure to backup the SDCard used to boot your Pi!
**
****************************************************************

** Write OS build directly to the boot SDCard (y/n)? n

////////////////////////////////////////////////////////////////
//
// STEP 1 - Writing OS to second USB-SDCard
//
////////////////////////////////////////////////////////////////

** Check free disk space
** Do you have a backup of your boot SDCard (y/n)? y
** USB-SDCard device detection:

  Accurately detecting the USB SDCard drive first requires
  that all USB storage devices are unplugged from the Pi

** Are all USB storage devices unplugged (y/n)? y

  Now plug in the target USB SDCard drive

** Is target USB drive plugged in (y/n)? y
** USB drive detected on /dev/sda
** Partitions unmounted on /dev/sda
** Options configuration:

  There are only two build options that can be configured. The
  1st is Proxy Server. Set it to 'n' unless you are certain that
  your network requires proxied access to the Internet. The 2nd
  is WiFi connection. For maximum speed and reliability set this
  to 'n' and use an Ethernet connection for the Build.

** Option 1-2: use a proxy server for Internet access (y/n)? n
** Option 2-2: use a WiFi connection instead of Ethernet (y/n)? n
** Configuration complete:

The Builder has completed the configuration and is now ready
to proceed with building Moode OS.

** Proceed with build (y/n)? y
** Test Internet connection
** Download helper files
** Add options to properties file
** Load properties into env
** Download Rasbian Stretch Lite 2018-03-13-raspbian-stretch-lite.zip
2018-03-13-raspbian-stretch-lite.zip                     100%[=================================================================================================================================>] 348.82M  7.75MB/s    in 83s    
** Unzip 2018-03-13-raspbian-stretch-lite.zip
Archive:  2018-03-13-raspbian-stretch-lite.zip
 inflating: 2018-03-13-raspbian-stretch-lite.img  
** Mount Raspbian partitions
** Modify partitions
** Enable SSH
** Remove auto-resize task
** Enable familiar network interface names
** Install main worker script
** Enable wifi unblock
** Enable script for autorun after reboot
** Change host name to moode
** Add alias commands for monitoring the build
** Flush cached disk writes
** Partitions unmounted
** Write OS image to USB-SDCard drive on /dev/sda
3629056+0 records in
3629056+0 records out
1858076672 bytes (1.9 GB, 1.7 GiB) copied, 424.375 s, 4.4 MB/s
** Flush cached disk writes
****************************************************************
**
** Base OS created on second USB SDCard drive
**
** Remove the USB SDCard drive and use the SDCard to boot a Pi.
** The build will automatically continue at STEP 2 after boot.
** It can take around 1 hour to complete.
**
** The cmds mosbrief, moslog and moslast can be used to monitor
** the build via SSH. Connect to server moode, user pi, and
** password moodeaudio for SSH login.
**
****************************************************************

** Save base OS image for additional builds (y/n)? n
pi@rp3:~ $

Second SDCard inserted into Pi-3B+ to run Main Build to completion.
[attachment=89]


RE: Mosbuild fails after Boot 4 permanently - Fidelity089 - 06-01-2018

Hi Tim,

thank you - yes I booted up the PI with unmodified 2018-03-13 Raspbian Stretch Lite - and started the mosbuild, writing directly to SDcard,
maybe this is the issue (?)
The SDcard is brand new and has no issues.

I will try with a second USB SD card stick and will let you know.. :-)

Thanks again