This regression was spotted between Debian squeeze and Debian wheezy
kernels (respectively based on 2.6.32 and 3.2). The fix was inspired
by <http://www.spinics.net/lists/netdev/msg178543.html>, using
RTL_GIGA_MAC_VER_{25,26} for the RTL8168d/8111d chipset.
Probable regression from d4ed95d796e5126bba51466dc07e287cebc8bd19;
more chipsets are likely affected.
Tested on top of a 3.2.23 kernel.
Reported-by: Florent Fourcot <redacted>
Tested-by: Florent Fourcot <redacted>
Signed-off-by: Cyril Brulebois <redacted>
---
drivers/net/ethernet/realtek/r8169.c | 2 ++
1 file changed, 2 insertions(+)
It looks like RTL_GIGA_MAC_VER_{25,26} are kinda supposed to go
together so I kept both. Florent's testing gave the following results:
- RTL_GIGA_MAC_VER_25 only: FAIL.
- RTL_GIGA_MAC_VER_26 only: SUCCESS.
- RTL_GIGA_MAC_VER_25 + RTL_GIGA_MAC_VER_26: SUCCESS.
This regression was spotted between Debian squeeze and Debian wheezy
kernels (respectively based on 2.6.32 and 3.2). The fix was inspired
by <http://www.spinics.net/lists/netdev/msg178543.html>, using
RTL_GIGA_MAC_VER_{25,26} for the RTL8168d/8111d chipset.
If someone experiences problems or has questions about WoL with
Realtek's 816x chipsets, http://marc.info/?t=132079219400004 would
imho be a better reference.
[...]
Tested on top of a 3.2.23 kernel.
It should still be relevant for current kernel. I'll give it a try.
[...]
It looks like RTL_GIGA_MAC_VER_{25,26} are kinda supposed to go
together so I kept both. Florent's testing gave the following results:
- RTL_GIGA_MAC_VER_25 only: FAIL.
- RTL_GIGA_MAC_VER_26 only: SUCCESS.
- RTL_GIGA_MAC_VER_25 + RTL_GIGA_MAC_VER_26: SUCCESS.
I don't understand the VER_25 vs VER_26 difference.
--
Ueimor
This regression was spotted between Debian squeeze and Debian wheezy
kernels (respectively based on 2.6.32 and 3.2). The fix was inspired
by <http://www.spinics.net/lists/netdev/msg178543.html>, using
RTL_GIGA_MAC_VER_{25,26} for the RTL8168d/8111d chipset.
If someone experiences problems or has questions about WoL with
Realtek's 816x chipsets, http://marc.info/?t=132079219400004 would
imho be a better reference.
Thanks. Should I re-send with that as reference, or will you amend the
patch once you're done with your testing?
[...]
quoted
Tested on top of a 3.2.23 kernel.
It should still be relevant for current kernel. I'll give it a try.
FWIW, further testing was suggested on some Debian lists, and 3.2.32
(which includes some commits related to r8169) is also affected.
[...]
quoted
It looks like RTL_GIGA_MAC_VER_{25,26} are kinda supposed to go
together so I kept both. Florent's testing gave the following results:
- RTL_GIGA_MAC_VER_25 only: FAIL.
- RTL_GIGA_MAC_VER_26 only: SUCCESS.
- RTL_GIGA_MAC_VER_25 + RTL_GIGA_MAC_VER_26: SUCCESS.
I don't understand the VER_25 vs VER_26 difference.
Neither do I. We just figured that it would nice to test all three
cases since those two macros popped up when looking at the 8168D
family.
Mraw,
KiBi.
Thanks. Should I re-send with that as reference, or will you amend the
patch once you're done with your testing?
It would be nice to resend, directly to netdev and davem.
Shutdown Wol behaved as expected with 3.7-rc3 for both cards: unicast WoL
failed without the patch while broadcast WoL worked. Unicast and broadcast
worked after the patch.
--
Ueimor
This regression was spotted between Debian squeeze and Debian wheezy
kernels (respectively based on 2.6.32 and 3.2). More info about
Wake-on-LAN issues with Realtek's 816x chipsets can be found in the
following thread: http://marc.info/?t=132079219400004
Probable regression from d4ed95d796e5126bba51466dc07e287cebc8bd19;
more chipsets are likely affected.
Tested on top of a 3.2.23 kernel.
Reported-by: Florent Fourcot <redacted>
Tested-by: Florent Fourcot <redacted>
Hinted-by: Francois Romieu [off-list ref]
Signed-off-by: Cyril Brulebois <redacted>
---
drivers/net/ethernet/realtek/r8169.c | 2 ++
1 file changed, 2 insertions(+)
v2: Update link in commit message, and re-send to netdev/Dave according
to Francois Romieu's comment, thanks.
This regression was spotted between Debian squeeze and Debian wheezy
kernels (respectively based on 2.6.32 and 3.2). More info about
Wake-on-LAN issues with Realtek's 816x chipsets can be found in the
following thread: http://marc.info/?t=132079219400004
This regression was spotted between Debian squeeze and Debian wheezy
kernels (respectively based on 2.6.32 and 3.2). More info about
Wake-on-LAN issues with Realtek's 816x chipsets can be found in the
following thread: http://marc.info/?t=132079219400004
From: Jonathan Nieder <hidden> Date: 2012-11-12 16:39:09
Francois Romieu wrote:
Cyril Brulebois [off-list ref] :
quoted
This regression was spotted between Debian squeeze and Debian wheezy
kernels (respectively based on 2.6.32 and 3.2). More info about
Wake-on-LAN issues with Realtek's 816x chipsets can be found in the
following thread: http://marc.info/?t=132079219400004
David, please apply to -net.
This has been applied as commit b00e69dee4cc in mainline; thanks!
François and David, would this be a candidate for inclusion in
3.0- and newer stable kernels?
Jonathan
This has been applied as commit b00e69dee4cc in mainline; thanks!
Fran??ois and David, would this be a candidate for inclusion in
3.0- and newer stable kernels?
This has been applied as commit b00e69dee4cc in mainline; thanks!
Fran??ois and David, would this be a candidate for inclusion in
3.0- and newer stable kernels?
This has been applied as commit b00e69dee4cc in mainline; thanks!
Fran??ois and David, would this be a candidate for inclusion in
3.0- and newer stable kernels?