OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: guest19931 on January 16, 2019, 02:48:48 pm

Title: AVAGO Megaraid Support
Post by: guest19931 on January 16, 2019, 02:48:48 pm
Hey Guys

I'm trying to install OPNsense 18.7 on a brand new Lenovo SR630 server which has an AVAGO megaRAID SAS controller installed. Unfortunately the installer is not detecting any drives and I am unable to complete the install.

I have tried enabling the hw.mfi.mrsas_enable=1 in the kernel using the following method but its also not working

1) press esc at the OPNsense welcome screen
2) issue command "set hw.mfi.mrsas_enable=1"
3) issue command "show" to confirm i see the option there
4) issue command "boot" system boots
5) I login as installer to initiate the install

However even using this method i am unable to see any local harddrives other then the USB stick which i am performing the install from.

I realise that this may be an upstream issue with FreeBSD not supporting the AVAGO megaRAID adapter but I thought i would ask incase my methodology of loading the SAS driver above is incorrect.

If you have any suggestions i would appreciate your advice.

thanks

sharl
Title: Re: AVAGO Megaraid Support
Post by: guest19931 on January 16, 2019, 03:06:31 pm
Exact model of the RAID controller "ThinkSystem RAID 930-8i"
Title: Re: AVAGO Megaraid Support
Post by: guest19931 on January 18, 2019, 02:36:07 pm
Update

have confirmed that the adapter Lenovo lists as a ThinkSystem RAID 930-8i, is a Broadcom (LSI) SAS 3508 (8 Port SAS/PCIe) RAID controller. This RAID controller is supported by the mpr driver which i am enabling using the same method above, except using the mpr driver.

"press esc at the OPNsense welcome screen, issue command "set mpr_load=yes" at the loader prompt."

however on boot i have watched drivers being loaded by the kernel and mpr.ko is not one of them.

Can anyone suggest how i can get this driver to load?



Title: Re: AVAGO Megaraid Support
Post by: pylox on January 18, 2019, 04:03:39 pm
Update

have confirmed that the adapter Lenovo lists as a ThinkSystem RAID 930-8i, is a Broadcom (LSI) SAS 3508 (8 Port SAS/PCIe) RAID controller. This RAID controller is supported by the mpr driver which i am enabling using the same method above, except using the mpr driver.

"press esc at the OPNsense welcome screen, issue command "set mpr_load=yes" at the loader prompt."

however on boot i have watched drivers being loaded by the kernel and mpr.ko is not one of them.

Can anyone suggest how i can get this driver to load?

Hi sharlvz,

yes - the original (LSI/Avago) SAS 3508 is supported by FreeBSD (mpr). Probably (but i'am not sure) the Lenovo ThinkSystem RAID 930-8i will do not because of different Firmware/Bios . Can you provide/post a dmesg output ?

If i do on my opnsense box:
Code: [Select]
kldload mpr
i will get
Code: [Select]
kldload: can't load mpr.ko: module already loaded or in kernel
So i would assume the module was already loaded...

regards pylox
Title: Re: AVAGO Megaraid Support
Post by: guest19931 on January 21, 2019, 10:58:53 am
Update

have confirmed that the adapter Lenovo lists as a ThinkSystem RAID 930-8i, is a Broadcom (LSI) SAS 3508 (8 Port SAS/PCIe) RAID controller. This RAID controller is supported by the mpr driver which i am enabling using the same method above, except using the mpr driver.

"press esc at the OPNsense welcome screen, issue command "set mpr_load=yes" at the loader prompt."

however on boot i have watched drivers being loaded by the kernel and mpr.ko is not one of them.

Can anyone suggest how i can get this driver to load?

Hi sharlvz,

yes - the original (LSI/Avago) SAS 3508 is supported by FreeBSD (mpr). Probably (but i'am not sure) the Lenovo ThinkSystem RAID 930-8i will do not because of different Firmware/Bios . Can you provide/post a dmesg output ?

If i do on my opnsense box:
Code: [Select]
kldload mpr
i will get
Code: [Select]
kldload: can't load mpr.ko: module already loaded or in kernel
So i would assume the module was already loaded...

regards pylox

Hi

Thanks for the reply, dmesg is as per below.


Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE-p11  21b4c8ea1d5(stable/18.7) amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
VT(efifb): resolution 1600x900
[HBSD ASLR (compat)] status: opt-out
[HBSD ASLR (compat)] mmap: 14 bit
[HBSD ASLR (compat)] exec base: 14 bit
[HBSD ASLR (compat)] stack: 14 bit
[HBSD ASLR (compat)] vdso: 8 bit
[HBSD LOG] logging to system: enabled
[HBSD LOG] logging to user: disabled
[HBSD HARDENING] procfs hardening: enabled
[HBSD ASLR] status: opt-out
[HBSD ASLR] mmap: 30 bit
[HBSD ASLR] exec base: 30 bit
[HBSD ASLR] stack: 42 bit
[HBSD ASLR] vdso: 28 bit
[HBSD ASLR] map32bit: 18 bit
[HBSD ASLR] disallow MAP_32BIT mode mmap: opt-in
[HBSD SEGVGUARD] status: opt-out
[HBSD SEGVGUARD] expiry: 120 sec
[HBSD SEGVGUARD] suspension: 600 sec
[HBSD SEGVGUARD] maxcrashes: 5
CPU: Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz (2095.15-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x50654  Family=0x6  Model=0x55  Stepping=4
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7ffefbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended Features=0xd39ffffb<FSGSBASE,TSCADJ,BMI1,HLE,AVX2,FDPEXC,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,NFPUSG,MPX,PQE,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PROCTRACE,AVX512CD,AVX512BW>
  Structured Extended Features2=0x8<PKU>
  Structured Extended Features3=0x9c000000<IBPB,STIBP>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16249249792 (15496 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <LENOVO THINKSYS>
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
FreeBSD/SMP: 1 package(s) x 8 core(s) x 2 hardware threads
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-31 on motherboard
ioapic2 <Version 2.0> irqs 32-39 on motherboard
ioapic3 <Version 2.0> irqs 40-47 on motherboard
ioapic4 <Version 2.0> irqs 48-55 on motherboard
SMP: AP CPU #1 Launched!
SMP: AP CPU #5 Launched!
SMP: AP CPU #6 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #12 Launched!
SMP: AP CPU #14 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #13 Launched!
SMP: AP CPU #8 Launched!
SMP: AP CPU #10 Launched!
SMP: AP CPU #11 Launched!
SMP: AP CPU #15 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #9 Launched!
SMP: AP CPU #3 Launched!
Timecounter "TSC" frequency 2095148492 Hz quality 1000
random: entropy device external interface
wlan: mac acl policy registered
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff810b2210, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
kbd1 at kbdmux0
nexus0
cryptosoft0: <software crypto> on motherboard
acpi0: <LENOVO THINKSYS> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> numa-domain 0 on acpi0
cpu1: <ACPI CPU> numa-domain 0 on acpi0
cpu2: <ACPI CPU> numa-domain 0 on acpi0
cpu3: <ACPI CPU> numa-domain 0 on acpi0
cpu4: <ACPI CPU> numa-domain 0 on acpi0
cpu5: <ACPI CPU> numa-domain 0 on acpi0
cpu6: <ACPI CPU> numa-domain 0 on acpi0
cpu7: <ACPI CPU> numa-domain 0 on acpi0
cpu8: <ACPI CPU> numa-domain 0 on acpi0
cpu9: <ACPI CPU> numa-domain 0 on acpi0
cpu10: <ACPI CPU> numa-domain 0 on acpi0
cpu11: <ACPI CPU> numa-domain 0 on acpi0
cpu12: <ACPI CPU> numa-domain 0 on acpi0
cpu13: <ACPI CPU> numa-domain 0 on acpi0
cpu14: <ACPI CPU> numa-domain 0 on acpi0
cpu15: <ACPI CPU> numa-domain 0 on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71,0x74-0x77 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 24000000 Hz quality 950
Event timer "HPET" frequency 24000000 Hz quality 350
Event timer "HPET1" frequency 24000000 Hz quality 340
Event timer "HPET2" frequency 24000000 Hz quality 340
Event timer "HPET3" frequency 24000000 Hz quality 340
Event timer "HPET4" frequency 24000000 Hz quality 340
Event timer "HPET5" frequency 24000000 Hz quality 340
Event timer "HPET6" frequency 24000000 Hz quality 340
Event timer "HPET7" frequency 24000000 Hz quality 340
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
acpi_syscontainer0: <System Container> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff numa-domain 0 on acpi0
pcib0: _OSC returned error 0x10
pci0: <ACPI PCI bus> numa-domain 0 on pcib0
pci0: <dasp, performance counters> at device 8.1 (no driver attached)
pci0: <unknown> at device 17.0 (no driver attached)
ahci0: <AHCI SATA controller> port 0x2070-0x2077,0x2060-0x2063,0x2020-0x203f mem 0xd9d16000-0xd9d17fff,0xd9d19000-0xd9d190ff,0xd9c80000-0xd9cfffff irq 16 at device 17.5 numa-domain 0 on pci0
ahci0: AHCI v1.31 with 4 6Gbps ports, Port Multiplier not supported
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
xhci0: <XHCI (generic) USB 3.0 controller> mem 0x38ffff00000-0x38ffff0ffff irq 16 at device 20.0 numa-domain 0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 numa-domain 0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pci0: <simple comms> at device 22.0 (no driver attached)
pci0: <simple comms> at device 22.1 (no driver attached)
pci0: <simple comms> at device 22.4 (no driver attached)
ahci1: <AHCI SATA controller> port 0x2050-0x2057,0x2040-0x2043,0x2000-0x201f mem 0xd9d14000-0xd9d15fff,0xd9d18000-0xd9d180ff,0xd9c00000-0xd9c7ffff irq 16 at device 23.0 numa-domain 0 on pci0
ahci1: AHCI v1.31 with 8 6Gbps ports, Port Multiplier not supported
ahcich6: <AHCI channel> at channel 0 on ahci1
ahcich7: <AHCI channel> at channel 1 on ahci1
ahcich8: <AHCI channel> at channel 2 on ahci1
ahcich9: <AHCI channel> at channel 3 on ahci1
ahcich10: <AHCI channel> at channel 4 on ahci1
ahcich11: <AHCI channel> at channel 5 on ahci1
ahcich12: <AHCI channel> at channel 6 on ahci1
ahcich13: <AHCI channel> at channel 7 on ahci1
ahciem1: <AHCI enclosure management bridge> on ahci1
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 numa-domain 0 on pci0
pci1: <ACPI PCI bus> numa-domain 0 on pcib1
pcib2: <ACPI PCI-PCI bridge> mem 0xd9b00000-0xd9b00fff irq 16 at device 0.0 numa-domain 0 on pci1
pci2: <ACPI PCI bus> numa-domain 0 on pcib2
vgapci0: <VGA-compatible display> mem 0xd8000000-0xd8ffffff,0xd9a10000-0xd9a13fff,0xd9000000-0xd97fffff irq 16 at device 0.0 numa-domain 0 on pci2
isab0: <PCI-ISA bridge> at device 31.0 numa-domain 0 on pci0
isa0: <ISA bus> numa-domain 0 on isab0
pci0: <memory> at device 31.2 (no driver attached)
pci0: <serial bus> at device 31.5 (no driver attached)
pcib3: <ACPI Host-PCI bridge> numa-domain 0 on acpi0
pcib3: _OSC returned error 0x10
pci3: <ACPI PCI bus> numa-domain 0 on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 39 at device 2.0 numa-domain 0 on pci3
pci4: <ACPI PCI bus> numa-domain 0 on pcib4
pcib5: <ACPI PCI-PCI bridge> mem 0xe3e00000-0xe3e1ffff irq 34 at device 0.0 numa-domain 0 on pci4
pci5: <ACPI PCI bus> numa-domain 0 on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 34 at device 3.0 numa-domain 0 on pci5
pci6: <ACPI PCI bus> numa-domain 0 on pcib6
ixl0: <Intel(R) Ethernet Connection 700 Series PF Driver, Version - 1.9.9-k> mem 0x39ffe000000-0x39ffeffffff,0x39fff808000-0x39fff80ffff irq 36 at device 0.0 numa-domain 0 on pci6
ixl0: using 1024 tx descriptors and 1024 rx descriptors
ixl0: fw 3.10.52859 api 1.5 nvm 4.00 etid 8000143e oem 1.263.0
ixl0: PF-ID[0]: VFs 32, MSIX 129, VF MSIX 5, QPs 768, I2C
ixl0: Using MSIX interrupts with 9 vectors
ixl0: Allocating 8 queues for PF LAN VSI; 8 queues active
ixl0: Ethernet address: 7c:d3:0a:5f:40:b8
ixl0: ixl_set_advertised_speeds: Error getting phy capabilities -53, aq error: 5
ixl0: ixl_set_initial_advertised_speeds: ixl_set_advertised_speeds() error 5
ixl0: SR-IOV ready
queues is 0xfffffe0001474000
ixl0: netmap queues/slots: TX 8/1024, RX 8/1024
ixl1: <Intel(R) Ethernet Connection 700 Series PF Driver, Version - 1.9.9-k> mem 0x39ffd000000-0x39ffdffffff,0x39fff800000-0x39fff807fff irq 36 at device 0.1 numa-domain 0 on pci6
ixl1: using 1024 tx descriptors and 1024 rx descriptors
ixl1: fw 3.10.52859 api 1.5 nvm 4.00 etid 8000143e oem 1.263.0
ixl1: PF-ID[1]: VFs 32, MSIX 129, VF MSIX 5, QPs 768, I2C
ixl1: Using MSIX interrupts with 9 vectors
ixl1: Allocating 8 queues for PF LAN VSI; 8 queues active
ixl1: Ethernet address: 7c:d3:0a:5f:40:b9
ixl1: SR-IOV ready
queues is 0xfffffe00015ca000
ixl1: netmap queues/slots: TX 8/1024, RX 8/1024
pcib7: <ACPI Host-PCI bridge> numa-domain 0 on acpi0
pcib7: _OSC returned error 0x10
pci7: <ACPI PCI bus> numa-domain 0 on pcib7
pcib8: <ACPI Host-PCI bridge> numa-domain 0 on acpi0
pcib8: _OSC returned error 0x10
pci8: <ACPI PCI bus> numa-domain 0 on pcib8
pcib9: <ACPI PCI-PCI bridge> irq 55 at device 2.0 numa-domain 0 on pci8
pci9: <ACPI PCI bus> numa-domain 0 on pcib9
pci9: <mass storage, RAID> at device 0.0 (no driver attached)
pci8: <dasp, performance counters> at device 14.0 (no driver attached)
pci8: <dasp, performance counters> at device 15.0 (no driver attached)
pci8: <dasp, performance counters> at device 18.0 (no driver attached)
pci8: <dasp, performance counters> at device 18.1 (no driver attached)
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est0 attach returned 6
est1: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est1 attach returned 6
est2: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu2
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est2 attach returned 6
est3: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu3
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est3 attach returned 6
est4: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu4
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est4 attach returned 6
est5: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu5
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est5 attach returned 6
est6: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu6
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est6 attach returned 6
est7: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu7
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est7 attach returned 6
est8: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu8
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est8 attach returned 6
est9: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu9
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est9 attach returned 6
est10: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu10
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est10 attach returned 6
est11: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu11
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est11 attach returned 6
est12: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu12
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est12 attach returned 6
est13: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu13
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est13 attach returned 6
est14: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu14
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est14 attach returned 6
est15: <Enhanced SpeedStep Frequency Control> numa-domain 0 on cpu15
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 19d200001800
device_attach: est15 attach returned 6
Timecounters tick every 1.000 msec
nvme cam probe device init
ugen0.1: <0x8086 XHCI root HUB> at usbus0
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 26 ports with 26 removable, self powered
ugen0.2: <Emulex Communications Emulex Pilot4 HighSpeed HUB> at usbus0
uhub1 numa-domain 0 on uhub0
uhub1: <High Speed Hub> on usbus0
uhub1: 7 ports with 7 removable, self powered
usbd_set_config_index: could not read device status: USB_ERR_STALLED
ugen0.3: <IBM XClarity Controller> at usbus0
ugen0.4: <Logitech USB Receiver> at usbus0
ukbd0 numa-domain 0 on uhub0
ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/29.00, addr 3> on usbus0
kbd2 at ukbd0
ugen0.5: <Generic Mass Storage> at usbus0
umass0 numa-domain 0 on uhub0
umass0: <Generic Mass Storage, class 0/0, rev 2.00/1.12, addr 4> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4101
umass0:14:0: Attached to scbus14
ugen0.6: <Verbatim STORE N GO> at usbus0
umass1 numa-domain 0 on uhub0
umass1: <Verbatim STORE N GO, class 0/0, rev 2.00/1.00, addr 5> on usbus0
umass1:  SCSI over Bulk-Only; quirks = 0xc100
umass1:15:1: Attached to scbus15
ses0 at ahciem0 bus 0 scbus4 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
ses1 at ahciem1 bus 0 scbus13 target 0 lun 0
ses1: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses1: SEMB SES Device
da0 at umass-sim0 bus 0 scbus14 target 0 lun 0
da1 at umass-sim1 bus 1 scbus15 target 0 lun 0
da0: <Generic Flash Disk 8.07> Removable Direct Access SPC-2 SCSI device
da0: Serial Number 9EDB1C99
da0: 40.000MB/s transfers
da0: 1947MB (3987456 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
da1: <Verbatim STORE N GO 5.00> Removable Direct Access SPC-2 SCSI device
da1: Serial Number 90005A01B88EA870
da1: 40.000MB/s transfers
da1: 7388MB (15130624 512 byte sectors)
da1: quirks=0x2<NO_6_BYTE>
Trying to mount root from ufs:/dev/ufs/OPNsense_Install [ro,noatime]...
urndis0 numa-domain 0 on uhub1
urndis0: <RNDIS Communications Control> on usbus0
ue0: <USB Ethernet> on urndis0
ue0: Ethernet address: 7e:d3:0a:5f:40:bf
ums0 numa-domain 0 on uhub0
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/29.00, addr 3> on usbus0
ums0: 18 buttons and [XYZT] coordinates ID=2
aesni0: <AES-CBC,AES-XTS,AES-GCM,AES-ICM> on motherboard
urndis0: at uhub1, port 6, addr 2 (disconnected)
ixl1: TSO4 requires txcsum, disabling both...
urndis0: detached
usbd_set_config_index: could not read device status: USB_ERR_STALLED
urndis0 numa-domain 0 on uhub1
urndis0: <RNDIS Communications Control> on usbus0
ue0: <USB Ethernet> on urndis0
ue0: Ethernet address: 7e:d3:0a:5f:40:bf
ixl0: TSO4 requires txcsum, disabling both...
pflog0: promiscuous mode enabled
ugen0.3: <IBM XClarity Controller> at usbus0 (disconnected)
urndis0: at uhub1, port 6, addr 2 (disconnected)
urndis0: detached
usbd_set_config_index: could not read device status: USB_ERR_STALLED
ugen0.3: <IBM XClarity Controller> at usbus0
urndis0 numa-domain 0 on uhub1
urndis0: <RNDIS Communications Control> on usbus0
ue0: <USB Ethernet> on urndis0
ue0: Ethernet address: 7e:d3:0a:5f:40:bf
ugen0.3: <IBM XClarity Controller> at usbus0 (disconnected)
urndis0: at uhub1, port 6, addr 6 (disconnected)
urndis0: detached
usbd_set_config_index: could not read device status: USB_ERR_STALLED
ugen0.3: <IBM XClarity Controller> at usbus0
urndis0 numa-domain 0 on uhub1
urndis0: <RNDIS Communications Control> on usbus0
ue0: <USB Ethernet> on urndis0
ue0: Ethernet address: 7e:d3:0a:5f:40:bf
ugen0.5: <Generic Mass Storage> at usbus0 (disconnected)
umass0: at uhub0, port 9, addr 4 (disconnected)
da0 at umass-sim0 bus 0 scbus14 target 0 lun 0
da0: <Generic Flash Disk 8.07> s/n 9EDB1C99 detached
(da0:umass-sim0:0:0:0): Periph destroyed
umass0: detached
ugen0.5: <Generic Mass Storage> at usbus0
umass0 numa-domain 0 on uhub0
umass0: <Generic Mass Storage, class 0/0, rev 2.00/1.12, addr 8> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4101
umass0:14:0: Attached to scbus14
da0 at umass-sim0 bus 0 scbus14 target 0 lun 0
da0: <Generic Flash Disk 8.07> Removable Direct Access SPC-2 SCSI device
da0: Serial Number 9EDB1C99
da0: 40.000MB/s transfers
da0: 1947MB (3987456 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Title: Re: AVAGO Megaraid Support
Post by: guest19931 on January 21, 2019, 11:00:16 am
also output from pciconf -lv

.............
.......
.....
none94@pci0:174:0:0:   class=0x010400 card=0x06011d49 chip=0x00161000 rev=0x01 hdr=0x00
    vendor     = 'LSI Logic / Symbios Logic'
    device     = 'MegaRAID Tri-Mode SAS3508'
    class      = mass storage
    subclass   = RAID
Title: Re: AVAGO Megaraid Support
Post by: pylox on January 21, 2019, 04:21:18 pm
Hi sharlvz,

As already feared FreeBSD didn't recognize the MegaRAID properly... I did some research on it (i think you did it already) and found some less topics about trouble/issues with the SAS 3xxx adapter and mpr/mps driver:

1.) https://forums.freebsd.org/threads/broadcom-9480-sas3516-and-freebsd-11-2-release.66687/
2.) https://www.reddit.com/r/freenas/comments/9wkhy5/what_hba_to_use_when_you_cant_use_lsi/

Maybe 1.) could be helpful...with mrsas driver ?!  - but will probably lead to a new kernel build with the broadcomm drivers. This is an FreeBSD issue - sorry to fix and test it will take too much time for me  :(

regards pylox