Hi,

My main OpenBSD system is a Mini-ITX PC that I built myself using the
Zotac 880GITX-A-E amd64 AM3 motherboard. It is running an AMD Phenom
II X2 555 processor and AMD RS880 / RS780 chipset.

The onboard NEC USB3 PCI-E chip does not work. I have tested it with a
Samsung M3 1TB external USB3 HDD. I have been unable to use this hard
drive with any version of OpenBSD from 6.1 to 6.8 on USB3. The drive
works fine plugged into a USB2 port. The drive powers up but is
undetected by usbdevs or dmesg. USB3 is enabled in the system BIOS /
UEFI.

dmesg, pcidump and usbdevs below:

OpenBSD 6.8 (GENERIC.MP) #4: Mon Jan 11 10:35:56 MST 2021
    
r...@syspatch-68-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8304394240 (7919MB)
avail mem = 8037658624 (7665MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f800 (49 entries)
bios0: vendor American Megatrends Inc. version "080015" date 04/13/2011
bios0: ZOTAC RS880P
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC OEMB SRAT HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE7(S4)
PCE9(S4) PCEA(S4) SBAZ(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4)
UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Phenom(tm) II X2 555 Processor, 3200.42 MHz, 10-04-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Phenom(tm) II X2 555 Processor, 3200.00 MHz, 10-04-03
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus 2 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus 4 (PCE7)
acpiprt7 at acpi0: bus -1 (PCE9)
acpiprt8 at acpi0: bus -1 (PCEA)
acpiprt9 at acpi0: bus -1 (PE20)
acpiprt10 at acpi0: bus -1 (PE21)
acpiprt11 at acpi0: bus -1 (PE22)
acpiprt12 at acpi0: bus -1 (PE23)
acpiprt13 at acpi0: bus 3 (PCE6)
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
cpu0: 3200 MHz: speeds: 3200 2500 2100 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 2 int 18
azalia0 at pci1 dev 5 function 1 "ATI Radeon HD 4200 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 4 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 2 int 16
athn0: AR9285 rev 2 (1T1R), ROM rev 14, address e0:b9:a5:60:58:7e
ppb2 at pci0 dev 6 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
(0x2c00), msi, address 00:01:2e:38:d8:06
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 4
ppb3 at pci0 dev 7 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci4 at ppb3 bus 4
xhci0 at pci4 dev 0 function 0 "NEC xHCI" rev 0x03: msi, xHCI 0.96
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "NEC xHCI root hub" rev
3.00/1.00 addr 1
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 2 int
19, AHCI 1.2
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, ST1000DM003-9YN1, CC4B> naa.5000c5004f87ac86
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
sd1 at scsibus1 targ 1 lun 0: <ATA, TOSHIBA MK1665GS, GJ00> naa.50000392d9e037d6
sd1: 152627MB, 512 bytes/sector, 312581808 sectors
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600
pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x40: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 2 int 16
azalia1: codecs: Realtek ALC662
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb4 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci5 at ppb4 bus 5
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
usb3 at ehci2: USB revision 2.0
uhub3 at usb3 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD 10h HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD 10h Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD 10h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD 10h Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD 10h Link Cfg" rev 0x00
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
usb5 at ohci1: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
lm1 at wbsio0 port 0xe80/8: W83627DHG
usb6 at ohci2: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
usb7 at ohci3: USB revision 1.0
uhub7 at usb7 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
vmm0 at mainbus0: SVM/RVI
uhub8 at uhub2 port 3 configuration 1 interface 0 "Terminus Technology
USB 2.0 Hub" rev 2.00/1.11 addr 2
uhub9 at uhub8 port 1 configuration 1 interface 0 "Genesys Logic
USB2.0 Hub" rev 2.00/32.98 addr 3
uhidev0 at uhub9 port 2 configuration 1 interface 0 "Sunplus USB
Optical Mouse" rev 2.00/0.14 addr 4
uhidev0: iclass 3/1, 1 report id
ums0 at uhidev0 reportid 1: 5 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub9 port 3 configuration 1 interface 0 "Logitech Logitech
USB Keyboard" rev 2.00/60.00 addr 5
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev2 at uhub9 port 3 configuration 1 interface 1 "Logitech Logitech
USB Keyboard" rev 2.00/60.00 addr 5
uhidev2: iclass 3/0, 4 report ids
uhid0 at uhidev2 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev2 reportid 4: input=1, output=0, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (4ac03c1b1bf56071.a) swap on sd0b dump on sd0b
initializing kernel modesetting (RS880 0x1002:0x9715 0x19DA:0xA154 0x00).
radeondrm0: 1680x1050, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

Domain /dev/pci0:
 0:0:0: AMD RS880 Host
 0:1:0: AMD RS780 PCIE
 0:4:0: AMD RS780 PCIE
 0:6:0: AMD RS780 PCIE
 0:7:0: AMD RS780 PCIE
 0:17:0: ATI SBx00 SATA
 0:18:0: ATI SB700 USB
 0:18:2: ATI SB700 USB2
 0:19:0: ATI SB700 USB
 0:19:2: ATI SB700 USB2
 0:20:0: ATI SBx00 SMBus
 0:20:1: ATI SB700 IDE
 0:20:2: ATI SBx00 HD Audio
 0:20:3: ATI SB700 ISA
 0:20:4: ATI SB600 PCI
 0:20:5: ATI SB700 USB
 0:22:0: ATI SB700 USB
 0:22:2: ATI SB700 USB2
 0:24:0: AMD 10h HyperTransport
 0:24:1: AMD 10h Address Map
 0:24:2: AMD 10h DRAM Cfg
 0:24:3: AMD 10h Misc Cfg
 0:24:4: AMD 10h Link Cfg
 1:5:0: ATI Radeon HD 4250
 1:5:1: ATI Radeon HD 4200 HD Audio
 2:0:0: Atheros AR9285
 3:0:0: Realtek 8168
 4:0:0: NEC xHCI

pcidump -v

Error after 3:0:0: Realtek 8168:

pcidump: PCIOCGETVPD: Input/output error
        00
        00
        00
        00
        00
        00
        00
        00
        00\^@\^@\^@\^C
        00
        00
        00
        00\^@\^@\M^@
        00
        00
        00
        00
2c: [|vpd]
 4:0:0: NEC xHCI
    0x0000: Vendor ID: 1033, Product ID: 0194
    0x0004: Command: 0106, Status: 0010
    0x0008:    Class: 0c Serial Bus, Subclass: 03 USB,
        Interface: 30, Revision: 03
    0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
        Cache Line Size: 10
    0x0010: BAR mem 64bit addr: 0x00000000fe9fe000/0x00002000
    0x0018: BAR empty (00000000)
    0x001c: BAR empty (00000000)
    0x0020: BAR empty (00000000)
    0x0024: BAR empty (00000000)
    0x0028: Cardbus CIS: 00000000
    0x002c: Subsystem Vendor ID: ffff Product ID: ffff
    0x0030: Expansion ROM Base Address: 00000000
    0x0038: 00000000
    0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00
    0x0050: Capability 0x01: Power Management
        State: D0
    0x0070: Capability 0x05: Message Signalled Interrupts (MSI)
        Enabled: yes
    0x0090: Capability 0x11: Extended Message Signalled Interrupts (MSI-X)
        Enabled: no; table size 8 (BAR 0:4096)
    0x00a0: Capability 0x10: PCI Express
        Link Speed: 5.0 / 5.0 GT/s, Link Width: x1 / x1
    0x0100: Enhanced Capability 0x01: Advanced Error Reporting
    0x0140: Enhanced Capability 0x03: Device Serial Number
        Serial Number: ffffffffffffffff
    0x0150: Enhanced Capability 0x18: Latency Tolerance Reporting


Controller /dev/usb0:
addr 01: 1033:0000 NEC, xHCI root hub
Controller /dev/usb1:
addr 01: 1002:0000 ATI, EHCI root hub
Controller /dev/usb2:
addr 01: 1002:0000 ATI, EHCI root hub
addr 02: 1a40:0101 Terminus Technology, USB 2.0 Hub
addr 03: 05e3:0608 Genesys Logic, USB2.0 Hub
addr 04: 1bcf:0005 Sunplus, USB Optical Mouse
addr 05: 046d:c31b Logitech, Logitech USB Keyboard
Controller /dev/usb3:
addr 01: 1002:0000 ATI, EHCI root hub
Controller /dev/usb4:
addr 01: 1002:0000 ATI, OHCI root hub
Controller /dev/usb5:
addr 01: 1002:0000 ATI, OHCI root hub
Controller /dev/usb6:
addr 01: 1002:0000 ATI, OHCI root hub
Controller /dev/usb7:
addr 01: 1002:0000 ATI, OHCI root hub

usbdevs -v
Controller /dev/usb0:
addr 01: 1033:0000 NEC, xHCI root hub
     super speed, self powered, config 1, rev 1.00
     driver: uhub0


Regards
Ed Gray
https://www.linkedin.com/in/ed-gray-55079422

Reply via email to