W dniu 8.12.2021 o 08:59, Werner Strydom pisze:
Hello,
I have a Fujitsu M10-1, with ample resources that I'm using to test
some applications I wrote. It already has Solaris installed with a
few logical domains. The install doc states that "The Fujitsu M10
and M12 machines have only been tested with OpenBSD running in a
logical domain.". So I downloaded the install70.iso from the website
and ran the following commands:
--- snippet start ---
ldm add-domain openbsd70
ldm add-vcpu 2 openbsd70
ldm add-memory 8G openbsd70
ldm add-vnet vnet1 primary-vsw0 openbsd70
zfs create ldmpool/openbsd70
zfs create -V 32gb ldmpool/openbsd70/disk0
ldm add-vdsdev /dev/zvol/dsk/ldmpool/openbsd70/disk0 \
openbsd70@primary-vds0
ldm add-vdisk vdisk1 openbsd70@primary-vds0 openbsd70
ldm set-var auto-boot\?=true openbsd70
ldm set-var boot-device=vdisk1 openbsd70
ldm add-vdsdev /export/home/phaka/install70.iso \
openbsd70_iso@primary-vds0
ldm add-vdisk vdisk_iso openbsd70_iso@primary-vds0 openbsd70
ldm bind-domain openbsd70
ldm list-domain
ldm start openbsd70
telnet localhost 5001
--- snippet end ---
Then I was able to run the following commands to boot
--- snippet start ---
devalias
boot vdisk_iso:f
--- snippet end ---
Which produces the following:
--- snippet start ---
Boot device: /virtual-devices@100/channel-devices@200/disk@1:f
File and args:
WARNING: Unsupported bootblk image, can not extract fcode
WARNING: Bootblk fcode extraction failed
OpenBSD IEEE 1275 Bootblock 2.1
..>> OpenBSD BOOT 1.21
ERROR: /iscsi-hba: No iscsi-network-bootpath property
ERROR: /virtual-devices@100/channel-devices@200/disk@0: Can't open disk
label package
Trying bsd...
Booting /virtual-devices@100/channel-devices@200/disk@1:f/bsd
4102856@0x1000000+1336@0x13e9ac8+3247500@0x1c00000+946804@0x1f18d8c
OF_map_phys(cfe9e000,8192,fed90000,-1) failed
no space for symbol table
Program terminated
{0} ok boot vdisk_iso
NOTICE: Entering OpenBoot.
NOTICE: Fetching Guest MD from HV.
NOTICE: Starting additional cpus.
NOTICE: Initializing LDC services.
NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.
SPARC M10-1, No Keyboard
Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 8.0000 GB memory available, Serial #12345678.
[ 2.23.0 ]
Ethernet address 0:1:2:3:4:5, Host ID: 84f9a841.
Boot device: /virtual-devices@100/channel-devices@200/disk@1 File and args:
WARNING: Unsupported bootblk image, can not extract fcode
WARNING: Bootblk fcode extraction failed
$boot failed
Evaluating:
The file just loaded does not appear to be executable.
--- snippet end ---
Am I correct at assuming I can run OpenBSD 7.0 in a logical domain on
a Fujitsu M10-1? If so, what am I missing? The documentation is a bit
terse.
Thanks,
Werner
Software Engineer, DevOps
wernerstrydom.com
Hi,
I'd try using install70.img (or miniroot70.img), instead of iso, and
also this command for booting that you can find in INSTALL.sparc64:
boot vdisk_iso:b bsd
or I think something like that worked for me
boot vdisk_iso:b ofwboot bsd
I remember that I personally used .img files and booted openbsd (I think
it was 6.7 or 6.8) in LDOM on sparc T3-1
https://www.openbsd.org/sparc64.html states that "The Fujitsu M10 and
M12 machines have only been tested with OpenBSD running in a logical
domain.", so it should work.
--
Łukasz Moskała