From: Heiner Kallweit <hkallweit1@gmail.com>
To: Marc Haber <mh+debian-packages@zugschlus.de>,
Alex Xu <alex_y_xu@yahoo.ca>,
Anthony Wong <anthony.wong@ubuntu.com>,
Azat Khuzhin <a3at.mail@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Hans de Goede <hdegoede@redhat.com>,
Jian-Hong Pan <jian-hong@endlessm.com>,
Kai-Heng Feng <kai.heng.feng@canonical.com>,
"Maciej S. Szmigiero" <mail@maciej.szmigiero.name>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: WoL broken in r8169.c since kernel 4.19
Date: Sat, 12 Jan 2019 21:28:48 +0100 [thread overview]
Message-ID: <cb8d8da1-e485-9b62-8472-08ed2fa9b7cc@gmail.com> (raw)
In-Reply-To: <20190112200831.GB20268@torres.zugschlus.de>
On 12.01.2019 21:08, Marc Haber wrote:
> Hi,
>
> I am writing to all people who have commits in r8169.c between the v4.18
> and v4.19 tags in the Linux kernel. Please ignore as appropriate. If
> you'd prefer that to be on a mailing list, please indicate on which list
> you want to have that, and I'll resend.
>
It should be cc'ed to the netdev mailing list, as listed in MAINTAINERS.
> My desktop copmuter has the following network interface:
>
> 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
> Subsystem: ASUSTeK Computer Inc. P8P67 and other motherboards
> 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 17
> NUMA node: 0
> Region 0: I/O ports at e800 [size=256]
> Region 2: Memory at fdfff000 (64-bit, prefetchable) [size=4K]
> Region 4: Memory at fdff8000 (64-bit, prefetchable) [size=16K]
> Capabilities: <access denied>
> Kernel driver in use: r8169
> Kernel modules: r8169
>
Unfortunately there's different chip versions with the same description.
Please provide the result of "dmesg | grep XID".
> I regularly buíld a VPN tunnel to my local network from 'on the road'
> and use WoL to wake up the desktop box when I need it.
>
> Since kernel 4.19, that does not work any more, the desktop remains
> suspended when I send it a magic packet. This still applies to 4.20.1,
> and it still works with any 4.18 kernel.
>
WoL works perfectly fine here with r8169 from runtime-suspend and
from S3. How do you enable WoL? And which WoL method do you use
(magic packet or ..) ?
Please provide a register dump (ethtool -d <if>).
> I transplanted the 4.18 r8169.c into 4.20.1, and then WoL worked again.
> Thus, the issue must have been introduced between 4.18 and 4.19.
>
> Does anybody of you have an idea how to find the issue in the 4.20 code?
>
> I have seen 648458fe97b5c0630435fa2b2cd65ba57ceb18e0 in 4.19.14 and
> tried applying it to 4.20.1 (was necessary to do it manually because the
> patch wouldn't apply), but that one didn't help.
>
> 4.19.14, which has a WoL-related patch applied, doesn't wake on LAN as
> well.
>
> I tried bisecting for r8169.c between v4.18 and v4.19, but right the
> first step didn't even boot far enough for the disk password prompt, so
> I am at a loss here.
>
> Any ideas?
>
> Greetings
> Marc
>
>
Heiner
next prev parent reply other threads:[~2019-01-12 20:28 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-12 20:08 WoL broken in r8169.c since kernel 4.19 Marc Haber
2019-01-12 20:28 ` Heiner Kallweit [this message]
2019-01-12 20:44 ` Heiner Kallweit
2019-01-13 16:01 ` Marc Haber
2019-01-13 16:19 ` Heiner Kallweit
2019-01-22 16:10 ` Marc Haber
2019-01-22 18:47 ` Heiner Kallweit
2019-01-25 5:59 ` Marc Haber
2019-01-25 6:49 ` Heiner Kallweit
2019-01-25 12:02 ` Marc Haber
2019-01-25 18:22 ` Heiner Kallweit
2019-01-26 13:56 ` Marc Haber
2019-01-26 14:04 ` Heiner Kallweit
2019-01-26 17:07 ` Marc Haber
2019-01-26 19:22 ` Heiner Kallweit
2019-01-27 20:55 ` Marc Haber
2019-01-27 21:09 ` Heiner Kallweit
2019-01-28 7:30 ` Marc Haber
2019-01-28 19:02 ` Heiner Kallweit
2019-01-28 20:59 ` Marc Haber
2019-01-28 21:21 ` Heiner Kallweit
2019-01-29 11:52 ` Marc Haber
2019-01-28 20:22 ` Marc Haber
2019-01-28 20:28 ` Heiner Kallweit
2019-01-29 7:32 ` Marc Haber
2019-01-29 15:35 ` Marc Haber
2019-01-29 19:01 ` Heiner Kallweit
2019-01-30 8:46 ` Marc Haber
2019-01-29 21:20 ` Heiner Kallweit
2019-01-30 15:37 ` Marc Haber
2019-02-01 6:49 ` Heiner Kallweit
2019-02-01 17:19 ` Marc Haber
2019-02-01 18:24 ` Heiner Kallweit
2019-02-01 18:41 ` Marc Haber
2019-01-26 14:08 ` Heiner Kallweit
2019-01-26 14:09 ` Heiner Kallweit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cb8d8da1-e485-9b62-8472-08ed2fa9b7cc@gmail.com \
--to=hkallweit1@gmail.com \
--cc=a3at.mail@gmail.com \
--cc=alex_y_xu@yahoo.ca \
--cc=anthony.wong@ubuntu.com \
--cc=davem@davemloft.net \
--cc=hdegoede@redhat.com \
--cc=jian-hong@endlessm.com \
--cc=kai.heng.feng@canonical.com \
--cc=mail@maciej.szmigiero.name \
--cc=mh+debian-packages@zugschlus.de \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).