Discussion:
OpenBSD SPARC T4-1 softraid boot issues
(too old to reply)
Jordan
2017-12-26 20:56:53 UTC
Permalink
Hi everyone, long time lurker, first time poster. I've been around since
the 5.* days, so I would consider myself fairly seasoned in the ways of
OpenBSD. I've obviously done the RTFM dance, done it once, done it
twice, been doing it all week long now-- this problem really has me
banging my head against a wall.

I'm cross posting this to both the misc and sparc64 mailing lists in the
hopes that I can entice both the softraid and sparc connoisseurs.

I've recently gotten my hands on a couple shiny new SPARC T4-1 and T3-1
servers and I was looking to install OpenBSD with a softraid mirror on
them for production use. The problem is, is that I end up with this upon
following the install instructions and rebooting:

Boot device: /***@400/***@1/***@0/***@4/***@0/***@p0 File and
args: sr0a:/bsd OpenBSD IEEE 1275 Bootblock 1.4

OpenBSD BOOT 1.9 Error: /iscsi-hba: no
iscsi-network-bootpath property Unknown device: sr0 Cannot
boot from softraid: Unknown error: code 19 Program terminated

The only other information I can find online involving a softraid error
code 19 was the following:
http://openbsd-archive.7691.n7.nabble.com/5-8-sparc64-boot-from-softraid-4-fails-td284700.html


Considering he was running 5.8 and I am on 6.2 and the fix for his issue
has already been committed, I’m left scratching my head as to what the
problem here could be.

The install procedure I followed on the T4 was:

1) Boot install kernel and drop to shell and provision RAID partitions
on both disks using the letter “a” via disklabel(8)

2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0

3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m

4) I finished off the install as usual by typing ”install” into command
line and proceeded normally

5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)

Aside from the sparc64 specific stuff, these same steps (plus x86
specific fdisk stuff) get me a working, bootable softraid mirror on my
i386/amd64 test boxes.


It appears the issue I linked to in the OpenBSD archive, was that the
bootloader couldn't probe beyond 4 levels deep in the device tree.
According to Stefan Sperling he committed a patch to allow it to probe
to (an arbitrarily set) 10 levels deep in the device tree. According to
my devalias output, my disk0 appears to be 6 levels deep in the tree if
I am reading it correctly.

I did manage to get the T4 booting from softraid using this guide:
http://brycv.com/blog/2012/openbsd-sparc64-and-root-on-softraid/

That guide however does seem to contravene the guidelines set forth in
softraid(4): “On sparc64, bootable chunks must be RAID partitions using
the letter ‘a’ .”

With the above guide from brycv.com we end up with 3 separate partitions
on our disks. This doesn't seem right as on amd64/i386 you would only
have a single raid partition per disk, not a separate root and swap
partition in addition to the RAID partitions. It would also seem that a
rebuild would involve significantly more manual intervention to maintain
drive bootability in the event of one of the drives in the mirror going
down ie: One wouldn't just be able to run bioctl -R /dev/rsd1a sd2 and
have the array be golden again, they would instead also need to mount
and copy over the contents of the other non RAID partitions on the disk.

In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume, or does
sparc64 require me to have a small partition at the beginning of my
physical disks containing the kernel and ofwboot? One fellow on reddit
said he had a T1000 booting softraid crypto no problem so I am wondering
if this is a T4 specific issue.

Sorry for the wall of text, I really appreciate any help you guys can
offer. Let me know if you need any other information and I’ll be happy
to provide it. Does anyone else here have any experience with sparc64
softraid booting or with OpenBSD on a T3 or T4? Please let me know, and
Merry Christmas to all!

Obligatory dmesg:

T4 -1 Output
# dmesg
console is /virtual-***@100/***@1
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org
OpenBSD 6.2 (RAMDISK) #282: Tue Oct 3 23:21:19 MDT 2017
***@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/RAMDISK
real mem = 136902082560 (130560MB)
avail mem = 134512222208 (128280MB)
mainbus0 at root: SPARC T4-1
cpu0 at mainbus0: SPARC-T4 (rev 0.0) @ 2847.862 MHz
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"reboot-memory" at mainbus0 not configured
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
"virtual-channel" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel" at cbus0 not configured
"virtual-domain-service" at cbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 vendor "IDT", unknown product 0x807a rev
0x02: msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci4 at ppb3 bus 4
mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus0 at mpii0: 834 targets
ppb4 at pci2 dev 6 function 0 vendor "IDT", unknown product 0x807a rev
0x02: msi
pci5 at ppb4 bus 5
ppb5 at pci2 dev 8 function 0 vendor "IDT", unknown product 0x807a rev
0x02: msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02
pci10 at ppb9 bus 10
"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not
configured
ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci11 at ppb10 bus 11
mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus1 at mpii1: 834 targets
ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci12 at ppb11 bus 12
em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:de
em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:df
ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci13 at ppb12 bus 13
em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:e0
em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:e1
ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci14 at ppb13 bus 14
ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci15 at ppb14 bus 15
ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci16 at ppb15 bus 16
ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev
0x02
pci17 at ppb16 bus 17
ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci18 at ppb17 bus 18
ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0
ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0
ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev
2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev
1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev
1.00/1.00 addr 1
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom
removable
sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct
fixed naa.5000c5001b1e4cd3
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3
0/direct fixed naa.5001b448b4351630
sd1: 228936MB, 512 bytes/sector, 468862128 sectors
sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct
fixed naa.5000c50029674d0f
sd2: 286102MB, 512 bytes/sector, 585937500 sectors
uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product
0x6560" rev 2.00/0.0b addr 2
uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends
Inc. Generic Hub" rev 2.00/1.00 addr 3
umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends
Inc. Virtual Cdrom Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom
removable
cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth
Device" rev 2.00/1.00 addr 5
cdce0: address 02:21:28:57:47:17
uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends
Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0
uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends
Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev1: iclass 3/1
uhid at uhidev1 not configured
uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product
0x6560" rev 2.00/0.0b addr 7
softraid0 at root
scsibus3 at softraid0: 256 targets
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 286101MB, 512 bytes/sector, 585934896 sectors
bootpath:
/***@400,0/***@1,0/***@0,0/***@4,0/***@0,0/***@5001b448b4351630,0:c
root on rd0a swap on rd0b dump on rd0b
umass1 at uhub3 port 1 configuration 1 interface 0 "LEXR PLUG DRIVE LEXR
PLUG DRIVE" rev 1.10/0.01 addr 8
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd4 at scsibus4 targ 1 lun 0: <LEXAR, JUMPDRIVE, 1.02> SCSI1 0/direct
removable serial.05dc0080000000000000
sd4: 30MB, 512 bytes/sector, 62464 sectors
sd4 detached
scsibus4 detached
umass1 detached
#
Edgar Pettijohn
2017-12-26 21:52:43 UTC
Permalink
Hi everyone, long time lurker, first time poster. I've been around since the
5.* days, so I would consider myself fairly seasoned in the ways of OpenBSD.
I've obviously done the RTFM dance, done it once, done it twice, been doing
it all week long now-- this problem really has me banging my head against a
wall.
I'm cross posting this to both the misc and sparc64 mailing lists in the
hopes that I can entice both the softraid and sparc connoisseurs.
I've recently gotten my hands on a couple shiny new SPARC T4-1 and T3-1
servers and I was looking to install OpenBSD with a softraid mirror on them
for production use. The problem is, is that I end up with this upon
args: sr0a:/bsd OpenBSD IEEE 1275 Bootblock 1.4
OpenBSD BOOT 1.9 Error: /iscsi-hba: no
iscsi-network-bootpath property Unknown device: sr0 Cannot
boot from softraid: Unknown error: code 19 Program terminated
The only other information I can find online involving a softraid error code
19 was the following: http://openbsd-archive.7691.n7.nabble.com/5-8-sparc64-boot-from-softraid-4-fails-td284700.html
Considering he was running 5.8 and I am on 6.2 and the fix for his issue has
already been committed, I???m left scratching my head as to what the problem
here could be.
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter ???a??? via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
shouldn't that have been
# dd if=/dev/zero of=/dev/rsd2c bs=1m count=1
4) I finished off the install as usual by typing ???install??? into command
line and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
Aside from the sparc64 specific stuff, these same steps (plus x86 specific
fdisk stuff) get me a working, bootable softraid mirror on my i386/amd64
test boxes.
It appears the issue I linked to in the OpenBSD archive, was that the
bootloader couldn't probe beyond 4 levels deep in the device tree. According
to Stefan Sperling he committed a patch to allow it to probe to (an
arbitrarily set) 10 levels deep in the device tree. According to my devalias
output, my disk0 appears to be 6 levels deep in the tree if I am reading it
correctly.
http://brycv.com/blog/2012/openbsd-sparc64-and-root-on-softraid/
That guide however does seem to contravene the guidelines set forth in
softraid(4): ???On sparc64, bootable chunks must be RAID partitions using
the letter ???a??? .???
With the above guide from brycv.com we end up with 3 separate partitions on
our disks. This doesn't seem right as on amd64/i386 you would only have a
single raid partition per disk, not a separate root and swap partition in
addition to the RAID partitions. It would also seem that a rebuild would
involve significantly more manual intervention to maintain drive bootability
in the event of one of the drives in the mirror going down ie: One wouldn't
just be able to run bioctl -R /dev/rsd1a sd2 and have the array be golden
again, they would instead also need to mount and copy over the contents of
the other non RAID partitions on the disk.
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume, or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot? One fellow on reddit said he had a T1000
booting softraid crypto no problem so I am wondering if this is a T4
specific issue.
Sorry for the wall of text, I really appreciate any help you guys can offer.
Let me know if you need any other information and I???ll be happy to provide
it. Does anyone else here have any experience with sparc64 softraid booting
or with OpenBSD on a T3 or T4? Please let me know, and Merry Christmas to
all!
T4 -1 Output
# dmesg
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org
OpenBSD 6.2 (RAMDISK) #282: Tue Oct 3 23:21:19 MDT 2017
real mem = 136902082560 (130560MB)
avail mem = 134512222208 (128280MB)
mainbus0 at root: SPARC T4-1
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"reboot-memory" at mainbus0 not configured
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
"virtual-channel" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel" at cbus0 not configured
"virtual-domain-service" at cbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci2 at ppb1 bus 2
msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci4 at ppb3 bus 4
mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus0 at mpii0: 834 targets
msi
pci5 at ppb4 bus 5
msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02
pci10 at ppb9 bus 10
"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not
configured
ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci11 at ppb10 bus 11
mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus1 at mpii1: 834 targets
ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci12 at ppb11 bus 12
em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:de
em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:df
ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci13 at ppb12 bus 13
em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:e0
em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:e1
ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci14 at ppb13 bus 14
ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci15 at ppb14 bus 15
ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci16 at ppb15 bus 16
ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev
0x02
pci17 at ppb16 bus 17
ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci18 at ppb17 bus 18
ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0
ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0
ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00
addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00
addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00
addr 1
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom
removable
sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed
naa.5000c5001b1e4cd3
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3 0/direct
fixed naa.5001b448b4351630
sd1: 228936MB, 512 bytes/sector, 468862128 sectors
sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed
naa.5000c50029674d0f
sd2: 286102MB, 512 bytes/sector, 585937500 sectors
uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product
0x6560" rev 2.00/0.0b addr 2
uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends Inc.
Generic Hub" rev 2.00/1.00 addr 3
umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends Inc.
Virtual Cdrom Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom
removable
cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth
Device" rev 2.00/1.00 addr 5
cdce0: address 02:21:28:57:47:17
uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends
Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0
uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends
Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev1: iclass 3/1
uhid at uhidev1 not configured
uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product
0x6560" rev 2.00/0.0b addr 7
softraid0 at root
scsibus3 at softraid0: 256 targets
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 286101MB, 512 bytes/sector, 585934896 sectors
root on rd0a swap on rd0b dump on rd0b
umass1 at uhub3 port 1 configuration 1 interface 0 "LEXR PLUG DRIVE LEXR
PLUG DRIVE" rev 1.10/0.01 addr 8
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd4 at scsibus4 targ 1 lun 0: <LEXAR, JUMPDRIVE, 1.02> SCSI1 0/direct
removable serial.05dc0080000000000000
sd4: 30MB, 512 bytes/sector, 62464 sectors
sd4 detached
scsibus4 detached
umass1 detached
#
Jordan
2017-12-26 23:54:05 UTC
Permalink
Thanks Edgar for catching that typo, step 3 should indeed read:

3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/zero
of=/dev/rsd2c bs=1m count=1

That is the command I used on the T4, I accidental wrote urandom rather than zero when I was typing the email.
Post by Edgar Pettijohn
Hi everyone, long time lurker, first time poster. I've been around since the
5.* days, so I would consider myself fairly seasoned in the ways of OpenBSD.
I've obviously done the RTFM dance, done it once, done it twice, been doing
it all week long now-- this problem really has me banging my head against a
wall.
I'm cross posting this to both the misc and sparc64 mailing lists in the
hopes that I can entice both the softraid and sparc connoisseurs.
I've recently gotten my hands on a couple shiny new SPARC T4-1 and T3-1
servers and I was looking to install OpenBSD with a softraid mirror on them
for production use. The problem is, is that I end up with this upon
args: sr0a:/bsd OpenBSD IEEE 1275 Bootblock 1.4
OpenBSD BOOT 1.9 Error: /iscsi-hba: no
iscsi-network-bootpath property Unknown device: sr0 Cannot
boot from softraid: Unknown error: code 19 Program terminated
The only other information I can find online involving a softraid error code
19 was the following: http://openbsd-archive.7691.n7.nabble.com/5-8-sparc64-boot-from-softraid-4-fails-td284700.html
Considering he was running 5.8 and I am on 6.2 and the fix for his issue has
already been committed, I???m left scratching my head as to what the problem
here could be.
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter ???a??? via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
shouldn't that have been
# dd if=/dev/zero of=/dev/rsd2c bs=1m count=1
4) I finished off the install as usual by typing ???install??? into command
line and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
Aside from the sparc64 specific stuff, these same steps (plus x86 specific
fdisk stuff) get me a working, bootable softraid mirror on my i386/amd64
test boxes.
It appears the issue I linked to in the OpenBSD archive, was that the
bootloader couldn't probe beyond 4 levels deep in the device tree. According
to Stefan Sperling he committed a patch to allow it to probe to (an
arbitrarily set) 10 levels deep in the device tree. According to my devalias
output, my disk0 appears to be 6 levels deep in the tree if I am reading it
correctly.
http://brycv.com/blog/2012/openbsd-sparc64-and-root-on-softraid/
That guide however does seem to contravene the guidelines set forth in
softraid(4): ???On sparc64, bootable chunks must be RAID partitions using
the letter ???a??? .???
With the above guide from brycv.com we end up with 3 separate partitions on
our disks. This doesn't seem right as on amd64/i386 you would only have a
single raid partition per disk, not a separate root and swap partition in
addition to the RAID partitions. It would also seem that a rebuild would
involve significantly more manual intervention to maintain drive bootability
in the event of one of the drives in the mirror going down ie: One wouldn't
just be able to run bioctl -R /dev/rsd1a sd2 and have the array be golden
again, they would instead also need to mount and copy over the contents of
the other non RAID partitions on the disk.
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume, or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot? One fellow on reddit said he had a T1000
booting softraid crypto no problem so I am wondering if this is a T4
specific issue.
Sorry for the wall of text, I really appreciate any help you guys can offer.
Let me know if you need any other information and I???ll be happy to provide
it. Does anyone else here have any experience with sparc64 softraid booting
or with OpenBSD on a T3 or T4? Please let me know, and Merry Christmas to
all!
T4 -1 Output
# dmesg
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org
OpenBSD 6.2 (RAMDISK) #282: Tue Oct 3 23:21:19 MDT 2017
real mem = 136902082560 (130560MB)
avail mem = 134512222208 (128280MB)
mainbus0 at root: SPARC T4-1
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"reboot-memory" at mainbus0 not configured
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
"virtual-channel" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel" at cbus0 not configured
"virtual-domain-service" at cbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci2 at ppb1 bus 2
msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci4 at ppb3 bus 4
mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus0 at mpii0: 834 targets
msi
pci5 at ppb4 bus 5
msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02
pci10 at ppb9 bus 10
"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not
configured
ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci11 at ppb10 bus 11
mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus1 at mpii1: 834 targets
ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci12 at ppb11 bus 12
em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:de
em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:df
ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci13 at ppb12 bus 13
em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:e0
em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address
00:10:e0:3e:a1:e1
ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci14 at ppb13 bus 14
ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci15 at ppb14 bus 15
ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev
0x02: msi
pci16 at ppb15 bus 16
ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev
0x02
pci17 at ppb16 bus 17
ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci18 at ppb17 bus 18
ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0
ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0
ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00
addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00
addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00
addr 1
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom
removable
sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed
naa.5000c5001b1e4cd3
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3 0/direct
fixed naa.5001b448b4351630
sd1: 228936MB, 512 bytes/sector, 468862128 sectors
sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed
naa.5000c50029674d0f
sd2: 286102MB, 512 bytes/sector, 585937500 sectors
uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product
0x6560" rev 2.00/0.0b addr 2
uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends Inc.
Generic Hub" rev 2.00/1.00 addr 3
umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends Inc.
Virtual Cdrom Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom
removable
cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth
Device" rev 2.00/1.00 addr 5
cdce0: address 02:21:28:57:47:17
uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends
Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0
uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends
Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev1: iclass 3/1
uhid at uhidev1 not configured
uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product
0x6560" rev 2.00/0.0b addr 7
softraid0 at root
scsibus3 at softraid0: 256 targets
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 286101MB, 512 bytes/sector, 585934896 sectors
root on rd0a swap on rd0b dump on rd0b
umass1 at uhub3 port 1 configuration 1 interface 0 "LEXR PLUG DRIVE LEXR
PLUG DRIVE" rev 1.10/0.01 addr 8
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd4 at scsibus4 targ 1 lun 0: <LEXAR, JUMPDRIVE, 1.02> SCSI1 0/direct
removable serial.05dc0080000000000000
sd4: 30MB, 512 bytes/sector, 62464 sectors
sd4 detached
scsibus4 detached
umass1 detached
#
Stefan Sperling
2017-12-27 12:52:20 UTC
Permalink
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter “a” via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
Step 3 might get you in trouble. You're writing to the raw disk device
so this command might nuke disklabel and/or softraid meta data.
4) I finished off the install as usual by typing ”install” into command line
and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume,
Yes, except as mentioned the RAID fs needs to be on an 'a' partition.
or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot?
No it does not.
Jordan Geoghegan
2017-12-27 20:27:58 UTC
Permalink
Thanks for the clarification Stefan. Did you have to manually run
installboot(8) or is the bootloader stuff taken care of automatically by
the install script?
Post by Stefan Sperling
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter “a” via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
Step 3 might get you in trouble. You're writing to the raw disk device
so this command might nuke disklabel and/or softraid meta data.
4) I finished off the install as usual by typing ”install” into command line
and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume,
Yes, except as mentioned the RAID fs needs to be on an 'a' partition.
or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot?
No it does not.
Jordan Geoghegan
2017-12-27 22:29:09 UTC
Permalink
I tried installing again and followed your instructions to a T and the
installer hung after typing reboot at the prompt upon finishing install.

I let it sit for 10-15 minutes after entering reboot command but then
determined it had likely frozen considering it said the disks had been
synced and the softraid volume reported being detached. I power cycled
the device and was met with this upon reboot after following
boot_sparc64(8) instructions:

Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok

So I rebooted and and tried once again with fresh disks while I recorded
the console output to see if anyone can spot me doing something wrong
here, or if this is indeed some sort of bug.

The installer didn't freeze the second time around, but I ultimately met
the same result:

Cannot boot from softraid: Unknown error: code 19

Any ideas?


T4-1 output:




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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.



Can't open disk label package
Evaluating:
No viable default device found in boot-device variable.

{0} ok boot disk3:c bsd
Boot device: /***@400/***@1/***@0/***@4/***@0/***@p3:c File and args: bsd
OpenBSD IEEE 1275 Bootblock 1.4
..>> OpenBSD BOOT 1.9
|#/#-#open /***@400/***@1/***@0/***@4/***@0/***@w5001b448b4351630,0:c/etc/random.seed: No such file or directory
\#|#/#-#\#Booting /***@400/***@1/***@0/***@4/***@0/***@w5001b448b4351630,0:c/bsd
***@0x1000000|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#
|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#+***@0x13e60b0/#+***@0x1c00000-#
\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\
#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#
/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/
#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#+***@0x1f1c018\# #/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#

console is /virtual-***@100/***@1

Copyright (c) 1982, 1986, 1989, 1991, 1993

The Regents of the University of California. All rights reserved.

Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org


OpenBSD 6.2 (RAMDISK) #282: Tue Oct 3 23:21:19 MDT 2017

***@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/RAMDISK

real mem = 136902082560 (130560MB)

avail mem = 134512214016 (128280MB)

mainbus0 at root: SPARC T4-1

cpu0 at mainbus0: SPARC-T4 (rev 0.0) @ 2847.862 MHz

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"SPARC-T4" at mainbus0 not configured

"reboot-memory" at mainbus0 not configured

vbus0 at mainbus0

"flashprom" at vbus0 not configured

"tpm" at vbus0 not configured

cbus0 at vbus0

"virtual-channel" at cbus0 not configured

"virtual-channel-client" at cbus0 not configured

"virtual-channel-client" at cbus0 not configured

"virtual-channel" at cbus0 not configured

"virtual-domain-service" at cbus0 not configured

vrng0 at vbus0

vcons0 at vbus0: ivec 0x111, console

vrtc0 at vbus0

vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff

pci0 at vpci0

ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01

pci1 at ppb0 bus 1

ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02

pci2 at ppb1 bus 2

ppb2 at pci2 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi

pci3 at ppb2 bus 3

ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02

pci4 at ppb3 bus 4

mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi

mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0

scsibus0 at mpii0: 834 targets

ppb4 at pci2 dev 6 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi

pci5 at ppb4 bus 5

ppb5 at pci2 dev 8 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi

pci6 at ppb5 bus 6

ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01

pci7 at ppb6 bus 7

ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02

pci8 at ppb7 bus 8

ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02

pci9 at ppb8 bus 9

ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02

pci10 at ppb9 bus 10

"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not configured

ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02

pci11 at ppb10 bus 11

mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi

mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0

scsibus1 at mpii1: 834 targets

ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02

pci12 at ppb11 bus 12

em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:de

em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:df

ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02

pci13 at ppb12 bus 13

em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e0

em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e1

ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi

pci14 at ppb13 bus 14

ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi

pci15 at ppb14 bus 15

ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi

pci16 at ppb15 bus 16

ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev 0x02

pci17 at ppb16 bus 17

ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa

pci18 at ppb17 bus 18

ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0

ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0

ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404

usb0 at ehci0: USB revision 2.0

uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1

usb1 at ohci0: USB revision 1.0

uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1

usb2 at ohci1: USB revision 1.0

uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1

"niu" at mainbus0 not configured

"pci-performance-counters" at mainbus0 not configured

cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom removable

sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c5001b1e4cd3

sd0: 286102MB, 512 bytes/sector, 585937500 sectors

sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3 0/direct fixed naa.5001b448b4351630

sd1: 228936MB, 512 bytes/sector, 468862128 sectors

sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c50029674d0f

sd2: 286102MB, 512 bytes/sector, 585937500 sectors

uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 2

uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends Inc. Generic Hub" rev 2.00/1.00 addr 3

umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends Inc. Virtual Cdrom Device" rev 2.00/1.00 addr 4

umass0: using SCSI over Bulk-Only

scsibus2 at umass0: 2 targets, initiator 0

cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom removable

cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth Device" rev 2.00/1.00 addr 5

cdce0: address 02:21:28:57:47:17

uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6

uhidev0: iclass 3/1

ukbd0 at uhidev0

wskbd0 at ukbd0

uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6

uhidev1: iclass 3/1

uhid at uhidev1 not configured

uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 7

softraid0 at root

scsibus3 at softraid0: 256 targets

bootpath: /***@400,0/***@1,0/***@0,0/***@4,0/***@0,0/***@5001b448b4351630,0:c

root on rd0a swap on rd0b dump on rd0b

erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/sparc64 6.2 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# cd /dev

# sh MAKEDEV sd1 sd2 sd3 sd4

# disklabel sd1

# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label:
duid: d2b2a5bbe2d92f1e
flags: vendor
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 1
sectors/cylinder: 32
cylinders: 180
total sectors: 468862128
boundstart: 0
boundend: 468862128
drivedata: 0

16 partitions:
# size offset fstype [fsize bsize cpg]
a: 5760 0 4.2BSD 4096 8192 128
c: 468862128 0 unused
#
# disklabel sd0

# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0

16 partitions:
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
#
# disklabel sd2

# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0

16 partitions:
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
# disklabel -E sd0

This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
a a
offset: [0]
size: [585937500] *
Rounding size to cylinder (5136 sectors): 585935424
FS type: [4.2BSD] RAID
w
q
No label changes.
# disklabel sd0 > layout

# disklabel -R sd2 layout

# rm layout

# bioctl -c 1 -l sd0a,sd2a softraid0

sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed

sd3: 286101MB, 512 bytes/sector, 585934896 sectors

softraid0: RAID 1 volume attached as sd3
# dd if=/dev/zero of=/dev/rsd3c bs=1m count=1

1+0 records in
1+0 records out
1048576 bytes transferred in 0.104 secs (10063131 bytes/sec)
# bioctl sd3

Volume Status Size Device
softraid0 0 Online 299998666752 sd3 RAID1
0 Online 299998666752 0:0.0 noencl <sd0a>
1 Online 299998666752 0:1.0 noencl <sd2a>
# install

At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.

System hostname? (short form, e.g. 'foo') NAS

Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [em0]
IPv4 address for em0? (or 'dhcp' or 'none') [dhcp]
em0: DHCPDISCOVER - interval 1
em0: DHCPOFFER from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: DHCPREQUEST to 255.255.255.255
em0: DHCPACK from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: bound to 172.17.2.23 -- renewal in 21600 seconds
IPv6 address for em0? (or 'autoconf' or 'none') [none]
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [done]
Default IPv4 route? (IPv4 address or none) [172.17.2.1]
add net default: gateway 172.17.2.1
DNS domain name? (e.g. 'example.com') [my.domain]
Using DNS nameservers at 192.168.1.1

Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Setup a user? (enter a lower-case loginname, or 'no') [no] bsduser
Full name for user bsduser? [bsduser]
Password for user bsduser? (will not echo)
Password for user bsduser? (again)
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no] yes
What timezone are you in? ('?' for list) [Canada/Pacific]

Available disks are: sd0 sd1 sd2 sd3.
Which disk is the root disk? ('?' for details) [sd0] sd3
The auto-allocated layout for sd3 is:
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] e
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.0G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
R b
[+|-]new size (with unit): [57095010] 8g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 19.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 2.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 105675570 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 107780085 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 128760975 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 132970005 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 145564965 4.2BSD 4096 32768 1 # /home
R f
[+|-]new size (with unit): [4209030] 10g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 11.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 149741865 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 162336825 4.2BSD 4096 32768 1 # /home
R i
[+|-]new size (with unit): [4209030] 4g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 9.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153934830 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 166529790 4.2BSD 4096 32768 1 # /home
R k
[+|-]new size (with unit): [400050630] 200g
Amount too big
199# ## ## #R e
[+|-]new size (with unit): [74172105] 35g
R k
[+|-]new size (with unit): [400050630] 200g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.4G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.0G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 100695420 4.2BSD 2048 16384 1 # /usr
g: 1.0G 121676310 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 123780825 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 144761715 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153163710 4.2BSD 2048 16384 1 # /usr/obj
k: 200.0G 165758670 4.2BSD 4096 32768 1 # /home
w
q
No label changes.
/dev/rsd3a: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3k: 204805.2MB in 419441080 sectors of 512 bytes
252 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each
/dev/rsd3d: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3f: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3g: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3h: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3j: 6149.9MB in 12594960 sectors of 512 bytes
31 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3i: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3e: 35840.3MB in 73400984 sectors of 512 bytes
178 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
Available disks are: sd0 sd1 sd2.
Which disk do you wish to initialize? (or 'done') [done]
/dev/sd3a (8db1efc313479eda.a) on /mnt type ffs (rw, asynchronous, local)
/dev/sd3k (8db1efc313479eda.k) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3d (8db1efc313479eda.d) on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3f (8db1efc313479eda.f) on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/sd3g (8db1efc313479eda.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
/dev/sd3h (8db1efc313479eda.h) on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
/dev/sd3j (8db1efc313479eda.j) on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3i (8db1efc313479eda.i) on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3e (8db1efc313479eda.e) on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)

Let's install the sets!
Location of sets? (cd0 cd1 disk http or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
HTTP Server? (hostname, list#, 'done' or '?') [ftp.OpenBSD.org]
Server directory? [pub/OpenBSD/6.2/sparc64]

Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.
[X] bsd [X] base62.tgz [X] game62.tgz [X] xfont62.tgz
[X] bsd.mp [X] comp62.tgz [X] xbase62.tgz [X] xserv62.tgz
[X] bsd.rd [X] man62.tgz [X] xshare62.tgz
Set name(s)? (or 'abort' or 'done') [done]

Get/Verify SHA256.sig 0% | | 0 --:-- ETA
Get/Verify SHA256.sig 100% |**************************| 1985 00:00
Signature Verified

Get/Verify bsd 0% | | 0 --:-- ETA
Get/Verify bsd 6% |* | 640 KB 00:14 ETA
Get/Verify bsd 22% |***** | 2176 KB 00:07 ETA
Get/Verify bsd 49% |************ | 4864 KB 00:03 ETA
Get/Verify bsd 84% |********************* | 8320 KB 00:00 ETA
Get/Verify bsd 100% |**************************| 9834 KB 00:04

Get/Verify bsd.mp 0% | | 0 --:-- ETA
Get/Verify bsd.mp 7% |* | 768 KB 00:12 ETA
Get/Verify bsd.mp 24% |****** | 2432 KB 00:06 ETA
Get/Verify bsd.mp 50% |************* | 4992 KB 00:02 ETA
Get/Verify bsd.mp 82% |********************* | 8192 KB 00:00 ETA
Get/Verify bsd.mp 100% |**************************| 9886 KB 00:04

Get/Verify bsd.rd 0% | | 0 --:-- ETA
Get/Verify bsd.rd 28% |******* | 768 KB 00:02 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 100% |**************************| 2668 KB 00:03

Get/Verify base62.tgz 0% | | 0 --:-- ETA
Get/Verify base62.tgz 0% | | 640 KB 02:56 ETA
Get/Verify base62.tgz 1% | | 2176 KB 01:40 ETA
Get/Verify base62.tgz 4% |* | 4608 KB 01:09 ETA
Get/Verify base62.tgz 6% |* | 7424 KB 00:56 ETA
Get/Verify base62.tgz 9% |** | 11008 KB 00:45 ETA
Get/Verify base62.tgz 14% |*** | 15744 KB 00:36 ETA
Get/Verify base62.tgz 18% |**** | 20224 KB 00:31 ETA
Get/Verify base62.tgz 24% |****** | 26624 KB 00:25 ETA
Get/Verify base62.tgz 26% |****** | 29312 KB 00:25 ETA
Get/Verify base62.tgz 28% |******* | 32128 KB 00:24 ETA
Get/Verify base62.tgz 31% |******** | 35072 KB 00:23 ETA
Get/Verify base62.tgz 34% |******** | 38272 KB 00:22 ETA
Get/Verify base62.tgz 37% |********* | 41600 KB 00:21 ETA
Get/Verify base62.tgz 40% |********** | 45056 KB 00:20 ETA
Get/Verify base62.tgz 43% |*********** | 48640 KB 00:19 ETA
Get/Verify base62.tgz 47% |************ | 52352 KB 00:17 ETA
Get/Verify base62.tgz 50% |************* | 55424 KB 00:17 ETA
Get/Verify base62.tgz 53% |************* | 59008 KB 00:15 ETA
Get/Verify base62.tgz 56% |************** | 62080 KB 00:14 ETA
Get/Verify base62.tgz 59% |*************** | 65920 KB 00:13 ETA
Get/Verify base62.tgz 62% |**************** | 68992 KB 00:12 ETA
Get/Verify base62.tgz 65% |**************** | 72960 KB 00:11 ETA
Get/Verify base62.tgz 68% |***************** | 76032 KB 00:10 ETA
Get/Verify base62.tgz 72% |****************** | 80000 KB 00:09 ETA
Get/Verify base62.tgz 76% |******************* | 84224 KB 00:07 ETA
Get/Verify base62.tgz 80% |******************** | 88704 KB 00:06 ETA
Get/Verify base62.tgz 83% |********************* | 93056 KB 00:05 ETA
Get/Verify base62.tgz 88% |********************** | 97920 KB 00:03 ETA
Get/Verify base62.tgz 92% |*********************** | 100 MB 00:02 ETA
Get/Verify base62.tgz 97% |************************* | 105 MB 00:00 ETA
Get/Verify base62.tgz 100% |**************************| 108 MB 00:30

Get/Verify comp62.tgz 0% | | 0 --:-- ETA
Get/Verify comp62.tgz 1% | | 896 KB 00:52 ETA
Get/Verify comp62.tgz 5% |* | 2816 KB 00:31 ETA
Get/Verify comp62.tgz 11% |** | 5632 KB 00:22 ETA
Get/Verify comp62.tgz 19% |**** | 9344 KB 00:16 ETA
Get/Verify comp62.tgz 29% |******* | 13952 KB 00:11 ETA
Get/Verify comp62.tgz 41% |********** | 19456 KB 00:08 ETA
Get/Verify comp62.tgz 54% |************** | 25600 KB 00:05 ETA
Get/Verify comp62.tgz 67% |***************** | 31744 KB 00:03 ETA
Get/Verify comp62.tgz 83% |********************* | 39552 KB 00:01 ETA
Get/Verify comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Get/Verify comp62.tgz 100% |**************************| 47128 KB 00:10

Get/Verify man62.tgz 0% | | 0 --:-- ETA
Get/Verify man62.tgz 9% |** | 640 KB 00:10 ETA
Get/Verify man62.tgz 29% |******* | 2048 KB 00:04 ETA
Get/Verify man62.tgz 63% |**************** | 4480 KB 00:01 ETA
Get/Verify man62.tgz 98% |************************* | 6912 KB 00:00 ETA
Get/Verify man62.tgz 100% |**************************| 7015 KB 00:04

Get/Verify game62.tgz 0% | | 0 --:-- ETA
Get/Verify game62.tgz 36% |********* | 1024 KB 00:01 ETA
Get/Verify game62.tgz 95% |************************ | 2688 KB 00:00 ETA
Get/Verify game62.tgz 100% |**************************| 2806 KB 00:02

Get/Verify xbase62.tgz 0% | | 0 --:-- ETA
Get/Verify xbase62.tgz 3% | | 640 KB 00:26 ETA
Get/Verify xbase62.tgz 12% |*** | 2176 KB 00:14 ETA
Get/Verify xbase62.tgz 26% |****** | 4608 KB 00:08 ETA
Get/Verify xbase62.tgz 45% |*********** | 7936 KB 00:04 ETA
Get/Verify xbase62.tgz 62% |**************** | 10880 KB 00:03 ETA
Get/Verify xbase62.tgz 85% |********************** | 14976 KB 00:01 ETA
Get/Verify xbase62.tgz 100% |**************************| 17472 KB 00:06

Get/Verify xshare62.tgz 0% | | 0 --:-- ETA
Get/Verify xshare62.tgz 14% |*** | 640 KB 00:05 ETA
Get/Verify xshare62.tgz 52% |************* | 2304 KB 00:01 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 100% |**************************| 4419 KB 00:04

Get/Verify xfont62.tgz 0% | | 0 --:-- ETA
Get/Verify xfont62.tgz 1% | | 768 KB 00:51 ETA
Get/Verify xfont62.tgz 6% |* | 2688 KB 00:27 ETA
Get/Verify xfont62.tgz 13% |*** | 5504 KB 00:18 ETA
Get/Verify xfont62.tgz 22% |***** | 8832 KB 00:13 ETA
Get/Verify xfont62.tgz 33% |******** | 13312 KB 00:09 ETA
Get/Verify xfont62.tgz 47% |************ | 18560 KB 00:06 ETA
Get/Verify xfont62.tgz 61% |*************** | 24064 KB 00:04 ETA
Get/Verify xfont62.tgz 77% |******************** | 30592 KB 00:02 ETA
Get/Verify xfont62.tgz 97% |************************* | 38400 KB 00:00 ETA
Get/Verify xfont62.tgz 100% |**************************| 39351 KB 00:09

Get/Verify xserv62.tgz 0% | | 0 --:-- ETA
Get/Verify xserv62.tgz 6% |* | 640 KB 00:15 ETA
Get/Verify xserv62.tgz 22% |***** | 2304 KB 00:06 ETA
Get/Verify xserv62.tgz 46% |*********** | 4736 KB 00:03 ETA
Get/Verify xserv62.tgz 78% |******************** | 8064 KB 00:01 ETA
Get/Verify xserv62.tgz 100% |**************************| 10266 KB 00:04

Installing bsd 0% | | 0 --:-- ETA
Installing bsd 100% |**************************| 9834 KB 00:00

Installing bsd.mp 0% | | 0 --:-- ETA
Installing bsd.mp 100% |**************************| 9886 KB 00:00

Installing bsd.rd 0% | | 0 --:-- ETA
Installing bsd.rd 100% |**************************| 2668 KB 00:00

Installing base62.tgz 0% | | 0 --:-- ETA
Installing base62.tgz 11% |** | 12672 KB 00:07 ETA
Installing base62.tgz 21% |***** | 23936 KB 00:07 ETA
Installing base62.tgz 29% |******* | 32640 KB 00:07 ETA
Installing base62.tgz 34% |******** | 38528 KB 00:07 ETA
Installing base62.tgz 40% |********** | 44416 KB 00:07 ETA
Installing base62.tgz 45% |*********** | 50816 KB 00:07 ETA
Installing base62.tgz 65% |**************** | 72576 KB 00:03 ETA
Installing base62.tgz 96% |************************ | 104 MB 00:00 ETA
Installing base62.tgz 100% |**************************| 108 MB 00:08

Extracting etc.tgz 0% | | 0 --:-- ETA
Extracting etc.tgz 100% |**************************| 189 KB 00:00

Installing comp62.tgz 0% | | 0 --:-- ETA
Installing comp62.tgz 25% |****** | 12032 KB 00:02 ETA
Installing comp62.tgz 44% |*********** | 20992 KB 00:02 ETA
Installing comp62.tgz 66% |***************** | 31360 KB 00:01 ETA
Installing comp62.tgz 77% |******************** | 36480 KB 00:01 ETA
Installing comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Installing comp62.tgz 100% |**************************| 47128 KB 00:05

Installing man62.tgz 0% | | 0 --:-- ETA
Installing man62.tgz 87% |********************** | 6144 KB 00:00 ETA
Installing man62.tgz 100% |**************************| 7015 KB 00:01

Installing game62.tgz 0% | | 0 --:-- ETA
Installing game62.tgz 100% |**************************| 2806 KB 00:00

Installing xbase62.tgz 0% | | 0 --:-- ETA
Installing xbase62.tgz 54% |************** | 9600 KB 00:00 ETA
Installing xbase62.tgz 93% |************************ | 16384 KB 00:00 ETA
Installing xbase62.tgz 100% |**************************| 17472 KB 00:02

Extracting xetc.tgz 0% | | 0 --:-- ETA
Extracting xetc.tgz 100% |**************************| 7040 00:00

Installing xshare62.tgz 0% | | 0 --:-- ETA
Installing xshare62.tgz 63% |**************** | 2816 KB 00:00 ETA
Installing xshare62.tgz 95% |************************ | 4224 KB 00:00 ETA
Installing xshare62.tgz 100% |**************************| 4419 KB 00:02

Installing xfont62.tgz 0% | | 0 --:-- ETA
Installing xfont62.tgz 40% |********** | 16128 KB 00:01 ETA
Installing xfont62.tgz 68% |***************** | 27008 KB 00:00 ETA
Installing xfont62.tgz 96% |************************ | 38016 KB 00:00 ETA
Installing xfont62.tgz 100% |**************************| 39351 KB 00:03

Installing xserv62.tgz 0% | | 0 --:-- ETA
Installing xserv62.tgz 100% |**************************| 10266 KB 00:00
Location of sets? (cd0 cd1 disk http or 'done') [done]
Saving configuration files...done.
Making all device nodes...done.
Multiprocessor machine; using bsd.mp instead of bsd.
Relinking to create unique kernel...done.

CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.

# reboot

syncing disks... done

sd3 detached

rebooting


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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.



Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
Post by Jordan
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter “a” via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
Step 3 might get you in trouble. You're writing to the raw disk device
so this command might nuke disklabel and/or softraid meta data.
Post by Jordan
4) I finished off the install as usual by typing ”install” into command line
and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume,
Yes, except as mentioned the RAID fs needs to be on an 'a' partition.
Post by Jordan
or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot?
No it does not.
Edgar Pettijohn
2017-12-27 22:56:09 UTC
Permalink
Post by Jordan Geoghegan
I tried installing again and followed your instructions to a T and the
installer hung after typing reboot at the prompt upon finishing install.
I let it sit for 10-15 minutes after entering reboot command but then
determined it had likely frozen considering it said the disks had been
synced and the softraid volume reported being detached. I power cycled the
device and was met with this upon reboot after following boot_sparc64(8)
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
So I rebooted and and tried once again with fresh disks while I recorded the
console output to see if anyone can spot me doing something wrong here, or
if this is indeed some sort of bug.
The installer didn't freeze the second time around, but I ultimately met the
Cannot boot from softraid: Unknown error: code 19
Any ideas?
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Can't open disk label package
No viable default device found in boot-device variable.
{0} ok boot disk3:c bsd
OpenBSD IEEE 1275 Bootblock 1.4
..>> OpenBSD BOOT 1.9
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#
\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\
#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#
/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 6.2 (RAMDISK) #282: Tue Oct 3 23:21:19 MDT 2017
real mem = 136902082560 (130560MB)
avail mem = 134512214016 (128280MB)
mainbus0 at root: SPARC T4-1
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"reboot-memory" at mainbus0 not configured
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
"virtual-channel" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel" at cbus0 not configured
"virtual-domain-service" at cbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci4 at ppb3 bus 4
mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus0 at mpii0: 834 targets
ppb4 at pci2 dev 6 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci5 at ppb4 bus 5
ppb5 at pci2 dev 8 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02
pci10 at ppb9 bus 10
"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not configured
ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci11 at ppb10 bus 11
mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus1 at mpii1: 834 targets
ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci12 at ppb11 bus 12
em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:de
em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:df
ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci13 at ppb12 bus 13
em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e0
em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e1
ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci14 at ppb13 bus 14
ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci15 at ppb14 bus 15
ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci16 at ppb15 bus 16
ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci17 at ppb16 bus 17
ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci18 at ppb17 bus 18
ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0
ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0
ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom removable
sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c5001b1e4cd3
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3 0/direct fixed naa.5001b448b4351630
sd1: 228936MB, 512 bytes/sector, 468862128 sectors
sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c50029674d0f
sd2: 286102MB, 512 bytes/sector, 585937500 sectors
uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 2
uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends Inc. Generic Hub" rev 2.00/1.00 addr 3
umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends Inc. Virtual Cdrom Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom removable
cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth Device" rev 2.00/1.00 addr 5
cdce0: address 02:21:28:57:47:17
uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0
uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev1: iclass 3/1
uhid at uhidev1 not configured
uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 7
softraid0 at root
scsibus3 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/sparc64 6.2 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# cd /dev
# sh MAKEDEV sd1 sd2 sd3 sd4
Did you:

fdisk -iy sd0
fdisk -iy sd1 (or whatever the appropriate disk is)

the error code 19 is ENODEV so I'm guessing if you didn't then there is
no mbr and without it the bootcode may not be able to find the device.
Of course I'm no expert and its mainly just a guess.
Post by Jordan Geoghegan
# disklabel sd1
type: SCSI
disk: SCSI disk
duid: d2b2a5bbe2d92f1e
flags: vendor
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 1
sectors/cylinder: 32
cylinders: 180
total sectors: 468862128
boundstart: 0
boundend: 468862128
drivedata: 0
# size offset fstype [fsize bsize cpg]
a: 5760 0 4.2BSD 4096 8192 128
c: 468862128 0 unused
#
# disklabel sd0
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
#
# disklabel sd2
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
# disklabel -E sd0
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
a a
offset: [0]
size: [585937500] *
Rounding size to cylinder (5136 sectors): 585935424
FS type: [4.2BSD] RAID
w
q
No label changes.
# disklabel sd0 > layout
# disklabel -R sd2 layout
# rm layout
# bioctl -c 1 -l sd0a,sd2a softraid0
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 286101MB, 512 bytes/sector, 585934896 sectors
softraid0: RAID 1 volume attached as sd3
# dd if=/dev/zero of=/dev/rsd3c bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.104 secs (10063131 bytes/sec)
# bioctl sd3
Volume Status Size Device
softraid0 0 Online 299998666752 sd3 RAID1
0 Online 299998666752 0:0.0 noencl <sd0a>
1 Online 299998666752 0:1.0 noencl <sd2a>
# install
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.
System hostname? (short form, e.g. 'foo') NAS
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [em0]
IPv4 address for em0? (or 'dhcp' or 'none') [dhcp]
em0: DHCPDISCOVER - interval 1
em0: DHCPOFFER from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: DHCPREQUEST to 255.255.255.255
em0: DHCPACK from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: bound to 172.17.2.23 -- renewal in 21600 seconds
IPv6 address for em0? (or 'autoconf' or 'none') [none]
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [done]
Default IPv4 route? (IPv4 address or none) [172.17.2.1]
add net default: gateway 172.17.2.1
DNS domain name? (e.g. 'example.com') [my.domain]
Using DNS nameservers at 192.168.1.1
Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Setup a user? (enter a lower-case loginname, or 'no') [no] bsduser
Full name for user bsduser? [bsduser]
Password for user bsduser? (will not echo)
Password for user bsduser? (again)
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no] yes
What timezone are you in? ('?' for list) [Canada/Pacific]
Available disks are: sd0 sd1 sd2 sd3.
Which disk is the root disk? ('?' for details) [sd0] sd3
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] e
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.0G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
R b
[+|-]new size (with unit): [57095010] 8g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 19.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 2.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 105675570 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 107780085 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 128760975 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 132970005 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 145564965 4.2BSD 4096 32768 1 # /home
R f
[+|-]new size (with unit): [4209030] 10g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 11.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 149741865 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 162336825 4.2BSD 4096 32768 1 # /home
R i
[+|-]new size (with unit): [4209030] 4g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 9.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153934830 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 166529790 4.2BSD 4096 32768 1 # /home
R k
[+|-]new size (with unit): [400050630] 200g
Amount too big
199# ## ## #R e
[+|-]new size (with unit): [74172105] 35g
R k
[+|-]new size (with unit): [400050630] 200g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.4G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.0G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 100695420 4.2BSD 2048 16384 1 # /usr
g: 1.0G 121676310 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 123780825 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 144761715 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153163710 4.2BSD 2048 16384 1 # /usr/obj
k: 200.0G 165758670 4.2BSD 4096 32768 1 # /home
w
q
No label changes.
/dev/rsd3a: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3k: 204805.2MB in 419441080 sectors of 512 bytes
252 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each
/dev/rsd3d: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3f: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3g: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3h: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3j: 6149.9MB in 12594960 sectors of 512 bytes
31 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3i: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3e: 35840.3MB in 73400984 sectors of 512 bytes
178 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
Available disks are: sd0 sd1 sd2.
Which disk do you wish to initialize? (or 'done') [done]
/dev/sd3a (8db1efc313479eda.a) on /mnt type ffs (rw, asynchronous, local)
/dev/sd3k (8db1efc313479eda.k) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3d (8db1efc313479eda.d) on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3f (8db1efc313479eda.f) on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/sd3g (8db1efc313479eda.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
/dev/sd3h (8db1efc313479eda.h) on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
/dev/sd3j (8db1efc313479eda.j) on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3i (8db1efc313479eda.i) on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3e (8db1efc313479eda.e) on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)
Let's install the sets!
Location of sets? (cd0 cd1 disk http or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
HTTP Server? (hostname, list#, 'done' or '?') [ftp.OpenBSD.org]
Server directory? [pub/OpenBSD/6.2/sparc64]
Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.
[X] bsd [X] base62.tgz [X] game62.tgz [X] xfont62.tgz
[X] bsd.mp [X] comp62.tgz [X] xbase62.tgz [X] xserv62.tgz
[X] bsd.rd [X] man62.tgz [X] xshare62.tgz
Set name(s)? (or 'abort' or 'done') [done]
Get/Verify SHA256.sig 0% | | 0 --:-- ETA
Get/Verify SHA256.sig 100% |**************************| 1985 00:00
Signature Verified
Get/Verify bsd 0% | | 0 --:-- ETA
Get/Verify bsd 6% |* | 640 KB 00:14 ETA
Get/Verify bsd 22% |***** | 2176 KB 00:07 ETA
Get/Verify bsd 49% |************ | 4864 KB 00:03 ETA
Get/Verify bsd 84% |********************* | 8320 KB 00:00 ETA
Get/Verify bsd 100% |**************************| 9834 KB 00:04
Get/Verify bsd.mp 0% | | 0 --:-- ETA
Get/Verify bsd.mp 7% |* | 768 KB 00:12 ETA
Get/Verify bsd.mp 24% |****** | 2432 KB 00:06 ETA
Get/Verify bsd.mp 50% |************* | 4992 KB 00:02 ETA
Get/Verify bsd.mp 82% |********************* | 8192 KB 00:00 ETA
Get/Verify bsd.mp 100% |**************************| 9886 KB 00:04
Get/Verify bsd.rd 0% | | 0 --:-- ETA
Get/Verify bsd.rd 28% |******* | 768 KB 00:02 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 100% |**************************| 2668 KB 00:03
Get/Verify base62.tgz 0% | | 0 --:-- ETA
Get/Verify base62.tgz 0% | | 640 KB 02:56 ETA
Get/Verify base62.tgz 1% | | 2176 KB 01:40 ETA
Get/Verify base62.tgz 4% |* | 4608 KB 01:09 ETA
Get/Verify base62.tgz 6% |* | 7424 KB 00:56 ETA
Get/Verify base62.tgz 9% |** | 11008 KB 00:45 ETA
Get/Verify base62.tgz 14% |*** | 15744 KB 00:36 ETA
Get/Verify base62.tgz 18% |**** | 20224 KB 00:31 ETA
Get/Verify base62.tgz 24% |****** | 26624 KB 00:25 ETA
Get/Verify base62.tgz 26% |****** | 29312 KB 00:25 ETA
Get/Verify base62.tgz 28% |******* | 32128 KB 00:24 ETA
Get/Verify base62.tgz 31% |******** | 35072 KB 00:23 ETA
Get/Verify base62.tgz 34% |******** | 38272 KB 00:22 ETA
Get/Verify base62.tgz 37% |********* | 41600 KB 00:21 ETA
Get/Verify base62.tgz 40% |********** | 45056 KB 00:20 ETA
Get/Verify base62.tgz 43% |*********** | 48640 KB 00:19 ETA
Get/Verify base62.tgz 47% |************ | 52352 KB 00:17 ETA
Get/Verify base62.tgz 50% |************* | 55424 KB 00:17 ETA
Get/Verify base62.tgz 53% |************* | 59008 KB 00:15 ETA
Get/Verify base62.tgz 56% |************** | 62080 KB 00:14 ETA
Get/Verify base62.tgz 59% |*************** | 65920 KB 00:13 ETA
Get/Verify base62.tgz 62% |**************** | 68992 KB 00:12 ETA
Get/Verify base62.tgz 65% |**************** | 72960 KB 00:11 ETA
Get/Verify base62.tgz 68% |***************** | 76032 KB 00:10 ETA
Get/Verify base62.tgz 72% |****************** | 80000 KB 00:09 ETA
Get/Verify base62.tgz 76% |******************* | 84224 KB 00:07 ETA
Get/Verify base62.tgz 80% |******************** | 88704 KB 00:06 ETA
Get/Verify base62.tgz 83% |********************* | 93056 KB 00:05 ETA
Get/Verify base62.tgz 88% |********************** | 97920 KB 00:03 ETA
Get/Verify base62.tgz 92% |*********************** | 100 MB 00:02 ETA
Get/Verify base62.tgz 97% |************************* | 105 MB 00:00 ETA
Get/Verify base62.tgz 100% |**************************| 108 MB 00:30
Get/Verify comp62.tgz 0% | | 0 --:-- ETA
Get/Verify comp62.tgz 1% | | 896 KB 00:52 ETA
Get/Verify comp62.tgz 5% |* | 2816 KB 00:31 ETA
Get/Verify comp62.tgz 11% |** | 5632 KB 00:22 ETA
Get/Verify comp62.tgz 19% |**** | 9344 KB 00:16 ETA
Get/Verify comp62.tgz 29% |******* | 13952 KB 00:11 ETA
Get/Verify comp62.tgz 41% |********** | 19456 KB 00:08 ETA
Get/Verify comp62.tgz 54% |************** | 25600 KB 00:05 ETA
Get/Verify comp62.tgz 67% |***************** | 31744 KB 00:03 ETA
Get/Verify comp62.tgz 83% |********************* | 39552 KB 00:01 ETA
Get/Verify comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Get/Verify comp62.tgz 100% |**************************| 47128 KB 00:10
Get/Verify man62.tgz 0% | | 0 --:-- ETA
Get/Verify man62.tgz 9% |** | 640 KB 00:10 ETA
Get/Verify man62.tgz 29% |******* | 2048 KB 00:04 ETA
Get/Verify man62.tgz 63% |**************** | 4480 KB 00:01 ETA
Get/Verify man62.tgz 98% |************************* | 6912 KB 00:00 ETA
Get/Verify man62.tgz 100% |**************************| 7015 KB 00:04
Get/Verify game62.tgz 0% | | 0 --:-- ETA
Get/Verify game62.tgz 36% |********* | 1024 KB 00:01 ETA
Get/Verify game62.tgz 95% |************************ | 2688 KB 00:00 ETA
Get/Verify game62.tgz 100% |**************************| 2806 KB 00:02
Get/Verify xbase62.tgz 0% | | 0 --:-- ETA
Get/Verify xbase62.tgz 3% | | 640 KB 00:26 ETA
Get/Verify xbase62.tgz 12% |*** | 2176 KB 00:14 ETA
Get/Verify xbase62.tgz 26% |****** | 4608 KB 00:08 ETA
Get/Verify xbase62.tgz 45% |*********** | 7936 KB 00:04 ETA
Get/Verify xbase62.tgz 62% |**************** | 10880 KB 00:03 ETA
Get/Verify xbase62.tgz 85% |********************** | 14976 KB 00:01 ETA
Get/Verify xbase62.tgz 100% |**************************| 17472 KB 00:06
Get/Verify xshare62.tgz 0% | | 0 --:-- ETA
Get/Verify xshare62.tgz 14% |*** | 640 KB 00:05 ETA
Get/Verify xshare62.tgz 52% |************* | 2304 KB 00:01 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 100% |**************************| 4419 KB 00:04
Get/Verify xfont62.tgz 0% | | 0 --:-- ETA
Get/Verify xfont62.tgz 1% | | 768 KB 00:51 ETA
Get/Verify xfont62.tgz 6% |* | 2688 KB 00:27 ETA
Get/Verify xfont62.tgz 13% |*** | 5504 KB 00:18 ETA
Get/Verify xfont62.tgz 22% |***** | 8832 KB 00:13 ETA
Get/Verify xfont62.tgz 33% |******** | 13312 KB 00:09 ETA
Get/Verify xfont62.tgz 47% |************ | 18560 KB 00:06 ETA
Get/Verify xfont62.tgz 61% |*************** | 24064 KB 00:04 ETA
Get/Verify xfont62.tgz 77% |******************** | 30592 KB 00:02 ETA
Get/Verify xfont62.tgz 97% |************************* | 38400 KB 00:00 ETA
Get/Verify xfont62.tgz 100% |**************************| 39351 KB 00:09
Get/Verify xserv62.tgz 0% | | 0 --:-- ETA
Get/Verify xserv62.tgz 6% |* | 640 KB 00:15 ETA
Get/Verify xserv62.tgz 22% |***** | 2304 KB 00:06 ETA
Get/Verify xserv62.tgz 46% |*********** | 4736 KB 00:03 ETA
Get/Verify xserv62.tgz 78% |******************** | 8064 KB 00:01 ETA
Get/Verify xserv62.tgz 100% |**************************| 10266 KB 00:04
Installing bsd 0% | | 0 --:-- ETA
Installing bsd 100% |**************************| 9834 KB 00:00
Installing bsd.mp 0% | | 0 --:-- ETA
Installing bsd.mp 100% |**************************| 9886 KB 00:00
Installing bsd.rd 0% | | 0 --:-- ETA
Installing bsd.rd 100% |**************************| 2668 KB 00:00
Installing base62.tgz 0% | | 0 --:-- ETA
Installing base62.tgz 11% |** | 12672 KB 00:07 ETA
Installing base62.tgz 21% |***** | 23936 KB 00:07 ETA
Installing base62.tgz 29% |******* | 32640 KB 00:07 ETA
Installing base62.tgz 34% |******** | 38528 KB 00:07 ETA
Installing base62.tgz 40% |********** | 44416 KB 00:07 ETA
Installing base62.tgz 45% |*********** | 50816 KB 00:07 ETA
Installing base62.tgz 65% |**************** | 72576 KB 00:03 ETA
Installing base62.tgz 96% |************************ | 104 MB 00:00 ETA
Installing base62.tgz 100% |**************************| 108 MB 00:08
Extracting etc.tgz 0% | | 0 --:-- ETA
Extracting etc.tgz 100% |**************************| 189 KB 00:00
Installing comp62.tgz 0% | | 0 --:-- ETA
Installing comp62.tgz 25% |****** | 12032 KB 00:02 ETA
Installing comp62.tgz 44% |*********** | 20992 KB 00:02 ETA
Installing comp62.tgz 66% |***************** | 31360 KB 00:01 ETA
Installing comp62.tgz 77% |******************** | 36480 KB 00:01 ETA
Installing comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Installing comp62.tgz 100% |**************************| 47128 KB 00:05
Installing man62.tgz 0% | | 0 --:-- ETA
Installing man62.tgz 87% |********************** | 6144 KB 00:00 ETA
Installing man62.tgz 100% |**************************| 7015 KB 00:01
Installing game62.tgz 0% | | 0 --:-- ETA
Installing game62.tgz 100% |**************************| 2806 KB 00:00
Installing xbase62.tgz 0% | | 0 --:-- ETA
Installing xbase62.tgz 54% |************** | 9600 KB 00:00 ETA
Installing xbase62.tgz 93% |************************ | 16384 KB 00:00 ETA
Installing xbase62.tgz 100% |**************************| 17472 KB 00:02
Extracting xetc.tgz 0% | | 0 --:-- ETA
Extracting xetc.tgz 100% |**************************| 7040 00:00
Installing xshare62.tgz 0% | | 0 --:-- ETA
Installing xshare62.tgz 63% |**************** | 2816 KB 00:00 ETA
Installing xshare62.tgz 95% |************************ | 4224 KB 00:00 ETA
Installing xshare62.tgz 100% |**************************| 4419 KB 00:02
Installing xfont62.tgz 0% | | 0 --:-- ETA
Installing xfont62.tgz 40% |********** | 16128 KB 00:01 ETA
Installing xfont62.tgz 68% |***************** | 27008 KB 00:00 ETA
Installing xfont62.tgz 96% |************************ | 38016 KB 00:00 ETA
Installing xfont62.tgz 100% |**************************| 39351 KB 00:03
Installing xserv62.tgz 0% | | 0 --:-- ETA
Installing xserv62.tgz 100% |**************************| 10266 KB 00:00
Location of sets? (cd0 cd1 disk http or 'done') [done]
Saving configuration files...done.
Making all device nodes...done.
Multiprocessor machine; using bsd.mp instead of bsd.
Relinking to create unique kernel...done.
CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.
# reboot
syncing disks... done
sd3 detached
rebooting
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
Post by Jordan
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter ???a??? via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
Step 3 might get you in trouble. You're writing to the raw disk device
so this command might nuke disklabel and/or softraid meta data.
Post by Jordan
4) I finished off the install as usual by typing ???install??? into command line
and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume,
Yes, except as mentioned the RAID fs needs to be on an 'a' partition.
Post by Jordan
or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot?
No it does not.
Jordan Geoghegan
2017-12-27 23:01:12 UTC
Permalink
sparc* is not an fdisk / MBR platform
Post by Edgar Pettijohn
Post by Jordan Geoghegan
I tried installing again and followed your instructions to a T and the
installer hung after typing reboot at the prompt upon finishing install.
I let it sit for 10-15 minutes after entering reboot command but then
determined it had likely frozen considering it said the disks had been
synced and the softraid volume reported being detached. I power cycled the
device and was met with this upon reboot after following boot_sparc64(8)
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
So I rebooted and and tried once again with fresh disks while I recorded the
console output to see if anyone can spot me doing something wrong here, or
if this is indeed some sort of bug.
The installer didn't freeze the second time around, but I ultimately met the
Cannot boot from softraid: Unknown error: code 19
Any ideas?
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Can't open disk label package
No viable default device found in boot-device variable.
{0} ok boot disk3:c bsd
OpenBSD IEEE 1275 Bootblock 1.4
..>> OpenBSD BOOT 1.9
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#
\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\
#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#
/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 6.2 (RAMDISK) #282: Tue Oct 3 23:21:19 MDT 2017
real mem = 136902082560 (130560MB)
avail mem = 134512214016 (128280MB)
mainbus0 at root: SPARC T4-1
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"reboot-memory" at mainbus0 not configured
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
"virtual-channel" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel" at cbus0 not configured
"virtual-domain-service" at cbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci4 at ppb3 bus 4
mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus0 at mpii0: 834 targets
ppb4 at pci2 dev 6 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci5 at ppb4 bus 5
ppb5 at pci2 dev 8 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02
pci10 at ppb9 bus 10
"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not configured
ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci11 at ppb10 bus 11
mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus1 at mpii1: 834 targets
ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci12 at ppb11 bus 12
em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:de
em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:df
ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci13 at ppb12 bus 13
em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e0
em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e1
ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci14 at ppb13 bus 14
ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci15 at ppb14 bus 15
ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci16 at ppb15 bus 16
ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci17 at ppb16 bus 17
ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci18 at ppb17 bus 18
ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0
ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0
ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom removable
sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c5001b1e4cd3
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3 0/direct fixed naa.5001b448b4351630
sd1: 228936MB, 512 bytes/sector, 468862128 sectors
sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c50029674d0f
sd2: 286102MB, 512 bytes/sector, 585937500 sectors
uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 2
uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends Inc. Generic Hub" rev 2.00/1.00 addr 3
umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends Inc. Virtual Cdrom Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom removable
cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth Device" rev 2.00/1.00 addr 5
cdce0: address 02:21:28:57:47:17
uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0
uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev1: iclass 3/1
uhid at uhidev1 not configured
uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 7
softraid0 at root
scsibus3 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/sparc64 6.2 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# cd /dev
# sh MAKEDEV sd1 sd2 sd3 sd4
fdisk -iy sd0
fdisk -iy sd1 (or whatever the appropriate disk is)
the error code 19 is ENODEV so I'm guessing if you didn't then there is
no mbr and without it the bootcode may not be able to find the device.
Of course I'm no expert and its mainly just a guess.
Post by Jordan Geoghegan
# disklabel sd1
type: SCSI
disk: SCSI disk
duid: d2b2a5bbe2d92f1e
flags: vendor
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 1
sectors/cylinder: 32
cylinders: 180
total sectors: 468862128
boundstart: 0
boundend: 468862128
drivedata: 0
# size offset fstype [fsize bsize cpg]
a: 5760 0 4.2BSD 4096 8192 128
c: 468862128 0 unused
#
# disklabel sd0
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
#
# disklabel sd2
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
# disklabel -E sd0
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
a a
offset: [0]
size: [585937500] *
Rounding size to cylinder (5136 sectors): 585935424
FS type: [4.2BSD] RAID
w
q
No label changes.
# disklabel sd0 > layout
# disklabel -R sd2 layout
# rm layout
# bioctl -c 1 -l sd0a,sd2a softraid0
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 286101MB, 512 bytes/sector, 585934896 sectors
softraid0: RAID 1 volume attached as sd3
# dd if=/dev/zero of=/dev/rsd3c bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.104 secs (10063131 bytes/sec)
# bioctl sd3
Volume Status Size Device
softraid0 0 Online 299998666752 sd3 RAID1
0 Online 299998666752 0:0.0 noencl <sd0a>
1 Online 299998666752 0:1.0 noencl <sd2a>
# install
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.
System hostname? (short form, e.g. 'foo') NAS
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [em0]
IPv4 address for em0? (or 'dhcp' or 'none') [dhcp]
em0: DHCPDISCOVER - interval 1
em0: DHCPOFFER from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: DHCPREQUEST to 255.255.255.255
em0: DHCPACK from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: bound to 172.17.2.23 -- renewal in 21600 seconds
IPv6 address for em0? (or 'autoconf' or 'none') [none]
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [done]
Default IPv4 route? (IPv4 address or none) [172.17.2.1]
add net default: gateway 172.17.2.1
DNS domain name? (e.g. 'example.com') [my.domain]
Using DNS nameservers at 192.168.1.1
Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Setup a user? (enter a lower-case loginname, or 'no') [no] bsduser
Full name for user bsduser? [bsduser]
Password for user bsduser? (will not echo)
Password for user bsduser? (again)
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no] yes
What timezone are you in? ('?' for list) [Canada/Pacific]
Available disks are: sd0 sd1 sd2 sd3.
Which disk is the root disk? ('?' for details) [sd0] sd3
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] e
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.0G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
R b
[+|-]new size (with unit): [57095010] 8g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 19.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 2.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 105675570 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 107780085 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 128760975 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 132970005 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 145564965 4.2BSD 4096 32768 1 # /home
R f
[+|-]new size (with unit): [4209030] 10g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 11.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 149741865 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 162336825 4.2BSD 4096 32768 1 # /home
R i
[+|-]new size (with unit): [4209030] 4g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 9.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153934830 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 166529790 4.2BSD 4096 32768 1 # /home
R k
[+|-]new size (with unit): [400050630] 200g
Amount too big
199# ## ## #R e
[+|-]new size (with unit): [74172105] 35g
R k
[+|-]new size (with unit): [400050630] 200g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.4G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.0G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 100695420 4.2BSD 2048 16384 1 # /usr
g: 1.0G 121676310 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 123780825 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 144761715 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153163710 4.2BSD 2048 16384 1 # /usr/obj
k: 200.0G 165758670 4.2BSD 4096 32768 1 # /home
w
q
No label changes.
/dev/rsd3a: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3k: 204805.2MB in 419441080 sectors of 512 bytes
252 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each
/dev/rsd3d: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3f: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3g: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3h: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3j: 6149.9MB in 12594960 sectors of 512 bytes
31 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3i: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3e: 35840.3MB in 73400984 sectors of 512 bytes
178 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
Available disks are: sd0 sd1 sd2.
Which disk do you wish to initialize? (or 'done') [done]
/dev/sd3a (8db1efc313479eda.a) on /mnt type ffs (rw, asynchronous, local)
/dev/sd3k (8db1efc313479eda.k) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3d (8db1efc313479eda.d) on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3f (8db1efc313479eda.f) on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/sd3g (8db1efc313479eda.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
/dev/sd3h (8db1efc313479eda.h) on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
/dev/sd3j (8db1efc313479eda.j) on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3i (8db1efc313479eda.i) on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3e (8db1efc313479eda.e) on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)
Let's install the sets!
Location of sets? (cd0 cd1 disk http or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
HTTP Server? (hostname, list#, 'done' or '?') [ftp.OpenBSD.org]
Server directory? [pub/OpenBSD/6.2/sparc64]
Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.
[X] bsd [X] base62.tgz [X] game62.tgz [X] xfont62.tgz
[X] bsd.mp [X] comp62.tgz [X] xbase62.tgz [X] xserv62.tgz
[X] bsd.rd [X] man62.tgz [X] xshare62.tgz
Set name(s)? (or 'abort' or 'done') [done]
Get/Verify SHA256.sig 0% | | 0 --:-- ETA
Get/Verify SHA256.sig 100% |**************************| 1985 00:00
Signature Verified
Get/Verify bsd 0% | | 0 --:-- ETA
Get/Verify bsd 6% |* | 640 KB 00:14 ETA
Get/Verify bsd 22% |***** | 2176 KB 00:07 ETA
Get/Verify bsd 49% |************ | 4864 KB 00:03 ETA
Get/Verify bsd 84% |********************* | 8320 KB 00:00 ETA
Get/Verify bsd 100% |**************************| 9834 KB 00:04
Get/Verify bsd.mp 0% | | 0 --:-- ETA
Get/Verify bsd.mp 7% |* | 768 KB 00:12 ETA
Get/Verify bsd.mp 24% |****** | 2432 KB 00:06 ETA
Get/Verify bsd.mp 50% |************* | 4992 KB 00:02 ETA
Get/Verify bsd.mp 82% |********************* | 8192 KB 00:00 ETA
Get/Verify bsd.mp 100% |**************************| 9886 KB 00:04
Get/Verify bsd.rd 0% | | 0 --:-- ETA
Get/Verify bsd.rd 28% |******* | 768 KB 00:02 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 100% |**************************| 2668 KB 00:03
Get/Verify base62.tgz 0% | | 0 --:-- ETA
Get/Verify base62.tgz 0% | | 640 KB 02:56 ETA
Get/Verify base62.tgz 1% | | 2176 KB 01:40 ETA
Get/Verify base62.tgz 4% |* | 4608 KB 01:09 ETA
Get/Verify base62.tgz 6% |* | 7424 KB 00:56 ETA
Get/Verify base62.tgz 9% |** | 11008 KB 00:45 ETA
Get/Verify base62.tgz 14% |*** | 15744 KB 00:36 ETA
Get/Verify base62.tgz 18% |**** | 20224 KB 00:31 ETA
Get/Verify base62.tgz 24% |****** | 26624 KB 00:25 ETA
Get/Verify base62.tgz 26% |****** | 29312 KB 00:25 ETA
Get/Verify base62.tgz 28% |******* | 32128 KB 00:24 ETA
Get/Verify base62.tgz 31% |******** | 35072 KB 00:23 ETA
Get/Verify base62.tgz 34% |******** | 38272 KB 00:22 ETA
Get/Verify base62.tgz 37% |********* | 41600 KB 00:21 ETA
Get/Verify base62.tgz 40% |********** | 45056 KB 00:20 ETA
Get/Verify base62.tgz 43% |*********** | 48640 KB 00:19 ETA
Get/Verify base62.tgz 47% |************ | 52352 KB 00:17 ETA
Get/Verify base62.tgz 50% |************* | 55424 KB 00:17 ETA
Get/Verify base62.tgz 53% |************* | 59008 KB 00:15 ETA
Get/Verify base62.tgz 56% |************** | 62080 KB 00:14 ETA
Get/Verify base62.tgz 59% |*************** | 65920 KB 00:13 ETA
Get/Verify base62.tgz 62% |**************** | 68992 KB 00:12 ETA
Get/Verify base62.tgz 65% |**************** | 72960 KB 00:11 ETA
Get/Verify base62.tgz 68% |***************** | 76032 KB 00:10 ETA
Get/Verify base62.tgz 72% |****************** | 80000 KB 00:09 ETA
Get/Verify base62.tgz 76% |******************* | 84224 KB 00:07 ETA
Get/Verify base62.tgz 80% |******************** | 88704 KB 00:06 ETA
Get/Verify base62.tgz 83% |********************* | 93056 KB 00:05 ETA
Get/Verify base62.tgz 88% |********************** | 97920 KB 00:03 ETA
Get/Verify base62.tgz 92% |*********************** | 100 MB 00:02 ETA
Get/Verify base62.tgz 97% |************************* | 105 MB 00:00 ETA
Get/Verify base62.tgz 100% |**************************| 108 MB 00:30
Get/Verify comp62.tgz 0% | | 0 --:-- ETA
Get/Verify comp62.tgz 1% | | 896 KB 00:52 ETA
Get/Verify comp62.tgz 5% |* | 2816 KB 00:31 ETA
Get/Verify comp62.tgz 11% |** | 5632 KB 00:22 ETA
Get/Verify comp62.tgz 19% |**** | 9344 KB 00:16 ETA
Get/Verify comp62.tgz 29% |******* | 13952 KB 00:11 ETA
Get/Verify comp62.tgz 41% |********** | 19456 KB 00:08 ETA
Get/Verify comp62.tgz 54% |************** | 25600 KB 00:05 ETA
Get/Verify comp62.tgz 67% |***************** | 31744 KB 00:03 ETA
Get/Verify comp62.tgz 83% |********************* | 39552 KB 00:01 ETA
Get/Verify comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Get/Verify comp62.tgz 100% |**************************| 47128 KB 00:10
Get/Verify man62.tgz 0% | | 0 --:-- ETA
Get/Verify man62.tgz 9% |** | 640 KB 00:10 ETA
Get/Verify man62.tgz 29% |******* | 2048 KB 00:04 ETA
Get/Verify man62.tgz 63% |**************** | 4480 KB 00:01 ETA
Get/Verify man62.tgz 98% |************************* | 6912 KB 00:00 ETA
Get/Verify man62.tgz 100% |**************************| 7015 KB 00:04
Get/Verify game62.tgz 0% | | 0 --:-- ETA
Get/Verify game62.tgz 36% |********* | 1024 KB 00:01 ETA
Get/Verify game62.tgz 95% |************************ | 2688 KB 00:00 ETA
Get/Verify game62.tgz 100% |**************************| 2806 KB 00:02
Get/Verify xbase62.tgz 0% | | 0 --:-- ETA
Get/Verify xbase62.tgz 3% | | 640 KB 00:26 ETA
Get/Verify xbase62.tgz 12% |*** | 2176 KB 00:14 ETA
Get/Verify xbase62.tgz 26% |****** | 4608 KB 00:08 ETA
Get/Verify xbase62.tgz 45% |*********** | 7936 KB 00:04 ETA
Get/Verify xbase62.tgz 62% |**************** | 10880 KB 00:03 ETA
Get/Verify xbase62.tgz 85% |********************** | 14976 KB 00:01 ETA
Get/Verify xbase62.tgz 100% |**************************| 17472 KB 00:06
Get/Verify xshare62.tgz 0% | | 0 --:-- ETA
Get/Verify xshare62.tgz 14% |*** | 640 KB 00:05 ETA
Get/Verify xshare62.tgz 52% |************* | 2304 KB 00:01 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 100% |**************************| 4419 KB 00:04
Get/Verify xfont62.tgz 0% | | 0 --:-- ETA
Get/Verify xfont62.tgz 1% | | 768 KB 00:51 ETA
Get/Verify xfont62.tgz 6% |* | 2688 KB 00:27 ETA
Get/Verify xfont62.tgz 13% |*** | 5504 KB 00:18 ETA
Get/Verify xfont62.tgz 22% |***** | 8832 KB 00:13 ETA
Get/Verify xfont62.tgz 33% |******** | 13312 KB 00:09 ETA
Get/Verify xfont62.tgz 47% |************ | 18560 KB 00:06 ETA
Get/Verify xfont62.tgz 61% |*************** | 24064 KB 00:04 ETA
Get/Verify xfont62.tgz 77% |******************** | 30592 KB 00:02 ETA
Get/Verify xfont62.tgz 97% |************************* | 38400 KB 00:00 ETA
Get/Verify xfont62.tgz 100% |**************************| 39351 KB 00:09
Get/Verify xserv62.tgz 0% | | 0 --:-- ETA
Get/Verify xserv62.tgz 6% |* | 640 KB 00:15 ETA
Get/Verify xserv62.tgz 22% |***** | 2304 KB 00:06 ETA
Get/Verify xserv62.tgz 46% |*********** | 4736 KB 00:03 ETA
Get/Verify xserv62.tgz 78% |******************** | 8064 KB 00:01 ETA
Get/Verify xserv62.tgz 100% |**************************| 10266 KB 00:04
Installing bsd 0% | | 0 --:-- ETA
Installing bsd 100% |**************************| 9834 KB 00:00
Installing bsd.mp 0% | | 0 --:-- ETA
Installing bsd.mp 100% |**************************| 9886 KB 00:00
Installing bsd.rd 0% | | 0 --:-- ETA
Installing bsd.rd 100% |**************************| 2668 KB 00:00
Installing base62.tgz 0% | | 0 --:-- ETA
Installing base62.tgz 11% |** | 12672 KB 00:07 ETA
Installing base62.tgz 21% |***** | 23936 KB 00:07 ETA
Installing base62.tgz 29% |******* | 32640 KB 00:07 ETA
Installing base62.tgz 34% |******** | 38528 KB 00:07 ETA
Installing base62.tgz 40% |********** | 44416 KB 00:07 ETA
Installing base62.tgz 45% |*********** | 50816 KB 00:07 ETA
Installing base62.tgz 65% |**************** | 72576 KB 00:03 ETA
Installing base62.tgz 96% |************************ | 104 MB 00:00 ETA
Installing base62.tgz 100% |**************************| 108 MB 00:08
Extracting etc.tgz 0% | | 0 --:-- ETA
Extracting etc.tgz 100% |**************************| 189 KB 00:00
Installing comp62.tgz 0% | | 0 --:-- ETA
Installing comp62.tgz 25% |****** | 12032 KB 00:02 ETA
Installing comp62.tgz 44% |*********** | 20992 KB 00:02 ETA
Installing comp62.tgz 66% |***************** | 31360 KB 00:01 ETA
Installing comp62.tgz 77% |******************** | 36480 KB 00:01 ETA
Installing comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Installing comp62.tgz 100% |**************************| 47128 KB 00:05
Installing man62.tgz 0% | | 0 --:-- ETA
Installing man62.tgz 87% |********************** | 6144 KB 00:00 ETA
Installing man62.tgz 100% |**************************| 7015 KB 00:01
Installing game62.tgz 0% | | 0 --:-- ETA
Installing game62.tgz 100% |**************************| 2806 KB 00:00
Installing xbase62.tgz 0% | | 0 --:-- ETA
Installing xbase62.tgz 54% |************** | 9600 KB 00:00 ETA
Installing xbase62.tgz 93% |************************ | 16384 KB 00:00 ETA
Installing xbase62.tgz 100% |**************************| 17472 KB 00:02
Extracting xetc.tgz 0% | | 0 --:-- ETA
Extracting xetc.tgz 100% |**************************| 7040 00:00
Installing xshare62.tgz 0% | | 0 --:-- ETA
Installing xshare62.tgz 63% |**************** | 2816 KB 00:00 ETA
Installing xshare62.tgz 95% |************************ | 4224 KB 00:00 ETA
Installing xshare62.tgz 100% |**************************| 4419 KB 00:02
Installing xfont62.tgz 0% | | 0 --:-- ETA
Installing xfont62.tgz 40% |********** | 16128 KB 00:01 ETA
Installing xfont62.tgz 68% |***************** | 27008 KB 00:00 ETA
Installing xfont62.tgz 96% |************************ | 38016 KB 00:00 ETA
Installing xfont62.tgz 100% |**************************| 39351 KB 00:03
Installing xserv62.tgz 0% | | 0 --:-- ETA
Installing xserv62.tgz 100% |**************************| 10266 KB 00:00
Location of sets? (cd0 cd1 disk http or 'done') [done]
Saving configuration files...done.
Making all device nodes...done.
Multiprocessor machine; using bsd.mp instead of bsd.
Relinking to create unique kernel...done.
CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.
# reboot
syncing disks... done
sd3 detached
rebooting
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
Post by Jordan
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter ???a??? via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
Step 3 might get you in trouble. You're writing to the raw disk device
so this command might nuke disklabel and/or softraid meta data.
Post by Jordan
4) I finished off the install as usual by typing ???install??? into command line
and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume,
Yes, except as mentioned the RAID fs needs to be on an 'a' partition.
Post by Jordan
or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot?
No it does not.
Edgar Pettijohn
2017-12-28 00:26:52 UTC
Permalink
Post by Jordan Geoghegan
sparc* is not an fdisk / MBR platform
I don't have one :(
more inline
Post by Jordan Geoghegan
Post by Edgar Pettijohn
Post by Jordan Geoghegan
I tried installing again and followed your instructions to a T and the
installer hung after typing reboot at the prompt upon finishing install.
I let it sit for 10-15 minutes after entering reboot command but then
determined it had likely frozen considering it said the disks had been
synced and the softraid volume reported being detached. I power cycled the
device and was met with this upon reboot after following boot_sparc64(8)
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
So I rebooted and and tried once again with fresh disks while I recorded the
console output to see if anyone can spot me doing something wrong here, or
if this is indeed some sort of bug.
The installer didn't freeze the second time around, but I ultimately met the
Cannot boot from softraid: Unknown error: code 19
Any ideas?
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Can't open disk label package
No viable default device found in boot-device variable.
{0} ok boot disk3:c bsd
OpenBSD IEEE 1275 Bootblock 1.4
..>> OpenBSD BOOT 1.9
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#
\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\
#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#
/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 6.2 (RAMDISK) #282: Tue Oct 3 23:21:19 MDT 2017
real mem = 136902082560 (130560MB)
avail mem = 134512214016 (128280MB)
mainbus0 at root: SPARC T4-1
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"reboot-memory" at mainbus0 not configured
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
"virtual-channel" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel" at cbus0 not configured
"virtual-domain-service" at cbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci4 at ppb3 bus 4
mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus0 at mpii0: 834 targets
ppb4 at pci2 dev 6 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci5 at ppb4 bus 5
ppb5 at pci2 dev 8 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02
pci10 at ppb9 bus 10
"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not configured
ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci11 at ppb10 bus 11
mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus1 at mpii1: 834 targets
ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci12 at ppb11 bus 12
em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:de
em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:df
ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci13 at ppb12 bus 13
em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e0
em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e1
ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci14 at ppb13 bus 14
ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci15 at ppb14 bus 15
ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci16 at ppb15 bus 16
ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci17 at ppb16 bus 17
ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci18 at ppb17 bus 18
ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0
ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0
ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom removable
sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c5001b1e4cd3
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3 0/direct fixed naa.5001b448b4351630
sd1: 228936MB, 512 bytes/sector, 468862128 sectors
sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c50029674d0f
sd2: 286102MB, 512 bytes/sector, 585937500 sectors
uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 2
uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends Inc. Generic Hub" rev 2.00/1.00 addr 3
umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends Inc. Virtual Cdrom Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom removable
cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth Device" rev 2.00/1.00 addr 5
cdce0: address 02:21:28:57:47:17
uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0
uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev1: iclass 3/1
uhid at uhidev1 not configured
uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 7
softraid0 at root
scsibus3 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/sparc64 6.2 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# cd /dev
# sh MAKEDEV sd1 sd2 sd3 sd4
fdisk -iy sd0
fdisk -iy sd1 (or whatever the appropriate disk is)
the error code 19 is ENODEV so I'm guessing if you didn't then there is
no mbr and without it the bootcode may not be able to find the device.
Of course I'm no expert and its mainly just a guess.
Post by Jordan Geoghegan
# disklabel sd1
type: SCSI
disk: SCSI disk
duid: d2b2a5bbe2d92f1e
flags: vendor
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 1
sectors/cylinder: 32
cylinders: 180
total sectors: 468862128
boundstart: 0
boundend: 468862128
drivedata: 0
# size offset fstype [fsize bsize cpg]
a: 5760 0 4.2BSD 4096 8192 128
c: 468862128 0 unused
#
# disklabel sd0
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
#
# disklabel sd2
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
# disklabel -E sd0
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
a a
offset: [0]
size: [585937500] *
Rounding size to cylinder (5136 sectors): 585935424
FS type: [4.2BSD] RAID
w
q
No label changes.
# disklabel sd0 > layout
# disklabel -R sd2 layout
# rm layout
# bioctl -c 1 -l sd0a,sd2a softraid0
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 286101MB, 512 bytes/sector, 585934896 sectors
softraid0: RAID 1 volume attached as sd3
# dd if=/dev/zero of=/dev/rsd3c bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.104 secs (10063131 bytes/sec)
# bioctl sd3
Volume Status Size Device
softraid0 0 Online 299998666752 sd3 RAID1
0 Online 299998666752 0:0.0 noencl <sd0a>
1 Online 299998666752 0:1.0 noencl <sd2a>
# install
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.
System hostname? (short form, e.g. 'foo') NAS
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [em0]
IPv4 address for em0? (or 'dhcp' or 'none') [dhcp]
em0: DHCPDISCOVER - interval 1
em0: DHCPOFFER from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: DHCPREQUEST to 255.255.255.255
em0: DHCPACK from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: bound to 172.17.2.23 -- renewal in 21600 seconds
IPv6 address for em0? (or 'autoconf' or 'none') [none]
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [done]
Default IPv4 route? (IPv4 address or none) [172.17.2.1]
add net default: gateway 172.17.2.1
DNS domain name? (e.g. 'example.com') [my.domain]
Using DNS nameservers at 192.168.1.1
Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Setup a user? (enter a lower-case loginname, or 'no') [no] bsduser
Full name for user bsduser? [bsduser]
Password for user bsduser? (will not echo)
Password for user bsduser? (again)
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no] yes
What timezone are you in? ('?' for list) [Canada/Pacific]
Available disks are: sd0 sd1 sd2 sd3.
Which disk is the root disk? ('?' for details) [sd0] sd3
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] e
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.0G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
R b
[+|-]new size (with unit): [57095010] 8g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 19.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 2.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 105675570 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 107780085 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 128760975 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 132970005 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 145564965 4.2BSD 4096 32768 1 # /home
R f
[+|-]new size (with unit): [4209030] 10g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 11.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 149741865 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 162336825 4.2BSD 4096 32768 1 # /home
R i
[+|-]new size (with unit): [4209030] 4g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 9.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153934830 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 166529790 4.2BSD 4096 32768 1 # /home
R k
[+|-]new size (with unit): [400050630] 200g
Amount too big
199# ## ## #R e
[+|-]new size (with unit): [74172105] 35g
R k
[+|-]new size (with unit): [400050630] 200g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.4G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.0G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 100695420 4.2BSD 2048 16384 1 # /usr
g: 1.0G 121676310 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 123780825 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 144761715 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153163710 4.2BSD 2048 16384 1 # /usr/obj
k: 200.0G 165758670 4.2BSD 4096 32768 1 # /home
w
q
No label changes.
/dev/rsd3a: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3k: 204805.2MB in 419441080 sectors of 512 bytes
252 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each
/dev/rsd3d: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3f: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3g: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3h: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3j: 6149.9MB in 12594960 sectors of 512 bytes
31 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3i: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3e: 35840.3MB in 73400984 sectors of 512 bytes
178 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
Available disks are: sd0 sd1 sd2.
Which disk do you wish to initialize? (or 'done') [done]
/dev/sd3a (8db1efc313479eda.a) on /mnt type ffs (rw, asynchronous, local)
/dev/sd3k (8db1efc313479eda.k) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3d (8db1efc313479eda.d) on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3f (8db1efc313479eda.f) on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/sd3g (8db1efc313479eda.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
/dev/sd3h (8db1efc313479eda.h) on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
/dev/sd3j (8db1efc313479eda.j) on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3i (8db1efc313479eda.i) on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3e (8db1efc313479eda.e) on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)
Let's install the sets!
Location of sets? (cd0 cd1 disk http or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
HTTP Server? (hostname, list#, 'done' or '?') [ftp.OpenBSD.org]
Server directory? [pub/OpenBSD/6.2/sparc64]
Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.
[X] bsd [X] base62.tgz [X] game62.tgz [X] xfont62.tgz
[X] bsd.mp [X] comp62.tgz [X] xbase62.tgz [X] xserv62.tgz
[X] bsd.rd [X] man62.tgz [X] xshare62.tgz
Set name(s)? (or 'abort' or 'done') [done]
Get/Verify SHA256.sig 0% | | 0 --:-- ETA
Get/Verify SHA256.sig 100% |**************************| 1985 00:00
Signature Verified
Get/Verify bsd 0% | | 0 --:-- ETA
Get/Verify bsd 6% |* | 640 KB 00:14 ETA
Get/Verify bsd 22% |***** | 2176 KB 00:07 ETA
Get/Verify bsd 49% |************ | 4864 KB 00:03 ETA
Get/Verify bsd 84% |********************* | 8320 KB 00:00 ETA
Get/Verify bsd 100% |**************************| 9834 KB 00:04
Get/Verify bsd.mp 0% | | 0 --:-- ETA
Get/Verify bsd.mp 7% |* | 768 KB 00:12 ETA
Get/Verify bsd.mp 24% |****** | 2432 KB 00:06 ETA
Get/Verify bsd.mp 50% |************* | 4992 KB 00:02 ETA
Get/Verify bsd.mp 82% |********************* | 8192 KB 00:00 ETA
Get/Verify bsd.mp 100% |**************************| 9886 KB 00:04
Get/Verify bsd.rd 0% | | 0 --:-- ETA
Get/Verify bsd.rd 28% |******* | 768 KB 00:02 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 100% |**************************| 2668 KB 00:03
Get/Verify base62.tgz 0% | | 0 --:-- ETA
Get/Verify base62.tgz 0% | | 640 KB 02:56 ETA
Get/Verify base62.tgz 1% | | 2176 KB 01:40 ETA
Get/Verify base62.tgz 4% |* | 4608 KB 01:09 ETA
Get/Verify base62.tgz 6% |* | 7424 KB 00:56 ETA
Get/Verify base62.tgz 9% |** | 11008 KB 00:45 ETA
Get/Verify base62.tgz 14% |*** | 15744 KB 00:36 ETA
Get/Verify base62.tgz 18% |**** | 20224 KB 00:31 ETA
Get/Verify base62.tgz 24% |****** | 26624 KB 00:25 ETA
Get/Verify base62.tgz 26% |****** | 29312 KB 00:25 ETA
Get/Verify base62.tgz 28% |******* | 32128 KB 00:24 ETA
Get/Verify base62.tgz 31% |******** | 35072 KB 00:23 ETA
Get/Verify base62.tgz 34% |******** | 38272 KB 00:22 ETA
Get/Verify base62.tgz 37% |********* | 41600 KB 00:21 ETA
Get/Verify base62.tgz 40% |********** | 45056 KB 00:20 ETA
Get/Verify base62.tgz 43% |*********** | 48640 KB 00:19 ETA
Get/Verify base62.tgz 47% |************ | 52352 KB 00:17 ETA
Get/Verify base62.tgz 50% |************* | 55424 KB 00:17 ETA
Get/Verify base62.tgz 53% |************* | 59008 KB 00:15 ETA
Get/Verify base62.tgz 56% |************** | 62080 KB 00:14 ETA
Get/Verify base62.tgz 59% |*************** | 65920 KB 00:13 ETA
Get/Verify base62.tgz 62% |**************** | 68992 KB 00:12 ETA
Get/Verify base62.tgz 65% |**************** | 72960 KB 00:11 ETA
Get/Verify base62.tgz 68% |***************** | 76032 KB 00:10 ETA
Get/Verify base62.tgz 72% |****************** | 80000 KB 00:09 ETA
Get/Verify base62.tgz 76% |******************* | 84224 KB 00:07 ETA
Get/Verify base62.tgz 80% |******************** | 88704 KB 00:06 ETA
Get/Verify base62.tgz 83% |********************* | 93056 KB 00:05 ETA
Get/Verify base62.tgz 88% |********************** | 97920 KB 00:03 ETA
Get/Verify base62.tgz 92% |*********************** | 100 MB 00:02 ETA
Get/Verify base62.tgz 97% |************************* | 105 MB 00:00 ETA
Get/Verify base62.tgz 100% |**************************| 108 MB 00:30
Get/Verify comp62.tgz 0% | | 0 --:-- ETA
Get/Verify comp62.tgz 1% | | 896 KB 00:52 ETA
Get/Verify comp62.tgz 5% |* | 2816 KB 00:31 ETA
Get/Verify comp62.tgz 11% |** | 5632 KB 00:22 ETA
Get/Verify comp62.tgz 19% |**** | 9344 KB 00:16 ETA
Get/Verify comp62.tgz 29% |******* | 13952 KB 00:11 ETA
Get/Verify comp62.tgz 41% |********** | 19456 KB 00:08 ETA
Get/Verify comp62.tgz 54% |************** | 25600 KB 00:05 ETA
Get/Verify comp62.tgz 67% |***************** | 31744 KB 00:03 ETA
Get/Verify comp62.tgz 83% |********************* | 39552 KB 00:01 ETA
Get/Verify comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Get/Verify comp62.tgz 100% |**************************| 47128 KB 00:10
Get/Verify man62.tgz 0% | | 0 --:-- ETA
Get/Verify man62.tgz 9% |** | 640 KB 00:10 ETA
Get/Verify man62.tgz 29% |******* | 2048 KB 00:04 ETA
Get/Verify man62.tgz 63% |**************** | 4480 KB 00:01 ETA
Get/Verify man62.tgz 98% |************************* | 6912 KB 00:00 ETA
Get/Verify man62.tgz 100% |**************************| 7015 KB 00:04
Get/Verify game62.tgz 0% | | 0 --:-- ETA
Get/Verify game62.tgz 36% |********* | 1024 KB 00:01 ETA
Get/Verify game62.tgz 95% |************************ | 2688 KB 00:00 ETA
Get/Verify game62.tgz 100% |**************************| 2806 KB 00:02
Get/Verify xbase62.tgz 0% | | 0 --:-- ETA
Get/Verify xbase62.tgz 3% | | 640 KB 00:26 ETA
Get/Verify xbase62.tgz 12% |*** | 2176 KB 00:14 ETA
Get/Verify xbase62.tgz 26% |****** | 4608 KB 00:08 ETA
Get/Verify xbase62.tgz 45% |*********** | 7936 KB 00:04 ETA
Get/Verify xbase62.tgz 62% |**************** | 10880 KB 00:03 ETA
Get/Verify xbase62.tgz 85% |********************** | 14976 KB 00:01 ETA
Get/Verify xbase62.tgz 100% |**************************| 17472 KB 00:06
Get/Verify xshare62.tgz 0% | | 0 --:-- ETA
Get/Verify xshare62.tgz 14% |*** | 640 KB 00:05 ETA
Get/Verify xshare62.tgz 52% |************* | 2304 KB 00:01 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 100% |**************************| 4419 KB 00:04
Get/Verify xfont62.tgz 0% | | 0 --:-- ETA
Get/Verify xfont62.tgz 1% | | 768 KB 00:51 ETA
Get/Verify xfont62.tgz 6% |* | 2688 KB 00:27 ETA
Get/Verify xfont62.tgz 13% |*** | 5504 KB 00:18 ETA
Get/Verify xfont62.tgz 22% |***** | 8832 KB 00:13 ETA
Get/Verify xfont62.tgz 33% |******** | 13312 KB 00:09 ETA
Get/Verify xfont62.tgz 47% |************ | 18560 KB 00:06 ETA
Get/Verify xfont62.tgz 61% |*************** | 24064 KB 00:04 ETA
Get/Verify xfont62.tgz 77% |******************** | 30592 KB 00:02 ETA
Get/Verify xfont62.tgz 97% |************************* | 38400 KB 00:00 ETA
Get/Verify xfont62.tgz 100% |**************************| 39351 KB 00:09
Get/Verify xserv62.tgz 0% | | 0 --:-- ETA
Get/Verify xserv62.tgz 6% |* | 640 KB 00:15 ETA
Get/Verify xserv62.tgz 22% |***** | 2304 KB 00:06 ETA
Get/Verify xserv62.tgz 46% |*********** | 4736 KB 00:03 ETA
Get/Verify xserv62.tgz 78% |******************** | 8064 KB 00:01 ETA
Get/Verify xserv62.tgz 100% |**************************| 10266 KB 00:04
Installing bsd 0% | | 0 --:-- ETA
Installing bsd 100% |**************************| 9834 KB 00:00
Installing bsd.mp 0% | | 0 --:-- ETA
Installing bsd.mp 100% |**************************| 9886 KB 00:00
Installing bsd.rd 0% | | 0 --:-- ETA
Installing bsd.rd 100% |**************************| 2668 KB 00:00
Installing base62.tgz 0% | | 0 --:-- ETA
Installing base62.tgz 11% |** | 12672 KB 00:07 ETA
Installing base62.tgz 21% |***** | 23936 KB 00:07 ETA
Installing base62.tgz 29% |******* | 32640 KB 00:07 ETA
Installing base62.tgz 34% |******** | 38528 KB 00:07 ETA
Installing base62.tgz 40% |********** | 44416 KB 00:07 ETA
Installing base62.tgz 45% |*********** | 50816 KB 00:07 ETA
Installing base62.tgz 65% |**************** | 72576 KB 00:03 ETA
Installing base62.tgz 96% |************************ | 104 MB 00:00 ETA
Installing base62.tgz 100% |**************************| 108 MB 00:08
Extracting etc.tgz 0% | | 0 --:-- ETA
Extracting etc.tgz 100% |**************************| 189 KB 00:00
Installing comp62.tgz 0% | | 0 --:-- ETA
Installing comp62.tgz 25% |****** | 12032 KB 00:02 ETA
Installing comp62.tgz 44% |*********** | 20992 KB 00:02 ETA
Installing comp62.tgz 66% |***************** | 31360 KB 00:01 ETA
Installing comp62.tgz 77% |******************** | 36480 KB 00:01 ETA
Installing comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Installing comp62.tgz 100% |**************************| 47128 KB 00:05
Installing man62.tgz 0% | | 0 --:-- ETA
Installing man62.tgz 87% |********************** | 6144 KB 00:00 ETA
Installing man62.tgz 100% |**************************| 7015 KB 00:01
Installing game62.tgz 0% | | 0 --:-- ETA
Installing game62.tgz 100% |**************************| 2806 KB 00:00
Installing xbase62.tgz 0% | | 0 --:-- ETA
Installing xbase62.tgz 54% |************** | 9600 KB 00:00 ETA
Installing xbase62.tgz 93% |************************ | 16384 KB 00:00 ETA
Installing xbase62.tgz 100% |**************************| 17472 KB 00:02
Extracting xetc.tgz 0% | | 0 --:-- ETA
Extracting xetc.tgz 100% |**************************| 7040 00:00
Installing xshare62.tgz 0% | | 0 --:-- ETA
Installing xshare62.tgz 63% |**************** | 2816 KB 00:00 ETA
Installing xshare62.tgz 95% |************************ | 4224 KB 00:00 ETA
Installing xshare62.tgz 100% |**************************| 4419 KB 00:02
Installing xfont62.tgz 0% | | 0 --:-- ETA
Installing xfont62.tgz 40% |********** | 16128 KB 00:01 ETA
Installing xfont62.tgz 68% |***************** | 27008 KB 00:00 ETA
Installing xfont62.tgz 96% |************************ | 38016 KB 00:00 ETA
Installing xfont62.tgz 100% |**************************| 39351 KB 00:03
Installing xserv62.tgz 0% | | 0 --:-- ETA
Installing xserv62.tgz 100% |**************************| 10266 KB 00:00
Location of sets? (cd0 cd1 disk http or 'done') [done]
Saving configuration files...done.
Making all device nodes...done.
Multiprocessor machine; using bsd.mp instead of bsd.
Relinking to create unique kernel...done.
CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.
Did you:

# newfs /dev/rsd(whichever is correct)

before reboot?

Did you:

cp your kernels to the new sd's

I think you also need to installboot(8) as well
Post by Jordan Geoghegan
Post by Edgar Pettijohn
Post by Jordan Geoghegan
# reboot
syncing disks... done
sd3 detached
rebooting
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
Post by Jordan
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter ???a??? via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
Step 3 might get you in trouble. You're writing to the raw disk device
so this command might nuke disklabel and/or softraid meta data.
Post by Jordan
4) I finished off the install as usual by typing ???install??? into command line
and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume,
Yes, except as mentioned the RAID fs needs to be on an 'a' partition.
Post by Jordan
or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot?
No it does not.
Jordan Geoghegan
2017-12-28 02:07:20 UTC
Permalink
Did you:

# newfs /dev/rsd(whichever is correct)

before reboot?

That doesn't make sense. What would I be making a new filesystem for -- or on, for that matter. Disk formatting is taken care of by the installer script.

Did you:

cp your kernels to the new sd's

Again, this doesn't make sense. I only have a single 'a' raid partition per disk as per the man pages. Where would I cp a kernel to? There is only one logical volume that is being worked with here. There is no second location for me to cp a kernel to.

I think you also need to installboot(8) as well

This does make sense, I have tried running installboot but it does not change the outcome. I will unbox the T3-1 and try running the same steps to see if the T3 is capable of booting softraid, If it boots, there may be some T4 specific oddities at play here.
I will try contacting sparc64 port maintainer if I am unsuccessful.
Post by Edgar Pettijohn
Post by Jordan Geoghegan
sparc* is not an fdisk / MBR platform
I don't have one :(
more inline
Post by Jordan Geoghegan
Post by Edgar Pettijohn
Post by Jordan Geoghegan
I tried installing again and followed your instructions to a T and the
installer hung after typing reboot at the prompt upon finishing install.
I let it sit for 10-15 minutes after entering reboot command but then
determined it had likely frozen considering it said the disks had been
synced and the softraid volume reported being detached. I power cycled the
device and was met with this upon reboot after following boot_sparc64(8)
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
So I rebooted and and tried once again with fresh disks while I recorded the
console output to see if anyone can spot me doing something wrong here, or
if this is indeed some sort of bug.
The installer didn't freeze the second time around, but I ultimately met the
Cannot boot from softraid: Unknown error: code 19
Any ideas?
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Can't open disk label package
No viable default device found in boot-device variable.
{0} ok boot disk3:c bsd
OpenBSD IEEE 1275 Bootblock 1.4
..>> OpenBSD BOOT 1.9
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#
\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\
#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#
/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 6.2 (RAMDISK) #282: Tue Oct 3 23:21:19 MDT 2017
real mem = 136902082560 (130560MB)
avail mem = 134512214016 (128280MB)
mainbus0 at root: SPARC T4-1
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"reboot-memory" at mainbus0 not configured
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
"virtual-channel" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel" at cbus0 not configured
"virtual-domain-service" at cbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci4 at ppb3 bus 4
mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus0 at mpii0: 834 targets
ppb4 at pci2 dev 6 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci5 at ppb4 bus 5
ppb5 at pci2 dev 8 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02
pci10 at ppb9 bus 10
"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not configured
ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci11 at ppb10 bus 11
mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus1 at mpii1: 834 targets
ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci12 at ppb11 bus 12
em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:de
em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:df
ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci13 at ppb12 bus 13
em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e0
em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e1
ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci14 at ppb13 bus 14
ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci15 at ppb14 bus 15
ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci16 at ppb15 bus 16
ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci17 at ppb16 bus 17
ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci18 at ppb17 bus 18
ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0
ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0
ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom removable
sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c5001b1e4cd3
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3 0/direct fixed naa.5001b448b4351630
sd1: 228936MB, 512 bytes/sector, 468862128 sectors
sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c50029674d0f
sd2: 286102MB, 512 bytes/sector, 585937500 sectors
uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 2
uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends Inc. Generic Hub" rev 2.00/1.00 addr 3
umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends Inc. Virtual Cdrom Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom removable
cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth Device" rev 2.00/1.00 addr 5
cdce0: address 02:21:28:57:47:17
uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0
uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev1: iclass 3/1
uhid at uhidev1 not configured
uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 7
softraid0 at root
scsibus3 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/sparc64 6.2 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# cd /dev
# sh MAKEDEV sd1 sd2 sd3 sd4
fdisk -iy sd0
fdisk -iy sd1 (or whatever the appropriate disk is)
the error code 19 is ENODEV so I'm guessing if you didn't then there is
no mbr and without it the bootcode may not be able to find the device.
Of course I'm no expert and its mainly just a guess.
Post by Jordan Geoghegan
# disklabel sd1
type: SCSI
disk: SCSI disk
duid: d2b2a5bbe2d92f1e
flags: vendor
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 1
sectors/cylinder: 32
cylinders: 180
total sectors: 468862128
boundstart: 0
boundend: 468862128
drivedata: 0
# size offset fstype [fsize bsize cpg]
a: 5760 0 4.2BSD 4096 8192 128
c: 468862128 0 unused
#
# disklabel sd0
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
#
# disklabel sd2
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
# size offset fstype [fsize bsize cpg]
c: 585937500 0 unused
# disklabel -E sd0
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
a a
offset: [0]
size: [585937500] *
Rounding size to cylinder (5136 sectors): 585935424
FS type: [4.2BSD] RAID
w
q
No label changes.
# disklabel sd0 > layout
# disklabel -R sd2 layout
# rm layout
# bioctl -c 1 -l sd0a,sd2a softraid0
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 286101MB, 512 bytes/sector, 585934896 sectors
softraid0: RAID 1 volume attached as sd3
# dd if=/dev/zero of=/dev/rsd3c bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.104 secs (10063131 bytes/sec)
# bioctl sd3
Volume Status Size Device
softraid0 0 Online 299998666752 sd3 RAID1
0 Online 299998666752 0:0.0 noencl <sd0a>
1 Online 299998666752 0:1.0 noencl <sd2a>
# install
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.
System hostname? (short form, e.g. 'foo') NAS
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [em0]
IPv4 address for em0? (or 'dhcp' or 'none') [dhcp]
em0: DHCPDISCOVER - interval 1
em0: DHCPOFFER from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: DHCPREQUEST to 255.255.255.255
em0: DHCPACK from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: bound to 172.17.2.23 -- renewal in 21600 seconds
IPv6 address for em0? (or 'autoconf' or 'none') [none]
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [done]
Default IPv4 route? (IPv4 address or none) [172.17.2.1]
add net default: gateway 172.17.2.1
DNS domain name? (e.g. 'example.com') [my.domain]
Using DNS nameservers at 192.168.1.1
Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Setup a user? (enter a lower-case loginname, or 'no') [no] bsduser
Full name for user bsduser? [bsduser]
Password for user bsduser? (will not echo)
Password for user bsduser? (again)
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no] yes
What timezone are you in? ('?' for list) [Canada/Pacific]
Available disks are: sd0 sd1 sd2 sd3.
Which disk is the root disk? ('?' for details) [sd0] sd3
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] e
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.0G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 27.2G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 59199525 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 67601520 4.2BSD 2048 16384 1 # /var
f: 2.0G 141773625 4.2BSD 2048 16384 1 # /usr
g: 1.0G 145982655 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 148087170 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 169068060 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 173277090 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 185872050 4.2BSD 4096 32768 1 # /home
R b
[+|-]new size (with unit): [57095010] 8g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 19.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 2.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 105675570 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 107780085 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 128760975 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 132970005 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 145564965 4.2BSD 4096 32768 1 # /home
R f
[+|-]new size (with unit): [4209030] 10g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 11.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 2.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 149741865 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 162336825 4.2BSD 4096 32768 1 # /home
R i
[+|-]new size (with unit): [4209030] 4g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 9.2G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.4G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 101466540 4.2BSD 2048 16384 1 # /usr
g: 1.0G 122447430 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 124551945 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 145532835 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153934830 4.2BSD 2048 16384 1 # /usr/obj
k: 190.8G 166529790 4.2BSD 4096 32768 1 # /home
R k
[+|-]new size (with unit): [400050630] 200g
Amount too big
199# ## ## #R e
[+|-]new size (with unit): [74172105] 35g
R k
[+|-]new size (with unit): [400050630] 200g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.4G
# size offset fstype [fsize bsize cpg]
a: 1.0G 0 4.2BSD 2048 16384 1 # /
b: 8.0G 2104515 swap
c: 279.4G 0 unused
d: 4.0G 18892440 4.2BSD 2048 16384 1 # /tmp
e: 35.0G 27294435 4.2BSD 2048 16384 1 # /var
f: 10.0G 100695420 4.2BSD 2048 16384 1 # /usr
g: 1.0G 121676310 4.2BSD 2048 16384 1 # /usr/X11R6
h: 10.0G 123780825 4.2BSD 2048 16384 1 # /usr/local
i: 4.0G 144761715 4.2BSD 2048 16384 1 # /usr/src
j: 6.0G 153163710 4.2BSD 2048 16384 1 # /usr/obj
k: 200.0G 165758670 4.2BSD 4096 32768 1 # /home
w
q
No label changes.
/dev/rsd3a: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3k: 204805.2MB in 419441080 sectors of 512 bytes
252 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each
/dev/rsd3d: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3f: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3g: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3h: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3j: 6149.9MB in 12594960 sectors of 512 bytes
31 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3i: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3e: 35840.3MB in 73400984 sectors of 512 bytes
178 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
Available disks are: sd0 sd1 sd2.
Which disk do you wish to initialize? (or 'done') [done]
/dev/sd3a (8db1efc313479eda.a) on /mnt type ffs (rw, asynchronous, local)
/dev/sd3k (8db1efc313479eda.k) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3d (8db1efc313479eda.d) on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3f (8db1efc313479eda.f) on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/sd3g (8db1efc313479eda.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
/dev/sd3h (8db1efc313479eda.h) on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
/dev/sd3j (8db1efc313479eda.j) on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3i (8db1efc313479eda.i) on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3e (8db1efc313479eda.e) on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)
Let's install the sets!
Location of sets? (cd0 cd1 disk http or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
HTTP Server? (hostname, list#, 'done' or '?') [ftp.OpenBSD.org]
Server directory? [pub/OpenBSD/6.2/sparc64]
Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.
[X] bsd [X] base62.tgz [X] game62.tgz [X] xfont62.tgz
[X] bsd.mp [X] comp62.tgz [X] xbase62.tgz [X] xserv62.tgz
[X] bsd.rd [X] man62.tgz [X] xshare62.tgz
Set name(s)? (or 'abort' or 'done') [done]
Get/Verify SHA256.sig 0% | | 0 --:-- ETA
Get/Verify SHA256.sig 100% |**************************| 1985 00:00
Signature Verified
Get/Verify bsd 0% | | 0 --:-- ETA
Get/Verify bsd 6% |* | 640 KB 00:14 ETA
Get/Verify bsd 22% |***** | 2176 KB 00:07 ETA
Get/Verify bsd 49% |************ | 4864 KB 00:03 ETA
Get/Verify bsd 84% |********************* | 8320 KB 00:00 ETA
Get/Verify bsd 100% |**************************| 9834 KB 00:04
Get/Verify bsd.mp 0% | | 0 --:-- ETA
Get/Verify bsd.mp 7% |* | 768 KB 00:12 ETA
Get/Verify bsd.mp 24% |****** | 2432 KB 00:06 ETA
Get/Verify bsd.mp 50% |************* | 4992 KB 00:02 ETA
Get/Verify bsd.mp 82% |********************* | 8192 KB 00:00 ETA
Get/Verify bsd.mp 100% |**************************| 9886 KB 00:04
Get/Verify bsd.rd 0% | | 0 --:-- ETA
Get/Verify bsd.rd 28% |******* | 768 KB 00:02 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 95% |************************ | 2560 KB 00:00 ETA
Get/Verify bsd.rd 100% |**************************| 2668 KB 00:03
Get/Verify base62.tgz 0% | | 0 --:-- ETA
Get/Verify base62.tgz 0% | | 640 KB 02:56 ETA
Get/Verify base62.tgz 1% | | 2176 KB 01:40 ETA
Get/Verify base62.tgz 4% |* | 4608 KB 01:09 ETA
Get/Verify base62.tgz 6% |* | 7424 KB 00:56 ETA
Get/Verify base62.tgz 9% |** | 11008 KB 00:45 ETA
Get/Verify base62.tgz 14% |*** | 15744 KB 00:36 ETA
Get/Verify base62.tgz 18% |**** | 20224 KB 00:31 ETA
Get/Verify base62.tgz 24% |****** | 26624 KB 00:25 ETA
Get/Verify base62.tgz 26% |****** | 29312 KB 00:25 ETA
Get/Verify base62.tgz 28% |******* | 32128 KB 00:24 ETA
Get/Verify base62.tgz 31% |******** | 35072 KB 00:23 ETA
Get/Verify base62.tgz 34% |******** | 38272 KB 00:22 ETA
Get/Verify base62.tgz 37% |********* | 41600 KB 00:21 ETA
Get/Verify base62.tgz 40% |********** | 45056 KB 00:20 ETA
Get/Verify base62.tgz 43% |*********** | 48640 KB 00:19 ETA
Get/Verify base62.tgz 47% |************ | 52352 KB 00:17 ETA
Get/Verify base62.tgz 50% |************* | 55424 KB 00:17 ETA
Get/Verify base62.tgz 53% |************* | 59008 KB 00:15 ETA
Get/Verify base62.tgz 56% |************** | 62080 KB 00:14 ETA
Get/Verify base62.tgz 59% |*************** | 65920 KB 00:13 ETA
Get/Verify base62.tgz 62% |**************** | 68992 KB 00:12 ETA
Get/Verify base62.tgz 65% |**************** | 72960 KB 00:11 ETA
Get/Verify base62.tgz 68% |***************** | 76032 KB 00:10 ETA
Get/Verify base62.tgz 72% |****************** | 80000 KB 00:09 ETA
Get/Verify base62.tgz 76% |******************* | 84224 KB 00:07 ETA
Get/Verify base62.tgz 80% |******************** | 88704 KB 00:06 ETA
Get/Verify base62.tgz 83% |********************* | 93056 KB 00:05 ETA
Get/Verify base62.tgz 88% |********************** | 97920 KB 00:03 ETA
Get/Verify base62.tgz 92% |*********************** | 100 MB 00:02 ETA
Get/Verify base62.tgz 97% |************************* | 105 MB 00:00 ETA
Get/Verify base62.tgz 100% |**************************| 108 MB 00:30
Get/Verify comp62.tgz 0% | | 0 --:-- ETA
Get/Verify comp62.tgz 1% | | 896 KB 00:52 ETA
Get/Verify comp62.tgz 5% |* | 2816 KB 00:31 ETA
Get/Verify comp62.tgz 11% |** | 5632 KB 00:22 ETA
Get/Verify comp62.tgz 19% |**** | 9344 KB 00:16 ETA
Get/Verify comp62.tgz 29% |******* | 13952 KB 00:11 ETA
Get/Verify comp62.tgz 41% |********** | 19456 KB 00:08 ETA
Get/Verify comp62.tgz 54% |************** | 25600 KB 00:05 ETA
Get/Verify comp62.tgz 67% |***************** | 31744 KB 00:03 ETA
Get/Verify comp62.tgz 83% |********************* | 39552 KB 00:01 ETA
Get/Verify comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Get/Verify comp62.tgz 100% |**************************| 47128 KB 00:10
Get/Verify man62.tgz 0% | | 0 --:-- ETA
Get/Verify man62.tgz 9% |** | 640 KB 00:10 ETA
Get/Verify man62.tgz 29% |******* | 2048 KB 00:04 ETA
Get/Verify man62.tgz 63% |**************** | 4480 KB 00:01 ETA
Get/Verify man62.tgz 98% |************************* | 6912 KB 00:00 ETA
Get/Verify man62.tgz 100% |**************************| 7015 KB 00:04
Get/Verify game62.tgz 0% | | 0 --:-- ETA
Get/Verify game62.tgz 36% |********* | 1024 KB 00:01 ETA
Get/Verify game62.tgz 95% |************************ | 2688 KB 00:00 ETA
Get/Verify game62.tgz 100% |**************************| 2806 KB 00:02
Get/Verify xbase62.tgz 0% | | 0 --:-- ETA
Get/Verify xbase62.tgz 3% | | 640 KB 00:26 ETA
Get/Verify xbase62.tgz 12% |*** | 2176 KB 00:14 ETA
Get/Verify xbase62.tgz 26% |****** | 4608 KB 00:08 ETA
Get/Verify xbase62.tgz 45% |*********** | 7936 KB 00:04 ETA
Get/Verify xbase62.tgz 62% |**************** | 10880 KB 00:03 ETA
Get/Verify xbase62.tgz 85% |********************** | 14976 KB 00:01 ETA
Get/Verify xbase62.tgz 100% |**************************| 17472 KB 00:06
Get/Verify xshare62.tgz 0% | | 0 --:-- ETA
Get/Verify xshare62.tgz 14% |*** | 640 KB 00:05 ETA
Get/Verify xshare62.tgz 52% |************* | 2304 KB 00:01 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 98% |************************* | 4352 KB 00:00 ETA
Get/Verify xshare62.tgz 100% |**************************| 4419 KB 00:04
Get/Verify xfont62.tgz 0% | | 0 --:-- ETA
Get/Verify xfont62.tgz 1% | | 768 KB 00:51 ETA
Get/Verify xfont62.tgz 6% |* | 2688 KB 00:27 ETA
Get/Verify xfont62.tgz 13% |*** | 5504 KB 00:18 ETA
Get/Verify xfont62.tgz 22% |***** | 8832 KB 00:13 ETA
Get/Verify xfont62.tgz 33% |******** | 13312 KB 00:09 ETA
Get/Verify xfont62.tgz 47% |************ | 18560 KB 00:06 ETA
Get/Verify xfont62.tgz 61% |*************** | 24064 KB 00:04 ETA
Get/Verify xfont62.tgz 77% |******************** | 30592 KB 00:02 ETA
Get/Verify xfont62.tgz 97% |************************* | 38400 KB 00:00 ETA
Get/Verify xfont62.tgz 100% |**************************| 39351 KB 00:09
Get/Verify xserv62.tgz 0% | | 0 --:-- ETA
Get/Verify xserv62.tgz 6% |* | 640 KB 00:15 ETA
Get/Verify xserv62.tgz 22% |***** | 2304 KB 00:06 ETA
Get/Verify xserv62.tgz 46% |*********** | 4736 KB 00:03 ETA
Get/Verify xserv62.tgz 78% |******************** | 8064 KB 00:01 ETA
Get/Verify xserv62.tgz 100% |**************************| 10266 KB 00:04
Installing bsd 0% | | 0 --:-- ETA
Installing bsd 100% |**************************| 9834 KB 00:00
Installing bsd.mp 0% | | 0 --:-- ETA
Installing bsd.mp 100% |**************************| 9886 KB 00:00
Installing bsd.rd 0% | | 0 --:-- ETA
Installing bsd.rd 100% |**************************| 2668 KB 00:00
Installing base62.tgz 0% | | 0 --:-- ETA
Installing base62.tgz 11% |** | 12672 KB 00:07 ETA
Installing base62.tgz 21% |***** | 23936 KB 00:07 ETA
Installing base62.tgz 29% |******* | 32640 KB 00:07 ETA
Installing base62.tgz 34% |******** | 38528 KB 00:07 ETA
Installing base62.tgz 40% |********** | 44416 KB 00:07 ETA
Installing base62.tgz 45% |*********** | 50816 KB 00:07 ETA
Installing base62.tgz 65% |**************** | 72576 KB 00:03 ETA
Installing base62.tgz 96% |************************ | 104 MB 00:00 ETA
Installing base62.tgz 100% |**************************| 108 MB 00:08
Extracting etc.tgz 0% | | 0 --:-- ETA
Extracting etc.tgz 100% |**************************| 189 KB 00:00
Installing comp62.tgz 0% | | 0 --:-- ETA
Installing comp62.tgz 25% |****** | 12032 KB 00:02 ETA
Installing comp62.tgz 44% |*********** | 20992 KB 00:02 ETA
Installing comp62.tgz 66% |***************** | 31360 KB 00:01 ETA
Installing comp62.tgz 77% |******************** | 36480 KB 00:01 ETA
Installing comp62.tgz 99% |************************* | 47104 KB 00:00 ETA
Installing comp62.tgz 100% |**************************| 47128 KB 00:05
Installing man62.tgz 0% | | 0 --:-- ETA
Installing man62.tgz 87% |********************** | 6144 KB 00:00 ETA
Installing man62.tgz 100% |**************************| 7015 KB 00:01
Installing game62.tgz 0% | | 0 --:-- ETA
Installing game62.tgz 100% |**************************| 2806 KB 00:00
Installing xbase62.tgz 0% | | 0 --:-- ETA
Installing xbase62.tgz 54% |************** | 9600 KB 00:00 ETA
Installing xbase62.tgz 93% |************************ | 16384 KB 00:00 ETA
Installing xbase62.tgz 100% |**************************| 17472 KB 00:02
Extracting xetc.tgz 0% | | 0 --:-- ETA
Extracting xetc.tgz 100% |**************************| 7040 00:00
Installing xshare62.tgz 0% | | 0 --:-- ETA
Installing xshare62.tgz 63% |**************** | 2816 KB 00:00 ETA
Installing xshare62.tgz 95% |************************ | 4224 KB 00:00 ETA
Installing xshare62.tgz 100% |**************************| 4419 KB 00:02
Installing xfont62.tgz 0% | | 0 --:-- ETA
Installing xfont62.tgz 40% |********** | 16128 KB 00:01 ETA
Installing xfont62.tgz 68% |***************** | 27008 KB 00:00 ETA
Installing xfont62.tgz 96% |************************ | 38016 KB 00:00 ETA
Installing xfont62.tgz 100% |**************************| 39351 KB 00:03
Installing xserv62.tgz 0% | | 0 --:-- ETA
Installing xserv62.tgz 100% |**************************| 10266 KB 00:00
Location of sets? (cd0 cd1 disk http or 'done') [done]
Saving configuration files...done.
Making all device nodes...done.
Multiprocessor machine; using bsd.mp instead of bsd.
Relinking to create unique kernel...done.
CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.
# newfs /dev/rsd(whichever is correct)
before reboot?
cp your kernels to the new sd's
I think you also need to installboot(8) as well
Post by Jordan Geoghegan
Post by Edgar Pettijohn
Post by Jordan Geoghegan
# reboot
syncing disks... done
sd3 detached
rebooting
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
Post by Jordan
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter ???a??? via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
Step 3 might get you in trouble. You're writing to the raw disk device
so this command might nuke disklabel and/or softraid meta data.
Post by Jordan
4) I finished off the install as usual by typing ???install??? into command line
and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume,
Yes, except as mentioned the RAID fs needs to be on an 'a' partition.
Post by Jordan
or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot?
No it does not.
Stefan Sperling
2017-12-28 09:45:51 UTC
Permalink
Post by Jordan Geoghegan
Cannot boot from softraid: Unknown error: code 19
Any ideas?
In this condition, the boot loader has not assembled a softraid volume.

Which means that either the disks which make up the volume aren't being
scanned during the device-tree walk for some reason, or softraid meta
data on these disks is messed up somehow.
Jordan Geoghegan
2017-12-28 10:08:58 UTC
Permalink
I will check to see if the T4 will boot from crypto softraid and will
also crack open the box for the T3-1 to see if I can get it booting from
softraid. The disks should be being scanned correctly during the
device-tree walk, as I am able to set the machine to autoboot when
installed to a single disk (or when having a small boot partition before
RAID partitions). Do you think this is some sort of bug?

Also, is it necessary to run installboot(8) manually after install or is
that handled automatically by the install script?
Post by Stefan Sperling
Post by Jordan Geoghegan
Cannot boot from softraid: Unknown error: code 19
Any ideas?
In this condition, the boot loader has not assembled a softraid volume.
Which means that either the disks which make up the volume aren't being
scanned during the device-tree walk for some reason, or softraid meta
data on these disks is messed up somehow.
Stefan Sperling
2017-12-28 12:39:35 UTC
Permalink
I will check to see if the T4 will boot from crypto softraid and will also
crack open the box for the T3-1 to see if I can get it booting from
softraid. The disks should be being scanned correctly during the device-tree
walk, as I am able to set the machine to autoboot when installed to a single
disk (or when having a small boot partition before RAID partitions). Do you
think this is some sort of bug?
The disk tree walk is irrelevant if you're not booting from softraid.
The walk is done to read softraid meta data from all disks and construct
volumes.

If you're booting from a single disk then the kernel is read directly
from disk by open firmware.
Also, is it necessary to run installboot(8) manually after install or is
that handled automatically by the install script?
It's handled automatically.
Philip Guenther
2017-12-28 21:02:49 UTC
Permalink
Post by Stefan Sperling
Post by Jordan Geoghegan
Cannot boot from softraid: Unknown error: code 19
Any ideas?
In this condition, the boot loader has not assembled a softraid volume.
Which means that either the disks which make up the volume aren't being
scanned during the device-tree walk for some reason, or softraid meta
data on these disks is messed up somehow.
OpenBSD BOOT 1.9 Error: /iscsi-hba: no
iscsi-network-bootpath property Unknown device: sr0 Cannot
boot from softraid: Unknown error: code 19 Program terminated
The formatting is a bit weird (the "OpenBSD BOOT 1.9" bit should be
immediately followed by a newline), but that kinda looks like it tried to
probe the /iscsi-hba device as a disk and got an error. If that could keep
it from walking the tree to where the disks in the softraid are then it
wouldn't be able to assemble sr0.

Compiling an ofwboot with BOOT_DEBUG defined and boot_debug=1 may give
more information for tracking down what's going on there. The full device
tree listing would also be useful to see to match against that.


Philip Guenther
e***@pettijohn-web.com
2017-12-28 02:56:32 UTC
Permalink
Post by Edgar Pettijohn
# newfs /dev/rsd(whichever is correct)
before reboot?
That doesn't make sense. What would I be making a new filesystem for -- or on, for that matter. Disk formatting is taken care of by the installer script.
cp your kernels to the new sd's
Again, this doesn't make sense. I only have a single 'a' raid partition per disk as per the man pages. Where would I cp a kernel to? There is only one logical volume that is being worked with here. There is no second location for me to cp a kernel to.
man softraid
Post by Edgar Pettijohn
  I think you also need to installboot(8) as well
This does make sense, I have tried running installboot but it does not change the outcome. I will unbox the T3-1 and try running the same steps to see if the T3 is capable of booting softraid, If it boots, there may be some T4 specific oddities at play here.
I will try contacting sparc64 port maintainer if I am unsuccessful.
Post by Edgar Pettijohn
Post by Jordan Geoghegan
sparc* is not an fdisk / MBR platform
I don't have one :(
more inline
Post by Jordan Geoghegan
Post by Edgar Pettijohn
Post by Jordan Geoghegan
I tried installing again and followed your instructions to a T and the
installer hung after typing reboot at the prompt upon finishing install.
I let it sit for 10-15 minutes after entering reboot command but then
determined it had likely frozen considering it said the disks had been
synced and the softraid volume reported being detached. I power cycled the
device and was met with this upon reboot after following boot_sparc64(8)
Boot device: disk0  File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
So I rebooted and and tried once again with fresh disks while I recorded the
console output to see if anyone can spot me doing something wrong here, or
if this is indeed some sort of bug.
The installer didn't freeze the second time around, but I ultimately met the
Cannot boot from softraid: Unknown error: code 19
Any ideas?
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Can't open disk label package
No viable default device found in boot-device variable.
{0} ok boot disk3:c bsd
OpenBSD IEEE 1275 Bootblock 1.4
..>> OpenBSD BOOT 1.9
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|
#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#
\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-
#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\
#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#
/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.  https://www.OpenBSD.org
OpenBSD 6.2 (RAMDISK) #282: Tue Oct  3 23:21:19 MDT 2017
real mem = 136902082560 (130560MB)
avail mem = 134512214016 (128280MB)
mainbus0 at root: SPARC T4-1
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"SPARC-T4" at mainbus0 not configured
"reboot-memory" at mainbus0 not configured
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
"virtual-channel" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel-client" at cbus0 not configured
"virtual-channel" at cbus0 not configured
"virtual-domain-service" at cbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
vpci0 at mainbus0: bus 0 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 1 function 0 "Sun SPARC PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 4 function 0 vendor "IDT", unknown product 0x807a rev 0x02
pci4 at ppb3 bus 4
mpii0 at pci4 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii0: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus0 at mpii0: 834 targets
ppb4 at pci2 dev 6 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci5 at ppb4 bus 5
ppb5 at pci2 dev 8 function 0 vendor "IDT", unknown product 0x807a rev 0x02: msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 2 function 0 "Sun SPARC PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci7 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02
pci10 at ppb9 bus 10
"ASPEED Technology AST2000" rev 0x10 at pci10 dev 0 function 0 not configured
ppb10 at pci8 dev 4 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci11 at ppb10 bus 11
mpii1 at pci11 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1: RF On-Board, firmware 9.5.0.0 IR, MPI 2.0
scsibus1 at mpii1: 834 targets
ppb11 at pci8 dev 6 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci12 at ppb11 bus 12
em0 at pci12 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:de
em1 at pci12 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:df
ppb12 at pci8 dev 7 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci13 at ppb12 bus 13
em2 at pci13 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e0
em3 at pci13 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:10:e0:3e:a1:e1
ppb13 at pci8 dev 8 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci14 at ppb13 bus 14
ppb14 at pci8 dev 10 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci15 at ppb14 bus 15
ppb15 at pci8 dev 12 function 0 vendor "IDT", unknown product 0x8077 rev 0x02: msi
pci16 at ppb15 bus 16
ppb16 at pci8 dev 15 function 0 vendor "IDT", unknown product 0x8077 rev 0x02
pci17 at ppb16 bus 17
ppb17 at pci17 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci18 at ppb17 bus 18
ohci0 at pci18 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x402, version 1.0
ohci1 at pci18 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x403, version 1.0
ehci0 at pci18 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x404
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
cd0 at scsibus1 targ 8 lun 0: <TEAC, DV-W28SS-W, 1.0A> ATAPI 5/cdrom removable
sd0 at scsibus0 targ 2 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c5001b1e4cd3
sd0: 286102MB, 512 bytes/sector, 585937500 sectors
sd1 at scsibus0 targ 5 lun 0: <ATA, SanDisk SDSSDA24, 30RL> SCSI3 0/direct fixed naa.5001b448b4351630
sd1: 228936MB, 512 bytes/sector, 468862128 sectors
sd2 at scsibus0 targ 3 lun 0: <HP, EG0300FAWHV, HPDD> SCSI3 0/direct fixed naa.5000c50029674d0f
sd2: 286102MB, 512 bytes/sector, 585937500 sectors
uhub3 at uhub0 port 2 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 2
uhub4 at uhub3 port 3 configuration 1 interface 0 "American Megatrends Inc. Generic Hub" rev 2.00/1.00 addr 3
umass0 at uhub4 port 2 configuration 1 interface 0 "American Megatrends Inc. Virtual Cdrom Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <AMI, Virtual CDROM, 1.00> SCSI0 5/cdrom removable
cdce0 at uhub4 port 3 configuration 2 interface 0 "SunMicro Virtual Eth Device" rev 2.00/1.00 addr 5
cdce0: address 02:21:28:57:47:17
uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0
uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 6
uhidev1: iclass 3/1
uhid at uhidev1 not configured
uhub5 at uhub0 port 4 configuration 1 interface 0 "vendor 0x04b4 product 0x6560" rev 2.00/0.0b addr 7
softraid0 at root
scsibus3 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/sparc64 6.2 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# cd /dev
# sh MAKEDEV sd1 sd2 sd3 sd4
fdisk -iy sd0
fdisk -iy sd1 (or whatever the appropriate disk is)
the error code 19 is ENODEV so I'm guessing if you didn't then there is
no mbr and without it the bootcode may not be able to find the device.
Of course I'm no expert and its mainly just a guess.
Post by Jordan Geoghegan
# disklabel sd1
type: SCSI
disk: SCSI disk
duid: d2b2a5bbe2d92f1e
flags: vendor
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 1
sectors/cylinder: 32
cylinders: 180
total sectors: 468862128
boundstart: 0
boundend: 468862128
drivedata: 0
#                size           offset  fstype [fsize bsize   cpg]
     a:             5760                0  4.2BSD   4096  8192   128
     c:        468862128                0  unused
#
# disklabel sd0
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
#                size           offset  fstype [fsize bsize   cpg]
     c:        585937500                0  unused
#
# disklabel sd2
type: SCSI
disk: SCSI disk
label: EG0300FAWHV
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 1284
tracks/cylinder: 4
sectors/cylinder: 5136
cylinders: 114029
total sectors: 585937500
boundstart: 0
boundend: 585937500
drivedata: 0
#                size           offset  fstype [fsize bsize   cpg]
     c:        585937500                0  unused
# disklabel -E sd0
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
a a
offset: [0]
size: [585937500] *
Rounding size to cylinder (5136 sectors): 585935424
FS type: [4.2BSD] RAID
w
q
No label changes.
# disklabel sd0 > layout
# disklabel -R sd2 layout
# rm layout
# bioctl -c 1 -l sd0a,sd2a softraid0
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 286101MB, 512 bytes/sector, 585934896 sectors
softraid0: RAID 1 volume attached as sd3
# dd if=/dev/zero of=/dev/rsd3c bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.104 secs (10063131 bytes/sec)
# bioctl sd3
Volume      Status               Size Device
softraid0 0 Online       299998666752 sd3     RAID1
             0 Online       299998666752 0:0.0   noencl <sd0a>
             1 Online       299998666752 0:1.0   noencl <sd2a>
# install
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN.  You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.
System hostname? (short form, e.g. 'foo') NAS
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [em0]
IPv4 address for em0? (or 'dhcp' or 'none') [dhcp]
em0: DHCPDISCOVER - interval 1
em0: DHCPOFFER from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: DHCPREQUEST to 255.255.255.255
em0: DHCPACK from 172.17.2.1 (a0:36:9f:a1:0d:e7)
em0: bound to 172.17.2.23 -- renewal in 21600 seconds
IPv6 address for em0? (or 'autoconf' or 'none') [none]
Available network interfaces are: em0 em1 em2 em3 cdce0 vlan0.
Which network interface do you wish to configure? (or 'done') [done]
Default IPv4 route? (IPv4 address or none) [172.17.2.1]
add net default: gateway 172.17.2.1
DNS domain name? (e.g. 'example.com') [my.domain]
Using DNS nameservers at 192.168.1.1
Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Setup a user? (enter a lower-case loginname, or 'no') [no] bsduser
Full name for user bsduser? [bsduser]
Password for user bsduser? (will not echo)
Password for user bsduser? (again)
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no] yes
What timezone are you in? ('?' for list) [Canada/Pacific]
Available disks are: sd0 sd1 sd2 sd3.
Which disk is the root disk? ('?' for details) [sd0] sd3
#                size           offset  fstype [fsize bsize   cpg]
     a:             1.0G                0  4.2BSD   2048 16384     1 # /
     b:            27.2G          2104515    swap
     c:           279.4G                0  unused
     d:             4.0G         59199525  4.2BSD   2048 16384     1 # /tmp
     e:            35.4G         67601520  4.2BSD   2048 16384     1 # /var
     f:             2.0G        141773625  4.2BSD   2048 16384     1 # /usr
     g:             1.0G        145982655  4.2BSD   2048 16384     1 # /usr/X11R6
     h:            10.0G        148087170  4.2BSD   2048 16384     1 # /usr/local
     i:             2.0G        169068060  4.2BSD   2048 16384     1 # /usr/src
     j:             6.0G        173277090  4.2BSD   2048 16384     1 # /usr/obj
     k:           190.8G        185872050  4.2BSD   4096 32768     1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] e
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.0G
#                size           offset  fstype [fsize bsize   cpg]
     a:             1.0G                0  4.2BSD   2048 16384     1 # /
     b:            27.2G          2104515    swap
     c:           279.4G                0  unused
     d:             4.0G         59199525  4.2BSD   2048 16384     1 # /tmp
     e:            35.4G         67601520  4.2BSD   2048 16384     1 # /var
     f:             2.0G        141773625  4.2BSD   2048 16384     1 # /usr
     g:             1.0G        145982655  4.2BSD   2048 16384     1 # /usr/X11R6
     h:            10.0G        148087170  4.2BSD   2048 16384     1 # /usr/local
     i:             2.0G        169068060  4.2BSD   2048 16384     1 # /usr/src
     j:             6.0G        173277090  4.2BSD   2048 16384     1 # /usr/obj
     k:           190.8G        185872050  4.2BSD   4096 32768     1 # /home
R b
[+|-]new size (with unit): [57095010] 8g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 19.2G
#                size           offset  fstype [fsize bsize   cpg]
     a:             1.0G                0  4.2BSD   2048 16384     1 # /
     b:             8.0G          2104515    swap
     c:           279.4G                0  unused
     d:             4.0G         18892440  4.2BSD   2048 16384     1 # /tmp
     e:            35.4G         27294435  4.2BSD   2048 16384     1 # /var
     f:             2.0G        101466540  4.2BSD   2048 16384     1 # /usr
     g:             1.0G        105675570  4.2BSD   2048 16384     1 # /usr/X11R6
     h:            10.0G        107780085  4.2BSD   2048 16384     1 # /usr/local
     i:             2.0G        128760975  4.2BSD   2048 16384     1 # /usr/src
     j:             6.0G        132970005  4.2BSD   2048 16384     1 # /usr/obj
     k:           190.8G        145564965  4.2BSD   4096 32768     1 # /home
R f
[+|-]new size (with unit): [4209030] 10g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 11.2G
#                size           offset  fstype [fsize bsize   cpg]
     a:             1.0G                0  4.2BSD   2048 16384     1 # /
     b:             8.0G          2104515    swap
     c:           279.4G                0  unused
     d:             4.0G         18892440  4.2BSD   2048 16384     1 # /tmp
     e:            35.4G         27294435  4.2BSD   2048 16384     1 # /var
     f:            10.0G        101466540  4.2BSD   2048 16384     1 # /usr
     g:             1.0G        122447430  4.2BSD   2048 16384     1 # /usr/X11R6
     h:            10.0G        124551945  4.2BSD   2048 16384     1 # /usr/local
     i:             2.0G        145532835  4.2BSD   2048 16384     1 # /usr/src
     j:             6.0G        149741865  4.2BSD   2048 16384     1 # /usr/obj
     k:           190.8G        162336825  4.2BSD   4096 32768     1 # /home
R i
[+|-]new size (with unit): [4209030] 4g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 9.2G
#                size           offset  fstype [fsize bsize   cpg]
     a:             1.0G                0  4.2BSD   2048 16384     1 # /
     b:             8.0G          2104515    swap
     c:           279.4G                0  unused
     d:             4.0G         18892440  4.2BSD   2048 16384     1 # /tmp
     e:            35.4G         27294435  4.2BSD   2048 16384     1 # /var
     f:            10.0G        101466540  4.2BSD   2048 16384     1 # /usr
     g:             1.0G        122447430  4.2BSD   2048 16384     1 # /usr/X11R6
     h:            10.0G        124551945  4.2BSD   2048 16384     1 # /usr/local
     i:             4.0G        145532835  4.2BSD   2048 16384     1 # /usr/src
     j:             6.0G        153934830  4.2BSD   2048 16384     1 # /usr/obj
     k:           190.8G        166529790  4.2BSD   4096 32768     1 # /home
R k
[+|-]new size (with unit): [400050630] 200g
Amount too big
199# ## ## #R e
[+|-]new size (with unit): [74172105] 35g
R k
[+|-]new size (with unit): [400050630] 200g
p g
OpenBSD area: 0-585934896; size: 279.4G; free: 0.4G
#                size           offset  fstype [fsize bsize   cpg]
     a:             1.0G                0  4.2BSD   2048 16384     1 # /
     b:             8.0G          2104515    swap
     c:           279.4G                0  unused
     d:             4.0G         18892440  4.2BSD   2048 16384     1 # /tmp
     e:            35.0G         27294435  4.2BSD   2048 16384     1 # /var
     f:            10.0G        100695420  4.2BSD   2048 16384     1 # /usr
     g:             1.0G        121676310  4.2BSD   2048 16384     1 # /usr/X11R6
     h:            10.0G        123780825  4.2BSD   2048 16384     1 # /usr/local
     i:             4.0G        144761715  4.2BSD   2048 16384     1 # /usr/src
     j:             6.0G        153163710  4.2BSD   2048 16384     1 # /usr/obj
     k:           200.0G        165758670  4.2BSD   4096 32768     1 # /home
w
q
No label changes.
/dev/rsd3a: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3k: 204805.2MB in 419441080 sectors of 512 bytes
252 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each
/dev/rsd3d: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3f: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3g: 1027.6MB in 2104512 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3h: 10244.6MB in 20980888 sectors of 512 bytes
51 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3j: 6149.9MB in 12594960 sectors of 512 bytes
31 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3i: 4102.5MB in 8401992 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd3e: 35840.3MB in 73400984 sectors of 512 bytes
178 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
Available disks are: sd0 sd1 sd2.
Which disk do you wish to initialize? (or 'done') [done]
/dev/sd3a (8db1efc313479eda.a) on /mnt type ffs (rw, asynchronous, local)
/dev/sd3k (8db1efc313479eda.k) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3d (8db1efc313479eda.d) on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3f (8db1efc313479eda.f) on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/sd3g (8db1efc313479eda.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
/dev/sd3h (8db1efc313479eda.h) on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
/dev/sd3j (8db1efc313479eda.j) on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3i (8db1efc313479eda.i) on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd3e (8db1efc313479eda.e) on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)
Let's install the sets!
Location of sets? (cd0 cd1 disk http or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
HTTP Server? (hostname, list#, 'done' or '?') [ftp.OpenBSD.org]
Server directory? [pub/OpenBSD/6.2/sparc64]
Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.
       [X] bsd           [X] base62.tgz    [X] game62.tgz    [X] xfont62.tgz
       [X] bsd.mp        [X] comp62.tgz    [X] xbase62.tgz   [X] xserv62.tgz
       [X] bsd.rd        [X] man62.tgz     [X] xshare62.tgz
Set name(s)? (or 'abort' or 'done') [done]
Get/Verify SHA256.sig     0% |                          |     0       --:-- ETA
Get/Verify SHA256.sig   100% |**************************|  1985       00:00
Signature Verified
Get/Verify bsd            0% |                          |     0       --:-- ETA
Get/Verify bsd            6% |*                         |   640 KB    00:14 ETA
Get/Verify bsd           22% |*****                     |  2176 KB    00:07 ETA
Get/Verify bsd           49% |************              |  4864 KB    00:03 ETA
Get/Verify bsd           84% |*********************     |  8320 KB    00:00 ETA
Get/Verify bsd          100% |**************************|  9834 KB    00:04
Get/Verify bsd.mp         0% |                          |     0       --:-- ETA
Get/Verify bsd.mp         7% |*                         |   768 KB    00:12 ETA
Get/Verify bsd.mp        24% |******                    |  2432 KB    00:06 ETA
Get/Verify bsd.mp        50% |*************             |  4992 KB    00:02 ETA
Get/Verify bsd.mp        82% |*********************     |  8192 KB    00:00 ETA
Get/Verify bsd.mp       100% |**************************|  9886 KB    00:04
Get/Verify bsd.rd         0% |                          |     0       --:-- ETA
Get/Verify bsd.rd        28% |*******                   |   768 KB    00:02 ETA
Get/Verify bsd.rd        95% |************************  |  2560 KB    00:00 ETA
Get/Verify bsd.rd        95% |************************  |  2560 KB    00:00 ETA
Get/Verify bsd.rd       100% |**************************|  2668 KB    00:03
Get/Verify base62.tgz     0% |                          |     0       --:-- ETA
Get/Verify base62.tgz     0% |                          |   640 KB    02:56 ETA
Get/Verify base62.tgz     1% |                          |  2176 KB    01:40 ETA
Get/Verify base62.tgz     4% |*                         |  4608 KB    01:09 ETA
Get/Verify base62.tgz     6% |*                         |  7424 KB    00:56 ETA
Get/Verify base62.tgz     9% |**                        | 11008 KB    00:45 ETA
Get/Verify base62.tgz    14% |***                       | 15744 KB    00:36 ETA
Get/Verify base62.tgz    18% |****                      | 20224 KB    00:31 ETA
Get/Verify base62.tgz    24% |******                    | 26624 KB    00:25 ETA
Get/Verify base62.tgz    26% |******                    | 29312 KB    00:25 ETA
Get/Verify base62.tgz    28% |*******                   | 32128 KB    00:24 ETA
Get/Verify base62.tgz    31% |********                  | 35072 KB    00:23 ETA
Get/Verify base62.tgz    34% |********                  | 38272 KB    00:22 ETA
Get/Verify base62.tgz    37% |*********                 | 41600 KB    00:21 ETA
Get/Verify base62.tgz    40% |**********                | 45056 KB    00:20 ETA
Get/Verify base62.tgz    43% |***********               | 48640 KB    00:19 ETA
Get/Verify base62.tgz    47% |************              | 52352 KB    00:17 ETA
Get/Verify base62.tgz    50% |*************             | 55424 KB    00:17 ETA
Get/Verify base62.tgz    53% |*************             | 59008 KB    00:15 ETA
Get/Verify base62.tgz    56% |**************            | 62080 KB    00:14 ETA
Get/Verify base62.tgz    59% |***************           | 65920 KB    00:13 ETA
Get/Verify base62.tgz    62% |****************          | 68992 KB    00:12 ETA
Get/Verify base62.tgz    65% |****************          | 72960 KB    00:11 ETA
Get/Verify base62.tgz    68% |*****************         | 76032 KB    00:10 ETA
Get/Verify base62.tgz    72% |******************        | 80000 KB    00:09 ETA
Get/Verify base62.tgz    76% |*******************       | 84224 KB    00:07 ETA
Get/Verify base62.tgz    80% |********************      | 88704 KB    00:06 ETA
Get/Verify base62.tgz    83% |*********************     | 93056 KB    00:05 ETA
Get/Verify base62.tgz    88% |**********************    | 97920 KB    00:03 ETA
Get/Verify base62.tgz    92% |***********************   |   100 MB    00:02 ETA
Get/Verify base62.tgz    97% |************************* |   105 MB    00:00 ETA
Get/Verify base62.tgz   100% |**************************|   108 MB    00:30
Get/Verify comp62.tgz     0% |                          |     0       --:-- ETA
Get/Verify comp62.tgz     1% |                          |   896 KB    00:52 ETA
Get/Verify comp62.tgz     5% |*                         |  2816 KB    00:31 ETA
Get/Verify comp62.tgz    11% |**                        |  5632 KB    00:22 ETA
Get/Verify comp62.tgz    19% |****                      |  9344 KB    00:16 ETA
Get/Verify comp62.tgz    29% |*******                   | 13952 KB    00:11 ETA
Get/Verify comp62.tgz    41% |**********                | 19456 KB    00:08 ETA
Get/Verify comp62.tgz    54% |**************            | 25600 KB    00:05 ETA
Get/Verify comp62.tgz    67% |*****************         | 31744 KB    00:03 ETA
Get/Verify comp62.tgz    83% |*********************     | 39552 KB    00:01 ETA
Get/Verify comp62.tgz    99% |************************* | 47104 KB    00:00 ETA
Get/Verify comp62.tgz   100% |**************************| 47128 KB    00:10
Get/Verify man62.tgz      0% |                          |     0       --:-- ETA
Get/Verify man62.tgz      9% |**                        |   640 KB    00:10 ETA
Get/Verify man62.tgz     29% |*******                   |  2048 KB    00:04 ETA
Get/Verify man62.tgz     63% |****************          |  4480 KB    00:01 ETA
Get/Verify man62.tgz     98% |************************* |  6912 KB    00:00 ETA
Get/Verify man62.tgz    100% |**************************|  7015 KB    00:04
Get/Verify game62.tgz     0% |                          |     0       --:-- ETA
Get/Verify game62.tgz    36% |*********                 |  1024 KB    00:01 ETA
Get/Verify game62.tgz    95% |************************  |  2688 KB    00:00 ETA
Get/Verify game62.tgz   100% |**************************|  2806 KB    00:02
Get/Verify xbase62.tgz    0% |                          |     0       --:-- ETA
Get/Verify xbase62.tgz    3% |                          |   640 KB    00:26 ETA
Get/Verify xbase62.tgz   12% |***                       |  2176 KB    00:14 ETA
Get/Verify xbase62.tgz   26% |******                    |  4608 KB    00:08 ETA
Get/Verify xbase62.tgz   45% |***********               |  7936 KB    00:04 ETA
Get/Verify xbase62.tgz   62% |****************          | 10880 KB    00:03 ETA
Get/Verify xbase62.tgz   85% |**********************    | 14976 KB    00:01 ETA
Get/Verify xbase62.tgz  100% |**************************| 17472 KB    00:06
Get/Verify xshare62.tgz   0% |                          |     0       --:-- ETA
Get/Verify xshare62.tgz  14% |***                       |   640 KB    00:05 ETA
Get/Verify xshare62.tgz  52% |*************             |  2304 KB    00:01 ETA
Get/Verify xshare62.tgz  98% |************************* |  4352 KB    00:00 ETA
Get/Verify xshare62.tgz  98% |************************* |  4352 KB    00:00 ETA
Get/Verify xshare62.tgz 100% |**************************|  4419 KB    00:04
Get/Verify xfont62.tgz    0% |                          |     0       --:-- ETA
Get/Verify xfont62.tgz    1% |                          |   768 KB    00:51 ETA
Get/Verify xfont62.tgz    6% |*                         |  2688 KB    00:27 ETA
Get/Verify xfont62.tgz   13% |***                       |  5504 KB    00:18 ETA
Get/Verify xfont62.tgz   22% |*****                     |  8832 KB    00:13 ETA
Get/Verify xfont62.tgz   33% |********                  | 13312 KB    00:09 ETA
Get/Verify xfont62.tgz   47% |************              | 18560 KB    00:06 ETA
Get/Verify xfont62.tgz   61% |***************           | 24064 KB    00:04 ETA
Get/Verify xfont62.tgz   77% |********************      | 30592 KB    00:02 ETA
Get/Verify xfont62.tgz   97% |************************* | 38400 KB    00:00 ETA
Get/Verify xfont62.tgz  100% |**************************| 39351 KB    00:09
Get/Verify xserv62.tgz    0% |                          |     0       --:-- ETA
Get/Verify xserv62.tgz    6% |*                         |   640 KB    00:15 ETA
Get/Verify xserv62.tgz   22% |*****                     |  2304 KB    00:06 ETA
Get/Verify xserv62.tgz   46% |***********               |  4736 KB    00:03 ETA
Get/Verify xserv62.tgz   78% |********************      |  8064 KB    00:01 ETA
Get/Verify xserv62.tgz  100% |**************************| 10266 KB    00:04
Installing bsd            0% |                          |     0       --:-- ETA
Installing bsd          100% |**************************|  9834 KB    00:00
Installing bsd.mp         0% |                          |     0       --:-- ETA
Installing bsd.mp       100% |**************************|  9886 KB    00:00
Installing bsd.rd         0% |                          |     0       --:-- ETA
Installing bsd.rd       100% |**************************|  2668 KB    00:00
Installing base62.tgz     0% |                          |     0       --:-- ETA
Installing base62.tgz    11% |**                        | 12672 KB    00:07 ETA
Installing base62.tgz    21% |*****                     | 23936 KB    00:07 ETA
Installing base62.tgz    29% |*******                   | 32640 KB    00:07 ETA
Installing base62.tgz    34% |********                  | 38528 KB    00:07 ETA
Installing base62.tgz    40% |**********                | 44416 KB    00:07 ETA
Installing base62.tgz    45% |***********               | 50816 KB    00:07 ETA
Installing base62.tgz    65% |****************          | 72576 KB    00:03 ETA
Installing base62.tgz    96% |************************  |   104 MB    00:00 ETA
Installing base62.tgz   100% |**************************|   108 MB    00:08
Extracting etc.tgz        0% |                          |     0       --:-- ETA
Extracting etc.tgz      100% |**************************|   189 KB    00:00
Installing comp62.tgz     0% |                          |     0       --:-- ETA
Installing comp62.tgz    25% |******                    | 12032 KB    00:02 ETA
Installing comp62.tgz    44% |***********               | 20992 KB    00:02 ETA
Installing comp62.tgz    66% |*****************         | 31360 KB    00:01 ETA
Installing comp62.tgz    77% |********************      | 36480 KB    00:01 ETA
Installing comp62.tgz    99% |************************* | 47104 KB    00:00 ETA
Installing comp62.tgz   100% |**************************| 47128 KB    00:05
Installing man62.tgz      0% |                          |     0       --:-- ETA
Installing man62.tgz     87% |**********************    |  6144 KB    00:00 ETA
Installing man62.tgz    100% |**************************|  7015 KB    00:01
Installing game62.tgz     0% |                          |     0       --:-- ETA
Installing game62.tgz   100% |**************************|  2806 KB    00:00
Installing xbase62.tgz    0% |                          |     0       --:-- ETA
Installing xbase62.tgz   54% |**************            |  9600 KB    00:00 ETA
Installing xbase62.tgz   93% |************************  | 16384 KB    00:00 ETA
Installing xbase62.tgz  100% |**************************| 17472 KB    00:02
Extracting xetc.tgz       0% |                          |     0       --:-- ETA
Extracting xetc.tgz     100% |**************************|  7040       00:00
Installing xshare62.tgz   0% |                          |     0       --:-- ETA
Installing xshare62.tgz  63% |****************          |  2816 KB    00:00 ETA
Installing xshare62.tgz  95% |************************  |  4224 KB    00:00 ETA
Installing xshare62.tgz 100% |**************************|  4419 KB    00:02
Installing xfont62.tgz    0% |                          |     0       --:-- ETA
Installing xfont62.tgz   40% |**********                | 16128 KB    00:01 ETA
Installing xfont62.tgz   68% |*****************         | 27008 KB    00:00 ETA
Installing xfont62.tgz   96% |************************  | 38016 KB    00:00 ETA
Installing xfont62.tgz  100% |**************************| 39351 KB    00:03
Installing xserv62.tgz    0% |                          |     0       --:-- ETA
Installing xserv62.tgz  100% |**************************| 10266 KB    00:00
Location of sets? (cd0 cd1 disk http or 'done') [done]
Saving configuration files...done.
Making all device nodes...done.
Multiprocessor machine; using bsd.mp instead of bsd.
Relinking to create unique kernel...done.
CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.
# newfs /dev/rsd(whichever is correct)
before reboot?
cp your kernels to the new sd's
I think you also need to installboot(8) as well
Post by Jordan Geoghegan
Post by Edgar Pettijohn
Post by Jordan Geoghegan
# reboot
syncing disks... done
sd3 detached
rebooting
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 T4-1, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.38.5, 127.5000 GB memory available, Serial #104767966.
Ethernet address 0:10:e0:3e:a1:de, Host ID: 863ea1de.
Boot device: disk0  File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
Post by Jordan
OpenBSD BOOT 1.9
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok
Post by Jordan
1) Boot install kernel and drop to shell and provision RAID partitions on
both disks using the letter ???a??? via disklabel(8)
2) Assemble RAID volume with # bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
3) I zeroed the first 10MB of the RAID volume with # dd if=/dev/urandom
of=/dev/rsd2c bs=1m
Step 3 might get you in trouble. You're writing to the raw disk device
so this command might nuke disklabel and/or softraid meta data.
Post by Jordan
4) I finished off the install as usual by typing ???install??? into command line
and proceeded normally
5) I then rebooted and set the boot parameters at the ok prompt as per
boot_sparc(8)
In short, on sparc64, is softraid boot like that of i386/amd64 where
everything including root is stored within the RAID volume,
Yes, except as mentioned the RAID fs needs to be on an 'a' partition.
Post by Jordan
or does sparc64
require me to have a small partition at the beginning of my physical disks
containing the kernel and ofwboot?
Adam Thompson
2017-12-28 16:58:18 UTC
Permalink
Post by Jordan
I've recently gotten my hands on a couple shiny new SPARC T4-1 and
T3-1 servers and I was looking to install OpenBSD with a softraid
mirror on them for production use. The problem is, is that I end up
FWIW...
AFAIK every single T4-1 (probably T3-1s but not certain) is capable of
hardware RAID-0/1/10 on the SCSI controller, and that's how they're
shipped from Sun/Oracle even when running Solaris. I'm not absolutely
certain that it's supported by OpenBSD, but I do recall seeing that it
could be used as-is when I was investigating running OpenBSD on my
T-series gear. There's Oracle documentation on how to access the
on-card firmware to set up and manage the RAID set in a pre-OS
situation.

YMMV. Unfortunately, both of mine are still running Solaris so I can't
confirm right now.
-Adam
Jordan Geoghegan
2017-12-28 19:32:40 UTC
Permalink
Yes I had considered using the onboard hardware raid, but I don't
particularly trust it. I also need the ability to rebuild my arrays
while the machine is online and was hoping to be able to do the 3 disk
RAID1 offered by OpenBSD softraid. Do you know if bioctl(8) is capable
of controlling the onboard raid controller, or will I need to do all
raid rebuilds via the hardware raid bios on the T4?
Post by Adam Thompson
Post by Jordan
I've recently gotten my hands on a couple shiny new SPARC T4-1 and
T3-1 servers and I was looking to install OpenBSD with a softraid
mirror on them for production use. The problem is, is that I end up
FWIW...
AFAIK every single T4-1 (probably T3-1s but not certain) is capable of
hardware RAID-0/1/10 on the SCSI controller, and that's how they're
shipped from Sun/Oracle even when running Solaris. I'm not absolutely
certain that it's supported by OpenBSD, but I do recall seeing that it
could be used as-is when I was investigating running OpenBSD on my
T-series gear. There's Oracle documentation on how to access the
on-card firmware to set up and manage the RAID set in a pre-OS situation.
YMMV. Unfortunately, both of mine are still running Solaris so I
can't confirm right now.
-Adam
Adam Thompson
2017-12-28 19:45:45 UTC
Permalink
I'm afraid I don't know the answer to that, sorry. Not sure if anyone does... I think the SCSI HBA driver is the same on SPARC64 as on AMD64, but then Sun had a habit of "improving" control interfaces for Solaris so who knows. I do know under Solaris there is a bioctl-like tool to manage it, for what that's worth.
-Adam
Post by Jordan Geoghegan
Yes I had considered using the onboard hardware raid, but I don't
particularly trust it. I also need the ability to rebuild my arrays
while the machine is online and was hoping to be able to do the 3 disk
RAID1 offered by OpenBSD softraid. Do you know if bioctl(8) is capable
of controlling the onboard raid controller, or will I need to do all
raid rebuilds via the hardware raid bios on the T4?
Post by Adam Thompson
Post by Jordan
I've recently gotten my hands on a couple shiny new SPARC T4-1 and
T3-1 servers and I was looking to install OpenBSD with a softraid
mirror on them for production use. The problem is, is that I end up
FWIW...
AFAIK every single T4-1 (probably T3-1s but not certain) is capable
of
Post by Adam Thompson
hardware RAID-0/1/10 on the SCSI controller, and that's how they're
shipped from Sun/Oracle even when running Solaris. I'm not absolutely
certain that it's supported by OpenBSD, but I do recall seeing that
it
Post by Adam Thompson
could be used as-is when I was investigating running OpenBSD on my
T-series gear. There's Oracle documentation on how to access the
on-card firmware to set up and manage the RAID set in a pre-OS
situation.
Post by Adam Thompson
YMMV. Unfortunately, both of mine are still running Solaris so I
can't confirm right now.
-Adam
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Jordan Geoghegan
2017-12-28 21:17:15 UTC
Permalink
This was bothering me, so I did a bit of looking.

According to slide 32 of this:
https://www.slideshare.net/solarisyougood/sparc-t4-1-system-technical-overview


'The SPARC T4-1 has Dual LSI SAS2008 8port SAS2/SATA2 controllers'

The LSI SAS2008 is apparently quite well supported by the mpii(4)
driver. As long as Oracle hasn't felt the need to be edgy, it should
work as intended.

I guess I've just answered my own question here re hardware raid as
mpii(4) states: 'All RAID configuration is done through the controllers'
BIOSes'

The BIOS only config requirement seems to preclude me from doing online
rebuilds of the drives in addition to this little tidbit:

'The chips supported by *mpii* do not use a SCSI-like identifier.
Instead they use an opaque ID and leave discovery order up to the
operating system. The code to handle this is currently not implemented
and therefore it is not a good idea to run this driver on a multi-boot
machine.'\

I digress.
I'm afraid I don't know the answer to that, sorry. Not sure if anyone
does... I think the SCSI HBA driver is the same on SPARC64 as on
AMD64, but then Sun had a habit of "improving" control interfaces for
Solaris so who knows. I do know under Solaris there is a bioctl-like
tool to manage it, for what that's worth.
-Adam
On December 28, 2017 1:32:40 PM CST, Jordan Geoghegan
Yes I had considered using the onboard hardware raid, but I don't
particularly trust it. I also need the ability to rebuild my arrays
while the machine is online and was hoping to be able to do the 3 disk
RAID1 offered by OpenBSD softraid. Do you know if bioctl(8) is capable
of controlling the onboard raid controller, or will I need to do all
raid rebuilds via the hardware raid bios on the T4?
I've recently gotten my hands on a couple shiny new SPARC
T4-1 and T3-1 servers and I was looking to install OpenBSD
with a softraid mirror on them for production use. The
problem is, is that I end up with this upon following the
FWIW... AFAIK every single T4-1 (probably T3-1s but not
certain) is capable of hardware RAID-0/1/10 on the SCSI
controller, and that's how they're shipped from Sun/Oracle
even when running Solaris. I'm not absolutely certain that
it's supported by OpenBSD, but I do recall seeing that it
could be used as-is when I was investigating running OpenBSD
on my T-series gear. There's Oracle documentation on how to
access the on-card firmware to set up and manage the RAID set
in a pre-OS situation. YMMV. Unfortunately, both of mine are
still running Solaris so I can't confirm right now. -Adam
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Loading...