Hi,

OpenBSD 7.4 and 7.3 for sparc64 do not boot from the disk on which the
OpenBSD installer has installed the OS. This is under QEMU, not hardware SPARC.
It worked with OpenBSD 7.2; therefore it must be a regression.

How to reproduce:
- Use GNU/Linux as a guest. (I use a distro on x86_64.)
- Compile qemu-8.2.0 from source and install it. (The QEMU version does not
  matter. The results are identical with older QEMU versions.)
  Update PATH to find these binaries.
- $ wget -O OpenBSD-7.4-sparc64-install.iso 
https://cdn.openbsd.org/pub/OpenBSD/7.4/sparc64/install74.iso
- $ qemu-img create -f qcow2 openbsd74.qcow2 8G
- $ common_args="-m 512 -drive file=openbsd74.qcow2,format=qcow2,index=0 
-netdev type=user,id=net0 -device ne2k_isa,netdev=net0,mac=52:54:00:12:34:56 
-nographic"
- $ qemu-system-sparc64 $common_args -cdrom OpenBSD-7.4-sparc64-install.iso 
-boot d

Perform the steps of the installer. I'm only noting non-default interactive 
input:

(I)nstall.
Terminal type: xterm
Host name: sparc64-openbsd74
DNS domain: MYDOMAINNAME
Root password: ********
Setup a user?
  login: MY_USER_NAME
  full name: MY_FULL_NAME
  password: ********
Allow root ssh login: yes
Partitioning: (E)dit auto layout
  d e
  d d
  d b
  c a
      14680064 [= 7 GB]
  a b
      enter enter swap
  p
  q
Sets:
  -game74.tgz
  -x*
Continue without verification: yes
Time zone: Europe/Berlin

Halt.

- $ qemu-system-sparc64 $common_args
=>
--------------------------------------------------------------------------------
OpenBIOS for Sparc64
Configuration device id QEMU version 1 machine id 0
kernel cmdline
CPUs: 1 x SUNW,UltraSPARC-IIi
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.1 built on Mar 7 2023 22:22
  Type 'help' for detailed information
Trying disk:a...
Not a bootable ELF image
Not a bootable a.out image

Loading FCode image...
Loaded 6888 bytes
entry point is 0x4000
Evaluating FCode...
OpenBSD IEEE 1275 Bootblock 2.1
..>> OpenBSD BOOT 1.25
Trying bsd...
Booting /pci@1fe,0/pci@1,1/ide@3/ide@0/disk@0:a/bsd
10068240@0x1000000+7920@0x199a110+150292@0x1c00000+4044012@0x1c24b14
symbols @ 0xfedca400 488378+165+666912+462908 start=0x1000000
[ using 1619400 bytes of bsd ELF symbol table ]
Unimplemented service set-symbol-lookup ([2] -- [0])
Unhandled Exception 0x0000000000000030
PC = 0x0000000001139d7c NPC = 0x0000000001139d80
Stopping execution
--------------------------------------------------------------------------------



Reply via email to