On 06/27/18 08:16, Nick Holland wrote:
> Cute little Atom powered disk box, but it seems the AHCI(-like?)
> interfaces aren't working properly on OpenBSD. This system booted
> from the on-board USB flash (PXE boot/install) and has a 1T SATA
> disk that was recognized during POST.
>
> Flipping the BIOS knob for SATA from AHCI to "compatibility" mode
> didn't have an impact, it seems the disks are attached to something
> that is at least logically an add-on device, not one managed by the
> bios. In this dmesg, disk was in to the fourth bay, in the first,
> the results were the same.
>
> Other than disk, video came out HDMI port (didn't try X), USB
> keyboard worked, looks like a wonderfully usable box. Other than
> the disk. :)
>
> Any prayer of using it for OpenBSD?
>
> Thanks,
> Nick.
I recieved a couple suggestions, including adding it to pcidevs and enabling
AHCI debugging...so here's a new dmesg:
OpenBSD 6.3-current (GENERIC.MP) #1: Thu Jun 28 20:39:22 EDT 2018
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2108932096 (2011MB)
avail mem = 2013585408 (1920MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe93d0 (52 entries)
bios0: vendor American Megatrends Inc. version "DR007" date 10/18/2013
bios0: Lenovo-EMC Corporation StorCenter Pro PX4
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP APIC MCFG HPET
acpi0: wakeup devices P0P2(S3) USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3
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 D2701 @ 2.13GHz, 2128.38 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 132MHz
cpu0: mwait min=64, max=64, C-substates=0.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU D2701 @ 2.13GHz, 2128.00 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
cpu1: 512KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Atom(TM) CPU D2701 @ 2.13GHz, 2128.00 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
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 D2701 @ 2.13GHz, 2128.00 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
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 5 (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)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpicpu2 at acpi0: C1(@1 halt!)
acpicpu3 at acpi0: C1(@1 halt!)
"PNP0510" at acpi0 not configured
acpicmos0 at acpi0
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
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 ad
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
ahci0 at pci1 dev 0 function 0 "Marvell 88SE9170 AHCI" rev 0x13: msi, GHC 0x8000
ahci0: capabilities 0xea37ff21<S64A,NCQ,SSNTF,SSS,SAL,SAM,SPM,FBSS,PMD,SSC,PSC,S
ahci0: extended capabilities 0x0
ahci0: ports implemented: 0x00000003
ahci0.0: port reset
ahci0.1: port reset
ahci0: no device detected on port 0
ahci0: no device detected on port 1
scsibus1 at ahci0: 32 targets
ppb1 at pci0 dev 28 function 1 "Intel 82801JI PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
ahci1 at pci2 dev 0 function 0 "Marvell 88SE9170 AHCI" rev 0x13: msi, GHC 0x8000
ahci1: capabilities 0xea37ff21<S64A,NCQ,SSNTF,SSS,SAL,SAM,SPM,FBSS,PMD,SSC,PSC,S
ahci1: extended capabilities 0x0
ahci1: ports implemented: 0x00000003
ahci1.0: port reset
ahci1.1: port reset
ahci1: no device detected on port 0
ahci1.1: PMP probe 2
ahci1.1: failed to start port, cannot probe PMP
ahci1.1: device is not a PMP
ahci1.1: no PMP found, resetting the port
ahci1: detected device on port 1; 0
ahci1.1: port 1: 3.0Gb/s
ahci1: failed to start command DMA on port 1, disabling
scsibus2 at ahci1: 32 targets
ppb2 at pci0 dev 28 function 2 "Intel 82801JI PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
bge0 at pci3 dev 0 function 0 "Broadcom BCM5720" rev 0x00, BCM5720 A0 (0x5720000
brgphy0 at bge0 phy 1: BCM5720C 10/100/1000baseT PHY, rev. 0
bge1 at pci3 dev 0 function 1 "Broadcom BCM5720" rev 0x00, BCM5720 A0 (0x5720000
brgphy1 at bge1 phy 2: BCM5720C 10/100/1000baseT PHY, rev. 0
ppb3 at pci0 dev 28 function 4 "Intel 82801JI PCIE" rev 0x00: msi
pci4 at ppb3 bus 4
xhci0 at pci4 dev 0 function 0 "Renesas uPD720202 xHCI" rev 0x02: msi, xHCI 1.0
usb1 at xhci0: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Renesas xHCI root hub" rev 3.00/1.00
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
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 ad
ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x90
pci5 at ppb4 bus 5
pcib0 at pci0 dev 31 function 0 "Intel 82801JIB LPC" rev 0x00
ahci2 at pci0 dev 31 function 2 "Intel 82801JI AHCI" rev 0x00: msi, GHC 0x800000
ahci2: capabilities 0xeb22ffe5<S64A,NCQ,SSNTF,SSS,SAL,SCLO,SPM,PMD,SSC,PSC,CCCS,
ahci2: extended capabilities 0x0
ahci2: ports implemented: 0x0000003f
ahci2.0: port reset
ahci2.1: port reset
ahci2.2: port reset
ahci2.3: port reset
ahci2.4: port reset
ahci2.5: port reset
ahci2: no device detected on port 0
ahci2: no device detected on port 1
ahci2: no device detected on port 2
ahci2: no device detected on port 3
ahci2: no device detected on port 4
ahci2: no device detected on port 5
scsibus3 at ahci2: 32 targets
ichiic0 at pci0 dev 31 function 3 "Intel 82801JI SMBus" rev 0x00: apic 0 int 18
iic0 at ichiic0
iic0: addr 0x1d 80=00 words 00=ffff 01=ffff 02=ffff 03=ffff 04=ffff 05=ffff 06=f
lm1 at iic0 addr 0x2d: W83627DHG
spdmem0 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-12800 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 ad
usb4 at uhci1: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 ad
usb5 at uhci2: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 ad
usb6 at uhci3: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 ad
usb7 at uhci4: USB revision 1.0
uhub7 at usb7 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 ad
usb8 at uhci5: USB revision 1.0
uhub8 at usb8 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 ad
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: 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
lpt0 at isa0 port 0x378/4 irq 7
umass0 at uhub2 port 1 configuration 1 interface 0 " USB DISK 2.0" rev 2.00/1.00
umass0: using SCSI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
sd0 at scsibus4 targ 1 lun 0: <, USB DISK 2.0, PMAP> SCSI4 0/direct removable se
sd0: 956MB, 512 bytes/sector, 1957888 sectors
vscsi0 at root
scsibus5 at vscsi0: 256 targets
softraid0 at root
scsibus6 at softraid0: 256 targets
root on sd0a (8282cac632bdcb97.a) swap on sd0b dump on sd0b