Support of Marvell 88SE9172 SATA Controller

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Support of Marvell 88SE9172 SATA Controller

Torsten Boese
I tried to use my onboard Marvell 88SE9172 SATA controller to install a hdd. A look to dmesg show me there is a problem:
 
# dmesg|grep ahci
ahci0 at pci3 dev 0 function 0 "Marvell 88SE9172 SATA" rev 0x11: msi, AHCI 1.0
ahci0: failed to start port, cannot probe PMP
ahci0: port 1: 3.0Gb/s
ahci0: failed to start command DMA on port disabling

So there is no disk visible I can could taken.

The controller runs in AHCI mode, no additional driver should be neccessary!?
In IDE mode I have access to the disk wired to the controller but only in PIO mode with a high load of interrupt and transfer rates ~ 1,3 or less MB/s.

Above are some system informtion. In case you need more information let me know.

output of pcidump:
# pcidump
Domain /dev/pci0:
 0:0:0: Intel Atom D2000/N2000 Host
 0:2:0: Intel GMA 3600
 0:26:0: Intel 82801JI USB
 0:26:1: Intel 82801JI USB
 0:26:2: Intel 82801JI USB
 0:26:7: Intel 82801JI USB
 0:27:0: Intel 82801JI HD Audio
 0:28:0: Intel 82801JI PCIE
 0:28:1: Intel 82801JI PCIE
 0:28:2: Intel 82801JI PCIE
 0:28:4: Intel 82801JI PCIE
 0:28:5: Intel 82801JI PCIE
 0:29:0: Intel 82801JI USB
 0:29:1: Intel 82801JI USB
 0:29:2: Intel 82801JI USB
 0:29:7: Intel 82801JI USB
 0:30:0: Intel 82801BA Hub-to-PCI
 0:31:0: Intel 82801JIR LPC
 0:31:2: Intel 82801JI AHCI
 0:31:3: Intel 82801JI SMBus
 2:0:0: Etron EJ188 xHCI
 3:0:0: Marvell 88SE9172 SATA
 4:0:0: Intel 82574L
 5:0:0: Intel 82574L

output of dmesg:
# dmesg
OpenBSD 6.2 (GENERIC.MP) #134: Tue Oct  3 21:22:29 MDT 2017
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2115411968 (2017MB)
avail mem = 2044338176 (1949MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xef280 (17 entries)
bios0: vendor American Megatrends Inc. version "P1.30" date 05/27/2015
bios0: ASRock AD2550R/U3S3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET SPCR
acpi0: wakeup devices P0P2(S4) USB0(S4) USB1(S4) USB2(S4) USB5(S4) EUSB(S4) USB3(S4) USB4(S4) USB6(S4) USBE(S4) UAR1(S4) GBE_(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU D2550 @ 1.86GHz, 1866.96 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: TSC frequency 1866958520 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU D2550 @ 1.86GHz, 1866.67 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 512KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU D2550 @ 1.86GHz, 1866.67 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 512KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 6 (P0P2)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus 2 (PEX1)
acpiprt4 at acpi0: bus 3 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus 4 (PEX4)
acpiprt7 at acpi0: bus 5 (PEX5)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpicpu2 at acpi0: C1(@1 halt!)
acpicpu3 at acpi0: C1(@1 halt!)
acpibtn0 at acpi0: PWRB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Atom D2000/N2000 Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel GMA 3600" rev 0x0b
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 "Intel 82801JI USB" rev 0x00: apic 0 int 16
uhci1 at pci0 dev 26 function 1 "Intel 82801JI USB" rev 0x00: apic 0 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801JI USB" rev 0x00: apic 0 int 18
ehci0 at pci0 dev 26 function 7 "Intel 82801JI USB" rev 0x00: apic 0 int 18
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801JI HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb0 at pci0 dev 28 function 0 "Intel 82801JI PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 82801JI PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
xhci0 at pci2 dev 0 function 0 "Etron EJ188 xHCI" rev 0x00: msi
usb1 at xhci0: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Etron xHCI root hub" rev 3.00/1.00 addr 1
ppb2 at pci0 dev 28 function 2 "Intel 82801JI PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
ahci0 at pci3 dev 0 function 0 "Marvell 88SE9172 SATA" rev 0x11: msi, AHCI 1.0
ahci0: failed to start port, cannot probe PMP
ahci0: port 1: 3.0Gb/s
ahci0: failed to start command DMA on port 1, disabling
scsibus1 at ahci0: 32 targets
ppb3 at pci0 dev 28 function 4 "Intel 82801JI PCIE" rev 0x00: msi
pci4 at ppb3 bus 4
em0 at pci4 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address d0:50:99:c1:5c:8d
ppb4 at pci0 dev 28 function 5 "Intel 82801JI PCIE" rev 0x00: msi
pci5 at ppb4 bus 5
em1 at pci5 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address d0:50:99:c1:5c:8e
uhci3 at pci0 dev 29 function 0 "Intel 82801JI USB" rev 0x00: apic 0 int 23
uhci4 at pci0 dev 29 function 1 "Intel 82801JI USB" rev 0x00: apic 0 int 19
uhci5 at pci0 dev 29 function 2 "Intel 82801JI USB" rev 0x00: apic 0 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801JI USB" rev 0x00: apic 0 int 23
ehci1: timed out waiting for BIOS
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x90
pci6 at ppb5 bus 6
ci0 dev 31 function 0 "Intel 82801JIR LPC" rev 0x00
ahci1 at pci0 dev 31 function 2 "Intel 82801JI AHCI" rev 0x00: msi, AHCI 1.2
ahci1: port 0: 3.0Gb/s
ahci1: port 1: 3.0Gb/s
ahci1: port 2: 3.0Gb/s
ahci1: port 3: 3.0Gb/s
ahci1: port 4: 1.5Gb/s
scsibus2 at ahci1: 32 targets
sd0 at scsibus2 targ 0 lun 0: <ATA, TOSHIBA DT01ACA3, MX6O> SCSI3 0/direct fixed naa.5000039fe6c41c31
sd0: 2861588MB, 512 bytes/sector, 5860533168 sectors
sd1 at scsibus2 targ 1 lun 0: <ATA, Hitachi HDS5C404, MPAO> SCSI3 0/direct fixed naa.5000cca22ec10ac7
sd1: 3815447MB, 512 bytes/sector, 7814037168 sectors
sd2 at scsibus2 targ 2 lun 0: <ATA, SAMSUNG HD642JJ, 1AA0> SCSI3 0/direct fixed naa.50000f0003036041
sd2: 610480MB, 512 bytes/sector, 1250263728 sectors
sd3 at scsibus2 targ 3 lun 0: <ATA, TOSHIBA DT01ACA3, MX6O> SCSI3 0/direct fixed naa.5000039fe6cab28e
sd3: 2861588MB, 512 bytes/sector, 5860533168 sectors
sd4 at scsibus2 targ 4 lun 0: <ATA, HITACHI HTS54321, FB2Z> SCSI3 0/direct fixed naa.5000cca561e1f366
sd4: 152627MB, 512 bytes/sector, 312581808 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 82801JI SMBus" rev 0x00: apic 0 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
usb3 at uhci0: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci1: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci2: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci3: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci4: USB revision 1.0
uhub7 at usb7 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb8 at uhci5: USB revision 1.0
uhub8 at usb8 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm1 at wbsio0 port 0x290/8: NCT6776F
uhidev0 at uhub1 port 3 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/15.00 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 3 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/15.00 addr 2
uhidev1: iclass 3/1, 17 report ids
ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 16: input=6, output=6, feature=0
uhid3 at uhidev1 reportid 17: input=19, output=19, feature=0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd4a (d4024a98451580a0.a) swap on sd4b dump on sd4b
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
wsmouse0 detached
ums0 detached
uhid0 detached
uhid1 detached
uhid2 detached
uhid3 detached
uhidev1 detached

 
Regards
 
Torsten Boese