From nobody Tue Sep 23 09:12:26 2025 X-Original-To: bugs@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 4cWDlG2bdgz68M4D for ; Tue, 23 Sep 2025 09:12:26 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cWDlG283Fz3yj7 for ; Tue, 23 Sep 2025 09:12:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758618746; 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; bh=cAqjcLYc9c50aky0U9sIW6xzYVCG/Xu1+tyhcrXD+bg=; b=HkaJ5tLIXCNi26cf8bkTm+OtCp7MNyLilNMA6GBoy5Wc+Xj+22mgXtYG2GPJh8QFKTqCnm adUaoGdtCwkLBK5MgMuq6LsF+hBQO6peYPgFjJRzOAlsMCtQcyrbcIi3MnpxJVpGYdQl4U hnOR6lDuPnSmRcv0FVRc45/iGCayCShSv4DZenAj/JX2ke3NJ9UOrjJ/ybjC5l0tdOdt0y DO5GfKmsbmr1iFNMsItxVjxCJXZGNsj2TqvdjMK0zPPKTfQPyVxzlZDVfT0Z5c3VD7xXN9 +r/dxSJKQcwRAGdy7rR7sspIcRoQ8uc5JLC/ho6Y4o+aYDLAuK5BHYN8yNYZZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758618746; 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; bh=cAqjcLYc9c50aky0U9sIW6xzYVCG/Xu1+tyhcrXD+bg=; b=hFiWi46+FvDWA0+2EP97zHNJOIK6JAuILsGHRVvRY4Cg9C1iKPPd5hIOx5+dEPbGQ+n2J1 9Crl4j4Wq480p/5h3uk8tL0EzHEcu7JVNvnFuGYJ2ay8VKIdSVHLwN7Bpu+kmp73+VB51M IfyLN8AL700fPQMCAmcShI/dKje5846W0DR4M2Om7J3m7BLLhc2eDrPCjt7z/7IoLf4tWf 87meGXf84EB/0JvT3V0IKGvtC5XjdtM9GRvgPGRlHbTpexz0X1XzI0aNBOfS21PP9JoZoK QGeJ0dfvRfTHkWN2mo5x7VPIk27rvOj4X2xcmXlPAjWvASqnjH6KX5RDdues6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758618746; a=rsa-sha256; cv=none; b=D/rUoDqyKAbcsd27AtapKlneWMbeGnW5iBKJlIOvUINpqYFlaOFSpG/rwwxeDWT79JObXY SsnE+ma96zex0PmRBUayIjcFeXXMqdoUWAAuavJvZvaM09quGvjiYUHjKS2Pcsm7CMUl6P 0kcDTp4oxJ8LjCBXHmGSKZiVQn2Fd8L/vcnkJrUtDfKOqRvNy4z0HmMuCz8cJ2w7Xsciqh 8p2Pif7c6DLXhXqaFyrKkelLSpMf+doDTLATpTj7Xbin9fY3dK4mU0G71WwoSuIOntdXgO /bUdzDJdV1hD9FodF1AZ4m4NeTltdu47Bfgq+FWIlra+JEZpeSxTsTgX35PjAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cWDlG1bMpzgg3 for ; Tue, 23 Sep 2025 09:12:26 +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 58N9CQH3044566 for ; Tue, 23 Sep 2025 09:12:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58N9CQvg044565 for bugs@FreeBSD.org; Tue, 23 Sep 2025 09:12:26 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: bugs@FreeBSD.org Subject: [Bug 289785] Umass: Unplugging usb stick returns EIO instead of ENXIO Date: Tue, 23 Sep 2025 09:12:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: phk@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289785 Bug ID: 289785 Summary: Umass: Unplugging usb stick returns EIO instead of ENXIO Product: Base System Version: 15.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: phk@FreeBSD.org Up until 14.3 we correctly return ENXIO when a USB stick is pulled while op= en. In 15.0-ALPHA2 and 16.0-CURRENT we return EIO To test: # plug in usb-stick recoverdisk -v /dev/da0 # pull usb-stick out On 14.3 the next read returns ENXIO causing recoverdisk to terminate On 15.0-ALPHA and 16.0-CURRENT reads return EIO and recoverdisk continues. I will leave it to re@ to decide if this is a 15.0 showstopper. --=20 You are receiving this mail because: You are the assignee for the bug.=