Boot Failure: ubuntu-14.04.1-console-armhf-2014-10-29

Hi

I’d like to report something odd I have experienced with the ubuntu-14.04.1-console-armhf-2014-10-29.tar.xz distribution installed on an 8 Gb SD card. It all boots fine and a connection can be made to the BBB via the USB keyboard/HDMI monitor and also via ssh from a remote PC.

However, connecting up the USB cable from the BBB to a PC running Ubuntu 14.04 LTS destroys the ability of the BBB to boot from that SD card. Any existing ssh connections into the BBB return the phrase “bus failure” upon the next key press. Removing the USB cable and attempting to reboot results in a BBB with a failed boot and all four LEDs fully on. The only option is to reinstall onto the SD card. The BBB as USB does appear in the remote PC’s launcher bar but the contents of the BBB cannot be viewed in the File Manager.

Also, I doubt this is related, but an SD card formatted up with the ubuntu-14.04.1-console-armhf-2014-10-29.tar.xz image requires the button to be pressed on each boot - otherwise it boots from EMMC. I am not sure what is controlling this, but other SD cards I have formatted up only seem to require the button press on the first boot and the BBB remembers it thereafter.

These issues may be known about already - sorry if that is the case.

The SD card was created by

downloading ubuntu-14.04.1-console-armhf-2014-10-29.tar.xz

un-tar’ing it to a directory

cd’ing to that directory

installing with a command: ./setup_sdcard.sh --mmc /dev/sdb --dtb beaglebone

This is quite reproducible on my BBB - not just a one-off.

Hi

I'd like to report something odd I have experienced with the
ubuntu-14.04.1-console-armhf-2014-10-29.tar.xz distribution installed on an
8 Gb SD card. It all boots fine and a connection can be made to the BBB via
the USB keyboard/HDMI monitor and also via ssh from a remote PC.

However, connecting up the USB cable from the BBB to a PC running Ubuntu
14.04 LTS destroys the ability of the BBB to boot from that SD card. Any
existing ssh connections into the BBB return the phrase "bus failure" upon
the next key press. Removing the USB cable and attempting to reboot results
in a BBB with a failed boot and all four LEDs fully on. The only option is
to reinstall onto the SD card. The BBB as USB does appear in the remote PC's
launcher bar but the contents of the BBB cannot be viewed in the File
Manager.

odd, haven't seen that.

Also, I doubt this is related, but an SD card formatted up with the
ubuntu-14.04.1-console-armhf-2014-10-29.tar.xz image requires the button to
be pressed on each boot - otherwise it boots from EMMC. I am not sure what
is controlling this, but other SD cards I have formatted up only seem to
require the button press on the first boot and the BBB remembers it
thereafter.

add the flag

"--bbb-old-bootloader-in-emmc"

to setup_sdcard.sh

Regards,

add the flag “–bbb-old-bootloader-in-emmc”

OK, I have now tried that. The command line I used was

./setup_sdcard.sh --mmc /dev/sdb --dtb beaglebone --bbb-old-bootloader-in-emmc

the problem remains. I tested this several times and I did see (once) the BBB appear as a USB drive on the remote PC. In that instance the BBB did reboot successfully. However after rebooting and again plugging in the USB cable, the error appeared, the BBB would not mount as a USB drive and the SD card was rendered unbootable.

I have found an error message reported by the remote Linux PC. This appears to be output by the process which is trying to mount up the BBB as a drive over USB:

Error mounting /dev/sdb at /media/dtree/rootfs: Command-line `mount -t “ext4” -o “uhelper=udisks2,nodev,nosuid” “/dev/sdb” “/media/dtree/rootfs”’ exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Now that's really odd ^

BTW, i'm yanking the "usb media" in situations where there is only
"one" partition.. (it works in some situations but i've been getting
lots of other issues by email.)

./setup_sdcard.sh --mmc /dev/sdb --dtb beaglebone
--beagleboard.org-production --bbb-old-bootloader-in-emmc

The "--beagleboard.org-production" add's a default 100Mb fat partition..

Regards,

./setup_sdcard.sh --mmc /dev/sdb –dtb beaglebone --bbb-old-bootloader-in-emmc

Wrong dtb isnt it ?

It's a special case where u-boot/kernel support two boards (bbw/bbb)
so it's not the kernel's "dtb" like most of the options in that
script.

Regards,

Let me know if there is anything else you want me to try. I am happy to test other alternatives.

BTW: Mono/C# installs just fine on theubuntu-14.04.1-console-armhf-2014-10-29 image. Thank you for making it available.

Let me know if there is anything else you want me to try. I am happy to test
other alternatives.

Well "it's fixed"

cd /opt/scripts/
git pull

In a "single" partition setup you'll only get the usb-cdm serial
gadget, in a "dual" partition setup you'll get
usb-flash/usb-eth/usb-cdm..

BTW: Mono/C# installs just fine on
theubuntu-14.04.1-console-armhf-2014-10-29 image. Thank you for making it
available.

Regards,