From nobody Wed Apr 10 08:58:24 2024 X-Original-To: fs@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 4VDxZ86JbHz5Gh3Q for ; Wed, 10 Apr 2024 08:58:24 +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 4VDxZ85DDPz41W4 for ; Wed, 10 Apr 2024 08:58:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712739504; a=rsa-sha256; cv=none; b=CgB0o61qfbrid/ZYoxEsbxhxaQ4+54q57aV9wTdVcw0zfQOLfdtjRAjTgELalejypwV33q MgA/k6+rCZz+CvdByRWjmUKARRtGfbZi3fuOiF0snI7cmi2ma5VR9mYgrkinZcNHKSWRcg 2au5ECkzgIA3tw1LXaWmK5UrZ10EgaU+v4Lh6x5bK2Ag9asyPMAO5QQIeuBYGakggSzPwS WEqOvu1N63HlU+oQdkyKJZOOHj638T/Chqa5+XbYWhTjSG9tXFlF21D8BeJqmvb4hpGoXP LWbJncK8hfYkGQNIjfI+qbASCx4cAyAo+H6+RXcFhrZ1rcpe2SGW8BsRxL9xLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712739504; 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=jE5EbilBC+a3Z3oJKUVRO9iZCMgnhj9SWuNmU1h6ssA=; b=slkgwB0447RSmL7kGP8Cczkq8OQlYVwTvYIegzp6nzzielcd4nFXrYPnQbEtqhDJ0x3G08 C5pQutUDFcjtyhO7RNfofZ87gNnla/EwCh95SexNoHHLrUu7ApyGu5jigfcCs0H1wiE9Qt 6gt9bchyu2RpFV/p8aDM/dXgb9sltHLYKwvV0dKfl/ky/RPork/lrl8SosgRb6LlCIcUnm 2IjcaeHl6lnYfuc2l/0+m8Eb99N4XTxTc9FvzRSfrwH8S4mGCmfUPP8Ux8/4yVxu7c1yG6 raDMmZCAEOd6U5oFNHud63CnHTjt+VO1SxDmKnbX167hQHlcpivh00IVwsKHJQ== 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 4VDxZ84gHJzWmB for ; Wed, 10 Apr 2024 08:58:24 +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 43A8wO7b006123 for ; Wed, 10 Apr 2024 08:58:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43A8wOp0006121 for fs@FreeBSD.org; Wed, 10 Apr 2024 08:58:24 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: fs@FreeBSD.org Subject: [Bug 270089] mpr: panic in mpr_complete_command during zpool import Date: Wed, 10 Apr 2024 08:58:24 +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: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dan.kotowski@a9development.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270089 --- Comment #20 from Dan Kotowski --- > Since this is on an ARM server, there may be something subtle there due t= o arm's weaker memory model than amd64 that's causing this. I don't know if it's related or not, but PCIe GPUs under Linux DRM can experience weird artifacting and tearing as a result of some sort of memory issue. The fix from the firmware developer was to reorder operations in gli= bc memcpy. > Subject: [PATCH] Aarch64: Make memcpy more compatible with device memory >=20 > For normal non-cacheable memory ACE supports 4x128 bit r/w WRAP > transfers or 1x128 bit r/w INCR transfers. By re-ordering the > stp's in memcpy / memmove we can accomodate this better without > impacting the existing code. >=20 > This fixes an issue seen on multiple Cortex-A72 SOCs when writing > directly to a PCIe memmapped frame-buffer, which resulted in > corruption. https://gist.github.com/jnettlet/f6f8b49bb7c731255c46f541f875f436 Test for framebuffer memcpy bugs: https://gist.github.com/jnettlet/80f8d09d01c0dc0ffc0122f36ed78de6 Unfortunately I lack the knowledge to know how to build a test util for FreeBSD, but I do wonder if the coherency issue on the bus is impacting my = case as well? Another user in the vendor's Discord channel recently stated that they've b= een experiencing issues with using 2x NVMe drives off of a SuperMicro bifurcated PCIe-to-NVMe adapter. And I've since been able to replicate the issues usin= g a Linux mdadm mirror as well. I have not seen panics when testing single drives, only when using pools of= 2 or more. Perhaps it only presents when there are multiple commands issued in paralle= l? > is this a zpool import from a pool that was created on another system? I have been able to reproduce with zpools from known-working systems and tr= ying to create new ones as well. --=20 You are receiving this mail because: You are the assignee for the bug.=