* r8169 not being recognized by different chipsets
@ 2019-03-27 18:15 tedheadster
2019-04-02 13:25 ` Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: tedheadster @ 2019-03-27 18:15 UTC (permalink / raw)
To: linux-pci
The r8169 driver is not recognizing my CardBus ethernet card depending
on the chipset it has. It seems to be related to the PCI bus
recognizing the card. It works with some hardware and not with others
on the same kernel.
This is with both the 5.1.0-rc2 and 5.0.4 kernels, so I am up to date
with patches.
I have been able to debug it down to mdiobus_scan() returning
returned -EIO, but that failure probably should not happen.
Below is the relevant PCI information:
Failing systems:
- The same 81801 bridge chip, different CardBus chips
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
[8086:2448] (rev 81)
02:00.0 CardBus bridge [0607]: Texas Instruments PCI4520 PC card
Cardbus Controller [104c:ac46] (rev 01)
02:00.1 CardBus bridge [0607]: Texas Instruments PCI4520 PC card
Cardbus Controller [104c:ac46] (rev 01)
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
[8086:2448] (rev 81)
02:01.0 CardBus bridge [0607]: Texas Instruments PCI1520 PC card
Cardbus Controller [104c:ac55] (rev 01)
02:01.1 CardBus bridge [0607]: Texas Instruments PCI1520 PC card
Cardbus Controller [104c:ac55] (rev 01)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)
Working systems:
00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX -
82443BX/ZX/DX AGP bridge [8086:7191] (rev 02)
00:04.0 CardBus bridge [0607]: Texas Instruments PCI1220 [104c:ac17] (rev 02)
00:04.1 CardBus bridge [0607]: Texas Instruments PCI1220 [104c:ac17] (rev 02)
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)
00:00.0 Host bridge [0600]: Cyrix Corporation PCI Master [1078:0001]
00:11.0 CardBus bridge [0607]: Texas Instruments PCI1221 [104c:ac19]
00:11.1 CardBus bridge [0607]: Texas Instruments PCI1221 [104c:ac19]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)
- Matthew Whitehead
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: r8169 not being recognized by different chipsets
2019-03-27 18:15 r8169 not being recognized by different chipsets tedheadster
@ 2019-04-02 13:25 ` Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2019-04-02 13:25 UTC (permalink / raw)
To: whiteheadm
Cc: linux-pci, Andrew Lunn, Florian Fainelli, Heiner Kallweit,
David S. Miller, netdev, nic_swsd, linux-kernel
[+cc PHY and r8169 maintainers, LKML]
Hi Matthew,
On Wed, Mar 27, 2019 at 02:15:53PM -0400, tedheadster wrote:
> The r8169 driver is not recognizing my CardBus ethernet card depending
> on the chipset it has. It seems to be related to the PCI bus
> recognizing the card. It works with some hardware and not with others
> on the same kernel.
>
> This is with both the 5.1.0-rc2 and 5.0.4 kernels, so I am up to date
> with patches.
I assume this has never worked, i.e., it is not a regression? If it
*is* a regression, bisection is a possible approach if nobody has a
better idea.
> I have been able to debug it down to mdiobus_scan() returning
> returned -EIO, but that failure probably should not happen.
I can't connect this failure to PCI yet (at least, I don't know enough
to connect the dots). Maybe the PHY or r8169 folks can shed more
light.
> Below is the relevant PCI information:
>
> Failing systems:
> - The same 81801 bridge chip, different CardBus chips
>
> 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
> [8086:2448] (rev 81)
> 02:00.0 CardBus bridge [0607]: Texas Instruments PCI4520 PC card
> Cardbus Controller [104c:ac46] (rev 01)
> 02:00.1 CardBus bridge [0607]: Texas Instruments PCI4520 PC card
> Cardbus Controller [104c:ac46] (rev 01)
> 07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)
>
> 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
> [8086:2448] (rev 81)
> 02:01.0 CardBus bridge [0607]: Texas Instruments PCI1520 PC card
> Cardbus Controller [104c:ac55] (rev 01)
> 02:01.1 CardBus bridge [0607]: Texas Instruments PCI1520 PC card
> Cardbus Controller [104c:ac55] (rev 01)
> 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)
>
> Working systems:
>
> 00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX -
> 82443BX/ZX/DX AGP bridge [8086:7191] (rev 02)
> 00:04.0 CardBus bridge [0607]: Texas Instruments PCI1220 [104c:ac17] (rev 02)
> 00:04.1 CardBus bridge [0607]: Texas Instruments PCI1220 [104c:ac17] (rev 02)
> 06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)
>
> 00:00.0 Host bridge [0600]: Cyrix Corporation PCI Master [1078:0001]
> 00:11.0 CardBus bridge [0607]: Texas Instruments PCI1221 [104c:ac19]
> 00:11.1 CardBus bridge [0607]: Texas Instruments PCI1221 [104c:ac19]
> 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)
>
> - Matthew Whitehead
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-02 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-27 18:15 r8169 not being recognized by different chipsets tedheadster
2019-04-02 13:25 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).