From nobody Thu Jun 17 14:47:53 2021 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3A64011D3DF4 for ; Thu, 17 Jun 2021 14:47:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G5Pzs10wVz4v9T for ; Thu, 17 Jun 2021 14:47:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09EAF10EE4 for ; Thu, 17 Jun 2021 14:47:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 15HElqmp079181 for ; Thu, 17 Jun 2021 14:47:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15HElqVZ079180 for usb@FreeBSD.org; Thu, 17 Jun 2021 14:47:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 256673] [panic] [usb] [if_ure] unplugging device causes panic roughly one in three times Date: Thu, 17 Jun 2021 14:47:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: knan-bfo@modirum.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256673 Bug ID: 256673 Summary: [panic] [usb] [if_ure] unplugging device causes panic roughly one in three times Product: Base System Version: 13.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: knan-bfo@modirum.com Created attachment 225893 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225893&action= =3Dedit crashinfo file A quad ethernet usb device we picked up for expanding a small-footprint firewall sometimes panics the system on unplug. RTL8153-based. 13.0-RELEASE-p1 Steps to reproduce: Plug the device in, wait for things to settle, unplug. After three-four cyc= les it usually panics. panic: page fault cpuid =3D 6 time =3D 1623939807 KDB: stack backtrace: #0 0xffffffff80c57515 at kdb_backtrace+0x65 #1 0xffffffff80c09ef1 at vpanic+0x181 #2 0xffffffff80c09d63 at panic+0x43 #3 0xffffffff8108b1b7 at trap_fatal+0x387 #4 0xffffffff8108b20f at trap_pfault+0x4f #5 0xffffffff8108a86d at trap+0x27d #6 0xffffffff81061978 at calltrap+0x8 #7 0xffffffff80a2c5b9 at usbd_do_request_flags+0x899 #8 0xffffffff80a2c690 at usbd_do_request_proc+0x60 #9 0xffffffff843c12c0 at ure_miibus_readreg+0xc0 #10 0xffffffff8071e5b7 at rgephy_status+0x227 #11 0xffffffff8071e348 at rgephy_service+0x418 #12 0xffffffff8071a7f6 at mii_pollstat+0x56 #13 0xffffffff843c4084 at ure_ifmedia_sts+0x44 #14 0xffffffff80d27f8a at ifmedia_ioctl+0x16a #15 0xffffffff80d1d45d at ifhwioctl+0x2bd #16 0xffffffff80d1f4dc at ifioctl+0x50c #17 0xffffffff80c76ebd at kern_ioctl+0x26d Looks different from #252608. --=20 You are receiving this mail because: You are the assignee for the bug.=