Bug 235181 - PERC330 card as HBA - mrsas driver detects drives as SATA when they are SATA 3
Summary: PERC330 card as HBA - mrsas driver detects drives as SATA when they are SATA 3
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-24 22:04 UTC by Javier Sturman
Modified: 2019-01-24 23:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Sturman 2019-01-24 22:04:06 UTC
I've just installed FreeBSD 12.0-RELEASE on a brand new Dell T130 with a PERC330 raid card set to HBA.

To get better performance I prioritized the mrsas driver versus de mfi via device.hints.

when the disks are detected, even a SSD disk, all of them as SATA.

<ATA HUS722T2TALA600 MU03>         at scbus1 target 0 lun 0 (pass0,da0)
<ATA ST2000NM0018-2F3 EA04>        at scbus1 target 1 lun 0 (pass1,da1)
<ATA SanDisk SDSSDA24 30RL>        at scbus1 target 2 lun 0 (pass2,da2)
<PLDS DVD+-RW DU-8A5LH 6D5M>       at scbus6 target 0 lun 0 (cd0,pass3)
<AHCI SGPIO Enclosure 1.00 0001>   at scbus8 target 0 lun 0 (pass4,ses0)

cd0 at ahcich4 bus 0 scbus6 target 0 lun 0
cd0: <PLDS DVD+-RW DU-8A5LH 6D5M> Removable CD-ROM SCSI device
cd0: Serial Number 2WXYCPLC7898970A00
cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
da0: <ATA HUS722T2TALA600 MU03> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number WM789789789PK
da0: 150.000MB/s transfers
da0: 1907729MB (3907029168 512 byte sectors)
da2 at mrsas0 bus 1 scbus1 target 2 lun 0
da2: <ATA SanDisk SDSSDA24 30RL> Fixed Direct Access SPC-4 SCSI device
da2: Serial Number 172757804261
da2: 150.000MB/s transfers
da2: 228936MB (468862128 512 byte sectors)
da1 at mrsas0 bus 1 scbus1 target 1 lun 0
da1: <ATA ST2000NM0018-2F3 EA04> Fixed Direct Access SPC-4 SCSI device
da1: Serial Number ZDS7AJSH
da1: 150.000MB/s transfers
da1: 1907729MB (3907029168 512 byte sectors)
Comment 1 Javier Sturman 2019-01-24 23:21:05 UTC
dmesg
-------

---<<BOOT>>---
Copyright (c) 1992-2018 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 12.0-RELEASE-p2 GENERIC amd64
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
VT(vga): resolution 640x480
CPU: Intel(R) Xeon(R) CPU E3-1220 v6 @ 3.00GHz (3000.11-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x906e9  Family=0x6  Model=0x9e  Stepping=9
  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=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,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=0x29c6fbf<FSGSBASE,TSCADJ,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE>
  Structured Extended Features3=0x9c000000<IBPB,STIBP,L1DFL,SSBD>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16413990912 (15653 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <DELL   PE_SC3  >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Launching APs: 2 1 3
Timecounter "TSC-low" frequency 1500055916 Hz quality 1000
random: entropy device external interface
netmap: loaded module
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0xffffffff810f9770, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
kbd1 at kbdmux0
nexus0
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <DELL PE_SC3> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 24000000 Hz quality 950
Event timer "HPET" frequency 24000000 Hz quality 550
Event timer "HPET1" frequency 24000000 Hz quality 440
Event timer "HPET2" frequency 24000000 Hz quality 440
Event timer "HPET3" frequency 24000000 Hz quality 440
Event timer "HPET4" frequency 24000000 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
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
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
AVAGO MegaRAID SAS FreeBSD mrsas driver version: 06.712.04.00-fbsd
mrsas0: <AVAGO Fury SAS Controller> port 0x3000-0x30ff mem 0x92c00000-0x92c0ffff,0x92b00000-0x92bfffff irq 16 at device 0.0 on pci1
mrsas0: Using MSI-X with 4 number of vectors
mrsas0: FW supports <96> MSIX vector,Online CPU 4 Current MSIX <4>
mrsas0: FW supports: UnevenSpanSupport=1

mrsas0: MSI-x interrupts setup success
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 1.2 on pci0
pci2: <ACPI PCI bus> on pcib2
xhci0: <Intel Sunrise Point USB 3.0 controller> mem 0x92d00000-0x92d0ffff irq 16 at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0: waiting for BIOS to give up control
xhci_interrupt: host controller halted
xhci_interrupt: host controller halted
xhci_interrupt: host controller halted
usbus0 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)
ahci0: <Intel Sunrise Point AHCI SATA controller> port 0x4040-0x4047,0x4048-0x404b,0x4020-0x403f mem 0x92d14000-0x92d15fff,0x92d17000-0x92d170ff,0x92d16000-0x92d167ff irq 16 at device 23.0 on pci0
ahci0: AHCI v1.31 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
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
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 29.0 on pci0
pci3: <ACPI PCI bus> on pcib3
bge0: <Broadcom NetXtreme Gigabit Ethernet, ASIC rev. 0x5720000> mem 0x92a30000-0x92a3ffff,0x92a40000-0x92a4ffff,0x92a50000-0x92a5ffff irq 16 at device 0.0 on pci3
bge0: APE FW version: NCSI v1.4.22.0
bge0: CHIP ID 0x05720000; ASIC REV 0x5720; CHIP REV 0x57200; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5720C 1000BASE-T media interface> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Using defaults for TSO: 65518/35/2048
bge0: Ethernet address: 50:9a:4c:94:33:5a
bge1: <Broadcom NetXtreme Gigabit Ethernet, ASIC rev. 0x5720000> mem 0x92a00000-0x92a0ffff,0x92a10000-0x92a1ffff,0x92a20000-0x92a2ffff irq 17 at device 0.1 on pci3
bge1: APE FW version: NCSI v1.4.22.0
bge1: CHIP ID 0x05720000; ASIC REV 0x5720; CHIP REV 0x57200; PCI-E
miibus1: <MII bus> on bge1
brgphy1: <BCM5720C 1000BASE-T media interface> PHY 2 on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge1: Using defaults for TSO: 65518/35/2048
bge1: Ethernet address: 50:9a:4c:94:33:5b
pcib4: <ACPI PCI-PCI bridge> irq 18 at device 29.2 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 0.0 on pci4
pci5: <ACPI PCI bus> on pcib5
pcib6: <PCI-PCI bridge> at device 0.0 on pci5
pci6: <PCI bus> on pcib6
pcib7: <PCI-PCI bridge> at device 0.0 on pci6
pci7: <PCI bus> on pcib7
vgapci0: <VGA-compatible display> mem 0x91000000-0x91ffffff,0x92800000-0x92803fff,0x92000000-0x927fffff irq 18 at device 0.0 on pci7
vgapci0: Boot video device
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
pci0: <memory> at device 31.2 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcb7ff,0xed800-0xf17ff pnpid ORM0000 on isa0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 201f00002100
device_attach: est0 attach returned 6
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 201f00002100
device_attach: est1 attach returned 6
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 202400002100
device_attach: est2 attach returned 6
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 202400002100
device_attach: est3 attach returned 6
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
mrsas0: Disestablish mrsas intr hook
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
ses0 at ahciem0 bus 0 scbus8 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
cd0 at ahcich4 bus 0 scbus6 target 0 lun 0
cd0: <PLDS DVD+-RW DU-8A5LH 6D5M> Removable CD-ROM SCSI device
cd0: Serial Number 2WXYCPLCxxxxxxxxxx
cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
da0: <ATA HUS722T2TALA600 MU03> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number WMxxxxxxxxxxxx
da0: 150.000MB/s transfers
da0: 1907729MB (3907029168 512 byte sectors)
da2 at mrsas0 bus 1 scbus1 target 2 lun 0
da2: <ATA SanDisk SDSSDA24 30RL> Fixed Direct Access SPC-4 SCSI device
da2: Serial Number 172757804261
da2: 150.000MB/s transfers
da2: 228936MB (468862128 512 byte sectors)
da1 at mrsas0 bus 1 scbus1 target 1 lun 0
da1: <ATA ST2000NM0018-2F3 EA04> Fixed Direct Access SPC-4 SCSI device
da1: Serial Number ZDxxxxxx
da1: 150.000MB/s transfers
da1: 1907729MB (3907029168 512 byte sectors)
Trying to mount root from zfs:zroot/ROOT/default []...
uhub0: 26 ports with 26 removable, self powered
ugen0.2: <no manufacturer Gadget USB HUB> at usbus0
uhub1 on uhub0
uhub1: <no manufacturer Gadget USB HUB, class 9/0, rev 2.00/0.00, addr 1> on usbus0
uhub1: 6 ports with 6 removable, self powered
ugen0.3: <LITEON Technology USB Keyboard> at usbus0
ukbd0 on uhub0
ukbd0: <EP1 Interrupt> on usbus0
kbd2 at ukbd0
ugen0.4: <Kingston DataTraveler 2.0> at usbus0
umass0 on uhub0
umass0: <Kingston DataTraveler 2.0, class 0/0, rev 2.00/1.10, addr 3> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0xc100
umass0:9:0: Attached to scbus9
da3 at umass-sim0 bus 0 scbus9 target 0 lun 0
da3: <Kingston DataTraveler 2.0 PMAP> Removable Direct Access SCSI device
da3: Serial Number 5B75139A229B
da3: 40.000MB/s transfers
da3: 3936MB (8060928 512 byte sectors)
da3: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
lo0: link state changed to UP
bge0: link state changed to DOWN
bge0: link state changed to UP
bridge1: Ethernet address: 02:1c:1d:b0:da:01
bge0: promiscuous mode enabled
bridge1: link state changed to UP
tap1: Ethernet address: 00:bd:09:2f:f7:01
tap1: promiscuous mode enabled
tap2: Ethernet address: 00:bd:e5:2f:f7:02
tap2: promiscuous mode enabled
tap2: link state changed to UP
nd6_dad_timer: cancel DAD on tap2 because of ND6_IFF_IFDISABLED.
tap3: Ethernet address: 00:bd:2e:64:f7:03
tap3: promiscuous mode enabled
tap3: link state changed to UP
nd6_dad_timer: cancel DAD on tap3 because of ND6_IFF_IFDISABLED.
ugen0.4: <Kingston DataTraveler 2.0> at usbus0 (disconnected)
umass0: at uhub0, port 11, addr 3 (disconnected)
da3 at umass-sim0 bus 0 scbus9 target 0 lun 0
da3: <Kingston DataTraveler 2.0 PMAP>  s/n 5B75139A229B detached
(da3:umass-sim0:0:0:0): Periph destroyed
umass0: detached