All, we are looking at getting a new fileserver, and the spec has an Areca 1882 SAS controller - or would have, if there were NetBSD support for it. I added the PCI IDs, regenerated sys/dev/pci/pcidevs*.h, and the dealer ran the resulting netbsd-6 kernel, producing the attached dmesg. The arcmsr0 shows up, but that's it - no attached disks. How hard would it be to add support, or should I look elsewhere? I haven't been too happy with LSI's support. hauke -- The ASCII Ribbon Campaign Hauke Fath () No HTML/RTF in email Institut für Nachrichtentechnik /\ No Word docs in email TU Darmstadt Respect for open standards Ruf +49-6151-16-3281
Attachment:
%areca-1882.diffs
Description: application/applefile
Attachment:
areca-1882.diffs
Description: Binary data
Attachment:
%NetBSD-6-dmesg.txt
Description: application/applefile
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 6.0_STABLE (GENERIC) #0: Mon Dec 3 15:48:42 CET 2012 hf@Hochstuhl:/var/obj/netbsd-builds/6/amd64/sys/arch/amd64/compile/GENERIC total memory = 127 GB avail memory = 124 GB timecounter: Timecounters tick every 10.000 msec timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100 Supermicro H8DG6/H8DGi (1234567890) mainbus0 (root) cpu0 at mainbus0 apid 32: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu1 at mainbus0 apid 33: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu2 at mainbus0 apid 34: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu3 at mainbus0 apid 35: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu4 at mainbus0 apid 36: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu5 at mainbus0 apid 37: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu6 at mainbus0 apid 38: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu7 at mainbus0 apid 39: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu8 at mainbus0 apid 40: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu9 at mainbus0 apid 41: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu10 at mainbus0 apid 42: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu11 at mainbus0 apid 43: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu12 at mainbus0 apid 44: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu13 at mainbus0 apid 45: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu14 at mainbus0 apid 46: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 cpu15 at mainbus0 apid 47: AMD Opteron(tm) Processor 6386 SE , id 0x600f20 ioapic0 at mainbus0 apid 0: pa 0xfec00000, version 21, 24 pins acpi0 at mainbus0: Intel ACPICA 20110623 acpi0: X/RSDT: OemId <SMCI , ,20120910>, AslId <MSFT,00000097> ioapic0 reenabling acpi0: SCI interrupting at int 9 timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900 hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400) timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000 NMEM (PNP0C02) at acpi0 not configured UMEM (PNP0C02) at acpi0 not configured attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0 pcppi1 at acpi0 (SPKR, PNP0800): io 0x61 midi0 at pcppi1: PC speaker sysbeep0 at pcppi1 OMSC (PNP0C02) at acpi0 not configured RMSC (PNP0C02) at acpi0 not configured UAR1 (PNP0501) at acpi0 not configured UAR2 (PNP0501) at acpi0 not configured pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1 pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12 SIOR (PNP0C02) at acpi0 not configured UAR3 (PNP0501) at acpi0 not configured SIO2 (PNP0C02) at acpi0 not configured PCIE (PNP0C02) at acpi0 not configured RMEM (PNP0C01) at acpi0 not configured NMEM (PNP0C02) at acpi0 not configured UMEM (PNP0C02) at acpi0 not configured acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button attimer1: attached to pcppi1 pckbd0 at pckbc1 (kbd slot) pckbc1: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pms0 at pckbc1 (aux slot) pckbc1: using irq 12 for aux slot wsmouse0 at pms0 mux 0 ipmi0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok pchb0 at pci0 dev 0 function 0: vendor 0x1002 product 0x5a10 (rev. 0x02) vendor 0x1002 product 0x5a23 (system, subclass 0x06) at pci0 dev 0 function 2 not configured ppb0 at pci0 dev 4 function 0: vendor 0x1002 product 0x5a18 (rev. 0x00) ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex> pci1 at ppb0 bus 4 pci1: i/o space, memory space enabled, rd/line, wr/inv ok wm0 at pci1 dev 0 function 0: I350 Gigabit Network Connection (rev. 0x01) wm0: interrupting at ioapic0 pin 16 wm0: PCI-Express bus wm0: 256 word (8 address bits) SPI EEPROM wm0: Ethernet address a0:36:9f:15:ba:f4 ukphy0 at wm0 phy 1: OUI 0x00aa00, model 0x003b, rev. 1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto wm1 at pci1 dev 0 function 1: I350 Gigabit Network Connection (rev. 0x01) wm1: interrupting at ioapic0 pin 17 wm1: PCI-Express bus wm1: 256 word (8 address bits) SPI EEPROM wm1: Ethernet address a0:36:9f:15:ba:f5 ukphy1 at wm1 phy 1: OUI 0x00aa00, model 0x003b, rev. 1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto wm2 at pci1 dev 0 function 2: I350 Gigabit Network Connection (rev. 0x01) wm2: interrupting at ioapic0 pin 18 wm2: PCI-Express bus wm2: 256 word (8 address bits) SPI EEPROM wm2: Ethernet address a0:36:9f:15:ba:f6 ukphy2 at wm2 phy 1: OUI 0x00aa00, model 0x003b, rev. 1 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto wm3 at pci1 dev 0 function 3: I350 Gigabit Network Connection (rev. 0x01) wm3: interrupting at ioapic0 pin 19 wm3: PCI-Express bus wm3: 256 word (8 address bits) SPI EEPROM wm3: Ethernet address a0:36:9f:15:ba:f7 ukphy3 at wm3 phy 1: OUI 0x00aa00, model 0x003b, rev. 1 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto ppb1 at pci0 dev 11 function 0: vendor 0x1002 product 0x5a1f (rev. 0x00) ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex> pci2 at ppb1 bus 3 pci2: i/o space, memory space enabled, rd/line, wr/inv ok arcmsr0 at pci2 dev 0 function 0 arcmsr0: interrupting at ioapic0 pin 19 ppb2 at pci0 dev 13 function 0: vendor 0x1002 product 0x5a1e (rev. 0x00) ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex> pci3 at ppb2 bus 2 pci3: i/o space, memory space enabled, rd/line, wr/inv ok wm4 at pci3 dev 0 function 0: 82576 1000BaseT Ethernet (rev. 0x01) wm4: interrupting at ioapic0 pin 17 wm4: PCI-Express bus wm4: 65536 word (16 address bits) SPI EEPROM wm4: Ethernet address 00:25:90:72:bc:00 igphy0 at wm4 phy 1: i82566 10/100/1000 media interface, rev. 1 igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto wm5 at pci3 dev 0 function 1: 82576 1000BaseT Ethernet (rev. 0x01) wm5: interrupting at ioapic0 pin 18 wm5: PCI-Express bus wm5: 65536 word (16 address bits) SPI EEPROM wm5: Ethernet address 00:25:90:72:bc:01 igphy1 at wm5 phy 1: i82566 10/100/1000 media interface, rev. 1 igphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto ahcisata0 at pci0 dev 17 function 0: vendor 0x1002 product 0x4391 (rev. 0x00) ahcisata0: interrupting at ioapic0 pin 22 ahcisata0: 64-bit DMA ahcisata0: AHCI revision 1.10, 6 ports, 32 slots, CAP 0xf722ff85<CCCS,PSC,SSC,PMD,SPM,ISS=0x2=Gen2,SCLO,SAL,SALP,SMPS,SSNTF,SNCQ,S64A> atabus0 at ahcisata0 channel 0 atabus1 at ahcisata0 channel 1 atabus2 at ahcisata0 channel 2 atabus3 at ahcisata0 channel 3 atabus4 at ahcisata0 channel 4 atabus5 at ahcisata0 channel 5 ohci0 at pci0 dev 18 function 0: vendor 0x1002 product 0x4397 (rev. 0x00) ohci0: interrupting at ioapic0 pin 16 ohci0: OHCI version 1.0, legacy support usb0 at ohci0: USB revision 1.0 ohci1 at pci0 dev 18 function 1: vendor 0x1002 product 0x4398 (rev. 0x00) ohci1: interrupting at ioapic0 pin 16 ohci1: OHCI version 1.0, legacy support usb1 at ohci1: USB revision 1.0 ehci0 at pci0 dev 18 function 2: vendor 0x1002 product 0x4396 (rev. 0x00) ehci0: interrupting at ioapic0 pin 17 ehci0: dropped intr workaround enabled ehci0: BIOS has given up ownership ehci0: EHCI version 1.0 ehci0: companion controllers, 3 ports each: ohci0 ohci1 usb2 at ehci0: USB revision 2.0 ohci2 at pci0 dev 19 function 0: vendor 0x1002 product 0x4397 (rev. 0x00) ohci2: interrupting at ioapic0 pin 18 ohci2: OHCI version 1.0, legacy support usb3 at ohci2: USB revision 1.0 ohci3 at pci0 dev 19 function 1: vendor 0x1002 product 0x4398 (rev. 0x00) ohci3: interrupting at ioapic0 pin 18 ohci3: OHCI version 1.0, legacy support usb4 at ohci3: USB revision 1.0 ehci1 at pci0 dev 19 function 2: vendor 0x1002 product 0x4396 (rev. 0x00) ehci1: interrupting at ioapic0 pin 19 ehci1: dropped intr workaround enabled ehci1: BIOS has given up ownership ehci1: EHCI version 1.0 ehci1: companion controllers, 3 ports each: ohci2 ohci3 usb5 at ehci1: USB revision 2.0 piixpm0 at pci0 dev 20 function 0: vendor 0x1002 product 0x4385 (rev. 0x3d) piixpm0: interrupting at SMI, polling iic0 at piixpm0: I2C bus pcib0 at pci0 dev 20 function 3: vendor 0x1002 product 0x439d (rev. 0x00) ppb3 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x00) pci4 at ppb3 bus 1 pci4: i/o space, memory space enabled vga0 at pci4 dev 4 function 0: vendor 0x102b product 0x0532 (rev. 0x0a) wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0 wsmux1: connecting to wsdisplay0 drm at vga0 not configured ohci4 at pci0 dev 20 function 5: vendor 0x1002 product 0x4399 (rev. 0x00) ohci4: interrupting at ioapic0 pin 18 ohci4: OHCI version 1.0, legacy support usb6 at ohci4: USB revision 1.0 pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1600 (rev. 0x00) pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1601 (rev. 0x00) pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1602 (rev. 0x00) pchb4 at pci0 dev 24 function 3: vendor 0x1022 product 0x1603 (rev. 0x00) amdtemp0 at pchb4: AMD CPU Temperature Sensors (Family15h) pchb5 at pci0 dev 24 function 4: vendor 0x1022 product 0x1604 (rev. 0x00) pchb6 at pci0 dev 24 function 5: vendor 0x1022 product 0x1605 (rev. 0x00) pchb7 at pci0 dev 25 function 0: vendor 0x1022 product 0x1600 (rev. 0x00) pchb8 at pci0 dev 25 function 1: vendor 0x1022 product 0x1601 (rev. 0x00) pchb9 at pci0 dev 25 function 2: vendor 0x1022 product 0x1602 (rev. 0x00) pchb10 at pci0 dev 25 function 3: vendor 0x1022 product 0x1603 (rev. 0x00) amdtemp1 at pchb10: AMD CPU Temperature Sensors (Family15h) pchb11 at pci0 dev 25 function 4: vendor 0x1022 product 0x1604 (rev. 0x00) pchb12 at pci0 dev 25 function 5: vendor 0x1022 product 0x1605 (rev. 0x00) isa0 at pcib0 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo acpicpu0 at cpu0: ACPI CPU acpicpu0: C1: HLT, lat 0 us, pow 0 mW acpicpu0: C2: I/O, lat 100 us, pow 0 mW acpicpu0: P0: FFH, lat 5 us, pow 7612 mW, 2800 MHz acpicpu0: P1: FFH, lat 5 us, pow 6615 mW, 2500 MHz acpicpu0: P2: FFH, lat 5 us, pow 5670 mW, 2200 MHz acpicpu0: P3: FFH, lat 5 us, pow 4370 mW, 1800 MHz acpicpu0: P4: FFH, lat 5 us, pow 3283 mW, 1400 MHz acpicpu0: T0: I/O, lat 1 us, pow 0 mW, 100 % acpicpu0: T1: I/O, lat 1 us, pow 0 mW, 88 % acpicpu0: T2: I/O, lat 1 us, pow 0 mW, 76 % acpicpu0: T3: I/O, lat 1 us, pow 0 mW, 64 % acpicpu0: T4: I/O, lat 1 us, pow 0 mW, 52 % acpicpu0: T5: I/O, lat 1 us, pow 0 mW, 40 % acpicpu0: T6: I/O, lat 1 us, pow 0 mW, 28 % acpicpu0: T7: I/O, lat 1 us, pow 0 mW, 16 % acpicpu1 at cpu1: ACPI CPU acpicpu2 at cpu2: ACPI CPU acpicpu3 at cpu3: ACPI CPU acpicpu4 at cpu4: ACPI CPU acpicpu5 at cpu5: ACPI CPU acpicpu6 at cpu6: ACPI CPU acpicpu7 at cpu7: ACPI CPU acpicpu8 at cpu8: ACPI CPU acpicpu9 at cpu9: ACPI CPU acpicpu10 at cpu10: ACPI CPU acpicpu11 at cpu11: ACPI CPU acpicpu12 at cpu12: ACPI CPU acpicpu13 at cpu13: ACPI CPU acpicpu14 at cpu14: ACPI CPU acpicpu15 at cpu15: ACPI CPU timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 ERROR: 4125 cycle TSC drift observed uhub0 at usb2: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub0: 6 ports with 6 removable, self powered uhub1 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 6 ports with 6 removable, self powered uhub2 at usb3: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 3 ports with 3 removable, self powered uhub3 at usb1: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 3 ports with 3 removable, self powered uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 3 ports with 3 removable, self powered uhub5 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 3 ports with 3 removable, self powered uhub6 at usb6: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub6: 2 ports with 2 removable, self powered umass0 at uhub0 port 3 configuration 1 interface 0 umass0: vendor 0x05e3 USB Storage, rev 2.00/0.15, addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, 1 lun per target uhidev0 at uhub6 port 1 configuration 1 interface 0 cd0 at scsibus0 target 0 lun 0: <Slimtype, DVD A DS8A9SH, EP52> cdrom removable umass1 at uhub1 port 1 configuration 1 interface 0 uhidev0: Winbond Electronics Corp Hermon USB hidmouse Device, rev 1.10/0.01, addr 2, iclass 3/1 umass1: HP v165w, rev 2.00/40.96, addr 2 umass1: using SCSI over Bulk-Only scsibus1 at umass1: 2 targets, 1 lun per target ums0 at uhidev0: 3 buttons and Z dir wsmouse1 at ums0 mux 0 uhidev1 at uhub6 port 1 configuration 1 interface 1 uhidev1: Winbond Electronics Corp Hermon USB hidmouse Device, rev 1.10/0.01, addr 2, iclass 3/1 ukbd0 at uhidev1 sd0 at scsibus1 target 0 lun 0: <hp, v165w, 4096> disk removable sd0: 3824 MB, 7872 cyl, 16 head, 63 sec, 512 bytes/sect x 7831552 sectors sd0: GPT GUID: f069bbc6-09bc-434e-ac90-1a6f16ae1d27 dk0 at sd0: 7d4efdcd-4bb8-4a49-9f65-d1ffc7e96725 dk0: 8128 blocks at 64, type: msdos dk1 at sd0: f6c889fe-6f95-40d2-9aab-ee42a9841b88 dk1: 511968 blocks at 8224, type: dk2 at sd0: 4300496f-37cc-4f4f-bfe0-e421fe4c7db4 dk2: 511968 blocks at 520224, type: dk3 at sd0: 5b90b79b-d2ac-4125-8840-75dd542f22f7 dk3: 225248 blocks at 1032224, type: dk4 at sd0: 0009c768-8b7c-442b-ae21-221a87aa6111 dk4: 585696 blocks at 1257504, type: wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 Kernelized RAIDframe activated pad0: outputs: 44100Hz, 16-bit, stereo audio0 at pad0: half duplex, playback, capture boot device: cd0 root on cd0a dumps on cd0b root file system type: cd9660 warning: no /dev/console ipmi0: version 2.0 interface KCS iobase 0xca2/2 spacing 1 umass2 at uhub0 port 6 configuration 1 interface 0 umass2: HP v165w, rev 2.00/40.96, addr 3 umass2: using SCSI over Bulk-Only scsibus2 at umass2: 2 targets, 1 lun per target sd1 at scsibus2 target 0 lun 0: <hp, v165w, 4096> disk removable sd1: 3824 MB, 7872 cyl, 16 head, 63 sec, 512 bytes/sect x 7831552 sectors