From nobody Sat Oct 22 04:06:44 2022 X-Original-To: net@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 4MvST11M3dz4fRM9 for ; Sat, 22 Oct 2022 04:06:45 +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 4MvST06sJvz42Gw for ; Sat, 22 Oct 2022 04:06:44 +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 4MvST05xtrzQx7 for ; Sat, 22 Oct 2022 04:06:44 +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 29M46iRp002393 for ; Sat, 22 Oct 2022 04:06:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29M46ibX002392 for net@FreeBSD.org; Sat, 22 Oct 2022 04:06:44 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: net@FreeBSD.org Subject: [Bug 252165] usb network and mii bus media status race condition Date: Sat, 22 Oct 2022 04:06:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vxasxfepbikrfqdruz@nvhrw.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666411605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YbKn4pw1z5FjcdtHDUk8IgWd/TLcKaD4CjRO5ilGmPU=; b=qQZ41IPsymV3TPqEazoERcKxiI/+4E46xGQQKM9erKRMfVfBjDSV/OUlTPHCNrzJRu/CCB am4bMtqfnursd3LaaHdKhvZe35xxRSXD6H5hIJMXVu0ZmimAraDUGYP5aKipGjyVGEwtAl rR3gAOd33832CDhNpzsuYVCSSpZaQWMG7zzOh+yzTfhDAEJb8h+iy9OXwhYA73XfCr8juG pVIcfIOlDU8swZ9SUhbPtkMbm7AGFe33nGVELAY5b8f2+NijtlNbgd/Lx3o1Ju7lxXY4m7 t8YXs4qkNBwW1bCXDlr/NGI7eGwqPMIk+l9+w2XEMw7hBPdn9Uz8CknnV2LlCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666411605; a=rsa-sha256; cv=none; b=ahaAbqnZJTwdFgM88siv8BgAVSaLVRQru+bMcDm7tJzoUbZbmDjGZF5RTzijyDtuIeVtFH tRxASj1r7PPzlGUvtHIgfczUThQF+goUIkhGEDNdDSAcB9TqaOi0t+duDkrj1udNxfMYQD y7STYVtrBdEdy4Y4sx4lXZkJUcfiyiSiFfmZAwE/Xe0UuHN20TuF4cDdxqhqNR4qv7+SRm bd6/wGoOIso7Uq3ln2jSCKH6Gj03N+yHeO8h/epwyQM2zeAypKS651pXsqpW0Xg/cEZJqW SLbkd1ly5rx6CRJDm4WFIFbRejtDoE2Xw/7j4xCcT1OMjJ9j4n7YOtPQtPWypQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252165 --- Comment #25 from vxasxfepbikrfqdruz@nvhrw.com --- (In reply to Ali Abdallah from comment #24) Yeah, I was pretty surprised as well that this is entirely broken despite several USB to ethernet adapters being listed as supported by FreeBSD. This also affects pfSense and opnSense which you think would generate some atten= tion about this, but they just seem to recommend not using USB adapters at all.= =20 If it's any help when I was getting my USB adapters I checked with the supported devices list and the comments on amazon. There were several comme= nts saying their adapters worked fine with freebsd with the latest one being fr= om October 2016. That would mean this problem was probably introduced sometime between v10.4 and now. This is kinda over my head but I would really appreciate if this were fixed= and I was able to build the fixed mii module. Thank you for your efforts. P.S. This is only sort of related but there's another issue with USB adapte= rs if you have more than one. They get picked up at boot in a random order so which adapter is which interface will get shuffled every boot. I was able to mitigate that using the ethname package. --=20 You are receiving this mail because: You are the assignee for the bug.=