Bug 45751 - WOL doesn't work in r8169 but works with r8168
Summary: WOL doesn't work in r8169 but works with r8168
Status: RESOLVED DUPLICATE of bug 42849
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 17:58 UTC by Martin Capitanio
Modified: 2012-08-08 19:09 UTC (History)
2 users (show)

See Also:
Kernel Version: all released
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Martin Capitanio 2012-08-08 17:58:45 UTC
**wol broken**
vmlinuz-3.4.6-2.fc17.x86_64
vmlinuz-3.5.0-2.fc17.x86_64
ubuntu-12.04 vmlinuz-3.2.0-27-generic

[   12.620339] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[   12.620573] r8169 0000:02:00.0: irq 41 for MSI/MSI-X

[   12.621068] r8169 0000:02:00.0: eth0: RTL8168c/8111c at 0xffffc9000067e000,
XXX, XID 1c4000c0 IRQ 41

----

**ok in all ubuntu/fedora kernels**
sources:

http://packages.debian.org/sid/r8168-dkms
or
http://code.google.com/p/r8168/

$ wget http://r8168.googlecode.com/files/r8168-8.031.00.tar.bz2
$ sudo ./autorun.sh 
Check old driver and unload it.
rmmod r8169
Build the module and install
Backup r8169.ko
rename r8169.ko to r8169.bak
DEPMOD 3.5.0-2.fc17.x86_64
load module r8168
Completed.

[ 4301.046025] r8168 Gigabit Ethernet driver 8.031.00-NAPI loaded
[ 4301.046174] r8168 0000:02:00.0: irq 41 for MSI/MSI-X
[ 4301.047060] eth%d: RTL8168C/8111C at 0xffffc9000067e000, XXX, IRQ 41
[ 4301.072252] r8168: This product is covered by one or more of the following
patents: US5,307,459, US5,434,872, US5,732,094, US6,570,884, US6,115,776, and
US6,327,625.
[ 4301.072254] eth0: Identified chip type is 'RTL8168C/8111C'.
[ 4301.072257] r8168  Copyright (C) 2012  Realtek NIC software team
<nicfae@realtek.com> 
[ 4301.072257]  This program comes with ABSOLUTELY NO WARRANTY; for details,
please see <http://www.gnu.org/licenses/>. 
[ 4301.072257]  This is free software, and you are welcome to redistribute it
under certain conditions; see <http://www.gnu.org/licenses/>. 
[ 4301.133054] r8168: p6p1: link down
[ 4301.133884] IPv6: ADDRCONF(NETDEV_UP): p6p1: link is not ready
[ 4302.696051] r8168: p6p1: link up
[ 4302.697609] IPv6: ADDRCONF(NETDEV_CHANGE): p6p1: link becomes ready
[ 4303.138027] r8168: p6p1: link up
Comment 1 Martin Capitanio 2012-08-08 18:10:26 UTC
A similar ubuntu issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/914439
Comment 2 Martin Capitanio 2012-08-08 19:09:24 UTC

*** This bug has been marked as a duplicate of bug 42849 ***

Note You need to log in before you can comment on or make changes to this bug.