LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2017, 01:39 PM   #1
danmartinj
Member
 
Registered: Oct 2009
Posts: 117

Rep: Reputation: 1
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
 
Old 04-03-2017, 04:54 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,093

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
Knowing little about Debian, I would suspect the kernel may not have an appropriate chooser driver compiled in. I would investigate that. I have had to recompile distribution kernels in the past leaving out 'generic' drivers and compiling in (not modules) my nutty chipset of the day; I have had some bummers in my time.
 
Old 04-04-2017, 03:37 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,093

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
My bad, tablet miscorrects spellings.

You need an appropriate CHIPSET driver compiled into the kernel.
 
Old 04-04-2017, 05:22 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Are you using 2 wireless cards. If so, try switching them. Does the system find only one card but in both slots? Then one card is bad. Does it find both cards but in only one slot? Then the slot is bad.

You can use the mac address printed on the card. Then run
Code:
$ /sbin/iwconfig
Wireless cards also require firmware. Debian includes some firmware in the default set up. Other blobs you must install.

If you don't have the firmware, the device should show up with lspci, but not with iwconfig. Also, since 2 wireless cards in the same system have high potential to make communication into hamburger, certain kernel wireless modules may not allow 2 identical wireless cards.

Last edited by AwesomeMachine; 04-04-2017 at 05:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Devuan 1.0 Jessie beta 2: That’s Debian Jessie minus systemd LXer Syndicated Linux News 0 12-02-2016 02:41 AM
Help with establishing a wireless network (WiFi) on Debian 8.2.0 ("Jessie") suggestively with WiFi radar or likewise software Maxsvenman Linux - Newbie 14 01-27-2016 07:50 PM
[SOLVED] Blackscreen installing Debian Jessie upgrading from Debian Wheezy ismaeltxu Linux - Newbie 2 05-11-2015 01:47 AM
How whould I determine my PCIe slot speed? droneprime Linux - Hardware 2 07-21-2009 10:45 AM
CUPS troubleshoot/ From Debian to network kaz2100 Linux - General 2 09-22-2008 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration