I think transcribing these images yourself improves likelyhood of them
being read...
ok, here goes:
panic: Non dma-reachable buffer at curaddr 0xffffffff81115888(raw)
Stopped at Debugger+0x9: leave
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*25637 25637 0 0x14000 0x200 1 srdis
Debugger() at Debugger+0x9
panic() at panic+0xfe
_bus_dmamap_load_buffer() at _bus_dmamap_load_buffer+0x1b6
_bus_dmamap_load() at _bus_dmamap_load+0x7f
ahci_load_prdt() at ahci_load_prdt+0x97
ahci_ata_cmd() at ahci_ata_cmd+0x69
atascsi_disk_cmd() at atascsis_disk_cmd+0x1b1
scsi_xs_exec() scsi_xs_exec+0x35
sdstart() at sdstart+0x16f
scsi_iopool_run() at scsi_iopool_run+0x5d
scsi_xsh_runqueue() at scsi_xsh_runqueue+0x13d
scsi_xsh_add() at scsi_xsh_add+0x98
sdstrategy() at sdstrategy+0x10f
spec_strategy() at spec_strategy+0x53
end trace frame: 0xffff800032ca1e40, count: 0
http://www.openbsd.org/ddb.html describes the minimum info required in
bug
reports. Insufficient info makes it difficult to find and fix bugs
ddb{1}> trace
Debugger() at Debugger+0x9
panic() at panic+0xfe
_bus_dmamap_load_buffer() at _bus_dmamap_load_buffer+0x1b6
_bus_dmamap_load() at _bus_dmamap_load+0x7f
ahci_load_prdt() at ahci_load_prdt+0x97
ahci_ata_cmd() at ahci_ata_cmd+0x69
atascsi_disk_cmd() at atascsis_disk_cmd+0x1b1
scsi_xs_exec() scsi_xs_exec+0x35
sdstart() at sdstart+0x16f
scsi_iopool_run() at scsi_iopool_run+0x5d
scsi_xsh_runqueue() at scsi_xsh_runqueue+0x13d
scsi_xsh_add() at scsi_xsh_add+0x98
sdstrategy() at sdstrategy+0x10f
spec_strategy() at spec_strategy+0x53
VOP_STRATEGY() at VOP_STRATEGY+0x46
sr_raid_startwu() at sr_raid_startwu+0x98
sr_wu_done_callback() at sr_wu_done_callback+0xdc
taskq_thread() at taskq_thread+0x6c
end trace frame: 0x0, count: -18
ddb{1}> mach ddbcpu 0
Stopped at Debugger+0x9: leave
Debugger() at Debugger+0x9
x86_ipi_handler() at x86_ipi_handler+0x76
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1c
--- interrupt ---
__mp_lock() at __mp_lock+0x48
intr_handler() at intr_handler+0xac
Xintr_ioapic_edge21() at Xintr_ioapic_edge21+0xc9
--- interrupt ---
acpicpu_idle() at acpicpu_idle+0x22d
cpu_idle_cyclw() at cpu_idle_cycle+0x10
end trace frame: 0x0, count: 7
ddb{0}> trace
Debugger() at Debugger+0x9
x86_ipi_handler() at x86_ipi_handler+0x76
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1c
--- interrupt ---
__mp_lock() at __mp_lock+0x48
intr_handler() at intr_handler+0xac
Xintr_ioapic_edge21() at Xintr_ioapic_edge21+0xc9
--- interrupt ---
acpicpu_idle() at acpicpu_idle+0x22d
cpu_idle_cyclw() at cpu_idle_cycle+0x10
end trace frame: 0x0, count: -8
ddb{0}> ps
TID PPID PGRP UID S FLAGS WAIT COMMAND
28373 10364 28373 0 3 0x100083 kqread tail
16021 31167 26618 0 3 0 biowait rsync
25893 31167 26618 0 3 0x100082 select ssh
31167 18246 26618 0 3 0x82 select rsync
18246 26618 26618 0 3 0x10008a pause sh
26618 25696 26618 0 3 0x10008a pause sh
25696 16740 16740 0 3 0x100090 piperd cron
4622 9167 8447 83 3 0x10090 poll ntpd
9167 8447 8447 83 3 0x10090 poll ntpd
8447 1 8447 0 3 0x10080 poll ntpd
10364 16940 10364 0 3 0x1008b pause ksh
7233 23829 7233 1000 3 0x1008b pause ksh
23829 25478 25478 1000 3 0x90 select sshd
25478 7613 25478 0 3 0x92 poll sshd
30448 16940 30448 0 3 0x100083 ttyin ksh
16940 1 16490 0 3 0x100080 kqread tmux
14292 1 14292 0 3 0x100083 ttyin getty
21081 1 21081 0 3 0x100083 ttyin getty
26454 1 26454 0 3 0x100083 ttyin getty
23532 1 23532 0 3 0x100083 ttyin getty
6613 1 6613 0 3 0x100083 ttyin getty
16740 1 16740 0 3 0x100098 poll cron
5344 1 5344 0 3 0x80 select apcupsd
17288 1 5344 0 3 0x4000088 sigwait apcupsd
9946 1 5344 0 3 0x4000080 select apcupsd
15101 1 26467 0 3 0x80 nanosleep smartd
18761 1 18761 99 3 0x10090 poll sndiod
20525 1 20525 110 3 0x10090 poll sndiod
651 28135 28135 95 3 0x10090 kqread smtpd
26772 28135 28135 95 3 0x10090 kqread smtpd
6226 28135 28135 95 3 0x10090 kqread smtpd
17319 28135 28135 95 3 0x10090 kqread smtpd
1380 28135 28135 95 3 0x10090 kqread smtpd
24898 28135 28135 103 3 0x10090 kqread smtpd
28135 1 28135 0 3 0x10080 kqread smtpd
7613 1 7613 0 3 0x80 select sshd
25203 0 0 0 3 0x14200 acct acct
32076 7661 7661 74 3 0x10090 bpf pflogd
7661 1 7661 0 3 0x80 netio pflogd
1442 5224 5224 73 3 0x100090 kqread syslogd
5224 1 5224 0 3 0x100080 netio syslogd
21944 0 0 0 3 0x14200 pgzero zerothread
25632 0 0 0 3 0x14200 aiodoned aiodoned
12835 0 0 0 3 0x14200 syncer update
31224 0 0 0 3 0x14200 cleaner cleaner
1874 0 0 0 3 0x14200 reaper reaper
26377 0 0 0 3 0x14200 pgdaemon pagedaemon
25637 0 0 0 7 0x14200 srdis
1440 0 0 0 3 0x14200 bored crypto
15128 0 0 0 3 0x14200 pftm pfpurge
19016 0 0 0 3 0x14200 usbtsk usbtask
28387 0 0 0 3 0x14200 usbatsk usbatsk
14544 0 0 0 3 0x14200 bored i915
3867 0 0 0 3 0x40014200 acpi0 acpi0
6675 0 0 0 3 0x40014200 idle1
765 0 0 0 3 0x14200 bored sensors
5899 0 0 0 3 0x14200 bored softnet
3924 0 0 0 3 0x14200 bored systqmp
1013 0 0 0 3 0x14200 biowait systq
*23137 0 0 0 7 0x40014200 idle0
23952 0 0 0 3 0x14200 bored sbar
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper
ddb{0}>
When I tried to bring it back online the softraid volume would not
come back.
What did you do? Rebooted?
The host was down at ddb, after collecting the above information I
reset the host.
And no mention of reasons anywhere? What doas 'bioctl -i softraid0'
say?
no mention of anything anywhere. bioctl returns with nothing
# bioctl -i softraid0
#
# bioctl -i -v softraid0
#
And sd9 got assigned, I suppose.
Correct.
For rebuilding parity when a drive failed, yes. But it does not look
like one of your chunks (drives) failed, does it?
As far as I can tell no drive failed, the box just panicked.
Is your sd1 still the same physical drive? Do you have indications it
is
the chunk that failed? Why are you rebuilding parity with that chunk?
My tests back then succeeded in rebuilding parity of a volume with a
new
chunk like that.
Drives have not changed, I was uncertain what chunk referred to, so
perhaps
this was just the wrong command, from reading the man page and
discussing
with a few others on irc this seemed like something valid to try.
And these show the expected output?
I think so ...
# for i in 0 1 3 4 5 6 7 8
do
fdisk sd${i}
done
Disk: sd0 geometry: 243201/255/63 [3907029168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 243200 254 63 [ 64: 3907024001 ] OpenBSD
Disk: sd1 geometry: 243201/255/63 [3907029168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 243200 254 63 [ 64: 3907024001 ] OpenBSD
Disk: sd3 geometry: 243201/255/63 [3907029168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 243200 254 63 [ 64: 3907024001 ] OpenBSD
Disk: sd4 geometry: 243201/255/63 [3907029168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 243200 254 63 [ 64: 3907024001 ] OpenBSD
Disk: sd5 geometry: 243201/255/63 [3907029168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 243200 254 63 [ 64: 3907024001 ] OpenBSD
Disk: sd6 geometry: 243201/255/63 [3907029168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 243200 254 63 [ 64: 3907024001 ] OpenBSD
Disk: sd7 geometry: 243201/255/63 [3907029168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 243200 254 63 [ 64: 3907024001 ] OpenBSD
Disk: sd8 geometry: 243201/255/63 [3907029168 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 2 - 243200 254 63 [ 64: 3907024001 ] OpenBSD
# for i in 0 1 3 4 5 6 7 8
do
disklabel sd${i}
done
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: Hitachi HDS72302
duid: 25f797ef5236bd78
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 64
boundend: 3907024065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 3907024001 64 RAID
c: 3907029168 0 unused
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: Hitachi HDS72302
duid: b65503bfcb0988bd
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 64
boundend: 3907024065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 3907024001 64 RAID
c: 3907029168 0 unused
# /dev/rsd3c:
type: SCSI
disk: SCSI disk
label: ST2000VX000-1CU1
duid: 669973100f339f8b
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 64
boundend: 3907024065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 3907024001 64 RAID
c: 3907029168 0 unused
# /dev/rsd4c:
type: SCSI
disk: SCSI disk
label: WDC WD20PURX-64P
duid: 3c3f54cd1086c7dc
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 64
boundend: 3907024065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 3907024001 64 RAID
c: 3907029168 0 unused
# /dev/rsd5c:
type: SCSI
disk: SCSI disk
label: WDC WD20PURX-64P
duid: 9ae9f78443e87bc0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 64
boundend: 3907024065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 3907024001 64 RAID
c: 3907029168 0 unused
# /dev/rsd6c:
type: SCSI
disk: SCSI disk
label: WDC WD20PURX-64P
duid: 472028fb646c193d
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 64
boundend: 3907024065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 3907024001 64 RAID
c: 3907029168 0 unused
# /dev/rsd7c:
type: SCSI
disk: SCSI disk
label: ST2000VX000-1CU1
duid: f14a7dd68b9bf3ee
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 64
boundend: 3907024065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 3907024001 64 RAID
c: 3907029168 0 unused
# /dev/rsd8c:
type: SCSI
disk: SCSI disk
label: ST2000VX000-1CU1
duid: 7727b17215cf2e49
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 64
boundend: 3907024065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 3907024001 64 RAID
c: 3907029168 0 unused
thanks,
.jh