Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #67025 > unrolled thread
| Started by | Camaleón <noelamac@gmail.com> |
|---|---|
| First post | 2020-05-07 16:20 +0200 |
| Last post | 2020-05-08 08:10 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#956868: Use Realtek's r8101 driver Camaleón <noelamac@gmail.com> - 2020-05-07 16:20 +0200
Bug#956868: Use Realtek's r8101 driver Heiner Kallweit <hkallweit1@gmail.com> - 2020-05-08 07:50 +0200
Bug#956868: Use Realtek's r8101 driver Camaleón <noelamac@gmail.com> - 2020-05-08 08:10 +0200
| From | Camaleón <noelamac@gmail.com> |
|---|---|
| Date | 2020-05-07 16:20 +0200 |
| Subject | Bug#956868: Use Realtek's r8101 driver |
| Message-ID | <A3Pxv-7aq-3@gated-at.bofh.it> |
On Thu, 7 May 2020 12:20:54 +0200, Heiner Kallweit wrote:
Hello,
> RTL8401 (XID 240) was never supported by r8169.
> Having said that nothing was dropped from the driver.
> And most likely you don't have to compile r8101 yourself,
> most distro's have a pre-compiled package.
How that can be? This computer perfectly detected the ethernet card
years ago (2013), using kernel 3.9.0-rc2 (Debian nomenclature) and r8169
driver:
(dmesg excerpt)
[ 0.000000] Linux version 3.9.0-rc2 (root@stt300) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Sun Mar 17 22:49:53 CET 2013
[ 0.000000] DMI: Hewlett-Packard Compaq Mini CQ10-500 /148A, BIOS F.15 01/14/2011
[ 6.558651] [drm] Initialized drm 1.1.0 20060810
[ 6.573693] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 6.574014] r8169 0000:01:00.0 (unregistered net_device): unknown MAC, using family default
[ 6.574358] r8169 0000:01:00.0: irq 43 for MSI/MSI-X
[ 6.575005] r8169 0000:01:00.0 eth0: RTL8101e at 0xf8268000, 68:b5:99:d3:c1:d8, XID 04000000 IRQ 43:
(pci devices excerpt)
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 04)
Subsystem: Hewlett-Packard Company Device [103c:148a]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 43
Region 0: I/O ports at 2000 [size=256]
Region 2: Memory at 90004000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at 90000000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Greetings,
--
Camaleón
[toc] | [next] | [standalone]
| From | Heiner Kallweit <hkallweit1@gmail.com> |
|---|---|
| Date | 2020-05-08 07:50 +0200 |
| Message-ID | <A443v-7ET-5@gated-at.bofh.it> |
| In reply to | #67025 |
On 07.05.2020 16:14, Camaleón wrote: > On Thu, 7 May 2020 12:20:54 +0200, Heiner Kallweit wrote: > > Hello, > >> RTL8401 (XID 240) was never supported by r8169. >> Having said that nothing was dropped from the driver. >> And most likely you don't have to compile r8101 yourself, >> most distro's have a pre-compiled package. > > How that can be? This computer perfectly detected the ethernet card > years ago (2013), using kernel 3.9.0-rc2 (Debian nomenclature) and r8169 > driver: > > (dmesg excerpt) > > [ 0.000000] Linux version 3.9.0-rc2 (root@stt300) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Sun Mar 17 22:49:53 CET 2013 > > [ 0.000000] DMI: Hewlett-Packard Compaq Mini CQ10-500 /148A, BIOS F.15 01/14/2011 > > [ 6.558651] [drm] Initialized drm 1.1.0 20060810 > [ 6.573693] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded > [ 6.574014] r8169 0000:01:00.0 (unregistered net_device): unknown MAC, using family default This is the key. There has never been native support for the RTL8401. In earlier times (until end of 2018) we had a fallback to a default chip version for unknown chip versions. This was removed because each chip version requires it's own specific initialization and quirks. It's quite fortunate that your RTL8401 works properly if treated as RTL8101e. What we can do is adding this as explicit assignment. > [ 6.574358] r8169 0000:01:00.0: irq 43 for MSI/MSI-X > [ 6.575005] r8169 0000:01:00.0 eth0: RTL8101e at 0xf8268000, 68:b5:99:d3:c1:d8, XID 04000000 IRQ 43: > > (pci devices excerpt) > > 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. > RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 04) > Subsystem: Hewlett-Packard Company Device [103c:148a] > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0, Cache Line Size: 64 bytes > Interrupt: pin A routed to IRQ 43 > Region 0: I/O ports at 2000 [size=256] > Region 2: Memory at 90004000 (64-bit, prefetchable) [size=4K] > Region 4: Memory at 90000000 (64-bit, prefetchable) [size=16K] > Capabilities: <access denied> > Kernel driver in use: r8169 > > Greetings, >
[toc] | [prev] | [next] | [standalone]
| From | Camaleón <noelamac@gmail.com> |
|---|---|
| Date | 2020-05-08 08:10 +0200 |
| Message-ID | <A44mR-80w-1@gated-at.bofh.it> |
| In reply to | #67028 |
El 2020-05-08 a las 07:37 +0200, Heiner Kallweit escribió: > On 07.05.2020 16:14, Camaleón wrote: > > On Thu, 7 May 2020 12:20:54 +0200, Heiner Kallweit wrote: > > > > Hello, > > > >> RTL8401 (XID 240) was never supported by r8169. > >> Having said that nothing was dropped from the driver. > >> And most likely you don't have to compile r8101 yourself, > >> most distro's have a pre-compiled package. > > > > How that can be? This computer perfectly detected the ethernet card > > years ago (2013), using kernel 3.9.0-rc2 (Debian nomenclature) and r8169 > > driver: > > > > (dmesg excerpt) > > > > [ 0.000000] Linux version 3.9.0-rc2 (root@stt300) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Sun Mar 17 22:49:53 CET 2013 > > > > [ 0.000000] DMI: Hewlett-Packard Compaq Mini CQ10-500 /148A, BIOS F.15 01/14/2011 > > > > [ 6.558651] [drm] Initialized drm 1.1.0 20060810 > > [ 6.573693] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded > > [ 6.574014] r8169 0000:01:00.0 (unregistered net_device): unknown MAC, using family default > > This is the key. There has never been native support for the RTL8401. In earlier times (until > end of 2018) we had a fallback to a default chip version for unknown chip versions. > This was removed because each chip version requires it's own specific initialization and quirks. So we had «some kind of support» in kernel that now is gone ;-) > It's quite fortunate that your RTL8401 works properly if treated as RTL8101e. > What we can do is adding this as explicit assignment. Yes... please! :-) This NIC chipset is installed in very common netbooks (I'm at least aware of 2 more cases like mine). Ethernet cards are a must for business environments. Should you need additonal hardware information, kindly ask. Greetings, -- Camaleón
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web