Hello, I have an Opteron machine running OpenBSD 4.2/amd64 I have an Areca ARC-1110 RAID controller in this machine.
I'd like to be able to query or get notified of alarms on the raid controller, how can I do that? I can do: # bioctl -v -q sd0 sd0: <Areca, ARC-1110-VOL#00, R001>, serial 0000000591171972 # bioctl -a get arc0 alarm is currently enabled But if I try # bioctl -v -a silence arc0 bioctl: BIOCALARM: Input/output error What do I need to do to obtain the alarm state, and reset it if necessary? Thanks Here is my dmesg: # dmesg OpenBSD 4.2-stable (GENERIC) #0: Wed Oct 24 12:44:40 PDT 2007 [EMAIL PROTECTED] :/home/4.2/src/sys/arch/amd64/compile/GENERIC real mem = 4226789376 (4030MB) avail mem = 4093644800 (3904MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.34 @ 0xfbf7c000 (33 entries) bios0: vendor Phoenix Technologies Ltd. version "V1.11" date 05/10/2006 bios0: RIOWORKS HDAMA acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: Dual Core AMD Opteron(tm) Processor 275 HE, 2205.29 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, 1MB 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: AMD erratum 89 present, BIOS upgrade may be required pci0 at mainbus0 bus 0: configuration mode 1 ppb0 at pci0 dev 6 function 0 "AMD 8111 PCI-PCI" rev 0x07 pci1 at ppb0 bus 1 ohci0 at pci1 dev 0 function 0 "AMD 8111 USB" rev 0x0b: irq 11, version 1.0, legacy support ohci1 at pci1 dev 0 function 1 "AMD 8111 USB" rev 0x0b: irq 11, version 1.0, legacy support vga1 at pci1 dev 6 function 0 "ATI Rage XL" rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pciide0 at pci1 dev 7 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA pciide0: using irq 5 for native-PCI interrupt usb0 at ohci0: USB revision 1.0 uhub0 at usb0: AMD OHCI root hub, rev 1.00/1.00, addr 1 usb1 at ohci1: USB revision 1.0 uhub1 at usb1: AMD OHCI root hub, rev 1.00/1.00, addr 1 pcib0 at pci0 dev 7 function 0 "AMD 8111 LPC" rev 0x05 pciide1 at pci0 dev 7 function 1 "AMD 8111 IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E-N, 1.AA> SCSI0 5/cdrom removable cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2 wd0 at pciide1 channel 1 drive 0: <LEXAR ATA FLASH CARD> wd0: 1-sector PIO, LBA, 7631MB, 15630048 sectors wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 amdiic0 at pci0 dev 7 function 2 "AMD 8111 SMBus" rev 0x02: SCI iic0 at amdiic0 amdpm0 at pci0 dev 7 function 3 "AMD 8111 Power" rev 0x05: rng active iic1 at amdpm0 admcts0 at iic1 addr 0x2c ppb1 at pci0 dev 10 function 0 "AMD 8131 PCIX" rev 0x13 pci2 at ppb1 bus 2 bge0 at pci2 dev 3 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): irq 11, address 00:50:45:5f:13:ce brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 bge1 at pci2 dev 3 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): irq 5, address 00:50:45:5f:13:cf brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 "AMD 8131 PCIX IOAPIC" rev 0x01 at pci0 dev 10 function 1 not configured ppb2 at pci0 dev 11 function 0 "AMD 8131 PCIX" rev 0x13 pci3 at ppb2 bus 3 ppb3 at pci3 dev 1 function 0 "Intel IOP331 PCIX-PCIX" rev 0x0a pci4 at ppb3 bus 4 arc0 at pci4 dev 14 function 0 "Areca ARC-1110" rev 0x00: irq 11 arc0: 4 SATA Ports, 256MB SDRAM, FW Version: V1.43 2007-4-17 scsibus1 at arc0: 16 targets sd0 at scsibus1 targ 0 lun 0: <Areca, ARC-1110-VOL#00, R001> SCSI3 0/direct fixed sd0: 476837MB, 56514 cyl, 36 head, 480 sec, 512 bytes/sec, 976562176 sec total "AMD 8131 PCIX IOAPIC" rev 0x01 at pci0 dev 11 function 1 not configured pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 dkcsum: wd0 matches BIOS drive 0x80 dkcsum: sd0 matches BIOS drive 0x81 root on wd0a swap on wd0b dump on wd0b