Skip to contentSkip to conversation

r8169 doesn't work

DISCUSSION OGAWA Hirofumi 2 participants 6 messages Apr 3, 2007 – Apr 4, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I have a r8169 problem, it seems RX doesn't work. To work r8169 for me I'm needing to revert the following three commits now, but I don't know why.

    9cb427b6ff0b3e235c518acf5c1fcbbfc95f0ae2
    12d86f682e8acad8555718dc7b0082590f2365d0
    cc9f022d97d08e4e36d38661857991fe91447d68

Any idea?

02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: Micro-Star International Co., Ltd. Unknown device 210c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (8000ns min, 16000ns max), Cache Line Size: 128 bytes
Interrupt: pin A routed to IRQ 20
Region 0: I/O ports at c800 [size=256]
Region 1: Memory at ff8ffc00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at 60000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: ec 10 69 81 17 00 b0 02 10 00 00 02 20 40 00 00
10: 01 c8 00 00 00 fc 8f ff 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 0c 21
30: 00 00 8c ff dc 00 00 00 00 00 00 00 05 01 20 40
40: 00 00 00 00 00 00 00 00 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 01 00 c2 f7
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

Signature · 1 line
OGAWA Hirofumi <[email protected]>
#1 lore raw

OGAWA Hirofumi <[email protected]> :
[...]

Quoted 7 lines

I have a r8169 problem, it seems RX doesn't work. To work r8169 for me I'm needing to revert the following three commits now, but I don't know why.

    9cb427b6ff0b3e235c518acf5c1fcbbfc95f0ae2
    12d86f682e8acad8555718dc7b0082590f2365d0
    cc9f022d97d08e4e36d38661857991fe91447d68

(oh, the horror...)

Quoted 1 line

Any idea?

Figuring the last known working kernel version and the first broken one could help (which hardware ? x86_64 + SMP ?) but I'd appreciate if you try beforehand the patches at:
http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.21-rc5/r8169-20070402

Signature · 1 line
Ueimor
#2 lore raw
Quoted 10 lines · Francois Romieu

OGAWA Hirofumi <[email protected]> :
[...]

Quoted 7 lines

I have a r8169 problem, it seems RX doesn't work. To work r8169 for me I'm needing to revert the following three commits now, but I don't know why.

    9cb427b6ff0b3e235c518acf5c1fcbbfc95f0ae2
    12d86f682e8acad8555718dc7b0082590f2365d0
    cc9f022d97d08e4e36d38661857991fe91447d68
Quoted 6 lines

(oh, the horror...)

Quoted 1 line

Any idea?

Figuring the last known working kernel version and the first broken one could help (which hardware ? x86_64 + SMP ?)

IIRC, First broken one was 9cb427b6ff0b3e235c518acf5c1fcbbfc95f0ae2. To make sure, I'll confirm tomorrow.

Quoted 2 lines

but I'd appreciate if you try beforehand the patches at:
http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.21-rc5/r8169-20070402

Oh, thanks. I'll try.

Signature · 1 line
OGAWA Hirofumi <[email protected]>
#3 lore raw

OGAWA Hirofumi <[email protected]> :
[...]

Quoted 2 lines

IIRC, First broken one was 9cb427b6ff0b3e235c518acf5c1fcbbfc95f0ae2. To make sure, I'll confirm tomorrow.

If your kernel includes 9cb427b6ff0b3e235c518acf5c1fcbbfc95f0ae2 but misses 81f4e6c190a0fa016fd7eecaf76a5f95d121afc2, you can consider it a known behavior.

[...]

Quoted 1 line

Oh, thanks. I'll try.

Excellent.

Signature · 1 line
Ueimor
#4 lore raw
Quoted 4 lines · Francois Romieu

[...]

Quoted 1 line

Oh, thanks. I'll try.

Excellent.

That patchset works fine for me. (i386 + smp, i386 + up, x86_64 + smp) I hope to include those patches to 2.6.21.

Thanks.

Signature · 1 line
OGAWA Hirofumi <[email protected]>
#5 lore raw

OGAWA Hirofumi <[email protected]> :
[...]

Quoted 1 line

That patchset works fine for me. (i386 + smp, i386 + up, x86_64 + smp)

Cool.

Quoted 1 line

I hope to include those patches to 2.6.21.

The patchkit is scheduled for the next merge window. It fixes things for some users but:
1. it missed the merge window of 2.6.21
2. it is not completely non-intrusive
3. it has been tested in -mm or by users whose driver did not work

-> too late in the release cycle.

Signature · 3 lines
Ueimor

Anybody got a battery for my Ultra 10 ?