danmartinj |
04-03-2017 01:39 PM |
How to troubleshoot PCIe Slot In Software Debian Jessie
Hello,
I have been battling a strange PCIe Slot Issue on a ClearFog Pro device. I have two mini PCIe slots on this device and multiple WiFi cards. I have tried multiple debian images and rearranged the cards to operate in different PCIe slots and no matter what I do that PCIe slot does not see the WiFi card.
If I run lspci output is below:
Code:
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
00:03.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
02:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
If I run lshw output is below:
Code:
*-pci:0
description: PCI bridge
product: Marvell Technology Group Ltd.
vendor: Marvell Technology Group Ltd.
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress normal_decode cap_list
*-pci:1
description: PCI bridge
product: Marvell Technology Group Ltd.
vendor: Marvell Technology Group Ltd.
physical id: 3
bus info: pci@0000:00:03.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress normal_decode bus_master cap_list
resources: memory:e0000000-e00fffff
*-network
description: Wireless interface
product: AR9462 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 24:ec:99:6d:f3:51
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.9.7-mvebu firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:53 memory:e0000000-e007ffff memory:e0080000-e008ffff
If I run dmesg output is below:
Code:
[ 2.251419] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[ 2.251424] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 2.251429] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 2.251432] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.251446] pci 0000:00:02.0: [11ab:6828] type 01 class 0x060400
[ 2.251564] pci 0000:00:03.0: [11ab:6828] type 01 class 0x060400
[ 2.251664] PCI: bus0: Fast back to back transfers disabled
[ 2.251669] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.251673] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.251728] PCI: bus1: Fast back to back transfers enabled
[ 2.251732] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.251800] pci 0000:02:00.0: [168c:0034] type 00 class 0x028000
[ 2.251819] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x0007ffff 64bit]
[ 2.251843] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 2.251905] pci 0000:02:00.0: supports D1
[ 2.251908] pci 0000:02:00.0: PME# supported from D0 D1 D3hot
[ 2.252014] PCI: bus2: Fast back to back transfers disabled
[ 2.252018] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 2.252070] pci 0000:00:03.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[ 2.252074] pci 0000:00:02.0: PCI bridge to [bus 01]
[ 2.252081] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0000000-0xe007ffff 64bit]
[ 2.252090] pci 0000:02:00.0: BAR 6: assigned [mem 0xe0080000-0xe008ffff pref]
[ 2.252093] pci 0000:00:03.0: PCI bridge to [bus 02]
[ 2.252097] pci 0000:00:03.0: bridge window [mem 0xe0000000-0xe00fffff]
I inspected the physical board multiple times and I could visually see nothing wrong with the PCIe slot so I am really hoping I can do some further troubleshooting in software if possible?
Thanks in advance,
Joe
|