From nobody Mon Apr 17 21:59:16 2023 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 4Q0gts2cCgz45Fwp for ; Mon, 17 Apr 2023 21:59:17 +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 4Q0gtr2VmYz3s9s for ; Mon, 17 Apr 2023 21:59:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681768756; 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=AE2kvyc1um0wK9lJnaEAF+/0xNaoAclZ8x5LLHJAj3g=; b=ZaxKvOejXF02SuXu2rP7cWCQ36wDzg4qI+4EJRGBqfe9TNF5/Or5Lffd9vgMoUo4xdefdQ UxJIT5bWi6wuKnSwQzfO5Fqij4fOU1fzTh8qzLCTfEXnXswrZ6LfiQs9B534QLt8xtklDW BSGe5n16h3BiiYnbS8MQTNHexnEETrs38p59QRMwLWR443UP6yWHOJUSR6x+0L0B+TbXaT bWnGrTyHVhxwg2yjv25eqacPui1+ssVwDKcXl/L1PjtcEKbm9HkL/xOGSlijtGA+VBkAXW KKPqZjoQO+9Z9JX99Muly+KknTgQbcaSQj3XyRKck/4aHb8ZCUyRBtStsjHhtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681768756; a=rsa-sha256; cv=none; b=mPwChAkBh8ypds5/udaO7Uc4gE5RHA/bYL+xd1D9U+5+3Pn0jH9CZw0TZQdrMHMuWOLOl6 n9dzFUxVpg/qZvxnQItDPdjzcOZrZOlZY1bgHrXx5Tq3EODuBvhlAInbpuxgV8acl1wbtL QPTTAY67Pm3pogdOpAiFMKZYvsKN96AA0HC3+d7RHPAepYMrBh/PVg7rCh7jpmj15VWyQM IRWpR6r8R28+R/8AgQaDma+oKnC77oWDX99mbhN7ggBw/T4+F/dJ6dWiPAVIA046hNOTuc Ch/O6UPEuobaHBgeqONyQ/ptzFNof6UaDrY0u4wtecq2jRFDyRfNTb1NMVSxhw== 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 4Q0gtr12f6zmHd for ; Mon, 17 Apr 2023 21:59:16 +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 33HLxGca030850 for ; Mon, 17 Apr 2023 21:59:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33HLxGrQ030849 for bugs@FreeBSD.org; Mon, 17 Apr 2023 21:59:16 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 270904] Same Block Device over SATA and USB gpart(8) Broken Date: Mon, 17 Apr 2023 21:59:16 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl 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-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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270904 Bug ID: 270904 Summary: Same Block Device over SATA and USB gpart(8) Broken Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: vermaden@interia.pl Hi. While we have new and shiny FreeBSD 13.2-RELEASE it still has the same issu= e of treating THE SAME block device differently depending if its attached via SA= TA or mSATA slot and by USB adapter. # dmesg | tail (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 1= 0 00 00=20 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) (probe0:umass-sim0:0:0:0): Error 22, Unretryable error da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: Serial Number 533333474E58304A323032383735572020202020 da0: 40.000MB/s transfers da0: 238475MB (488397167 512 byte sectors) da0: quirks=3D0x2 GEOM: da0: corrupt or invalid GPT detected. GEOM: da0: GPT rejected -- may not be recoverable. # gpart show da0 gpart: No such geom: da0. This particular example is mSATA SSD attached via mSATA USB adapter to USB = 2.0 (and same results in USB 3.0/3.1 port). There is whole FreeBSD 13.1-RELEASE-p* installation on it ... and I (and ma= ny other people) able to get to its contents because of this bug. Please fix this at least for 14.0-RELEASE. Its REALLY EASY to replicate this problem. Thanks. Regards, vermaden --=20 You are receiving this mail because: You are the assignee for the bug.=