I am aware of this issue however I have not been able to duplicate it myself.

If anyone has seen this issue and is able to give me remote access to abox
please let me know.  I'll be needing serial and ssh access.  Also a source tree
local would help.

/marco

On Wed, Mar 29, 2006 at 11:59:33AM -0500, [EMAIL PROTECTED] wrote:
>   I recently built a new system with an LSI Logic Megaraid 150-6 and 6
>   Seagate drives.  I configured 5 drives in a RAID 5 configuration
>   with the 6th as a hotspare.
> 
>   Initially, bioctl reported the RAID status correctly.  After I
>   manually simulated failing a drive (shutdown and physically remove
>   power from one drive), the Megaraid controller did as expected,
>   ie. added the hotspare and started rebuilding the array.  I let the
>   rebuild finish and again shutdown and re-powered the "failed" drive.
>   At that point, I tried to use bioctl to change the status of the
>   latter drive to Hotspare via "bioctl -H 0:4 ami0".  The latter
>   command apparently completes successfully; however, the status
>   continues to show "Unused".
> 
> x2 506>sudo bioctl -H 0:4 ami0
> x2 507>sudo bioctl -h ami0
> Volume  Status     Size           Device
>  ami0 0 Online               3.9G sd0     RAID5
>       0 Online              74.5G 0:0.0   noencl <        ST3808110AS     
> 3.AA>
>       1 Online              74.5G 0:1.0   noencl <        ST3808110AS     
> 3.AA>
>       2 Online              74.5G 0:2.0   noencl <        ST3808110AS     
> 3.AA>
>       3 Online              74.5G 0:3.0   noencl <        ST3808110AS     
> 3.AA>
>       4 Online              74.5G 0:5.0   noencl <        ST3808110AS     
> 3.AA>
>  ami0 1 Online               294G sd1     RAID5
>       0 Online              74.5G 0:0.0   noencl <        ST3808110AS     
> 3.AA>
>       1 Online              74.5G 0:1.0   noencl <        ST3808110AS     
> 3.AA>
>       2 Online              74.5G 0:2.0   noencl <        ST3808110AS     
> 3.AA>
>       3 Online              74.5G 0:3.0   noencl <        ST3808110AS     
> 3.AA>
>       4 Online              74.5G 0:5.0   noencl <        ST3808110AS     
> 3.AA>
>  ami0 2 Unused              74.5G 0:4.0   noencl <        ST3808110AS     
> 3.AA>
> 
>   I have since used the Megaraid BIOS to change the status of 0:4 to
>   Hotspare and observe that the BIOS does correctly reflect the
>   hotspare status.  However, bioctl still reports it as Unused.
> 
>   I also tried "bioctl -vDH 0:4 ami0" which didn't change the hotspare
>   status but did produce the following:
> bioctl: cookie = 0xffff800001bc2d40
> 
>   The Megaraid 150-6 does have the latest firmware.
> 
> 
> OpenBSD 3.9-current (GENERIC.MP) #759: Mon Mar 27 04:29:19 MST 2006
>     [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 1073016832 (1047868K)
> avail mem = 908169216 (886884K)
> using 22937 buffers containing 107507712 bytes (104988K) of memory
> mainbus0 (root)
> mainbus0: Intel MP Specification (Version 1.1) (ASUSTeK              )
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2002.84 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
> 64b/line 16-way L2 cache
> cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu0: apic clock running at 200MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2002.56 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
> cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
> 64b/line 16-way L2 cache
> cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
> mpbios: bus 0 is type PCI   
> mpbios: bus 1 is type PCI   
> mpbios: bus 2 is type ISA   
> ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 3, 24 pins
> pci0 at mainbus0 bus 0: configuration mode 1
> pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x00
> pchb1 at pci0 dev 0 function 1 "VIA K8HTB Host" rev 0x00
> pchb2 at pci0 dev 0 function 2 "VIA K8HTB Host" rev 0x00
> pchb3 at pci0 dev 0 function 3 "VIA K8HTB Host" rev 0x00
> pchb4 at pci0 dev 0 function 4 "VIA K8HTB Host" rev 0x00
> pchb5 at pci0 dev 0 function 7 "VIA K8HTB Host" rev 0x00
> ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Radeon 9200 PRO" rev 0x01
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> "ATI Radeon 9200 PRO Sec" rev 0x01 at pci1 dev 0 function 1 not configured
> skc0 at pci0 dev 10 function 0 "Marvell Yukon 88E8001/8003/8010" rev 0x13, 
> Marvell Yukon Lite (0x9): apic 2 int 17 (irq 10)
> sk0 at skc0 port A, address 00:15:f2:44:40:ad
> eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
> ami0 at pci0 dev 14 function 0 "Symbios Logic MegaRAID" rev 0x01: apic 2 int 
> 19 (irq 3)
> ami0: LSI 523, 64b/lhc, FW 713N, BIOS vG119, 64MB RAM
> ami0: 1 channels, 0 FC loops, 2 logical drives
> scsibus0 at ami0: 40 targets
> sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed
> sd0: 4000MB, 4000 cyl, 64 head, 32 sec, 512 bytes/sec, 8192000 sec total
> sd1 at scsibus0 targ 1 lun 0: <AMI, Host drive #01, > SCSI2 0/direct fixed
> sd1: 301256MB, 301256 cyl, 64 head, 32 sec, 512 bytes/sec, 616972288 sec total
> scsibus1 at ami0: 16 targets
> pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
> pciide0: using apic 2 int 20 (irq 10) for native-PCI interrupt
> pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, 
> channel 0 configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide1 channel 0 drive 0: <WDC WD1200JB-00CRA1>
> wd0: 16-sector PIO, LBA, 114473MB, 234441648 sectors
> atapiscsi0 at pciide1 channel 0 drive 1
> scsibus2 at atapiscsi0: 2 targets
> cd0 at scsibus2 targ 0 lun 0: <_NEC, DVD_RW ND-3500AG, 2.1A> SCSI0 5/cdrom 
> removable
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2
> cd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 2
> pciide1: channel 1 disabled (no drives)
> uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: apic 2 int 21 
> (irq 11)
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: apic 2 int 21 
> (irq 11)
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: apic 2 int 21 
> (irq 10)
> usb2 at uhci2: USB revision 1.0
> uhub2 at usb2
> uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: apic 2 int 21 
> (irq 10)
> usb3 at uhci3: USB revision 1.0
> uhub3 at usb3
> uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: apic 2 int 21 (irq 
> 5)
> usb4 at ehci0: USB revision 2.0
> uhub4 at usb4
> uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
> uhub4: 8 ports with 8 removable, self powered
> viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
> iic0 at viapm0
> auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: apic 2 int 22 
> (irq 5)
> ac97: codec id 0x414c4790 (Avance Logic ALC850)
> audio0 at auvia0
> pchb6 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
> pchb7 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
> pchb8 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
> pchb9 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
> isa0 at mainbus0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lm0 at isa0 port 0x290/8: W83627THF
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> dkcsum: sd0 matches BIOS drive 0x80
> dkcsum: sd1 matches BIOS drive 0x81
> dkcsum: wd0 matches BIOS drive 0x82
> root on sd0a
> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

Reply via email to