mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Farhad Alemi <farhad.alemi@berkeley.edu>
Cc: Heiner Kallweit <hkallweit1@gmail.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	falemi@asu.edu, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [BUG] _phy_state_machine / phy_stop -- a USB PHY that reports an MDIO error to phylib panics a panic_on_warn kernel
Date: Fri, 28 Aug 2026 17:15:23 +0200	[thread overview]
Message-ID: <63bfddae-b456-4645-b992-e730bdd4b1ac@lunn.ch> (raw)
In-Reply-To: <CA+0ovChAkaCGmDrkaAzfrmpccDXVampiV9OmjLKwDgkYXThvGg@mail.gmail.com>

On Thu, Aug 27, 2026 at 10:29:36PM -0700, Farhad Alemi wrote:
> Hello,
> 
> As part of the kernel research at ASU's SEFCOM
> lab, we hit the crash below. Crash reports can be found here:
> 
>   https://github.com/farhad-alemi/public_bug_reports/tree/main/146-phylib-phy_error-warn_on-mdio-error/
> 
>   smsc95xx 6-1:1.0 eth0: Error reading MII_ACCESS
>   smsc95xx 6-1:1.0 eth0: smsc95xx_mdio_read: MII is busy
>   _phy_start_aneg+0x0/0x480: returned: -32
>   WARNING: drivers/net/phy/phy.c:1352 at phy_error_precise
> drivers/net/phy/phy.c:1352 [inline], CPU#0: kworker/0:3/5063
>   WARNING: drivers/net/phy/phy.c:1352 at
> _phy_state_machine+0x667/0xf20 drivers/net/phy/phy.c:1613, CPU#0:
> kworker/0:3/5063
>   Modules linked in:
>   CPU: 0 UID: 0 PID: 5063 Comm: kworker/0:3 Not tainted 7.1.0-rc5 #1
> PREEMPT(full)
>   Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
> 1.16.3-debian-1.16.3-2 04/01/2014
>   Workqueue: events_power_efficient phy_state_machine
>   RIP: 0010:phy_error_precise drivers/net/phy/phy.c:1352 [inline]
>   RIP: 0010:_phy_state_machine+0x66d/0xf20 drivers/net/phy/phy.c:1613
>   Call Trace:
>    <TASK>
>    phy_state_machine+0x2b/0x70 drivers/net/phy/phy.c:1652
>    process_one_work kernel/workqueue.c:3314 [inline]
>    process_scheduled_works+0x881/0x1170 kernel/workqueue.c:3397
>    worker_thread+0x988/0xde0 kernel/workqueue.c:3478
>    kthread+0x333/0x420 kernel/kthread.c:436
>    ret_from_fork+0x351/0x940 arch/x86/kernel/process.c:158
>    ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
>    </TASK>

Could you point out the crash here? I don't see a crash.

      Andrew

      reply	other threads:[~2026-08-28 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-28  5:29 Farhad Alemi
2026-08-28 15:15 ` Andrew Lunn [this message]

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=63bfddae-b456-4645-b992-e730bdd4b1ac@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=falemi@asu.edu \
    --cc=farhad.alemi@berkeley.edu \
    --cc=hkallweit1@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /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

all inboxes | Powered by JetHome®