Skip to content

Instantly share code, notes, and snippets.

@gibsson
Last active February 15, 2021 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gibsson/e4433d3c3c0861ba463beb1bbae1d0aa to your computer and use it in GitHub Desktop.
Save gibsson/e4433d3c3c0861ba463beb1bbae1d0aa to your computer and use it in GitHub Desktop.
UC20 boot failure RPi3B
U-Boot 2020.10+dfsg-1ubuntu0~20.04.2 (Jan 08 2021 - 13:03:11 +0000)
DRAM: 948 MiB
RPI 3 Model B (0xa02082)
MMC: mmc@7e202000: 0, mmcnr@7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
Bus usb@7e980000: USB DWC2
scanning bus usb@7e980000 for devices... 4 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 2  1  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
4638 bytes read in 3 ms (1.5 MiB/s)
## Executing script at 02400000
4096 bytes read in 7 ms (571.3 KiB/s)
7586304 bytes read in 340 ms (21.3 MiB/s)
halfword at 0x00080000 (0x8b1f) != halfword at 0x02700000 (0x5a4d)
Total of 0 halfword(s) were the same
Copying kernel...
16937018 bytes read in 746 ms (21.7 MiB/s)
Booting Ubuntu (with bootz) from mmc 0:...
Kernel image @ 0x080000 [ 0x000000 - 0x73c200 ]
## Flattened Device Tree blob at 02600000
Booting using the fdt blob at 0x2600000
Using Device Tree in place at 02600000, end 0260a2e9
Starting kernel ...
[ 0.804685] kvm [1]: Error, CPU 0 not supported!
[ 1.703269] spi-bcm2835 3f204000.spi: could not get clk: -517
[ 2.720708] systemd-modules-load[166]: Inserted module 'i2c_bcm2708'
[ 2.731659] systemd-modules-load[166]: Inserted module 'nvme'
[ 2.749768] systemd-modules-load[166]: Inserted module 'usbhid'
[ 2.770627] systemd-modules-load[166]: Inserted module 'hid_generic'
[ 2.789492] systemd-modules-load[166]: Module 'squashfs' is built in
[ 2.809335] systemd-modules-load[166]: Failed to find module 'ahci'
[ 2.825293] systemd-modules-load[166]: Inserted module 'libahci'
[ 2.840971] systemd[1]: Starting Flush Journal to Persistent Storage...
[ 2.862743] systemd-modules-load[166]: Inserted module 'usb_storage'
[ 2.885942] systemd-modules-load[166]: Inserted module 'nls_iso8859_1'
[ 2.905393] systemd-modules-load[166]: Inserted module 'virtio_scsi'
[ 2.916690] systemd-modules-load[166]: Module 'sdhci' is built in
[ 2.937316] systemd-modules-load[166]: Failed to find module 'sdhci-pci'
[ 2.957958] systemd-modules-load[166]: Failed to find module 'sdhci-acpi'
[ 2.977012] journalctl[188]: No items in catalog.
[ 2.992731] systemd-modules-load[166]: Module 'mmc_block' is built in
[ 3.009486] systemd-modules-load[166]: Failed to find module 'hv_storvsc'
[ 3.018542] systemd-modules-load[166]: Failed to find module 'hv_vmbus'
[ 3.037158] systemd[1]: Finished Flush Journal to Persistent Storage.
[ 3.061030] systemd[1]: Starting Create Volatile Files and Directories...
[ 3.080807] systemd-modules-load[166]: Inserted module 'virtio_blk'
[ 3.096480] systemd[1]: Started udev Kernel Device Manager.
[ 3.114292] systemd-modules-load[166]: Inserted module 'algif_skcipher'
[ 3.132489] systemd-modules-load[166]: Inserted module 'dm_crypt'
[ 3.148458] systemd-modules-load[166]: Module 'dm_mod' is built in
[ 3.165626] systemd-tmpfiles[177]: Failed to copy files to /etc/nsswitch.conf: No such file or directory
[ 3.184683] systemd-tmpfiles[177]: Failed to copy files to /etc/pam.d: No such file or directory
[ 3.204498] systemd-tmpfiles[177]: Failed to copy files to /etc/issue: No such file or directory
[ 3.228421] systemd-modules-load[166]: Inserted module 'aes_arm'
[ 3.244492] systemd-modules-load[166]: Module 'cbc' is built in
[ 3.260772] systemd-modules-load[166]: Inserted module 'echainiv'
[ 3.276484] systemd-modules-load[166]: Module 'cryptomgr' is built in
[ 3.292469] systemd[1]: Finished Create Volatile Files and Directories.
[ 3.308524] systemd[1]: Starting Rebuild Journal Catalog...
[ 3.324728] systemd-modules-load[166]: Inserted module 'sha256_arm'
[ 3.340515] systemd-modules-load[166]: Module 'xts' is built in
[ 3.361804] systemd-modules-load[166]: Failed to find module 'aesni-intel'
[ 3.380532] systemd-modules-load[166]: Inserted module 'phy_generic'
[ 3.396455] systemd-modules-load[166]: Module 'sdhci_iproc' is built in
[ 3.412436] systemd-modules-load[166]: Module 'fixed' is built in
[ 3.428528] systemd-modules-load[166]: Module 'gpio_regulator' is built in
[ 3.444613] systemd-modules-load[166]: Module 'genet' is built in
[ 3.468570] systemd[1]: Finished Load Kernel Modules.
[ 3.484571] systemd[1]: Finished Rebuild Journal Catalog.
[ 3.500606] systemd[1]: Mounting FUSE Control File System...
[ 3.516573] systemd[1]: Mounting Kernel Configuration File System...
[ 3.536853] systemd[1]: Starting Apply Kernel Variables...
[ 3.552969] systemd[1]: Starting Update is Completed...
[ 3.568530] systemd[1]: Mounted FUSE Control File System.
[ 3.584581] systemd[1]: Finished Update is Completed.
[ 3.600786] systemd-sysctl[196]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
[ 3.620602] systemd-sysctl[196]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
[ 3.640567] systemd-sysctl[196]: Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory
[ 3.665366] systemd[1]: Mounted Kernel Configuration File System.
[ 3.676543] systemd[1]: Finished Apply Kernel Variables.
[ 3.693529] systemd-udevd[185]: Using default interface naming scheme 'v245'.
[ 3.716707] systemd[1]: Finished udev Coldplug all Devices.
[ 3.732554] systemd[1]: Starting udev Wait for Complete Device Initialization...
[ 4.081360] udevadm[202]: systemd-udev-settle.service is deprecated.
[ 4.104721] systemd[1]: Finished udev Wait for Complete Device Initialization.
[ 4.965568] systemd[1]: Reached target System Initialization.
[ 4.984661] systemd[1]: Started Daily Cleanup of Temporary Directories.
[ 5.000690] systemd[1]: Reached target Basic System.
[ 5.017143] systemd[1]: Reached target Timers.
[ 5.032509] systemd[1]: Condition check resulted in Wait for the Ubuntu Core chooser trigger being skipped.
[ 5.052676] systemd[1]: Starting the-tool.service...
[ 5.068602] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 5.069746] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 5.070255] systemd[1]: Starting File System Check on /dev/mmcblk0p1...
[ 5.077122] systemd[1]: Started File System Check Daemon to report status.
[ 5.153197] systemd-fsck[220]: CP437: Invalid argument
[ 6.739042] systemd-fsck[220]: fsck.fat 4.1 (2017-01-24)
[ 6.739464] systemd-fsck[220]: /dev/mmcblk0p1: 305 files, 744253/2419758 clusters
[ 6.765814] systemd[1]: Finished File System Check on /dev/mmcblk0p1.
[ 6.784611] systemd[1]: Mounting /run/mnt/ubuntu-seed...
[ 6.843931] systemd[1]: Mounted /run/mnt/ubuntu-seed.
[ 36.777043] systemd[1]: systemd-fsckd.service: Succeeded.
[ 49.745926] the-tool[209]: 2019/11/19 12:25:12.427402 secboot_tpm.go:196: cannot open TPM connection: no TPM2 device is available
[ 49.768448] the-tool[[209]: FAILEDerror: cannot load metadata and verify essential bootstrap snaps [base kernel snapd gadget]: cannot validate "/run/mnt/ubuntu-seed/snaps/pi-kernel_232.snap" for snap "pi-kernel" (snap-id "jeIuP6tfFrvAdic8DMWqHmoaoukAPNbJ"), hash mismatch with snap-revision]
Failed to start the-tool.service.
[ 49.770264] systemd[1]: the-tool.service: Main process exited, code=exited, status=1/FAILURE
[ 49.828541] systemd[1]: the-tool.service: Failed with result 'exit-code'.
[ 49.844362] systemd[1]: Failed to start the-tool.service.
[ 49.860383] systemd[1]: Startup finished in 2.315s (kernel) + 0 (initrd) + 47.493s (userspace) = 49.808s.
[ 49.880366] systemd[1]: the-tool.service: Triggering OnFailure= dependencies.
[ 49.900314] systemd[1]: systemd-ask-password-console.path: Succeeded.
[ 49.916329] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
[ 49.936404] systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
[ 49.952333] systemd[1]: Stopped Daily Cleanup of Temporary Directories.
[ 49.968335] systemd[1]: Stopped target Basic System.
[ 49.984350] systemd[1]: Stopped target System Initialization.
[ 50.000440] systemd[1]: emergency.service: Starting requested but asserts failed.
[ 50.020344] systemd[1]: Assertion failed for Emergency Shell.
[ 50.036360] systemd[1]: Dependency failed for Emergency Mode.
[ 50.052356] systemd[1]: emergency.target: Job emergency.target/start failed with result 'dependency'.
@gibsson
Copy link
Author

gibsson commented Feb 15, 2021

=> after a redownload / reflash it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment