Created attachment 195161 [details] full dmesg output Hello everyone, I have been experiencing a pretty odd issue with my new Skylake machine. Although it is a desktop machine I need wireless connectivity there, for that reason I have a Gigabyte GC-WB867D-I, rev 2.0 PCI-Ex card with Intel AC 7260 wifi chip. When the machine is powered on, the card is not detected by the system anywhere and it does not show up in lspci output nor dmesg. So far I have discovered that putting the system to STR sleep and waking it up again makes the card visible. When this is done the card functions correctly. The card also used to work flawlessly in my old computer. The machine has an ASUS Maximus VIII motherboard (Intel Z170 based) and i5-6600K CPU. I am running Fedora 23, both the distro-packaged kernel 4.2.6 and kernel 4.3 from a custom repository behave in the same way. I have attached a full dmesg output including the suspend/wakeup cycle. lspci with the card up and running: 00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07) Subsystem: ASUSTeK Computer Inc. Device 8694 Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information: Len=10 <?> 00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 120 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000e000-0000efff Memory behind bridge: dfe00000-dfefffff Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Device 8694 Capabilities: [80] Power Management version 3 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [a0] Express Root Port (Slot+), MSI 00 Capabilities: [100] Virtual Channel Capabilities: [140] Root Complex Link Capabilities: [d94] #19 Kernel driver in use: pcieport Kernel modules: shpchp 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI]) Subsystem: ASUSTeK Computer Inc. Device 8694 Flags: bus master, medium devsel, latency 0, IRQ 128 Memory at dff30000 (64-bit, non-prefetchable) [size=64K] Capabilities: [70] Power Management version 2 Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+ Kernel driver in use: xhci_hcd 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31) Subsystem: ASUSTeK Computer Inc. Device 8694 Flags: bus master, fast devsel, latency 0, IRQ 134 Memory at dff4d000 (64-bit, non-prefetchable) [size=4K] Capabilities: [50] Power Management version 3 Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+ Kernel driver in use: mei_me Kernel modules: mei_me 00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31) (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. Device 8694 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 126 Memory at dff48000 (32-bit, non-prefetchable) [size=8K] Memory at dff4c000 (32-bit, non-prefetchable) [size=256] I/O ports at f050 [size=8] I/O ports at f040 [size=4] I/O ports at f020 [size=32] Memory at dff4b000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA v1.0 Kernel driver in use: ahci 00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #17 (rev f1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 121 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 Capabilities: [40] Express Root Port (Slot-), MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8694 Capabilities: [a0] Power Management version 3 Kernel driver in use: pcieport Kernel modules: shpchp 00:1b.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #20 (rev f1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 122 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: dfd00000-dfdfffff Capabilities: [40] Express Root Port (Slot+), MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8694 Capabilities: [a0] Power Management version 3 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Access Control Services Capabilities: [200] L1 PM Substates Capabilities: [220] #19 Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 123 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0 Memory behind bridge: dfc00000-dfcfffff Capabilities: [40] Express Root Port (Slot+), MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8694 Capabilities: [a0] Power Management version 3 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Access Control Services Capabilities: [200] L1 PM Substates Capabilities: [220] #19 Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 124 Bus: primary=00, secondary=05, subordinate=05, sec-latency=0 Memory behind bridge: dfb00000-dfbfffff Capabilities: [40] Express Root Port (Slot+), MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8694 Capabilities: [a0] Power Management version 3 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Access Control Services Capabilities: [200] L1 PM Substates Capabilities: [220] #19 Kernel driver in use: pcieport Kernel modules: shpchp 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 125 Bus: primary=00, secondary=06, subordinate=06, sec-latency=0 Capabilities: [40] Express Root Port (Slot-), MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8694 Capabilities: [a0] Power Management version 3 Kernel driver in use: pcieport Kernel modules: shpchp 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31) Subsystem: ASUSTeK Computer Inc. Device 8694 Flags: bus master, medium devsel, latency 0 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31) Subsystem: ASUSTeK Computer Inc. Device 8694 Flags: bus master, fast devsel, latency 0 Memory at dff44000 (32-bit, non-prefetchable) [size=16K] 00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31) Subsystem: ASUSTeK Computer Inc. Device 8691 Flags: bus master, fast devsel, latency 32, IRQ 136 Memory at dff40000 (64-bit, non-prefetchable) [size=16K] Memory at dff20000 (64-bit, non-prefetchable) [size=64K] Capabilities: [50] Power Management version 3 Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31) Subsystem: ASUSTeK Computer Inc. Device 8694 Flags: medium devsel Memory at dff4a000 (64-bit, non-prefetchable) [size=256] I/O ports at f000 [size=32] Kernel modules: i2c_i801 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31) Subsystem: ASUSTeK Computer Inc. Device 8672 Flags: bus master, fast devsel, latency 0, IRQ 138 Memory at dff00000 (32-bit, non-prefetchable) [size=128K] Capabilities: [c8] Power Management version 3 Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [e0] PCI Advanced Features Kernel driver in use: e1000e Kernel modules: e1000e 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde LE [Radeon HD 7730/8730] (prog-if 00 [VGA controller]) Subsystem: PC Partner Limited / Sapphire Technology Device e228 Flags: bus master, fast devsel, latency 0, IRQ 135 Memory at c0000000 (64-bit, prefetchable) [size=256M] Memory at dfe00000 (64-bit, non-prefetchable) [size=256K] I/O ports at e000 [size=256] Expansion ROM at dfe40000 [disabled] [size=128K] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [150] Advanced Error Reporting Capabilities: [270] #19 Kernel driver in use: radeon Kernel modules: radeon 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Subsystem: PC Partner Limited / Sapphire Technology Device aab0 Flags: bus master, fast devsel, latency 0, IRQ 137 Memory at dfe60000 (64-bit, non-prefetchable) [size=16K] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [150] Advanced Error Reporting Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 03:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. Device 858d Flags: bus master, fast devsel, latency 0, IRQ 127 I/O ports at d050 [size=8] I/O ports at d040 [size=4] I/O ports at d030 [size=8] I/O ports at d020 [size=4] I/O ports at d000 [size=32] Memory at dfd00000 (32-bit, non-prefetchable) [size=512] Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [78] Power Management version 3 Capabilities: [80] Express Legacy Endpoint, MSI 00 Capabilities: [100] Virtual Channel Kernel driver in use: ahci 04:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller (prog-if 30 [XHCI]) Subsystem: ASUSTeK Computer Inc. Device 8675 Flags: bus master, fast devsel, latency 0 Memory at dfc00000 (64-bit, non-prefetchable) [size=32K] Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+ Capabilities: [68] MSI-X: Enable+ Count=8 Masked- Capabilities: [78] Power Management version 3 Capabilities: [80] Express Endpoint, MSI 00 Capabilities: [100] Virtual Channel Capabilities: [200] Advanced Error Reporting Capabilities: [280] #19 Capabilities: [300] Latency Tolerance Reporting Kernel driver in use: xhci_hcd 05:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb) Subsystem: Intel Corporation Dual Band Wireless-AC 7260 Flags: bus master, fast devsel, latency 0, IRQ 139 Memory at dfb00000 (64-bit, non-prefetchable) [size=8K] Capabilities: [c8] Power Management version 3 Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [40] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 80-19-34-ff-ff-56-57-d4 Capabilities: [14c] Latency Tolerance Reporting Capabilities: [154] Vendor Specific Information: ID=cafe Rev=1 Len=014 <?> Kernel driver in use: iwlwifi Kernel modules: iwlwifi
I would involve the platform / PCI people. Cna't be WiFi related IMHO.
and this bug is on PCI indeed :)
I agree, this doesn't look like a WiFi problem. Can you try the following, please? Boot normally, run the following commands (as root), and attach the lspci output and complete dmesg log: # lspci -vvs00:1c7 # echo 1 > /sys/bus/pci/rescan Boot with "acpiphp.disable". Attach complete dmesg log.
removing WiFi people for now - feel free to re-add us if you have WiFi issues.
Created attachment 208841 [details] lspci for 00:1c.7
Created attachment 208851 [details] dmesg after forces pci rescan
Created attachment 208861 [details] dmesg after boot with acpiphp.disable kernel parameter
Requested info attached. The card did not show up in either case. Note that I have updated both the kernel and MB BIOS since I first reported the bug. I am currently running kernel 4.4.4 as packaged for Fedora 23 and BIOS release 1504. I also tried to replace the 7260 AC by Intel 5100 AGN and Intel 6250 N in the miniPCIe slot and they both work out of the box. I am only having problems with the 7260 AC.
It's obviously not an iwlwifi driver problem, because the PCI core doesn't even see the device, so we never call the iwlwifi probe routine. But I don't see any indication of a PCI core problem either. I think somebody needs to use a PCIe analyzer and see if the 7260 AC device is responding correctly when we try to enumerate it. I don't have the machine or an analyzer. It's Intel devices at both ends of the link (Intel Sunrise Point-H PCI Express Root Port at the upstream end and Intel 7260 AC at the downstream end). Presumably Intel has tested this combination, or could. Can you attach "lspci -vv" output (as root) for the entire system after a sleep/wakeup cycle, so the 7260 device is visible? Also please attach the complete dmesg log for that (it should show the 7260 device being enumerated after wakeup). I do see quite a few reports on the web of 7260 flakiness, including this one: https://communities.intel.com/thread/78529?start=0&tstart=0 so I'm a little skeptical of the hardware.
With the current BIOS version the card doesn't appear on the bus even after a suspend/wakeup cycle. I have seen this happen before as I went through multiple BIOS updates for my MB. Full "lspci -vv" is the best I can do now. One of my previously attached dmesg logs contains the card being picked up after a reboot though. I have moved the 7260 AC to an old Fujitsu-Siemens laptop and it works there, I can pull some diagnostic info from there if you think it'd be helpful.
Created attachment 209171 [details] lspci -vv as root (card not detected)
I don't think info from the Fujitsu-Siemens laptop will be useful. My guess is there's some PCIe protocol issue between the Sunrise Point root port and the 7260. There's nothing I can to do investigate that; somebody with an analyzer needs to look at it. Sorry, Emmanuel, I forgot that you took yourself off cc, so I re-added you. If you're not equipped to investigate this, maybe you know somebody who would be.
Bjorn, you don't have to apologize that you forgot to re-add me, I usually *thank* people who remove me from bugs :) These kind of issues are really mostly hardware issues that can be caused either by a pure Intel bug or by a bad implementation by the OEM (maybe misled by buggy Intel data sheets, or just the OEM's fault). Please don't say, "an Intel engineer said it is Fujitsu-Siemens's fault", because I haven't said that. My point is that regardless of who is in fault (OEM or Intel), this bug can't be debugged without the OEM involvement and that will probably mean to take the system to a PCI analyzer setup / scope to check the signals. Bottom line, we can't do anything from the software point of view, and hence, unfortunately, we need to close this bug as "will not fix".