propably bioctl hang is a consequense of hardware errors on sd1:

> sd1 at scsibus2 targ 2 lun 0: <ModusLnk, MXJ3073SC800600X, 5704> SCSI3
> 0/direct fixed
> sd1: 70136MB, 512 bytes/sec, 143638992 sec total
> sd1(mpi1:2:0): Check Condition (error 0x70) on opcode 0x28
>     SENSE KEY: Media Error
>          INFO: 0x274a (VALID flag on)
>      ASC/ASCQ: Read Retries Exhausted
>          SKSV: Actual Retry Count: 63
>


On 07:47 Tue 06 Apr , Michael Lechtermann wrote:
> Hi,
> 
> I guess this says it all:
> 
> # bioctl -v softraid0
> Volume  Status               Size Device
> softraid0 0 Rebuild       73543122944 sd3     RAID1 99% done
>       0 Rebuild       73543122944 0:0.0   noencl <sd1a>
>                                                  'unknown serial'
>       1 Online        73543122944 0:1.0   noencl <sd2a>
>                                                  'unknown serial'
> 
> 
> It is at 99% since >= 8 hours. Should I replace the disk (is that
> possible during a failed rebuild?) or is it some bug with softraid/bioctl?
> 
> 
> 
> OpenBSD 4.7 (GENERIC.MP) #287: Wed Mar 17 23:57:12 MDT 2010
>     [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
> real mem = 8589934592 (8192MB)
> avail mem = 8385232896 (7996MB)
> mainbus0 at root: Sun Fire V440
> cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1062 MHz
> cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
> external (64 b/l)
> cpu1 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1062 MHz
> cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
> external (64 b/l)
> cpu2 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1062 MHz
> cpu2: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
> external (64 b/l)
> cpu3 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1062 MHz
> cpu3: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
> external (64 b/l)
> "memory-controller" at mainbus0 not configured
> "memory-controller" at mainbus0 not configured
> "memory-controller" at mainbus0 not configured
> "memory-controller" at mainbus0 not configured
> schizo0 at mainbus0: "Tomatillo", version 4, ign 700, bus A 0 to 0
> schizo0: dvma map c0000000-dfffffff
> pci0 at schizo0
> cas0 at pci0 dev 2 function 0 "Sun Cassini" rev 0x20: ivec 0x718,
> address 00:03:ba:66:75:d1
> brgphy0 at cas0 phy 1: BCM5421 10/100/1000baseT PHY, rev. 1
> "ppm" at mainbus0 not configured
> schizo1 at mainbus0: "Tomatillo", version 4, ign 740, bus B 0 to 0
> schizo1: dvma map c0000000-dfffffff
> pci1 at schizo1
> mpi0 at pci1 dev 2 function 0 "Symbios Logic 53c1030" rev 0x08: ivec 0x740
> scsibus0 at mpi0: 16 targets, initiator 7
> schizo2 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 0
> schizo2: dvma map c0000000-dfffffff
> pci2 at schizo2
> ebus0 at pci2 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
> "flashprom" at ebus0 addr 0-fffff, 290-290 not configured
> rtc0 at ebus0 addr 70-71: m5819p
> pcfiic0 at ebus0 addr 320-321 ivec 0x1b
> iic at pcfiic0 not configured
> power0 at ebus0 addr 800-82f ivec 0x1a
> com0 at ebus0 addr 3f8-3ff ivec 0x22: ns16550a, 16 byte fifo
> com0: console
> com1 at ebus0 addr 2e8-2ef ivec 0x22: ns16550a, 16 byte fifo
> "rmc-comm" at ebus0 addr 3e8-3ef ivec 0x22 not configured
> cas1 at pci2 dev 2 function 0 "NS Saturn" rev 0x30: ivec 0x78c, address
> 00:14:4f:1e:d6:b4
> gentbi0 at cas1 phy 0: Generic ten-bit interface, rev. 0
> machfb0 at pci2 dev 4 function 0 "ATI Rage XL" rev 0x27
> machfb0: SUNW,370-4362, 1152x900
> wsdisplay0 at machfb0 mux 1
> wsdisplay0: screen 0 added (std, sun emulation)
> alipm0 at pci2 dev 6 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz
> clock
> iic at alipm0 not configured
> ohci0 at pci2 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
> 0x7a1, version 1.0, legacy support
> ohci1 at pci2 dev 11 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
> 0x7a5, version 1.0, legacy support
> pciide0 at pci2 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4:
> DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide0: using ivec 0x7a6 for native-PCI interrupt
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-C2612, 1011> ATAPI
> 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 disabled (no drives)
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
> "ppm" at mainbus0 not configured
> schizo3 at mainbus0: "Tomatillo", version 4, ign 7c0, bus B 0 to 0
> schizo3: dvma map c0000000-dfffffff
> pci3 at schizo3
> cas2 at pci3 dev 1 function 0 "Sun Cassini" rev 0x20: ivec 0x7dc,
> address 00:03:ba:66:75:d2
> brgphy1 at cas2 phy 1: BCM5421 10/100/1000baseT PHY, rev. 1
> mpi1 at pci3 dev 2 function 0 "Symbios Logic 53c1030" rev 0x07: ivec 0x7e3
> scsibus2 at mpi1: 16 targets, initiator 7
> sd0 at scsibus2 targ 0 lun 0: <LSILOGIC, 1030 IM IM, 1000> SCSI2
> 0/direct fixed
> sd0: 34732MB, 512 bytes/sec, 71131136 sec total
> sd1 at scsibus2 targ 2 lun 0: <ModusLnk, MXJ3073SC800600X, 5704> SCSI3
> 0/direct fixed
> sd1: 70136MB, 512 bytes/sec, 143638992 sec total
> sd2 at scsibus2 targ 3 lun 0: <ModusLnk, MXJ3073SC800600X, 5704> SCSI3
> 0/direct fixed
> sd2: 70136MB, 512 bytes/sec, 143638992 sec total
> mpi1: target 2 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
> mpi1: target 3 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
> mpi1: phys disk 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
> mpi1: phys disk 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
> mpi2 at pci3 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0x7e4
> scsibus3 at mpi2: 16 targets, initiator 7
> "i2c" at mainbus0 not configured
> vscsi0 at root
> scsibus4 at vscsi0: 256 targets
> softraid0 at root
> scsibus5 at softraid0: 1 targets
> sd3 at scsibus5 targ 0 lun 0: <OPENBSD, SR RAID 1, 003> SCSI2 0/direct fixed
> sd3: 70136MB, 512 bytes/sec, 143638913 sec total
> bootpath: /p...@1f,700000/s...@2,0/d...@0,0
> root on sd0a swap on sd0b dump on sd0b
> sd1(mpi1:2:0): Check Condition (error 0x70) on opcode 0x28
>     SENSE KEY: Media Error
>          INFO: 0x274a (VALID flag on)
>      ASC/ASCQ: Read Retries Exhausted
>          SKSV: Actual Retry Count: 63
> softraid0: retrying read on block 9968
> softraid0: rebuild of sd3 started on sd1a
> softraid0: sr_raid1_rw: illegal block count for sd3
> softraid0: could not create read io
> 

-- 
sergeyb@

Reply via email to