RPi3 boot failure on Leap42.2 JeOS


I downloaded and burned this image:
and after some initial startup messages, it hung with:
“exiting boot services and installing virtual address map”

According to this thread, this problem was fixed in 2017 January:
but evidently not in this case.

This discussion mentions surgery to be performed on the image on the
SD card:
but the discussion took place several versions ago; also, I am using
a Mac as host, and the commands recommended there are
not available.

Does anybody know what a current viable fix would be?


Hi and welcome to the Forum :slight_smile:
Can you hook up a screen to the HDMI port to see if it’s just switching?

Your connecting via USB and a serial (TTL) convertor from the Mac?

How long did you leave it running after that last message?

As Malcolm notes, booting the first time can sometimes appear to hang but is just busy and working.
Wait, and if you like just walk away and come back later.


Thanks for the suggestions.

For initial startup, the only connections are to an HDMI monitor and a keyboard.

After the message quoted in the first post appears, the screen goes blank.

I left the power on for 2.5 hours, and never saw any further activity.

So using the Mac as a host was for the dd command to the sd card?

You might need a serial connection (USB to TTL) to debug further.

Your HDMI connection to the screen is HDMI, DVI or VGA?

My first suspicion is that your image is faulty, possibly because of how you burned to your SDcard.

If you follow the instructions using the xzcat command in the HCL RPi3 page, the image should work. It’s well known for example that if you extract and burn the image using Windows utilities, the results can be problematic(For example guides for burning Raspbian on Windows won’t work for an openSUSE image). If you burned the image using a Mac, I don’t know what the result would be unless you have xzcat

BTW - You shouldn’t have to wait longer than 5 minutes, 10 minutes max for the “working” install to complete its background processing and continue.


Thanks again.

I used xz tools to extract the image (no Windows involvement) and I do not think that is the issue.

I connected a serial cable and captured the console output:

123.445368] reboot: Restarting system

U-Boot 2016.09.01 (Oct 15 2016 - 11:25:48 +0000)

DRAM: 880 MiB
RPI 3 Model B (0xa22082)
MMC: bcm2835_sdhci: 0
reading uboot.env

** Unable to read “uboot.env” from mmc0:1 **
Using default environment

In: serial
Out: lcd
Err: lcd
Net: Net Initialization Skipped
No ethernet found.
starting USB…
USB0: Core Release: 2.80a
scanning bus 0 for devices… 3 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found
scanning usb for ethernet devices… 1 Ethernet 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…
14974 bytes read in 168 ms (86.9 KiB/s)
Found EFI removable media binary efi/boot/bootaa64.efi
reading efi/boot/bootaa64.efi
119808 bytes read in 29 ms (3.9 MiB/s)

Starting EFI application at 0x01000000 …

Scanning disks on usb…
Scanning disks on mmc…
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 5 disks
?25hWelcome to GRUB!

[18tPlease press t to show the boot menu on this console

[?25lEFI stub: Booting Linux Kernel…
EFI stub: UEFI Secure Boot is enabled.
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map…
[ 4.133047] kvm [1]: error: KVM vGIC probing failed
4.162576] bcm2835-aux-uart 3f215040.serial: could not get clk: -517
5.324799] mmc0: unable to initialise DMA channels. Falling back to PIO
[0;1;31mFAILED[0m] Failed to start Resume from hiberna…y-id/mmc-SS08G_0x990c00c0-part3.
See ‘systemctl status “systemd-hibernat…00c0\x2dpart3.service”’ for details.
[0;32m OK [0m] Reached target Local File Systems (Pre).
Starting File System Check on /dev/…id/mmc-SS08G_0x990c00c0-part2…
[0;32m OK [0m] Reached target Local File Systems.
[0;32m OK [0m] Reached target System Initialization.
[0;32m OK [0m] Reached target Basic System.
[0;32m OK [0m] Started File System Check on /dev/d…y-id/mmc-SS08G_0x990c00c0-part2.
Mounting /sysroot…
[0;32m OK [0m] Mounted /sysroot.
[0;32m OK [0m] Reached target Initrd Root File System.
Starting Reload Configuration from the Real Root…
[0;1;31mFAILED[0m] Failed to start Reload Configuration from the Real Root.
See ‘systemctl status initrd-parse-etc.service’ for details.
[0;32m OK [0m] Stopped dracut pre-pivot and cleanup hook.
[0;32m OK [0m] Stopped target Initrd Default Target.
[0;32m OK [0m] Stopped dracut mount hook.
[0;32m OK [0m] Stopped target Basic System.
[0;32m OK [0m] Stopped target System Initialization.
Starting Setup Virtual Console…
[0;32m OK [0m] Reached target Initrd File Systems.
[0;32m OK [0m] Started Setup Virtual Console.
Starting Emergency Shell…

Generating “/run/initramfs/rdsosreport.txt”

Here are the contents of /run/initramfs/rdsosreport.txt, which include
a call to journalctl: (deleted because message was too long to post)

And here is the output from dmesg (edited again so this message could be posted; no
errors reported in the section removed from the following):

:/# dmesg
0.000000] Booting Linux on physical CPU 0x0
0.000000] Initializing cgroup subsys cpuset
0.000000] Initializing cgroup subsys cpu
0.000000] Initializing cgroup subsys cpuacct
0.000000] Linux version 4.4.70-18.9-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) ) #1 SMP Wed May 31 09:09:25 UTC 2017 (c1231a7)
0.000000] Boot CPU: AArch64 Processor [410fd034]
0.000000] Getting EFI parameters from FDT:
0.000000] EFI v2.05 by Das U-boot
0.000000] efi: efi: SMBIOS=0x35b13000 efi:
0.000000] No NUMA configuration found
0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x0000000036ffffff]
0.000000] NUMA: Adding memblock [0x0 - 0xfff] on node 0
0.000000] NUMA: Adding memblock [0x1000 - 0x35b12fff] on node 0
0.000000] NUMA: Adding memblock [0x35b13000 - 0x35b13fff] on node 0
0.000000] NUMA: Adding memblock [0x35b14000 - 0x36f86fff] on node 0
0.000000] NUMA: Adding memblock [0x36f87000 - 0x36f87fff] on node 0
0.000000] NUMA: Adding memblock [0x36f88000 - 0x36ffffff] on node 0
0.000000] Initmem setup node 0 [mem 0x00000000-0x36ffffff]
0.000000] NUMA: NODE_DATA [mem 0x36fe4c80-0x36fe69ff]
0.000000] Zone ranges:
0.000000] DMA [mem 0x0000000000000000-0x0000000036ffffff]
0.000000] Normal empty
0.000000] Movable zone start for each node
0.000000] Early memory node ranges
0.000000] node 0: [mem 0x0000000000000000-0x0000000000000fff]
0.000000] node 0: [mem 0x0000000000001000-0x0000000035b12fff]
0.000000] node 0: [mem 0x0000000035b13000-0x0000000035b13fff]
0.000000] node 0: [mem 0x0000000035b14000-0x0000000036f86fff]
0.000000] node 0: [mem 0x0000000036f87000-0x0000000036f87fff]
0.000000] node 0: [mem 0x0000000036f88000-0x0000000036ffffff]
0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000036ffffff]
0.000000] On node 0 totalpages: 225280
0.000000] DMA zone: 3520 pages used for memmap
0.000000] DMA zone: 0 pages reserved
0.000000] DMA zone: 225280 pages, LIFO batch:31

0.000000] Memory: 796780K/901120K available (6900K kernel code, 1019K rwdata, 5232K rodata, 920K init, 1078K bss, 104340K reserved, 0K cma-reserved)
0.000000] Virtual kernel memory layout:
vmalloc : 0xffff000000000000 - 0xffff7bffbfff0000 (126974 GB)
vmemmap : 0xffff7bffc0000000 - 0xffff7fffc0000000 ( 4096 GB maximum)
0xffff7bffc0000000 - 0xffff7bffc0dc0000 ( 13 MB actual)
fixed : 0xffff7ffffa7fd000 - 0xffff7ffffac00000 ( 4108 KB)
PCI I/O : 0xffff7ffffae00000 - 0xffff7ffffbe00000 ( 16 MB)
modules : 0xffff7ffffc000000 - 0xffff800000000000 ( 64 MB)
memory : 0xffff800000000000 - 0xffff800037000000 ( 880 MB)
.init : 0xffff800000c5b000 - 0xffff800000d41000 ( 920 KB)
.text : 0xffff800000080000 - 0xffff800000c5b000 ( 12140 KB)
.data : 0xffff800000d41000 - 0xffff800000e3fe00 ( 1020 KB)

0.069764] Remapping and enabling EFI services.
0.069791] EFI remap 0x0000000035b13000 => 0000000040003000
0.069840] EFI remap 0x0000000036f87000 => 0000000040017000
0.069850] EFI remap 0x000000003f100000 => 0000000040020000
0.069888] ASID allocator initialised with 65536 entries
0.073394] Detected VIPT I-cache on CPU1
0.073458] CPU1: Booted secondary processor [410fd034]
0.074089] Detected VIPT I-cache on CPU2
0.074130] CPU2: Booted secondary processor [410fd034]
0.074740] Detected VIPT I-cache on CPU3
0.074779] CPU3: Booted secondary processor [410fd034]
0.074856] Brought up 4 CPUs
0.074888] SMP: Total of 4 processors activated.
0.074903] CPU: All CPU(s) started at EL2
0.074935] alternatives: patching kernel code
0.075808] devtmpfs: initialized
0.084219] SMBIOS 3.0 present.
0.084247] DMI: raspberrypi rpi/rpi, BIOS 2016.09.01 10/15/2016
0.084642] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
0.084731] futex hash table entries: 1024 (order: 5, 131072 bytes)
0.085343] pinctrl core: initialized pinctrl subsystem
0.086876] NET: Registered protocol family 16

0.140283] DMA: preallocated 256 KiB pool for atomic allocations
0.140490] Serial: AMBA PL011 UART driver
0.143951] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_ctsrts_gpio32, deferring probe

0.250721] Unpacking initramfs…
3.724961] Freeing initrd memory: 6336K (ffff80002705b000 - ffff80002768b000)
3.725417] kvm [1]: error: KVM vGIC probing failed
3.725594] kvm [1]: virtual timer IRQ4
3.725607] kvm [1]: Hyp mode initialized successfully
3.726814] audit: initializing netlink subsys (disabled)
3.726881] audit: type=2000 audit(3.689:1): initialized
3.727489] HugeTLB registered 2 MB page size, pre-allocated 0 pages
3.727605] zbud: loaded
3.727986] VFS: Disk quotas dquot_6.6.0
3.728030] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
3.730061] Key type asymmetric registered
3.730074] Asymmetric key parser ‘x509’ registered
3.730155] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
3.730239] io scheduler noop registered
3.730248] io scheduler deadline registered
3.730268] io scheduler cfq registered (default)
3.731662] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
3.731692] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
3.732149] efifb: probing for efifb
3.732185] efifb: framebuffer at 0x3daf0000, mapped to 0xffff000000300000, using 1068k, total 1066k
3.732190] efifb: mode is 656x416x32, linelength=2624, pages=1
3.732194] efifb: scrolling: redraw
3.732199] efifb: Truecolor: size=8:8:8:8, shift=24:0:8:16
3.736243] Console: switching to colour frame buffer device 82x26
3.739787] fb0: EFI VGA frame buffer device
3.740372] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
3.741414] bcm2835-aux-uart 3f215040.serial: could not get clk: -517
3.741523] Serial: AMBA driver
3.742026] Unable to detect cache hierarchy from DT for CPU 0
3.742434] mousedev: PS/2 mouse device common for all mice
3.743601] ledtrig-cpu: registered to indicate activity on CPUs
3.743698] EFI Variables Facility v0.08 2004-May-17
3.743712] efivars: get_next_variable: status=8000000000000007
3.743785] hidraw: raw HID events driver (C) Jiri Kosina
3.744939] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
3.745551] NET: Registered protocol family 10
3.746871] registered taskstats version 1
3.746977] zswap: loaded using pool lzo/zbud
3.747034] page_owner is disabled
3.759260] Key type encrypted registered
3.759287] AppArmor: AppArmor sha1 policy hashing enabled
3.759681] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 72, base_baud = 0) is a PL011 rev2
3.760434] console [ttyS0] disabled
3.760461] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 61, base_baud = 31224999) is a 16550
3.772291] console [ttyS0] enabled
3.772657] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-09-02 11:49
3.772871] hctosys: unable to open rtc device (rtc0)
3.776060] Freeing unused kernel memory: 920K (ffff800000c5b000 - ffff800000d41000)
3.788990] random: systemd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
3.789960] random: systemd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
3.790026] random: systemd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
3.792790] systemd[1]: Detected architecture arm64.
3.792802] systemd[1]: Running in initial RAM disk.
3.792876] systemd[1]: Set hostname to <linux>.

4.775878] sdhci: Secure Digital Host Controller Interface driver
4.775896] sdhci: Copyright(c) Pierre Ossman
4.777110] sdhci-pltfm: SDHCI platform and OF driver helper
4.824867] mmc0: unable to initialise DMA channels. Falling back to PIO
4.924785] mmc0: loaded - DMA disabled
4.927651] sdhci-iproc 3f300000.sdhci: No vmmc regulator found
4.927669] sdhci-iproc 3f300000.sdhci: No vqmmc regulator found
4.974856] mmc1: SDHCI controller on 3f300000.sdhci [3f300000.sdhci] using PIO
5.065837] mmc0: host does not support reading read-only switch, assuming write-enable
5.068327] mmc0: new high speed SDHC card at address aaaa
5.074094] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
5.077810] mmcblk0: p1 p2 p3
5.090360] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
5.092671] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
5.094633] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
5.123431] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
5.322445] random: nonblocking pool is initialized
5.420642] mmc1: new SDIO card at address 0001
5.798327] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
5.894387] systemctl[228]: undefined instruction: pc=0000aaaae662daf4
5.894421] Code: 00000000 00000000 00000000 00000000 (00000000)
5.894685] Core dump to |/usr/lib/systemd/systemd-coredump 228 0 0 4 5 systemctl pipe failed
5.918986] systemctl[233]: undefined instruction: pc=0000aaaab7246af4
5.919027] Code: 00000000 00000000 00000000 00000000 (00000000)
5.919301] Core dump to |/usr/lib/systemd/systemd-coredump 233 0 0 4 5 systemctl pipe failed
5.935324] systemctl[237]: undefined instruction: pc=0000aaaac21c6af4
5.935348] Code: 00000000 00000000 00000000 00000000 (00000000)
5.935622] Core dump to |/usr/lib/systemd/systemd-coredump 237 0 0 4 5 systemctl pipe failed

The undefined instruction errors are reproducible, i.e., they show up with the same pc address across multiple reboots and power cycles;
I do not know if any of the issues reported earlier are critical.

The command I always use is (replace your_image_name and device as per your system);

xzcat <your_image_name>.raw.xz | dd bs=4M of=/dev/<device> iflag=fullblock oflag=direct

Try creating a new image and run both your serial connection and hdmi when booting.

Success! I finally had time to get back to this. Thank you both for your help.

I reflashed the SD card, and started it up with 3 modes of instrumentation:

  1. hdmi/keyboard/mouse
  2. ttl/usb cable to a CoolTerm window on Mac
  3. ssh via ethernet from a terminal window on Mac

The serial cable interface showed the expected behavior and eventually provided a login prompt; I was also able to ssh and login via ethernet,
and continue the configuration with Yast.

Interestingly enough, the hdmi monitor display still showed the same behavior as before: displaying the message
“exiting boot services and installing virtual address map”
and then going off into never never land. However, this is of no consequence, since I plan to use the board in headless mode anyway.
Could this be a peculiarity of the JeOS variant?

Thanks again!

AFAIK it is, serial only for JeOS, HDMI for a desktop (eg iceWM), now, search the forum for how to setup and run from a USB drive :wink: