Bug 237062 - boot1.elf cannot find loader on ufs partition, failing to boot on powerpc SLOF
Summary: boot1.elf cannot find loader on ufs partition, failing to boot on powerpc SLOF
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.0-RELEASE
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-06 17:58 UTC by Sven Siemsen
Modified: 2019-04-06 17:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Siemsen 2019-04-06 17:58:17 UTC
To repoduce:

1. Install FreeBSD-12.0-RELEASE in qemu-system-powerpc64
   Use GPT partition scheme, all recommended options.

2. Boot installed system

qemu versions tested: 4.0.0rc1, 3.0.0 on Mac OS X intel in full emulation,
2.11.1 on POWER8 (Ubuntu 18.04, with KVM)

All quemu versions come with different SLOF versions, all fail.
Even a fresh compiled SLOF image from qemu/slof failed.

During testing, it turned out that the loader tries 16 partitions on the given boot device but fsread() fails to read or identify the UFS superblock on partition 2.

I don't know what component is failing: qemu, slof, or boot1.elf 


Result:
[...]
Trying to load:  from: /vdevice/v-scsi@71000002/disk@8000000000000000 ...   Successfully loaded
 
>> FreeBSD/powerpc Open Firmware boot block
   Boot path:   /vdevice/v-scsi@71000002/disk@8000000000000000
   Boot loader: /boot/loader
panic: domount

W3411: Client application returned.

E3406: Client application returned an error:    no current instance