Article View: linux.kernel.netdev
Article #6410Re: [REGRESSION 6.16] r8169 RTL8168h/8111h fails to probe — "Unable to change power state from D3cold to D0" — bisected to 4d4c1...
From: "Rafael J. Wysocki (Intel)"
Date: Thu, 22 Oct 2026 10:50
Date: Thu, 22 Oct 2026 10:50
83 lines
12603 bytes
12603 bytes
On Thu, Oct 22, 2026 at 3:37 AM Josh Perry <josh@6bit.com> wrote:
>
> On 6/11/26 19:07, Josh Perry wrote:
> > #regzbot introduced: 4d4c10f763d7
> >
> > Since v6.16 one of two onboard RTL8168h/8111h NICs on this board fails
> > to probe on boot; the device drops to D3cold and the driver can't bring
> > it back:
> >
> > r8169 0000:02:00.0 eth0: RTL8168h/8111h, 00:2b:67:48:40:01, XID 541,
> > IRQ 137
> > r8169 0000:04:00.0: Unable to change power state from D3cold to D0,
> > device inaccessible
> > r8169 0000:04:00.0: Mem-Wr-Inval unavailable
> > r8169 0000:04:00.0: error -EIO: PCI read failed
> > r8169 0000:04:00.0: probe with driver r8169 failed with error -5
> >
> > The board has two identical RTL8168h NICs (both XID 541): 0000:02:00.0
> > and 0000:04:00.0. Only 04:00.0 fails — its sibling 02:00.0, on a
> > different root port, probes and works normally on the very same kernel
> > and boot. The failing NIC then does not appear (no enp4s0), taking the
> > machine's WAN offline. This strongly suggests the problem is port/
> > topology-specific rather than device- or driver-specific: the upstream
> > port behind 04:00.0 is placed in D3cold and the endpoint cannot be
> > resumed to D0.
> >
> > Hardware: RTL8168h/8111h, XID 541, PCI 04:00.0 (onboard 1GbE).
> > Platform: Lenovo ThinkCentre M90n-1 (11AHS0B200), BIOS M2AKT49A
> > (2026-03-25, latest available). Firmware is current, so this is not a
> > platform-firmware issue.
> >
> > Bisection: v6.15 good, v6.16 bad (verified by booting both). I then
> > reverted 4d4c10f763d7 ("PCI: Explicitly put devices into D0 when
> > initializing") together with its follow-up 907a7a2e5bf4 ("PCI/PM: Set up
> > runtime PM even for devices without PCI PM") on top of 6.16.7: the NIC
> > probes and links at 1Gbps/Full normally, with no workaround:
> >
> > r8169 0000:04:00.0 eth1: RTL8168h/8111h, 00:2b:67:48:40:02, XID 541,
> > IRQ 138
> > r8169 0000:04:00.0 enp4s0: Link is Up - 1Gbps/Full - flow control rx/tx
> >
> > Workaround: booting an unmodified v6.16+ kernel with pcie_port_pm=off
> > also restores the NIC, which is consistent with the upstream port being
> > placed in D3cold and the device failing to resume to D0 after the
> > explicit-D0 init change.
> >
> > The follow-up 907a7a2e5bf4 does not fix this resume case: v6.18.33 is
> > still affected (retested today on current firmware).
> >
> > Happy to test patches or provide full dmesg / lspci.
>
>
> Hey guys,
>
> Thanks, and apologies for the slow follow-up. Multiple of you asked me
> to test on the latest mainline.
>
> I had a chance to do just that today with the latest mainline v7.3.
> Verdict is that it's still broken, same messages as in the original
> report. pcie_port_pm=off on the same build still works around it.
>
> dmesg, "sudo lspci -vvv" and the sysfs PM state for both boots (same
> v7.3 build, only the command line differs) are attached here:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=222179
>
> New detail from the failing boot: the root port above the dead NIC
> (00:1d.3) is in D0 but its link shows DLActive-, and the endpoint's
> config space reads all-ones ("Unknown header type 7f"). With
> pcie_port_pm=off the port shows DLActive+ and the NIC is in D0 at
> 2.5GT/s x1. So the port seems to come back but the link to 04:00.0
> doesn't retrain.
>
> #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=222179
Please also try v7.3 with this patch applied:
https://lore.kernel.org/linux-pci/20261015020811.1132314-1-keng-yu.lin@hpe.com/raw
Technical Details
Message-ID:
<CAJZ5v0h8ke_CE1Y_nesgOU8L-R6WcPaoxFjjRp0rfyRdg+Lj1Q@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350519-linux-kernel-netdev=dewy.ruReferences:
<d4aaa5e8-7366-461c-94b1-ccf3631c8bf9@6bit.com> <b859285b-e43e-43f2-a4f7-af82705d3513@6bit.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350519-linux-kernel-netdev=dewy.ru
From: rafael@kernel.org ("Rafael J. Wysocki (Intel)")
Newsgroups: linux.kernel.netdev
Subject: Re: [REGRESSION 6.16] r8169 RTL8168h/8111h fails to probe — "Unable to change power state from D3cold to D0" — bisected to 4d4c10f763d7
Date: Thu, 22 Oct 2026 12:50:25 +0200
Organization: Usenet Network
Message-ID: <CAJZ5v0h8ke_CE1Y_nesgOU8L-R6WcPaoxFjjRp0rfyRdg+Lj1Q@mail.gmail.com>
References: <d4aaa5e8-7366-461c-94b1-ccf3631c8bf9@6bit.com> <b859285b-e43e-43f2-a4f7-af82705d3513@6bit.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="192693"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:aRZmqibvQzPrPZfq/kfMxg6xC30= sha256:w8Yd14klJCxVPpjxuysFUgZXnU7hvY7KrlC3eZ3qXSs=
sha1:LvAHLbZlOrn6pvxONfrZGyijoWM= sha256:LWCuxBWo14p/hn9obxA7kR1SeIbuo21gYdXtwkmvZks=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 4BC3E11124C; Thu, 22 Oct 2026 13:55:35 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 1SMjFpFWDx81;
Thu, 22 Oct 2026 13:55:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350519-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 846D4111211; Thu, 22 Oct 2026 13:55:23 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 2796032147; Thu, 22 Oct 2026 10:52:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792666374;
b=zSRNZ0t3lxEaywfSfhQajbGfaXj3IpJm5WEPbJ51Aszkrb39AFqpf8o09U/KRXNWivXs
KGcW4eq5aN5nBuRJmKt9ZD4SwYlODJOy13lfRPThXd5D2dNO1q5UxJhfknp8GocEzzDIB
2vGfn39RHoG8AqR+5Qu2SEhM6mwEmiY2/JMt/YqjU3Fz7aMYo8/oF1ixRWswyZaGRoEQN
h3t9JYX9UOA52hpPrjlf0YAPCUgB4nu5KiUnt5KO186dnUrUjvjTCxQkq1qL0kmtDpqro
k9QQ80owpLnp9aQcIib9BgQH/Ugr6u/Jq+Yz7cTn4GgowVm/TiCnJ/eUxp/mF8ihUfQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792666374;
h=X-Original-To:Received:Received:DKIM-Signature:Received:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:X-Mailing-List:
List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
List-Owner:Precedence:MIME-Version:References:In-Reply-To:From:Date:
X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=6oVpQoaAfUBDMLGh8jDeVDGb49kS8N4K41NNZ9NvSzg=;
b=IDAubU2Zj0GZkO7eY3uFKCX12YGYyolp/z7DLNWCmJ3PVABKoJnwgC2g9hs3tKQbScaE
QgD/uEjvLfrSNGVmHBXwaZXqNW/OtJoochFFsHaPlm5gff2wGvOHWudMlJOEa5Gs7T1h8
UTioGZU0Lr/kED7DJoaKySTnGUqTwYKEQWfQj8uGLsr3QhZTBEAvjTu6cjT6A+/vB+5cD
ODMB+iSws01sd51QalXKu2V80gTp5pIKvCTlBcWpuklFBc8TuC1HbXKL3Ws+PDv4mfCyg
6Uyri3oEK5T0CjojCjRZCyVHgykcshpqTIVYIVpWEHR6NttFonls23udWziioeuptcQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=RXlxWdDi;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id F20DD606A321;
Thu, 22 Oct 2026 10:52:53 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=RXlxWdDi
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792666368;
b=DybdfLRwZhKY0ThnCt8rRnE/nG/CraSlFmN+lDlpb7MP0aj3MQbd1F7OIkNxdvD+HRQY
dNeZNDZYdgOz088PwvwBmMJBQ1K9IAep/7J0axbvpZnCxb/jewp8bvlSVwv6Rpi00bhlv
Fsv5R++xlh9o8UQ2MJgfpLHh+sDF2LrmhVKVntCL3bJxrMK5+pwB+DCOgUCr28VunrHIq
Q+hxndSwmNeYYAWAI7HGJTxryUECy0bgxBFcAKZ+T6CIckkA2pOSqImvpLBkqodauFyFi
U43CyVzJRR0nr7bPE1PuDl82Tj8zpZGe1ZBPxgdNpLzenQll/muISTX82nY5xpRZDeA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792666368;
h=Received:DKIM-Signature:Received:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Received:MIME-Version:References:In-Reply-To:
From:Date:X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:
Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
bh=6oVpQoaAfUBDMLGh8jDeVDGb49kS8N4K41NNZ9NvSzg=;
b=ic0VhHCwY8J4SPdk7YJQ178c7ZayETcIyRsmFwvY3wbEOCR7mL+sqxbh+NVZCrU78qUd
Y3Jb85Q9QqNhUuJjkUZ0yJ8fK7kHrEzSYCv72+0t40xnITglpb5zvX6NFkqkxLBk3hQOe
Qelof0fsFrxsTjQUbjtFJ4mqjCtZGxWuYdLz5bZXMFWz4to0Wi1jxZ8HfbzJ0DU2dJMHy
1KxE4zFfOM4eBIwLYs03Z/ym3EMCLogItzN5mD5yl0kVbtvLU85ZLHn3s1at+e0bB0GFw
0lL6agCWCeoJvb3W5WJP3yW3IvP35j9ezFxXxQ20rDeQjTq0W/YUpfrWEUApGzuJphw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=RXlxWdDi;
arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3611606A31B
for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 10:52:47 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72AB51F000C9
for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 10:52:47 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
s=k20260515; t=1792666367;
bh=6oVpQoaAfUBDMLGh8jDeVDGb49kS8N4K41NNZ9NvSzg=;
h=References:In-Reply-To:From:Date:Subject:To:Cc;
b=RXlxWdDilyxzQGbuKQNxbYjcbVIChV5nHyS/al0R+FMoCLxYHFQtZ94FmUDy/QBmp
eKuEmBanZgmepaTQE4YrXcmU42tTLSk7VnJnR6LQNxsBSKGkW6opVexOhlYfI0LAf8
dsmnWg+VYO4lrx0pZm4xaNcM4msEjZCkmJRWF3eRbqlxeunra8EW74aTJZrpw9c8WX
kFhS3QFyXZv0fDIFgnbmTwdV0PCQzv58757LvkYAwxqjlsNEwLz99TEAlRn0Judu+f
R+Fy8+Z4/Y9iRgFg0EgpQ2Cl2h34FVWRh6TOX5qDODpz1tf2naORFW+4VsrUd58oCO
bbYSTLgRZ/U2w==
X-Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-5bcb0f245e0so1302509e87.3
for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 03:52:47 -0700 (PDT)
X-Forwarded-Encrypted: i=1; AKwUvByBX5mQG2QOR3oiiNMgWq1ggB/bQi4s+GbVSW3DdFeiWUbG31kOmyJIPtauLBI31ecglrBRGAE=@vger.kernel.org
X-Gm-Message-State: AFq9FYK+ckR0MSaAgiccsaNXthImYdax4zhM9XqjJ1WcseczVQlisP/T
T74cmaEMtXTwjSMFp0nvsEetrrfCna27kcPSPncBNt8LGdpuWiIJ6JweXFS0bYPo+24H2Tu6+1C
qHB+911iKa9fFSI5BGqHL1b+6i70cH2k=
X-Received: by 2002:a05:6512:689:b0:5ba:4296:cb8d with SMTP id
2adb3069b0e04-5bfa1c4f138mr1910136e87.57.1792666365789; Thu, 22 Oct 2026
03:52:45 -0700 (PDT)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <b859285b-e43e-43f2-a4f7-af82705d3513@6bit.com>
X-Gmail-Original-Message-ID: <CAJZ5v0h8ke_CE1Y_nesgOU8L-R6WcPaoxFjjRp0rfyRdg+Lj1Q@mail.gmail.com>
X-Gm-Features: AclHuK8naCpr6PnXRIxW3blPFvl6oFVcOrYvteiSPSRAvMlkDGcfHwaBJITl2-A
X-Cc: mario.limonciello@amd.com, bhelgaas@google.com, hkallweit1@gmail.com,
nic_swsd@realtek.com, rafael@kernel.org, linux-pci@vger.kernel.org,
netdev@vger.kernel.org, regressions@lists.linux.dev