Hi,
I was attempting to have a RAID 5 softraid0 setup on a sparc64 machine
(boot log output below) but ran into problems when attempting to create
a single partition with the size 5.5TB (RAID 5 with 4 x 2TB hard
drives). I found an interesting problem when using disklabel on the
softraid0 hard drive device, when attempting to make this 5.5TB
partition. The partition "a" would only be allowed as 1.5TB and any
partition >= "d" would only be allowed as 2TB, however the limit
occurred silently after disklabel had exited. When inside disklabel, I
could allocate a single "a" partition to be 5.5TB successfully and was
able to write the partition successfully. However, when the disklabel
process exited, either with the q command or a kill signal 9, the
partition would be shrunk to the limit described above. If the
disklabel process was suspended (ctrl-Z), this wouldn't happen and newfs
would see the 5.5TB partition, though usage of the partition wouldn't
work. The partition would have inaccessible blocks that fsck showed
extreme anger at, when it saw it at boot time.
I did bump into a kernel panic when doing the sequence (kernel panic
output is below the boot log): disklabel single partition 5.5TB written,
suspend disklabel process, newfs on partition, kill -9 disklabel
process, write a single file to the filesystem ("the_first_file" in the
command line output below).
The 1.5TB/2TB partition limit is known and expected on sparc64, isn't
it? I didn't see the limit mentioned in documentation, though the
disklabel manpage does say "On some machines, such as Sparc64, partition
tables may not exhibit the full functionality described above.". I
bumped into the same limit when attempting to use softraid0 RAID c too.
Tell me if you need more information.
Best Regards,
Michael
SPARC Enterprise T5220, No Keyboard
Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.33.6.h, 65408 MB memory available, Serial #89737534.
Ethernet address 0:21:28:59:49:3e, Host ID: 8559493e.
Boot device: disk0 File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 2.1
>> OpenBSD BOOT 1.22
ERROR: /iscsi-hba: No iscsi-network-bootpath property
sr0*
|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#Booting sr0:a/bsd
10060280@0x1000000|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#+7688@0x19981f8|#+170388@0x1c00000/#-#\#|#/#-#\#|#/#-#\#+4023916@0x1c29994|#
/#symbols @ 0xfe93a400
484557-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#+165+654072/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#+452627|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#|#/#-#\#
start=0x1000000
[ using 1592456 bytes of bsd ELF symbol table ]
console is /virtual-devices@100/console@1
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2022 OpenBSD. All rights reserved.
https://www.OpenBSD.org
OpenBSD 7.1 (GENERIC.MP) #1269: Mon Apr 11 22:05:10 MDT 2022
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 68585259008 (65408MB)
avail mem = 67369304064 (64248MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: SPARC Enterprise T5220
cpu0 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu1 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu2 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu3 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu4 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu5 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu6 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu7 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu8 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu9 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu10 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu11 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu12 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu13 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu14 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu15 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu16 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu17 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu18 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu19 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu20 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu21 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu22 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu23 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu24 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu25 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu26 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu27 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu28 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu29 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu30 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu31 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu32 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu33 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu34 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu35 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu36 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu37 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu38 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu39 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu40 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu41 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu42 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu43 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu44 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu45 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu46 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu47 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu48 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu49 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu50 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu51 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu52 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu53 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu54 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu55 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu56 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu57 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu58 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu59 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu60 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu61 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu62 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
cpu63 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
vbus0 at mainbus0
"flashprom" at vbus0 not configured
"tpm" at vbus0 not configured
cbus0 at vbus0
vldc0 at cbus0
vldcp0 at vldc0 chan 0x14: ivec 0x28, 0x29 channel "spds"
"sunvts" at vldc0 chan 0x6 not configured
"sunmc" at vldc0 chan 0x7 not configured
"explorer" at vldc0 chan 0x8 not configured
"led" at vldc0 chan 0x9 not configured
"flashupdate" at vldc0 chan 0xa not configured
"ipmi" at vldc0 chan 0xc not configured
"system-management" at vldc0 chan 0xd not configured
vldc1 at cbus0
"spfma" at vldc1 chan 0x5 not configured
vldc2 at cbus0
vldcp1 at vldc2 chan 0x0: ivec 0x0, 0x1 channel "hvctl"
"ldom-primary" at vldc2 chan 0x1 not configured
"fmactl" at vldc2 chan 0x3 not configured
vldc3 at cbus0
"ldmfma" at vldc3 chan 0x4 not configured
"virtual-domain-service" at cbus0 not configured
"n2cp" at vbus0 not configured
"ncp" at vbus0 not configured
vrng0 at vbus0
vcons0 at vbus0: ivec 0x111: console
vrtc0 at vbus0
vpci0 at mainbus0: bus 2 to 18, dvma map 80000000-ffffffff
pci0 at vpci0
ppb0 at pci0 dev 0 function 0 "PLX PEX 8533" rev 0xaa
pci1 at ppb0 bus 3
ppb1 at pci1 dev 1 function 0 "PLX PEX 8533" rev 0xaa
pci2 at ppb1 bus 4
ppb2 at pci2 dev 0 function 0 "PLX PEX 8517" rev 0xac
pci3 at ppb2 bus 5
ppb3 at pci3 dev 1 function 0 "PLX PEX 8517" rev 0xac
pci4 at ppb3 bus 6
ppb4 at pci4 dev 0 function 0 "PLX PEX 8112" rev 0xaa
pci5 at ppb4 bus 7
ohci0 at pci5 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x16, version 1.0
ohci1 at pci5 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x17, version 1.0
ehci0 at pci5 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x14
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
ppb5 at pci3 dev 2 function 0 "PLX PEX 8517" rev 0xac
pci6 at ppb5 bus 8
em0 at pci6 dev 0 function 0 "Intel 82571EB" rev 0x06: ivec 0x17,
address 00:21:28:59:49:3e
em1 at pci6 dev 0 function 1 "Intel 82571EB" rev 0x06: ivec 0x14,
address 00:21:28:59:49:3f
ppb6 at pci3 dev 3 function 0 "PLX PEX 8517" rev 0xaa
pci7 at ppb6 bus 9
em2 at pci7 dev 0 function 0 "Intel 82571EB" rev 0x06: ivec 0x14,
address 00:21:28:59:49:40
em3 at pci7 dev 0 function 1 "Intel 82571EB" rev 0x06: ivec 0x15,
address 00:21:28:59:49:41
ppb7 at pci1 dev 2 function 0 "PLX PEX 8533" rev 0xaa
pci8 at ppb7 bus 10
mpi0 at pci8 dev 0 function 0 "Symbios Logic SAS1068E" rev 0x04: msi
mpi0: UNUSED, firmware 1.27.0.0
scsibus1 at mpi0: 112 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD20SPZX-22C, 1A01>
naa.50014ee608c28884
sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors
sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD20SPZX-22C, 1A01>
naa.50014ee608c06a1c
sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors
sd2 at scsibus1 targ 2 lun 0: <ATA, WDC WD20SPZX-22C, 1A01>
naa.50014ee608c01db2
sd2: 1907729MB, 512 bytes/sector, 3907029168 sectors
sd3 at scsibus1 targ 4 lun 0: <ATA, WDC WD20SPZX-22U, 1A01>
naa.50014ee608b7a084
sd3: 1907729MB, 512 bytes/sector, 3907029168 sectors
sd4 at scsibus1 targ 6 lun 0: <ATA, WDC WD20SPZX-22U, 1A01>
naa.50014ee608b7a0ca
sd4: 1907729MB, 512 bytes/sector, 3907029168 sectors
sd5 at scsibus1 targ 7 lun 0: <ATA, WDC WD20SPZX-22U, 1A01>
naa.50014ee608b797ca
sd5: 1907729MB, 512 bytes/sector, 3907029168 sectors
ppb8 at pci1 dev 8 function 0 "PLX PEX 8533" rev 0xaa
pci9 at ppb8 bus 11
ppb9 at pci9 dev 0 function 0 "PLX PEX 8533" rev 0xaa
pci10 at ppb9 bus 12
ppb10 at pci10 dev 1 function 0 "PLX PEX 8533" rev 0xaa: msi
pci11 at ppb10 bus 13
ppb11 at pci10 dev 2 function 0 "PLX PEX 8533" rev 0xaa: msi
pci12 at ppb11 bus 14
ppb12 at pci10 dev 8 function 0 "PLX PEX 8533" rev 0xaa: msi
pci13 at ppb12 bus 15
ppb13 at pci10 dev 9 function 0 "PLX PEX 8533" rev 0xaa: msi
pci14 at ppb13 bus 16
ppb14 at pci10 dev 10 function 0 "PLX PEX 8533" rev 0xaa: msi
pci15 at ppb14 bus 17
ppb15 at pci1 dev 9 function 0 "PLX PEX 8533" rev 0xaa: msi
pci16 at ppb15 bus 18
"niu" at mainbus0 not configured
"pci-performance-counters" at mainbus0 not configured
ebus0 at mainbus0
com0 at ebus0 addr ca0000-ca0007 ivec 0x13: ns16550a, 16 byte fifo
uhub3 at uhub0 port 4 configuration 1 interface 0 "Cypress Semiconductor
USB2 Hub" rev 2.00/0.0b addr 2
umass0 at uhub3 port 4 configuration 1 interface 0 "OEM Mass Storage
plus" rev 2.00/0.00 addr 3
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd0 at scsibus2 targ 1 lun 0: <TSSTcorp, CDDVDW TS-T633A, SR00>
removable serial.09280000EF0123456789
uhidev0 at uhub3 port 4 configuration 1 interface 1 "OEM Mass Storage
plus" rev 2.00/0.00 addr 3
uhidev0: iclass 3/0
uhid0 at uhidev0: input=1, output=1, feature=0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
softraid0: sd1 was not shutdown properly
sd6 at scsibus4 targ 1 lun 0: <OPENBSD, SR RAID 1, 006>
sd6: 1907728MB, 512 bytes/sector, 3907027472 sectors
softraid0: volume sd6 is roaming, it used to be sd1, updating metadata
softraid0: roaming device sd2a -> sd1a
softraid0: trying to bring up sd7 degraded
softraid0: sd7 was not shutdown properly
softraid0: sd7 is offline, will not be brought online
bootpath: /pci@0,0/pci@0,0/pci@2,0/scsi@0,0/disk@0,0
root on sd6a (c1d00378774bfcdc.a) swap on sd6b dump on sd6b
WARNING: / was not properly unmounted
Automatic boot in progress: starting file system checks.
/dev/sd6a (c1d00378774bfcdc.a): 1936 files, 38614 used, 467937 free (41
frags, 58487 blocks, 0.0% fragmentation)
/dev/sd6a (c1d00378774bfcdc.a): MARKING FILE SYSTEM CLEAN
Can't open /dev/rsd7a: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rsd7a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
/dev/sd6k (c1d00378774bfcdc.k): 162 files, 3986 used, 188941219 free (27
frags, 23617649 blocks, 0.0% fragmentation)
/dev/sd6k (c1d00378774bfcdc.k): MARKING FILE SYSTEM CLEAN
/dev/sd6d (c1d00378774bfcdc.d): UNREF FILE I=4 OWNER=root MODE=100600
/dev/sd6d: SIZE=0 MTIME=Sep 16 06:06 2022 (CLEARED)
/dev/sd6d (c1d00378774bfcdc.d): FREE BLK COUNT(S) WRONG IN SUPERBLK
(SALVAGED)
/dev/sd6d (c1d00378774bfcdc.d): SUMMARY INFORMATION BAD (SALVAGED)
/dev/sd6d (c1d00378774bfcdc.d): BLK(S) MISSING IN BIT MAPS (SALVAGED)
/dev/sd6d (c1d00378774bfcdc.d): 9 files, 6 used, 2032075 free (43 frags,
254004 blocks, 0.0% fragmentation)
/dev/sd6d (c1d00378774bfcdc.d): MARKING FILE SYSTEM CLEAN
/dev/sd6f (c1d00378774bfcdc.f): 16040 files, 429143 used, 2618620 free
(300 frags, 327290 blocks, 0.0% fragmentation)
/dev/sd6f (c1d00378774bfcdc.f): MARKING FILE SYSTEM CLEAN
/dev/sd6g (c1d00378774bfcdc.g): 5787 files, 126040 used, 380511 free
(135 frags, 47547 blocks, 0.0% fragmentation)
/dev/sd6g (c1d00378774bfcdc.g): MARKING FILE SYSTEM CLEAN
/dev/sd6h (c1d00378774bfcdc.h): 111 files, 110 used, 10154165 free (69
frags, 1269262 blocks, 0.0% fragmentation)
/dev/sd6h (c1d00378774bfcdc.h): MARKING FILE SYSTEM CLEAN
/dev/sd6j (c1d00378774bfcdc.j): 1 files, 1 used, 3047762 free (18 frags,
380968 blocks, 0.0% fragmentation)
/dev/sd6j (c1d00378774bfcdc.j): MARKING FILE SYSTEM CLEAN
/dev/sd6i (c1d00378774bfcdc.i): 1 files, 1 used, 1522232 free (16 frags,
190277 blocks, 0.0% fragmentation)
/dev/sd6i (c1d00378774bfcdc.i): MARKING FILE SYSTEM CLEAN
/dev/sd6e (c1d00378774bfcdc.e): 256 files, 2049 used, 62149575 free (143
frags, 7768679 blocks, 0.0% fragmentation)
/dev/sd6e (c1d00378774bfcdc.e): MARKING FILE SYSTEM CLEAN
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
ffs: /dev/rsd7a (/archive0)
Automatic file system check failed; help!
Enter pathname of shell or RETURN for sh:
ultra# exit
mount_ffs: /dev/sd7a on /archive0: Device not configured
pf enabled
starting network
reordering libraries: done.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
mount_ffs: /dev/sd7a on /archive0: Device not configured
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting local daemons: cron.
Thu Sep 15 23:12:14 PDT 2022
ultra# vi the_first_file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~the_first_file: new file: line 1This is
the first file ever written here.Copying file for recovery...:wqpanic:
biodone already
Stopped at db_enter+0x8: nop
TID PID UID PRFLAGS PFLAGS CPU COMMAND
biodone(4004b5f7718, 430cf, 290, 0, 0, 1997348) at biodone+0x1a4
sd_buf_done(40048954010, 2018000, 0, 0, 0, 6) at sd_buf_done+0x78
scsi_done(40048954010, 10000, 4004aa73800, 0, 10000, 6) at scsi_done+0x18
mpi_scsi_cmd_done(4004a9a3e88, 4004a980b00, 4004a993400, 22600, 200, a)
at mpi_
scsi_cmd_done+0x208
mpi_reply(4004a997c00, 0, 640, 0, 4004a991920, c7) at mpi_reply+0x84
mpi_intr(4004a997c00, 1ca6638, 20, 4004a82cfc0, 1c00, 6) at mpi_intr+0x30
intr_handler(2017ec8, 4004a991900, e9643408, 1ca76e8, 1cd4000, a4) at
intr_hand
ler+0x50
sparc_intr_retry(0, 0, 17970f8, 0, 1c00, 12) at sparc_intr_retry+0x5c
cpu_idle_cycle(1ca6618, 2018000, 18b3b98, 1ca76e8, 0, 1997348) at
cpu_idle_cycl
e+0x2c
sched_idle(2018360, 4004a92c000, 17970f8, 0, 0, 3b9ac800) at
sched_idle+0x158
proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x14
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb{0}> show panic
*cpu0: biodone already
ddb{0}> trace
biodone(4004b5f7718, 430cf, 290, 0, 0, 1997348) at biodone+0x1a4
sd_buf_done(40048954010, 2018000, 0, 0, 0, 6) at sd_buf_done+0x78
scsi_done(40048954010, 10000, 4004aa73800, 0, 10000, 6) at scsi_done+0x18
mpi_scsi_cmd_done(4004a9a3e88, 4004a980b00, 4004a993400, 22600, 200, a)
at mpi_
scsi_cmd_done+0x208
mpi_reply(4004a997c00, 0, 640, 0, 4004a991920, c7) at mpi_reply+0x84
mpi_intr(4004a997c00, 1ca6638, 20, 4004a82cfc0, 1c00, 6) at mpi_intr+0x30
intr_handler(2017ec8, 4004a991900, e9643408, 1ca76e8, 1cd4000, a4) at
intr_hand
ler+0x50
sparc_intr_retry(0, 0, 17970f8, 0, 1c00, 12) at sparc_intr_retry+0x5c
cpu_idle_cycle(1ca6618, 2018000, 18b3b98, 1ca76e8, 0, 1997348) at
cpu_idle_cycl
e+0x2c
sched_idle(2018360, 4004a92c000, 17970f8, 0, 0, 3b9ac800) at
sched_idle+0x158
proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x14
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
25429 260654 12463 0 3 0x100003 biowait vi
85064 399642 0 0 3 0x14200 bored srdis
12463 57021 1 0 3 0x10008b sigsusp ksh
31700 89853 1 0 3 0x100098 kqread cron
41644 478270 1 99 3 0x1100090 kqread sndiod
53158 343251 1 110 3 0x100090 kqread sndiod
63605 187636 77384 95 3 0x1100092 kqread smtpd
60334 101836 77384 103 3 0x1100092 kqread smtpd
97725 401178 77384 95 3 0x1100092 kqread smtpd
95086 48037 77384 95 3 0x100092 kqread smtpd
78374 269735 77384 95 3 0x1100092 kqread smtpd
22969 442607 77384 95 3 0x1100092 kqread smtpd
77384 71884 1 0 3 0x100080 kqread smtpd
97873 313634 1 0 3 0x88 kqread sshd
43042 145562 1 0 3 0x100080 kqread ntpd
13759 265500 24701 83 3 0x100092 kqread ntpd
24701 199234 1 83 3 0x1100092 kqread ntpd
89227 280286 44285 74 3 0x1100092 bpf pflogd
44285 96836 1 0 3 0x80 netio pflogd
96822 259852 67703 73 3 0x1100090 kqread syslogd
67703 218635 1 0 3 0x100082 netio syslogd
--db_more--########### ########### 21570 455684 1 0
3 0x100080 kqread resolvd
--db_more--########### ########### 81859 814 60022 77
3 0x100092 kqread dhcpleased
23771 163673 60022 77 3 0x100092 kqread dhcpleased
60022 377543 1 0 3 0x80 kqread dhcpleased
70231 417418 56596 115 3 0x100092 kqread slaacd
32764 251190 56596 115 3 0x100092 kqread slaacd
56596 1880 1 0 3 0x100080 kqread slaacd
26123 184841 0 0 3 0x14200 bored smr
73125 180688 0 0 3 0x14200 pgzero zerothread
24973 512819 0 0 3 0x14200 aiodoned aiodoned
89708 385066 0 0 3 0x14200 syncer update
8100 498641 0 0 3 0x14200 cleaner cleaner
12646 399937 0 0 3 0x14200 reaper reaper
95230 197805 0 0 3 0x14200 pgdaemon pagedaemon
72301 298568 0 0 3 0x14200 bored sensors
28325 314024 0 0 3 0x14200 bored srdis
33092 507576 0 0 3 0x14200 usbtsk usbtask
14430 293379 0 0 3 0x14200 usbatsk usbatsk
83051 128098 0 0 7 0x40014200 idle63
78685 468185 0 0 7 0x40014200 idle62
26306 167549 0 0 7 0x40014200 idle61
80488 65481 0 0 7 0x40014200 idle60
22490 115943 0 0 7 0x40014200 idle59
24723 284338 0 0 7 0x40014200 idle58
--db_more--########### ########### 37861 323470 0 0 7
0x40014200 idle57
79773 64284 0 0 7 0x40014200 idle56
94428 517288 0 0 7 0x40014200 idle55
43848 287426 0 0 7 0x40014200 idle54
89820 398697 0 0 7 0x40014200 idle53
8133 364502 0 0 7 0x40014200 idle52
14440 360784 0 0 7 0x40014200 idle51
8821 382820 0 0 7 0x40014200 idle50
33405 493927 0 0 7 0x40014200 idle49
5456 373766 0 0 7 0x40014200 idle48
2863 488172 0 0 7 0x40014200 idle47
36993 237939 0 0 7 0x40014200 idle46
6686 209099 0 0 7 0x40014200 idle45
65239 214116 0 0 7 0x40014200 idle44
40472 223632 0 0 7 0x40014200 idle43
45009 249846 0 0 7 0x40014200 idle42
15169 8493 0 0 7 0x40014200 idle41
70697 452143 0 0 7 0x40014200 idle40
13917 161482 0 0 7 0x40014200 idle39
61922 261123 0 0 7 0x40014200 idle38
48328 271799 0 0 7 0x40014200 idle37
51148 228661 0 0 7 0x40014200 idle36
65487 505921 0 0 7 0x40014200 idle35
--db_more--########### ########### 32059 420483 0 0 7
0x40014200 idle34
36488 278740 0 0 7 0x40014200 idle33
50403 157159 0 0 7 0x40014200 idle32
70075 118067 0 0 7 0x40014200 idle31
73612 62387 0 0 7 0x40014200 idle30
72870 227612 0 0 7 0x40014200 idle29
59970 459904 0 0 7 0x40014200 idle28
4085 51279 0 0 7 0x40014200 idle27
19499 314759 0 0 7 0x40014200 idle26
24010 28899 0 0 7 0x40014200 idle25
16756 14626 0 0 7 0x40014200 idle24
87499 441984 0 0 7 0x40014200 idle23
10700 90088 0 0 7 0x40014200 idle22
44273 64226 0 0 7 0x40014200 idle21
97360 250030 0 0 7 0x40014200 idle20
43739 495736 0 0 7 0x40014200 idle19
29961 164221 0 0 7 0x40014200 idle18
75206 177281 0 0 7 0x40014200 idle17
9983 128219 0 0 7 0x40014200 idle16
45380 178577 0 0 7 0x40014200 idle15
13958 502338 0 0 7 0x40014200 idle14
69138 53428 0 0 7 0x40014200 idle13
97567 462357 0 0 7 0x40014200 idle12
--db_more--########### ########### 28027 477125 0 0 7
0x40014200 idle11
77565 410408 0 0 7 0x40014200 idle10
27337 355842 0 0 7 0x40014200 idle9
17608 125194 0 0 7 0x40014200 idle8
1962 451060 0 0 7 0x40014200 idle7
21185 284040 0 0 7 0x40014200 idle6
4130 94985 0 0 7 0x40014200 idle5
79308 150500 0 0 7 0x40014200 idle4
79406 314558 0 0 7 0x40014200 idle3
56755 309649 0 0 7 0x40014200 idle2
71743 287586 0 0 7 0x40014200 idle1
98977 479593 0 0 3 0x14200 bored softnet
77417 139722 0 0 3 0x14200 bored systqmp
3536 115133 0 0 3 0x14200 biowait systq
89931 332693 0 0 3 0x40014200 bored softclock
*96265 70359 0 0 7 0x40014200 idle0
33342 216080 0 0 3 0x14200 kmalloc kmthread
1 333508 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> # #show uvm
Current UVM status:
pagesize=8192 (0x2000), pagemask=0x1fff, pageshift=13
8223837 VM pages: 5483 active, 15276 inactive, 1 wired, 8129869 free
(1016263
zero)
min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
freemin=274127, free-target=365502, inactive-target=0, wired-max=2741279
faults=12699903, traps=12852134, intrs=-378643389,
ctxswitch=249825538 fpuswi
tch=45899
softint=233, syscalls=17074969, kmapent=13
fault counts:
noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
ok relocks(total)=18018(18018), anget(retries)=6691354(0),
amapcopy=2212916
neighbor anon/obj pg=1592811/4061063, gets(lock/unlock)=2967618/18018
cases: anon=5759075, anoncow=932279, obj=2488394, prcopy=479224,
przero=304
0931
daemon and swap counts:
woke=0, revs=0, scans=0, obscans=0, anscans=0
busy=0, freed=0, reactivate=0, deactivate=0
pageouts=0, pending=0, nswget=0
nswapdev=1
swpages=16793948, swpginuse=0, swpgonly=0 paging=0
--db_more--########### ########### kernel pointers:
objs(kern)=0x1c538a8
ddb{0}> # #show bcstats
Current Buffer Cache status:
numbufs 27257 busymapped 1, delwri 5
kvaslots 205595 avail kva slots 205594
bufpages 58963, dmapages 58963, dirtypages 16
pendingreads 0, pendingwrites 1
highflips 0, highflops 0, dmaflips 0