kern/136750: ptrr driver breaks detection of SuperMicro AOC-SAT2-MV8 SATA cards

Maximillian Dornseif md at hudora.de
Tue Jul 14 10:40:03 UTC 2009


>Number:         136750
>Category:       kern
>Synopsis:       ptrr driver breaks detection of SuperMicro AOC-SAT2-MV8 SATA cards
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 14 10:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Maximillian Dornseif
>Release:        7.2.-RELEASE-p2
>Organization:
HUDORA GmbH
>Environment:
FreeBSD champ.local.hudora.biz 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I run a two FreeBSD boxes each with two SuperMicro AOC-SAT2-MV8 SATA
controllers providing 8 SATA ports per card. Based on the Marvell
Hercules 2 chipset, this is a nice setup for a ZFS fileserver. See
http://www.supermicro.com/products/accessories/addon/AoC-SAT2-MV8.cfm
for further Information regarding card and chipset.

Unfortunately since 6.3 or so, FreeBSD comes with the hptrr binary
blob driver from Highpoint. If the hptrr driver is present in the
kernel, it breaks detection of the SuperMicro AOC-SAT2-MV8 controllers.
(which normally are handled by the ata driver). Since the hptrr
driver is present in the GENERIC kernel, it is impossible to install
FreeBSD on a machine where all disks reside on the AOC-SAT2-MV8
controlers.

Since it is impossible to deactivate the hptrr driver during boot,
one needs to build a custom kernel without hptrr compiled in and
add hptrr_load="NO" to loader conf to install FreeBSD.

Both machined ar NOT equipped with any HighPoint hardware.

>How-To-Repeat:
Boot a 7.2 install disk on a machine equipped an AOC-SAT2-MV8 card:
no AOC-SAT2-MV8 controller detected. Remove hptrr as described above:
AOC-SAT2-MV8 controller detected.

I observed this issue on to machines:

First:
CPU: Intel(R) Xeon(R) CPU            3060  @ 2.40GHz (2394.01-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
  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=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
usable memory = 6428942336 (6131 MB)
avail memory  = 6211129344 (5923 MB)
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs

atapci0: <Marvell 88SX6081 SATA300 controller> port 0x4000-0x40ff mem 0xe0200000-0xe02fffff irq 28 at device 2.0 on pci2
atapci1: <Marvell 88SX6081 SATA300 controller> port 0x5000-0x50ff mem 0xe0c00000-0xe0cfffff,0xe0800000-0xe0bfffff irq 52 at device 3.0 on pci3

# pciconf -lv      
..
atapci0 at pci0:2:2:0:     class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
    vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device     = 'MV88SX6081 8-port SATA II PCI-X Controller'
    class      = mass storage
    subclass   = SCSI
atapci1 at pci0:3:3:0:     class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
    vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device     = 'MV88SX6081 8-port SATA II PCI-X Controller'
    class      = mass storage
    subclass   = SCSI
..



Second:
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
  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=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  Logical CPUs per core: 2
usable memory = 4280774656 (4082 MB)
avail memory  = 4120674304 (3929 MB)

(no Marvell card inside currently but with one the issue happens)

>Fix:
At least provide an option to disable htprr during boot time.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list