On Sun, Jun 30, 2019 at 12:12:46PM -0400, Gao-Mi Baohao wrote:
> > Let me know if you can confirm that interpretation of "sr0a"
> 
> Yes, "sr" == "softraid," but when I pulled the working config from my
> systems, I discovered that there's an unintuitive syntax that I had
> forgotten about, which is probeblty your missing piece.
> 
> It looks like I actually set boot-device = "disk0" and boot-file =
> "sr0" (notice the omitted file and slice into), and the loader
> auto-selected "sr0:a/bsd" (no that's not a typo... "sr" + [softraid
> number] + ":" + [root slice on softraid dev] + "/bsd").
> 
> Give that a shot.  That's jogging my memory about having to dig
> through source for the sparc64 loader to discover that very unintutive
> syntax.

Okay.  Thanks.  Well, I tried using "sr0", but am still getting the same
error.  Below.  Note, I checked my "bioctl softraid0" which looks like yours,
and the disklabel of my sd4 (the softraid disk) looks about like yours too.
a 1g 4.2BSD filesystem at offset 0.

Something is still wrong on my end.  So, before the difference in the output
of OBP boot command, I notice you said "disk0" above, but your eeprom output
below shows "vdisk0".  Do you have a vdisk0 devalias on your system?

After that, there's just the different response I see compared you yours.
I get:

Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@2  File and args: sr0
OpenBSD IEEE 1275 Bootblock 1.4
>> OpenBSD BOOT 1.12
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19

And, you see:

sr0*
Booting sr0:a/bsd

where I see:

Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19

Any idea why the bootloader says "sr0*" for you, and "Unknown device" for me?

Thanks...

            - Chris

> Here's my working config.
> >
> > ===OPENBOOT VARIABLES===
> > glasloc-obsd# eeprom boot-device
> > boot-device=vdisk0
> > glasloc-obsd# eeprom boot-file
> > boot-file=sr0
> >
> > ===BOOT MESSAGES===
> > T5140, No Keyboard
> > Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
> > OpenBoot 4.33.6, <<OMITTED>> MB memory available, Serial #<<OMITTED>>.
> > Ethernet address <<OMITTED>>, Host ID: <<OMITTED>>.
> >
> >
> >
> > Boot device: disk0  File and args: sr0
> > OpenBSD IEEE 1275 Bootblock 1.4
> > >> OpenBSD BOOT 1.12
> > ERROR: /iscsi-hba: No iscsi-network-bootpath property
> > sr0*
> > Booting sr0:a/bsd
> > <<OMITTED>>
> > <<OMITTED>>
> > [ using 1036112 bytes of bsd ELF symbol table ]
> > console is /virtual-devices@100/console@1
> > Copyright (c) 1982, 1986, 1989, 1991, 1993
> >         The Regents of the University of California.  All rights reserved.
> > Copyright (c) 1995-2019 OpenBSD. All rights reserved.  
> > https://www.OpenBSD.org
> >
> > OpenBSD 6.5 (GENERIC.MP) #0: Tue Jun 18 18:13:03 EDT 2019

Reply via email to