#4710: MiniPCI device causes all other PCI devices to dissapear in 2.6 not 2.4
--------------------------+------------------------
  Reporter:  eric-junk@…  |      Owner:  developers
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:
 Component:  kernel       |    Version:  Trunk
Resolution:  fixed        |   Keywords:
--------------------------+------------------------
Description changed by rmilecki:

Old description:

> The title says it all. This has been tested on an ASUS WL500W (BCM4707).
> When using a Ubiquiti Networks SR-71A (AR9160) and:
>
> -----------------------------------
> KAMIKAZE (bleeding edge, r13655)
>
> Linux OpenWrt 2.4.35.4 #3 Mon Dec 22 00:53:38 MST 2008 mips unknown
>
> # lspci -vv -s 01:02.0 -k -xxxx -q
>
> 01:02.0 Network controller: Atheros Communications, Inc. AR9160
> 802.11abgn Wireless PCI Adapter (rev 01)
>         Subsystem: Device 0777:4082
>         Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Interrupt: pin A routed to IRQ 2
>         Region 0: Memory at 40010000 (32-bit, non-prefetchable)
> [disabled] [size=64K]
>         Capabilities: [44] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=100mA
> PME(D0+,D1-,D2-,D3hot+,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 00: 8c 16 27 00 00 00 b0 02 01 00 80 02 00 00 00 00
> 10: 00 00 01 40 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 77 07 82 40
> 30: 00 00 00 00 44 00 00 00 00 00 00 00 02 01 00 00
> 40: 80 80 00 00 01 00 82 48 00 00 00 00 00 00 00 00
> 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>
> # lspci
>
> 00:00.0 FLASH memory: Broadcom Corporation Sentry5 Chipcommon I/O
> Controller (rev 09)
>
> 00:01.0 Ethernet controller: Broadcom Corporation Sentry5 Ethernet
> Controller (rev 09)
>
> 00:02.0 Ethernet controller: Broadcom Corporation Sentry5 Ethernet
> Controller (rev 09)
>
> 00:03.0 USB Controller: Broadcom Corporation Sentry5 USB Controller (rev
> 09)
>
> 00:04.0 PCI bridge: Broadcom Corporation Sentry5 PCI Bridge (rev 09)
>
> 00:05.0 MIPS: Broadcom Corporation BCM3302 Sentry5 MIPS32 CPU (rev 09)
>
> 00:06.0 Modem: Broadcom Corporation BCM47xx V.92 56k modem (rev 09)
>
> 00:07.0 Network and computing encryption device: Broadcom Corporation
> Sentry5 Crypto Accelerator (rev 09)
>
> 00:08.0 RAM memory: Broadcom Corporation Sentry5 DDR/SDR RAM Controller
> (rev 09)
>
> 01:00.0 Host bridge: Broadcom Corporation BCM4704 PCI to SB Bridge (rev
> 09)
>
> 01:02.0 Network controller: Atheros Communications, Inc. Device 0027 (rev
> 01)
>
> 01:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (rev 62)
>
> 01:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (rev 62)
>
> 01:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
>
> -------------------------------------------
> KAMIKAZE (bleeding edge, r14654)
>
> Linux OpenWrt 2.6.28.7 #6 Thu Feb 26 22:09:17 MST 2009 mips unknown
>
> nothing.
> (output of lspci is blank, nothing in /sys/bus/pci/)
>
> ------------------------------------------
> WITHOUT the card installed:
>
> KAMIKAZE (bleeding edge, r14654)
>
> Linux OpenWrt 2.6.28.7 #6 Thu Feb 26 22:09:17 MST 2009 mips unknown
>
> # lspci
>
> 00:00.0 Host bridge: Broadcom Corporation BCM4704 PCI to SB Bridge (rev
> 09)
> 00:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (rev 62)
> 00:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (rev 62)
> 00:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
>
> ------------------------------------
>
> The problem is that I need to use the ath9k driver with this card. ath9k
> is only available for 2.6, but when I run a 2.6 kernel, the card - and I
> guess the entire PCI bus - completely disappears. It's visible in 2.4 -
> but I have no driver!
>
> I installed the SR-71A card into my laptop running a 2.6.27 kernel. The
> card was detected just fine. The card also works with a recent version of
> DD-WRT, which runs a recent 2.6 kernel. I have posted a topic on the
> ubiquiti networks forums, but I feel like this seems to be a bug with
> openwrt.
>
> Help!

New description:

 The title says it all. This has been tested on an ASUS WL500W (BCM4707).
 When using a Ubiquiti Networks SR-71A (AR9160) and:

 -----------------------------------
 KAMIKAZE (bleeding edge, r13655)
 {{{
 Linux OpenWrt 2.4.35.4 #3 Mon Dec 22 00:53:38 MST 2008 mips unknown
 }}}
 {{{
 # lspci -vv -s 01:02.0 -k -xxxx -q
 01:02.0 Network controller: Atheros Communications, Inc. AR9160 802.11abgn
 Wireless PCI Adapter (rev 01)
         Subsystem: Device 0777:4082
         Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR- FastB2B- DisINTx-
         Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-
         Interrupt: pin A routed to IRQ 2
         Region 0: Memory at 40010000 (32-bit, non-prefetchable) [disabled]
 [size=64K]
         Capabilities: [44] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=100mA
 PME(D0+,D1-,D2-,D3hot+,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 00: 8c 16 27 00 00 00 b0 02 01 00 80 02 00 00 00 00
 10: 00 00 01 40 00 00 00 00 00 00 00 00 00 00 00 00
 20: 00 00 00 00 00 00 00 00 00 00 00 00 77 07 82 40
 30: 00 00 00 00 44 00 00 00 00 00 00 00 02 01 00 00
 40: 80 80 00 00 01 00 82 48 00 00 00 00 00 00 00 00
 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 # lspci
 00:00.0 FLASH memory: Broadcom Corporation Sentry5 Chipcommon I/O
 Controller (rev 09)
 00:01.0 Ethernet controller: Broadcom Corporation Sentry5 Ethernet
 Controller (rev 09)
 00:02.0 Ethernet controller: Broadcom Corporation Sentry5 Ethernet
 Controller (rev 09)
 00:03.0 USB Controller: Broadcom Corporation Sentry5 USB Controller (rev
 09)
 00:04.0 PCI bridge: Broadcom Corporation Sentry5 PCI Bridge (rev 09)
 00:05.0 MIPS: Broadcom Corporation BCM3302 Sentry5 MIPS32 CPU (rev 09)
 00:06.0 Modem: Broadcom Corporation BCM47xx V.92 56k modem (rev 09)
 00:07.0 Network and computing encryption device: Broadcom Corporation
 Sentry5 Crypto Accelerator (rev 09)
 00:08.0 RAM memory: Broadcom Corporation Sentry5 DDR/SDR RAM Controller
 (rev 09)
 01:00.0 Host bridge: Broadcom Corporation BCM4704 PCI to SB Bridge (rev
 09)
 01:02.0 Network controller: Atheros Communications, Inc. Device 0027 (rev
 01)
 01:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
 Controller (rev 62)
 01:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
 Controller (rev 62)
 01:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
 }}}
 -------------------------------------------
 KAMIKAZE (bleeding edge, r14654)
 {{{
 Linux OpenWrt 2.6.28.7 #6 Thu Feb 26 22:09:17 MST 2009 mips unknown
 }}}
 nothing.
 (output of lspci is blank, nothing in /sys/bus/pci/)

 ------------------------------------------
 WITHOUT the card installed:

 KAMIKAZE (bleeding edge, r14654)
 {{{
 Linux OpenWrt 2.6.28.7 #6 Thu Feb 26 22:09:17 MST 2009 mips unknown
 }}}
 {{{
 # lspci
 00:00.0 Host bridge: Broadcom Corporation BCM4704 PCI to SB Bridge (rev
 09)
 00:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
 Controller (rev 62)
 00:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
 Controller (rev 62)
 00:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
 }}}
 ------------------------------------

 The problem is that I need to use the ath9k driver with this card. ath9k
 is only available for 2.6, but when I run a 2.6 kernel, the card - and I
 guess the entire PCI bus - completely disappears. It's visible in 2.4 -
 but I have no driver!

 I installed the SR-71A card into my laptop running a 2.6.27 kernel. The
 card was detected just fine. The card also works with a recent version of
 DD-WRT, which runs a recent 2.6 kernel. I have posted a topic on the
 ubiquiti networks forums, but I feel like this seems to be a bug with
 openwrt.

 Help!

--

--
Ticket URL: <https://dev.openwrt.org/ticket/4710#comment:15>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to