Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Intel 100 series chipset (Skylake / Sunrise Point)



Tobias Nygren wrote:

> wm(4) support was quite easy to add, it just needed new code to read
> the NVM (NVM now integrated in the chip and direct mapped to main CSR).
> I will post a diff later.

Did this diff ever show up somewhere? Getting the network running would make
further kernel tests on Skylake hardware much easier. Currently I'm using
a FAT partition to exchange data.

I acquired an Asus G20CB with i7-6700 last week and managed to install a
recent NetBSD kernel. Here is the dmesg output:

---8<---
NetBSD 7.99.25 (GENERIC) #0: Sat Jan 16 04:20:36 CET 2016
	frank@tethys:/home/frank/netbsd/current/src/objx64/sys/arch/amd64/compile/GENERIC
total memory = 16309 MB
avail memory = 15817 MB
rnd: seeded with 128 bits
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
ASUSTeK COMPUTER INC. G20CB (System Version)
mainbus0 (root)
ACPI: RSDP 0x00000000000F05B0 000024 (v02 ALASKA)
ACPI: XSDT 0x0000000086E380A0 0000BC (v01 _ASUS_ Desktop  01072009 AMI  00010013)
ACPI: FACP 0x0000000086E58CB8 00010C (v05 ALASKA A M I    01072009 AMI  00010013)
ACPI: DSDT 0x0000000086E381E8 020ACD (v02 ALASKA A M I    01072009 INTL 20120913)
ACPI: FACS 0x00000000877C0F80 000040
ACPI: APIC 0x0000000086E58DC8 0000BC (v03 ALASKA A M I    01072009 AMI  00010013)
ACPI: FPDT 0x0000000086E58E88 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
ACPI: FIDT 0x0000000086E58ED0 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
ACPI: MCFG 0x0000000086E58F70 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
ACPI: HPET 0x0000000086E58FB0 000038 (v01 ALASKA A M I    01072009 AMI. 0005000B)
ACPI: SSDT 0x0000000086E58FE8 00036D (v01 SataRe SataTabl 00001000 INTL 20120913)
ACPI: LPIT 0x0000000086E59358 000094 (v01 INTEL  SKL      00000000 MSFT 0000005F)
ACPI: SSDT 0x0000000086E593F0 000248 (v02 INTEL  sensrhub 00000000 INTL 20120913)
ACPI: SSDT 0x0000000086E59638 002BAE (v02 INTEL  PtidDevc 00001000 INTL 20120913)
ACPI: SSDT 0x0000000086E5C1E8 000C45 (v02 INTEL  Ther_Rvp 00001000 INTL 20120913)
ACPI: DBGP 0x0000000086E5CE30 000034 (v01 INTEL           00000000 MSFT 0000005F)
ACPI: DBG2 0x0000000086E5CE68 000054 (v00 INTEL           00000000 MSFT 0000005F)
ACPI: SSDT 0x0000000086E5CEC0 000705 (v02 INTEL  xh_rvp08 00000000 INTL 20120913)
ACPI: SSDT 0x0000000086E5D5C8 005271 (v02 SaSsdt SaSsdt   00003000 INTL 20120913)
ACPI: UEFI 0x0000000086E62840 000042 (v01                 00000000      00000000)
ACPI: SSDT 0x0000000086E62888 000E58 (v02 CpuRef CpuSsdt  00003000 INTL 20120913)
ACPI: MSDM 0x0000000086E636E0 000055 (v01 _ASUS_ Desktop  00000001 MSFT 00000000)
ACPI: DMAR 0x0000000086E63738 000070 (v01 INTEL  SKL      00000001 INTL 00000001)
ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20150717/dswload-219)
ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20150717/psobject-237)
ACPI: All ACPI Tables successfully acquired
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 120 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, id 0x506e3
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, id 0x506e3
cpu2 at mainbus0 apid 4
cpu2: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, id 0x506e3
cpu3 at mainbus0 apid 6
cpu3: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, id 0x506e3
cpu4 at mainbus0 apid 1
cpu4: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, id 0x506e3
cpu5 at mainbus0 apid 3
cpu5: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, id 0x506e3
cpu6 at mainbus0 apid 5
cpu6: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, id 0x506e3
cpu7 at mainbus0 apid 7
cpu7: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, id 0x506e3
acpi0 at mainbus0: Intel ACPICA 20150717
acpi0: X/RSDT: OemId <_ASUS_, Desktop,01072009>, AslId <AMI ,00010013>
acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE84726F3010 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20120913)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE8472700010 0006E4 (v02 PmRef  Cpu0Ist  00003000 INTL 20120913)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE84726F1010 0005AA (v02 PmRef  ApIst    00003000 INTL 20120913)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE811D218710 000119 (v02 PmRef  ApCst    00003000 INTL 20120913)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 24000000 Hz quality 2000
acpiec0 at acpi0 (H_EC, PNP0C09-1)
acpiec0: unable to evaluate _GPE: AE_NOT_FOUND
SIO1 (PNP0C02) at acpi0 not configured
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
LDR2 (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
CWDT (INT3F0D) at acpi0 not configured
PDRC (PNP0C02) at acpi0 not configured
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
PEPD (INT33A1) at acpi0 not configured
acpibut1 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
PTID (INT340E) at acpi0 not configured
acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
acpifan1 at acpi0 (FAN1, PNP0C0B-1): ACPI Fan
acpifan2 at acpi0 (FAN2, PNP0C0B-2): ACPI Fan
acpifan3 at acpi0 (FAN3, PNP0C0B-3): ACPI Fan
acpifan4 at acpi0 (FAN4, PNP0C0B-4): ACPI Fan
acpitz0 at acpi0 (TZ00)
acpitz0: active cooling level 0: 71.0C
acpitz0: active cooling level 1: 55.0C
acpitz0: active cooling level 2: 50.0C
acpitz0: active cooling level 3: 45.0C
acpitz0: active cooling level 4: 40.0C
acpitz0: levels: critical 119.0 C
acpitz1 at acpi0 (TZ01)
acpitz1: levels: critical 119.0 C, passive cooling
acpiwmi0 at acpi0 (AMW0, PNP0C14-ASUSWMI): ACPI WMI Interface
wmieeepc0 at acpiwmi0: Asus Eee PC WMI mappings
ACPI: Enabled 5 GPEs in block 00 to 7F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20150717/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20150717/hwxface-646)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product 191f (rev. 0x07)
ppb0 at pci0 dev 1 function 0: vendor 8086 product 1901 (rev. 0x07)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: vendor 10de product 13c2 (rev. 0xa1)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 17
hdafg0 at hdaudio0: vendor 10de product 0071
hdafg0: DP00 8ch: Digital Out [Jack]
hdafg0: DP01 8ch: Digital Out [Jack]
hdafg0: DP02 8ch: Digital Out [Jack]
hdafg0: DP03 8ch: Digital Out [Jack]
hdafg0: 8ch/0ch 48000Hz PCM16*
vendor 8086 product a12f (USB serial bus, xHCI, revision 0x31) at pci0 dev 20 function 0 not configured
vendor 8086 product a13a (miscellaneous communications, revision 0x31) at pci0 dev 22 function 0 not configured
ahcisata0 at pci0 dev 23 function 0: vendor 8086 product 2822 (rev. 0x31)
ahcisata0: interrupting at ioapic0 pin 16
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.31, 5 ports, 32 slots, CAP 0xe334ff44<EMS,PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SAL,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 4
atabus4 at ahcisata0 channel 5
ppb1 at pci0 dev 28 function 0: vendor 8086 product a114 (rev. 0xf1)
ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x2 @ 8.0GT/s
ppb1: link is x2 @ 5.0GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
vendor 1b21 product 1242 (USB serial bus, xHCI) at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 6: vendor 8086 product a116 (rev. 0xf1)
ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
ppb2: link is x1 @ 2.5GT/s
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
vendor 10ec product 8821 (miscellaneous network) at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 29 function 0: vendor 8086 product a118 (rev. 0xf1)
ppb3: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 8.0GT/s
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
pcib0 at pci0 dev 31 function 0: vendor 8086 product a144 (rev. 0x31)
vendor 8086 product a121 (miscellaneous memory, revision 0x31) at pci0 dev 31 function 2 not configured
hdaudio1 at pci0 dev 31 function 3: HD Audio Controller
hdaudio1: interrupting at ioapic0 pin 16
hdafg1 at hdaudio1: vendor 10ec product 0887
hdafg1: DAC00 8ch: Speaker [Jack]
hdafg1: DAC01 2ch: HP Out [Jack]
hdafg1: ADC02 2ch: Line In [Jack], Mic In [Jack]
hdafg1: ADC03 2ch: Mic In [Jack]
hdafg1: 8ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg1: full duplex, playback, capture, mmap, independent
ichsmb0 at pci0 dev 31 function 4: vendor 8086 product a123 (rev. 0x31)
ichsmb0: interrupting at ioapic0 pin 16
iic0 at ichsmb0: I2C bus
vendor 8086 product 15b8 (ethernet network, revision 0x31) at pci0 dev 31 function 6 not configured
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat 256 us, pow   200 mW
acpicpu0: P0: FFH, lat  10 us, pow 65000 mW, 3401 MHz, turbo boost
acpicpu0: P1: FFH, lat  10 us, pow 65000 mW, 3400 MHz
acpicpu0: P2: FFH, lat  10 us, pow 59714 mW, 3200 MHz
acpicpu0: P3: FFH, lat  10 us, pow 54621 mW, 3000 MHz
acpicpu0: P4: FFH, lat  10 us, pow 49726 mW, 2800 MHz
acpicpu0: P5: FFH, lat  10 us, pow 47343 mW, 2700 MHz
acpicpu0: P6: FFH, lat  10 us, pow 42715 mW, 2500 MHz
acpicpu0: P7: FFH, lat  10 us, pow 38276 mW, 2300 MHz
acpicpu0: P8: FFH, lat  10 us, pow 34006 mW, 2100 MHz
acpicpu0: P9: FFH, lat  10 us, pow 29911 mW, 1900 MHz
acpicpu0: P10: FFH, lat  10 us, pow 26524 mW, 1700 MHz
acpicpu0: P11: FFH, lat  10 us, pow 22755 mW, 1500 MHz
acpicpu0: P12: FFH, lat  10 us, pow 20934 mW, 1400 MHz
acpicpu0: P13: FFH, lat  10 us, pow 17417 mW, 1200 MHz
acpicpu0: P14: FFH, lat  10 us, pow 14058 mW, 1000 MHz
acpicpu0: P15: FFH, lat  10 us, pow 10857 mW,  800 MHz
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
acpicpu2 at cpu2: ACPI CPU
coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=100
acpicpu3 at cpu3: ACPI CPU
coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=100
acpicpu4 at cpu4: ACPI CPU
acpicpu5 at cpu5: ACPI CPU
acpicpu6 at cpu6: ACPI CPU
acpicpu7 at cpu7: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 3408670520 Hz quality 3000
IPsec: Initialized Security Association Processing.
ahcisata0 port 0: device present, speed: 6.0Gb/s
ahcisata0 port 1: device present, speed: 1.5Gb/s
ahcisata0 port 2: PHY offline
ahcisata0 port 4: PHY offline
ahcisata0 port 5: PHY offline
wd0 at atabus0 drive 0
wd0: <TOSHIBA DT01ACA100>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus1: 1 targets
cd0 at atapibus0 drive 0: <SlimtypeDVD A  DA8A6SH, 3508981 46553550436, GAA2> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
cd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
kern.module.path=/stand/amd64/7.99.25/modules
---8<---


Errors and unsupported devices:

1. ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20150717/dswload-219)
ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20150717/psobject-237)

Maybe not NetBSD's fault. I have read on the ASUS forum that Linux has the
same problem and the ACPI tables might be corrupt. Can this cause any
trouble?

2. ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20150717/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20150717/hwxface-646)

A side effect of the first problem? Probably not important either.

3. acpifan0..4 is detected and attached, but doesn't work. envstat(8)
shows an error for these fans.

4. vga0 at pci1 dev 0 function 0: vendor 10de product 13c2 (rev. 0xa1)
The NVIDIA GTX 970. Nouveau does not yet support the Maxwell family of GPUs.
I could probably switch to the onchip intel HD530 graphics...?

5. vendor 8086 product a12f (USB serial bus, xHCI, revision 0x31) at pci0 dev 20 function 0 not configured
That's the Skylake xHCI USB 3.0. Our xhci driver is still very experimental.
It may detect some devices, but most of the time it hangs.

6. vendor 8086 product a13a (miscellaneous communications, revision 0x31) at pci0 dev 22 function 0 not configured
The MEI (Management Engine Interface). Not really needed.

7.vendor 1b21 product 1242 (USB serial bus, xHCI) at pci2 dev 0 function 0 not configured
This is the ASMedia USB 3.1 interface. Booting a kernel with xhci enabled
will freeze the system, as it is completely unsupported. For the moment
I would suggest the following patch:
--- sys/dev/usb/xhci.c  6 Jan 2016 22:12:49 -0000       1.33
+++ sys/dev/usb/xhci.c  18 Jan 2016 14:35:24 -0000
@@ -626,6 +626,7 @@
                aprint_normal_dev(sc->sc_dev,
                    "xHCI version %x.%x not known to be supported\n",
                    (hciversion >> 8) & 0xff, (hciversion >> 0) & 0xff);
+               return EOPNOTSUPP;
        } else {
                aprint_verbose_dev(sc->sc_dev, "xHCI version %x.%x\n",
                    (hciversion >> 8) & 0xff, (hciversion >> 0) & 0xff);

8. vendor 10ec product 8821 (miscellaneous network) at pci3 dev 0 function 0 not configured
Realtek 8821AE WLAN (b/g/n/ac). Ok, personally I don't care very much, as
this is a desktop and not a laptop computer.

9. vendor 8086 product a121 (miscellaneous memory, revision 0x31) at pci0 dev 31 function 2 not configured
This is the Power Management Controller. Might be useful?

10. vendor 8086 product 15b8 (ethernet network, revision 0x31) at pci0 dev 31 function 6 not configured
And finally the Gigabit Ethernet NIC. Would be nice to get it running for
a start. :)


Here is the full list of PCI devices on the G20GB:

000:00:0: Intel Core 6G Host and DRAM (S, Quad Core) (host bridge, revision 0x07)
000:01:0: Intel Core 6G PCIe x16 (PCI bridge, revision 0x07)
000:20:0: Intel 100 Series xHCI (USB serial bus, xHCI, revision 0x31)
000:22:0: Intel 100 Series MEI 1 (miscellaneous communications, revision 0x31)
000:23:0: Intel 82801H RAID SATA Controller (RAID mass storage, revision 0x31)
000:28:0: Intel 100 Series PCIE (PCI bridge, revision 0xf1)
000:28:6: Intel 100 Series PCIE (PCI bridge, revision 0xf1)
000:29:0: Intel 100 Series PCIE (PCI bridge, revision 0xf1)
000:31:0: Intel H170 LPC (ISA bridge, revision 0x31)
000:31:2: Intel 100 Series PMC (miscellaneous memory, revision 0x31)
000:31:3: Intel 100 Series HD Audio (mixed mode multimedia, revision 0x31)
000:31:4: Intel 100 Series SMBus (SMBus serial bus, revision 0x31)
000:31:6: Intel I219-V Ethernet Connection (ethernet network, revision 0x31)
001:00:0: NVIDIA product 13c2 (VGA display, revision 0xa1)
001:00:1: NVIDIA product 0fbb (mixed mode multimedia, revision 0xa1)
002:00:0: ASMedia product 1242 (USB serial bus, xHCI)
003:00:0: Realtek Semiconductor product 8821 (miscellaneous network)


> USB looks tougher; intel have deprecated and removed EHCI entirely.
> XHCI hangs.

Indeed. With the 6th generation of intel CPUs XHCI support becomes quite
important for any OS. :|

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index