From nobody Mon Sep 16 01:04:37 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 4X6RX72dgqz5W1Qd for ; Mon, 16 Sep 2024 01:04:39 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6RX64MHsz4dpw for ; Mon, 16 Sep 2024 01:04:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726448678; a=rsa-sha256; cv=none; b=yz71Yx156AOn/K4M3+zPjsjMG2+pXZyr5yTj93zj1/2Z2ZgSPsmqOjbWAyUt3+3dKoxKmv Y2N/WxCc5ZhUP0vqOKU4UAJ/wy88ErcHivb4HXAtiYdt8o3OGPACHAYSFXkHIR1KmAD+zt A9hz6nX/014/KGhnav81cNmAMaKC2RI4zO6SMyjks5FysqS1IygklMAYwnS9Qm2UiTLTXz QvmDOddPDYGDpylIEngt4EBGl8YRcfeuJBgmA6zcT899fBmQL8UrBIzNx7Zs2cgbA/mhI9 ccX73TLS981RoqM6a0O2uCvTDMDELtLl5Qd5V8sklJmTrrMbQG2rDyoZye4CuA== 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=1726448678; 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=dEtBipvHSSrtosjZ3jEykO09BS+bF+G4pAicym+otY4=; b=HEIFuD4T3TFv94LhTK8Ut51+SXD4K3wZhTTuYKifHDaaCb1bo49S0coSRNG7WBnm9QY3Nx q20ga8kmVHNNLu+UWKzOO59Ut935S45Niee3AzbCiiqK26FUjphEXfJYIUj+D/g4ylowIX 9cZlPxL6Ait41NUG/EisRRn5LBfD2k10jtZuRqdhctQTl29m/rpUISUSLc9kFe/EIhfKbm qEHWqLTfegIacQ1a8+EHeHFJkkAOM1hGdSLn59JVvrFJ9zVvfrmTadUhTsgJBYpG9cl4tk mCXULRzjcevHyEP+mmGY7lz7LoQWrfv2PhlvC0/0K8ZwdRByfASr3XSGd7hN0Q== 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 4X6RX63rw3zZ5s for ; Mon, 16 Sep 2024 01:04:38 +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 48G14ct6049366 for ; Mon, 16 Sep 2024 01:04:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48G14cxq049356 for fs@FreeBSD.org; Mon, 16 Sep 2024 01:04:38 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 281524] msdosfs error over USB causes a kernel panic Date: Mon, 16 Sep 2024 01:04:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tomek@cedro.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D281524 Tomasz "CeDeROM" CEDRO changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomek@cedro.info --- Comment #1 from Tomasz "CeDeROM" CEDRO --- Does the problem occur when you use different mount_msdosfs (8) options for= the filesystem? For instance try -o longsnames/shortnames/nowin95 and/or -s / -9 flags. These embedded FAT12/16 emulation implementations are usually limited and m= ay not support all calls (i.e. metadata access). For instance some time ago I was playing with DAPLink FAT12 implementation.= . it only supported single sector due RAM limitations in MCU but was sufficient store a firmware file.. and partition table was not compatible with some FAT implementations (for instance Android always try fsck on disk attach and th= at failed).. etc etc. Are you sure nothing in the background (i.e. gvfs / file manager) tries to access the drive, write anything on it (i.e. trashbin), check metadata? Can= you try using the disk with no Xorg WM in plain terminal, mount, read files, wr= ite files, and see if that helps? Maybe this macOS / msdosfs issue is somehow related? https://github.com/adafruit/circuitpython/issues/8449 They had problems with slow writes and IO errors.. but the solution was not= to fix the CircuitPython (CP) FAT emulation implementation but the host side. Looks like something similar happens here? I am not sure but if FreeBSD msdosfs provided some sort of trace / debug it could be possible to pinpoint the issue and fix the CP? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Sep 16 20:40:04 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 4X6xcN5stbz5Wwvg for ; Mon, 16 Sep 2024 20:40:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6xcN3g6Dz45dV for ; Mon, 16 Sep 2024 20:40:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726519204; a=rsa-sha256; cv=none; b=Ya1I+WKx3TG3ccUqi9M3wByAfSMaRq4O/1TBUsuRPz0bSsGfHiGpPLXeFA18rRiFubmADF nE73ONwDZPPUoRuif9Wvk1JoqZkyP+fV5OV/NBKmzZT85j98ocMePwZRCkESc8XXHp2pwe b4z8lXtEXpaaRg5fgpD9N/H0gHCdsWSxVfbcEUyHkaK6sGVGfcEFcwVb11lkboU3Yon/7+ JrxT0oekuTFXsaZfKVe44OeWGPRgAIVT/Sm0r8qqo2WgK4PuqiB1mP2xfv9VrOJUffGFD4 FaW1oZBgsCs+76wA2nenk5uO+o57iQ+KTAIO+yJicApH4dNO5Xu9+aNqKsMBdA== 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=1726519204; 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=CGP0VMcVzCrN5fGmKHqvxdbLj2hJB4DenFGOJwpknfU=; b=Al96yr5iz9ZAOAJS33QtcmsCaL2QI5PCXZVtShH/3l0NJSbkNBJqXw0OA22oFIpxtvutCy PFlzJMAdAVUaNgY5Uih1D0KRTRHZ2rGAP3P1yoLo1vdcxp1o3q2jgIIPYUxVPReknkqVAr +ceELJ4R24K8Y10zTwQHmi6pI1VcO1BJxD8B3fakh/VD/NHOmHWMdIX/vmeGvK+OZCLFtU QleTY0juvPQeLX7HP1ZaDj2vRkcmllGr5HPtbJaL1YGbQZ2nDQX17mty2Xcu+voVtQr2IO +LaPxE5h9OfWi1Tv9GdBYf/sIvhVIS9Tai4TlbLHvYoajEjNIHubTPw3YJzsJw== 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 4X6xcN347Qz18PC for ; Mon, 16 Sep 2024 20:40:04 +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 48GKe4BO097414 for ; Mon, 16 Sep 2024 20:40:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48GKe4Ss097413 for fs@FreeBSD.org; Mon, 16 Sep 2024 20:40:04 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 281520] zfs panic: VERIFY(!txg_list_member(&vd->vdev_ms_list, msp, t)) failed after install Date: Mon, 16 Sep 2024 20:40:04 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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=3D281520 Dave Cottlehuber changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #1 from Dave Cottlehuber --- I cannot reproduce this in qemu arm64, but made some progress on the OCI Am= pere Altra VMs: - this issue has been around for a while, last 2 zfs merges do not appear to prevent the post-reboot panic ## working around the panic - it is not sufficient just to wait 500 seconds - nor is it enough to do some zfs & zpool transactions like bectl create/activate/destroy - but unpacking e.g. base.txz into a temporary dataset *is* enough I will pull down a borked zpool for reference --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Sep 16 20:58:44 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 4X6y1w5Jr6z5X0Md for ; Mon, 16 Sep 2024 20:58:44 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6y1w3wvxz47qj for ; Mon, 16 Sep 2024 20:58:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726520324; a=rsa-sha256; cv=none; b=D3pXCQz7+kSqlQghV8PQDSFvOWfWhOo7l36aIL0JE8cJ9kR2D/HJ7cmwTvmk16g2ab4c53 dhUwOL9AF+67h4NUGaO1MAmXLdX+C6uN5FHA6VDTpyk3XONbDKmoeL/Z46FkLgJ7hbfy08 fGWlgxsqnXBh44518IrAoH6sXJpbP9jDDc1r0hJcT6sGElZNHlr4vWaZc0nVCEdermuFkL YI1MBKd/Sw82Njk/mwIZKuLWf7xXuO6CQ/zTS+nUs3sjgsS9jOexO2K5jGI0K34VKSRdSB jC2dOZhp5NdWoaW/EdEDuRc2RlX59CKUleo+DWBnUvQ50D8bhcdBQ48xRjRmsg== 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=1726520324; 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=ilvMg2fWf5Njztgg59/6xQcTVQ7pKavriKKornDdjMM=; b=mjqJ/343eTPx4RboSlLKJhxaIjHtQF0kkls/adT8dyb546b25tLAg0vOOGtscwHsXNNvsg HgAiuLfLsT46IW/y+hcKSKNPioIOMShi51+AFJklOTO4rdB6kfvQv7sXLFIuI2z8iDI3JZ fH+3OcBBF+c266ShWSfjRV1+7oKA0OWSJGps2+rNHX2MJdbfT6jnGru8zuKooydNFSZiFC YlP6er+K9JtKUVdklUXUZ7asjx2UvmDpsE6HeO2UCH5TuWsmDu8tjZJc3OAI/gotW7028o VGUSQ5QkO4fDgLxFg/AbUjgR5ysmp1Kl552kxCPPOv7Mi4Esgzyn4P7aDRg3CA== 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 4X6y1w3Qmnz18QL for ; Mon, 16 Sep 2024 20:58: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 48GKwiLS027168 for ; Mon, 16 Sep 2024 20:58:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48GKwip8027167 for fs@FreeBSD.org; Mon, 16 Sep 2024 20:58: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: fs@FreeBSD.org Subject: [Bug 281520] zfs panic: VERIFY(!txg_list_member(&vd->vdev_ms_list, msp, t)) failed after install Date: Mon, 16 Sep 2024 20:58: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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D281520 --- Comment #2 from Dave Cottlehuber --- Created attachment 253610 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D253610&action= =3Dedit dmesg + early boot console --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Sep 16 22:31:16 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 4X704j0v0Pz5W11Y for ; Mon, 16 Sep 2024 22:31: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X704h3V4Zz4Nb7 for ; Mon, 16 Sep 2024 22:31:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726525876; a=rsa-sha256; cv=none; b=j6aZdxGuvTqnLxvpOHlBwpwIn1zAl3AbQIbh0fuVkKks+OwGk6Vnc8liwHiQcjy9Pq1Dus djw1qIXBgi3AN0QkSqps8sI19rNJx0yYkwaDpO7sWNvirksVFxnniir1s5GpYvofVecHFX PIjrtfgRDJrVlY0++S4Avxo43cANYNp95R78Llr+C3Aia01F8hZUbSrmljSonHdVKCbd6A lEUl4iwrn2xScXLavofYnxtmri9hkxZEddSkmx1Kk0OTZNCmeC0axFA6rCV+9WX/uP1vOd bbuoxf7oZ0Li/r/inXNBbDcmfQIaZmujAsHpBqlwu8maqd5w9Xvuc0LPwVUR9w== 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=1726525876; 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=NHnyatwbt9iAMYlmuKeizI1+QlYk3cqI4OdhYoEMdtA=; b=ByKa6WUgDpymXO/mwVP3p0ze4v/0h8IcY2BWO+1wj2SMdDCkiJA7zoniS4GiBaR9lUFQQO XScRRgH6AT1qulQhH700rUahVVbnuX31BAKRLBVOFxGBu6YOwiY/0QJMahn9/UlWkLCcnc EqeTNLJiyJhLjXpfdxFj/NcnkxX1XDAIuOWF+rNMYopdcffKy2zV6EgUOZSWGO0A0pHo9X abE82MAS70m5gFjKpqsO11W960j8zkDXjdBNG6HhBP0JOJ9hDkzsZEMCIhZwoBYGqqGmnV sMbLfJXkGs5m7l7SVdUMgaYRE7ek6oBntkmxE5saQK1AmGluBF7FWP/zGEE+mg== 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 4X704h36D9z1CRP for ; Mon, 16 Sep 2024 22:31: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 48GMVGrf081228 for ; Mon, 16 Sep 2024 22:31:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48GMVGD3081227 for fs@FreeBSD.org; Mon, 16 Sep 2024 22:31: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: fs@FreeBSD.org Subject: [Bug 281524] msdosfs error over USB causes a kernel panic Date: Mon, 16 Sep 2024 22:31:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: carlj@peak.org X-Bugzilla-Status: New 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=3D281524 --- Comment #2 from carlj@peak.org --- (In reply to Tomasz "CeDeROM" CEDRO from comment #1) I tried it with the -9 option and couldn't get it to panic. I then went ba= ck to without it and tried to verify that it still would panic, but it didn't panic. I tried various other things that I had done and still couldn't get= it to panic. That included mounting it with -r which didn't allow changes, so then I did a 'mount -uw' while I was in /mnt and mv'ed the file, but that s= till didn't panic it. I also tried unplugging it while it was still mounted, but even that didn't cause a panic. In that case I did have to umount/mount to= see any changes, which I would expect. In summary, I haven't been able to repe= at the original problem, so unless somebody can see something in the core.txt = it looks like this report should be closed. I won't do that yet to see if any= body thinks that it should be kept open. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Sep 16 23:19:18 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 4X71865tdfz5WP4S for ; Mon, 16 Sep 2024 23:19:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X718647gMz4Xyk for ; Mon, 16 Sep 2024 23:19:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726528758; a=rsa-sha256; cv=none; b=n6deUmze5SkX3/lt46dkleVUUV2zWD1w7U17oPG79YKoIkyQjv/nUsfSdeRHA7H+Q272HG wgZ/MKlBhcxAKrgLUgFztuw9DzYe/jdqWOYi1/w6Xzx/5kgZaeKd/Q6TLznCaaF159BbKg 0zG/av4fJjOXYxA22OdXnA/MzL1FeoacWv+S6kSsfGqjaMP4UEokNHpfzIaO9SV6q1Wu1G sYDrYhHwBm5Z0ytR5Q+hofQDCHfwq97wbf016KjOUtrBr+8xe7NfV7E0hhdDLbkryfSBzx gCxHMcD6IC7K2ZdCYOBB0pdthtpsWRraBcD2PwzIwWp7q6fVPb1yuZGjefgAUA== 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=1726528758; 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=8pNceTdENpTqVyDlcapXfFAMV3yDJCcwah4LE7+hl3E=; b=DE30SbzqxLHhnOQ2kIqNz7LD7WUr0MDQ02JfWbttUu/l0PtXuZymT9Cc1ZPxDH3rUVDgTh bdKiX4ynGiTyc/59/bhU7kBzjpuQmyDf1W1c+/32B3IWBfQTtlS2kvbYdIiCn2BnBDWKeW uyiRPoVTwxN1qVOH8UD09Ge6nrTCU+XRAqpZstEGOXx3zZjCITWbH9MSkdvn9ti2lWBLUj kOM09k20+w39jIkM3Mq8yLVQ9HOOK6G8+CPR/pp2tZIZ1qnBupSLaHNadM4h+jGTnAR8wV /jCSk4EQn4+ebC8DLj4s/iUd4mCrc1F9IQPv9leLOmmjdepjqoPE/WxKVkdPgg== 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 4X71863dRZz1CmG for ; Mon, 16 Sep 2024 23:19:18 +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 48GNJICg054319 for ; Mon, 16 Sep 2024 23:19:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48GNJI0j054318 for fs@FreeBSD.org; Mon, 16 Sep 2024 23:19:18 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 281524] msdosfs error over USB causes a kernel panic Date: Mon, 16 Sep 2024 23:19:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tomek@cedro.info X-Bugzilla-Status: New 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=3D281524 --- Comment #3 from Tomasz "CeDeROM" CEDRO --- Thanks Carl, good to hear a temporary solution was found :-) The problem is still here, and FreeBSD should handle it gracefully, so the = fix is needed :-) I would also suggest reporting an issue on CP GitHub - as you have the devi= ce you have the details to fill in the report - you can point the problem is somewhere around Win95 extended attributes. https://github.com/adafruit/circuitpython/issues Someone with a JTAG/SWD debug probe attached to the rPI with CP running and mounted on FreeBSD should catch the problem in the CP firmware. I don't have that board sorry but I guess out of bounds memory write happens causing boa= rd panic and then BSD host panic. This is interesting to verify BSD msdosfs / = fs driver cannot be manipulated by forged FAT device. One more question - just to eliminate some "background writes" - no problem occurred in terminal with no Xorg or you were working on the Xorg desktop? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 17 03:52:54 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 4X77Cq1YKNz5W1bc for ; Tue, 17 Sep 2024 03:52:55 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X77Cp43D1z4GS1 for ; Tue, 17 Sep 2024 03:52:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726545174; a=rsa-sha256; cv=none; b=QKnygVA9mQ8ypeeDEiyMuF2o6L+uMTLKLXBGvFWVvXISjTCeyfLvjKMZq8BILDKduHH0IC 1fKK6tymmem5GtaXsc4y7SDje9yLOlILHG68Mb645pCuPJVmOpjLtuo55bZX4r6bAwuptu SD0TTx3TYVyq+Hm8ErrsrSPXmFipTsPtHg3pcuV/YFPKlIi7fOnNC+Vp8Ev5AoV7Wml0+1 Y+7V+tdu7YHq/b+BfpLVy6Hjar5a/YLujBUen/o1eRh9qXjHKXSWcb3tKogTMAg1vpN5+n l5jwDiKKql+Wy/m5vHlTYq89jj9XC9q1WzCnWRjciFsXcAir77wFLOVvnnIR1g== 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=1726545174; 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=N/ZUhxUXq4XLhFv2Sf5b6mea4GOzrxgAAUAoLXlOgGk=; b=VbH6TRQ3DkT3w00whPP166GS7SY20m03I3FuB+GWTmbXnLwcSjjjbXUeHCZiPuysGda/gJ Q9Sfx41Lx1WXEZ6l/kDbnkU1Zz3izpT18f3XVbBCkFyyVs8wjfFvNbjf9odq0nZBaXFYWX jp7Pd0Zqbm2N9rD5jmgbQJrU9+ost0a6xZ/0FgxgHiZbEFb1HgCZedZFZw1inzRmSrrOS8 kQKsYHS3r0bm6YB+TbqjkpuWDUkc0uyv4wgS6d8dEyrGJsL6QzmGLJ9GDsG+xRMPyNvLFI WWLcGnVK/cjemt0UeUrrCnxuqGujYelMgxnvHZXSmBTIAT5qf99eVEaOxpKtMg== 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 4X77Cp1fCkzN4X for ; Tue, 17 Sep 2024 03:52:54 +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 48H3qsEN011031 for ; Tue, 17 Sep 2024 03:52:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48H3qs8a011030 for fs@FreeBSD.org; Tue, 17 Sep 2024 03:52:54 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 281524] msdosfs error over USB causes a kernel panic Date: Tue, 17 Sep 2024 03:52:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: carlj@peak.org X-Bugzilla-Status: New 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=3D281524 --- Comment #4 from carlj@peak.org --- (In reply to Tomasz "CeDeROM" CEDRO from comment #3) Sorry I wasn't clear enough, but I haven't actually found a fix because I c= an't get the original problem to repeat. I had just tested with the -9 option a= nd it worked, so then I went back without the -9 option and it still worked. I then went back and tried with everything I could think of that might have caused the original panic but I couldn't get the system to panic again, sti= ll without the -9 option. You also asked if Xorg was involved, and it probably wasn't. I did everyth= ing from the command line, but it was inside of xfce4-terminal. So Xorg is run= ning but I don't think that it should be involved in command line work from a terminal. Xfce does have gvfs running, but I have never seen any evidence = that it messes with anything that I do. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 17 07:29:21 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 4X7D1Z2g62z5WfTZ for ; Tue, 17 Sep 2024 07:29:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7D1Z1f2Cz4j0S for ; Tue, 17 Sep 2024 07:29:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726558162; a=rsa-sha256; cv=none; b=t/maS8qDYCXdLoDoEEzOXF8wV53tTepswVxdvqlWxccGMx3W4KY+EoGVMvYAWGK/0ZQzYZ YSzSiiBvIM8Fy9EePwca9OMVDlRvGDcdN6RnOz0VIK2vcHlwqrUGysUDJjJpSQbCY7G/yY nLbeLfBXVJQjKtyTMlr/Jd9fZPsTqE5TGJrFUxVD0KLfAjKHc9CRXi7AkiMOPEQQxTQtzi eCYuYGvRcYB3YAOK29g6HlOAxh9jYIrlMZ8wAQFwCAdEM/seATZoACTa2nZIyNq8Q6TCxz pVRQ3KGB0UMPxpk3XZJREo7uFwesk3by5LOxQmAs5WNHwD6UmgqOo9VG8Jp5+Q== 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=1726558162; 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=boJ5XwV94r75meQEsDw8o8uS4qhdQBGI3jOtinKmhs0=; b=P2ESiuhBNIhAkPLdV2H0rdtWOzLLQUZXhIX7hFZGNsiELS8Hj6P8KriqLoaStagFCMjwBS OwIHZIM6PYpm18f/R/ao+5Pbrf5X7Znj6Jp1XshbHhVMJkLVgJKs2nwVXO0tolXjiGzNQX TTPWnZHETLdKBK/3sC0YHNsUqyZ1ezlO9TQ4UZRnPWHOJWFm7s+TFCQW5njKNYRBcPhM1Z 3p/hQhOMHI1Qy3v+cfPOWVodAJvxreZmF+nX4/b8Q+PH/ehxHA3BMI35QqE/OFuxInvq8Z EldzzQKoXGF0sgknR2jOFPR/x9YipDF9dLH+O0Q70QM2f8TzC/63ww59Y7lRTA== 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 4X7D1Z18TJzTCm for ; Tue, 17 Sep 2024 07:29:22 +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 48H7TMBK077570 for ; Tue, 17 Sep 2024 07:29:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48H7TMEC077569 for fs@FreeBSD.org; Tue, 17 Sep 2024 07:29:22 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 251610] rc.d/zpool runs before ada(4) attaches Date: Tue, 17 Sep 2024 07:29:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bugzilla.freebsd@omnilan.de X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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=3D251610 Harald Schmalzbauer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|Open |Closed --- Comment #8 from Harald Schmalzbauer --- This is PR obsolete, see d878a66a9a, PR: 242189 Closing --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Sep 17 12:33:08 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 4X7Lm41lGPz59H0W for ; Tue, 17 Sep 2024 12:33:08 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7Lm374Jgz4RWQ for ; Tue, 17 Sep 2024 12:33:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726576388; a=rsa-sha256; cv=none; b=qvx6nTdvgDzdUlAl2a/K8OuYUq9/H4/eQgj+pS7j8xpZgzIFqw0utnF/sEsZ3aJ6WMgKpH ULWMYvwg7hyWPTAB/t6zlqeeGI4hRs8iEHdQAIi2rdEh8F+8U+/lfMYPaChwklxEJVpHgI Pfma8ij12baT8BwP1azIuWnNsbWPEq65P3wkxquYdWyRXqy3GHp/D5DiwLYNwz7btK4gqN 88kpr1rrCEwFeim+OyVpWS6j8DarFRJeI8rqUPiWdIdVkyITyJMDZFMpNmFyU+sb+Won5l t2xXufwaO+rXZMiYkF52tr1BbUvFRLb11SmqCw+vWPPdnBs6C0Cdb2qzGo6zAw== 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=1726576388; 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=zidaWunSB2yto94IFap6JYDBCFuG/3GHaX38btIpB1I=; b=rZ3eYii4n1rmYMqUh9SLk1Bw1CVSkkDclZd618q8KR90NCJYyc72UeBjJMm9YIvENtP0Jc EE3NHsnqv9OiDkDqyk/z6ixFUPD1dePnjxfRA9RVqgsIyauE2TQd7z91MnrbiYr7tzmzrm 8RkjQc2p22P7TtSyAMQl64Egms9p+dtl1VZ/rpbj5WprqGirQU4GMqoUxDze0GU9AZ/d5t H2WT2f/xeN1L8w6VZSK3opWN/Q6l5rvbbDLvbS7vbeaNJdfvp6p2U2TToXRxyl3Wgf5Jey qcX2cIyjECxvd5blvcK9QDT8M+IaNhBZ78J0ilooENX80zmjoZb67C0fjCQY1A== 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 4X7Lm36MxZzf6N for ; Tue, 17 Sep 2024 12:33:07 +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 48HCX7AI096661 for ; Tue, 17 Sep 2024 12:33:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48HCX7Fh096660 for fs@FreeBSD.org; Tue, 17 Sep 2024 12:33:07 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 281520] zfs panic: VERIFY(!txg_list_member(&vd->vdev_ms_list, msp, t)) failed after install Date: Tue, 17 Sep 2024 12:33:08 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status bug_file_loc 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=3D281520 Dave Cottlehuber changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress URL| |https://skunkwerks.at/~dch/ | |OpenZFS/borked-PR281520.zpo | |ol.qcow2.xz --- Comment #3 from Dave Cottlehuber --- I added the post-corruption zpool here, reminder it's an arm64 boot image t= hat I see this assert on. https://skunkwerks.at/~dch/OpenZFS/borked-PR281520.zpool.qcow2.xz #openzfs irc commented: i would suggest doing, is setting compatibility=3D and doing zpool upgrade = with different featuresets to narrow down what state might be going or just back= ing up the cloud disk images before first boot so you can compare on disk state when it worked and didn't it doesn't seem to easily reproduce, but something to keep in mind, the VER= IFY that's tripping is an ASSERT, so it won't trigger on non-debug builds but i can't immediately obviously reproduce it on my pi 4 something that would be useful, is if you can try only enabling spacemap_v2= or log_spacemap, rather than just zpool upgrade -a and then seeing if it still breaks. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 17 12:41:17 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 4X7LxV5w5nz59JnT for ; Tue, 17 Sep 2024 12:41:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7LxT1D5bz4THV for ; Tue, 17 Sep 2024 12:41:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726576877; a=rsa-sha256; cv=none; b=LiP7pJrWIBKtBxyAvNLf9ZlA5nArHIxHha4jXWkiYxglSNfwzVvNYyugCztAR4YTHw39XU AVTLt7PpSKQJ2OU4FwP86rG2eipCHCc+lW4qA6SIugwsag6vZx5osmKMoW44Zw7xW0w72I p9lNwMXV3sfFAtAy26wkltmJC0yi0KMKmMD4ZUBn5UOVxTxubhJ85oq3J9F+Tyl5mnuB68 J16GvrWQ7v17ePAnGWkOTJRRVwwRMvTe0GCKKIfb97MFgQknbHeaXxOHw7MeyNEcwiVHYD PevJuLrhftcK2pt/vCyrt8D6FfN3ikBhOg95Gw6WHBBURJjLryIFnQukBWM8ow== 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=1726576877; 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=mfKS4kvTq8ynCHg7fd79EzFOTwJ+jngK0FTCj0EPC4Y=; b=AfmKrjXWX2L2OpBZICwbZb98gP8RNDEZkd3BPIfQntF50c8/JcQNb05SVcwGd9rG+H69yj 5kJaMgjTyWEpowUVX5MLVaPWzbpPBW1p/rxRFTGRf+eyLAPtvzzFSsiil1VTkVBCzMkhL+ 2xweUe5VTAasrqdpgT1EEUIk2ICpl2UW+6CjF1Y06ni8WsGqVh9Lr30OHIrETIe3t1uOq9 qEeoC5/SDIjlyAwu0n4cbqJOL16Pn0TTYtIrL4VcZmzRsRN99gq2ED4NCkOeKniQH9Z24X XLvaz1DTpSOHfLBDJB4tOAwDtb0msF3IWT3Kk5MGGvdCQCNGADzWJqTYSghgAg== 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 4X7LxT0qv9zf8l for ; Tue, 17 Sep 2024 12:41:17 +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 48HCfHAJ006770 for ; Tue, 17 Sep 2024 12:41:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48HCfHSv006769 for fs@FreeBSD.org; Tue, 17 Sep 2024 12:41:17 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 281520] zfs panic: VERIFY(!txg_list_member(&vd->vdev_ms_list, msp, t)) failed after install Date: Tue, 17 Sep 2024 12:41:17 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: In Progress 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=3D281520 --- Comment #4 from Dave Cottlehuber --- how is this built? - from existing 15.0-CURRENT arm64 box (should work from 14.1-RELEASE too b= ut I am on current here) - the steps below should also be usable on amd64 FreeBSD if that helps, it = will still produce the correct arm64 image - clone https://git.sr.ht/~dch/src main branch, into /usr/src, - switch to commit #f7639cff05f63cfe38532bd70e33a890e1fe6b53 - run as root # export SRCCONF=3D/dev/null # export SRC_ENV_CONF=3D/dev/null # make -j2C buildworld TARGET_ARCH=3Daarch64 TARGET=3Darm64 -s # make -j2C buildkernel TARGET_ARCH=3Daarch64 TARGET=3Darm64 KERNCONF=3DGEN= ERIC -s # cd ./release # make -j2C clean # make -DNOPORTS -DNOSRC \ WITHOUT_DEBUG_FILES=3DYES WITHOUT_KERNEL_SYMBOLS=3DYES \ WITHOUT_LIB32=3DYES WITHOUT_TESTS=3DYES \ KERNCONF=3DGENERIC \ TARGET_ARCH=3Daarch64 TARGET=3Darm64 \ WITH_CLOUDWARE=3Dyes \ CLOUDWARE=3DOCI -s cloudware-release there is now a /usr/obj/projects/oci/14.1-RELEASE/arm64.aarch64/release/oci.zfs.raw this file is converted to qemu for compression, before cloud upload qemu-img convert -S 512b -p -O qcow2 -c -o compression_type=3Dzstd \ /usr/obj/projects/oci/14.1-RELEASE/arm64.aarch64/release/oci.zfs.raw \ /tmp/oci.zfs.qcow2 I tested this (without seeing the same problem) via qemu on a fast amd64: $ qemu-system-aarch64 \ -m 4096M -cpu cortex-a57 -smp cores=3D4 -M virt -nodefaults \ -bios edk2-aarch64-code.fd \ -serial telnet::4444,server \ -nographic -monitor none -vga none \ -object rng-random,id=3Drng0,filename=3D/dev/urandom -device virtio-rng-pci,rng=3Drng0 \ -rtc base=3Dutc \ -drive if=3Dnone,file=3D/tmp/FreeBSD-15.0-CURRENT-arm64-aarch64-20240916-f7639cf-z= fs.qcow2,id=3Dhd0 \ -device virtio-blk-device,drive=3Dhd0 \ -snapshot --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 17 20:12:23 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 4X7Xy00vTCz5VqGJ for ; Tue, 17 Sep 2024 20:12: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7Xxz3GV5z471s for ; Tue, 17 Sep 2024 20:12:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726603943; a=rsa-sha256; cv=none; b=x1HpdF0tj0jWncvHZiYHyx1mgt5MgdA1YPFWrW4eUWwMst+Mo8J990Hs+Q/t1vTpHmBwnq WuB+jViYkTQNYxdSUGHWAuR/mIaeKVi37AqRooOhRj1iSQKQo6ueVulipmr68EjFmMiMRJ cGs6BDbQ5n8iMnajMGcg3uirIIYYFK/mNxMysU3BXd8W2/UP8g1OYtByYcQL6IhseJO2yb mE+MUCZh5hAE903m7xMzwF6INxInu0I85yLihMPURo00hpq3u6wAaVvAq3adZ+zY+915IQ 7IGAc13Ai9r3j28nwP84NRgLCC6KC4z4ekyj3qRb4ozLoZlGWD9i+6SyIxnSVg== 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=1726603943; 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=txIqJz8Ot2Ccr3aJu0ExAlJfDNXP9gyOmyQiMuLkxX4=; b=laRZ64lXd9ZY/0Vfgg32z4Hz82DAvzuVXWyhyIb34eeEnvG0n4ms07tFGouHzMBZ9VTC7d sgWniNiBxypoi4G8JdsuhaeHKwSBGV2qM9P1+UjsaTQ0AAFLKYo83vldZR5ykXSXXtVczG nNEEpoPk+a5LEZl08BXV0L5ukujIo3Av8QhFasPQHKhDEUUtYPaHj04x9pkWxs2b4a2rtb ZMUWWKRNu7lZL6oloYf9fpTaHWXliR7jYdmrOkORDmpGDbVDsMsd7umZaZGCnGLfO+Ea3b 3v6fL4avtY5Wr10tA8g1Vhie0IGG6Tx5bEfJmDf1/H3lit5K6Wn/gH27I5TbWQ== 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 4X7Xxz2sctzs6S for ; Tue, 17 Sep 2024 20:12:23 +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 48HKCNtq087289 for ; Tue, 17 Sep 2024 20:12:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48HKCNNJ087288 for fs@FreeBSD.org; Tue, 17 Sep 2024 20:12:23 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 281520] zfs panic: VERIFY(!txg_list_member(&vd->vdev_ms_list, msp, t)) failed after install Date: Tue, 17 Sep 2024 20:12:23 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: In Progress 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=3D281520 --- Comment #5 from Dave Cottlehuber --- NB the original qcow2 image (before corruption occurs) is here: https://skunkwerks.at/~dch/OpenZFS/FreeBSD-15.0-CURRENT-arm64-aarch64-20240= 916-f7639cf-zfs.qcow2 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 17 21:04:26 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 4X7Z631l2Pz5VxGF for ; Tue, 17 Sep 2024 21:04:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7Z630NSCz4Fpv for ; Tue, 17 Sep 2024 21:04:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726607067; a=rsa-sha256; cv=none; b=n7GauypVsVsx+CqUW201/150opSBYw7i+b/n+NaTvCx4EUkhSN/irVMKetmz3Ed5bEYRGs IPE80LQ3JSL0RkYyEburwnCKzMF3m70MlvFXS7DQCh5E/I3EIAeF82kSp5JIU4ZzDdDr2I +2G4wP6KPN5lc64G9ONAWnOJav59p4f9/bYL3QO2eu8dZVjiTAPGONpLguDH2mvZNDZWem vgN+TUzrCJoWHPnOFHBB2cVenHByWrPhaXkhNYbYvkbl+J+3UcJNo8Rmqvw+f4QmS4VjLd lC3M7mhvGGHubH2qmlC/TTx3BE0LRE0eeXkugg7AfFlqR3taKOgQE/BHh+l8/Q== 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=1726607067; 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=Ov+7w2kHN9oc/P1ygvsoULIPB0R/H/LSl7UxoJY+iy4=; b=sOJTDAK2BOFAHd843gqoGaCRYwIz7N+//PBoD7RVeW/wUspgupTefcsQCP87KAXfX1xQZW I22D3N6fHik2LHRTQFAHqd89R9VEqQOKh0tgA6KI426b/DkjXad/nu1MzL+Pl0fZ/cKwG0 Re7HB2baLwOGhm+qQ5uBbcSitrdUU+2wY72NMIY5J5XvFJ8KURHRTFgN0jkptcfUsMiFSK oNy5dFgvfeBXkm5Zq9KmWNK+kK8wBVIibYcZmeCCu7KX/FyKv50xTEjOM54W6norZlT7fm MTOW31HLrt+X2V4cibRMwcClOaMqzrzcHEWw5LGvBub1I/ERtD4x6bpUWunY1w== 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 4X7Z626hjGztqZ for ; Tue, 17 Sep 2024 21:04: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 48HL4Qir070902 for ; Tue, 17 Sep 2024 21:04:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48HL4QG9070901 for fs@FreeBSD.org; Tue, 17 Sep 2024 21:04: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: fs@FreeBSD.org Subject: [Bug 281524] msdosfs error over USB causes a kernel panic Date: Tue, 17 Sep 2024 21:04:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: carlj@peak.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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=3D281524 carlj@peak.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Unable to Reproduce Status|New |Closed --- Comment #5 from carlj@peak.org --- I haven't been able to reproduce the problem lately, so I am closing it now. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 17 23:32:29 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 4X7dNt4D5gz5WJWZ for ; Tue, 17 Sep 2024 23:32:30 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7dNt2khgz4Tk0 for ; Tue, 17 Sep 2024 23:32:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726615950; a=rsa-sha256; cv=none; b=pmPfD02fO/26wg+HAanJ5wvx4tVbcJCD9A4oZAY+e7gwZRkR9RO2jZSV4PKRaKFX/kIuHs wtj77FUwXsZagxrNHXitUMHl68YIwOJBMfIsyzPPNcR31Qzs+vk37hhKAgWRImZ4YrpCTU W7VDraHQHPaPk7kf3VWbkNUQ45l7iMjCS66CD/4q7AI8LtUlV3dd5V2Mtj34ZcgSax/WRE xvgQkFSOkk4Oz+CPl1vh0y6wWxT02dT/DKAwh/Ym1eYdpjF7vOqiuit/7OQ0mNEspd+pii UUWA5REB1jPi3OwqVT91xVRviZP6ETAHD5kz8a9GJiuUYojCgC91lEnlq1CdXA== 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=1726615950; 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=L2yFrajJezqbbhBXQO9Kk12CKEsbcr4rvltc9lVawlQ=; b=WT4JWzfuVdoYLLwF/p/Don6o68rsac8PLfXHN70Azir8yY55/+qfWbH4rS8MWmm7kjyA3+ 1NXXpMz+8bkVJLoBw6sFXiINc8ATE9q8xKG0UUM5QOFrtJQEzAeW2B2mCq+HshJ7GeCLpD 0YjU86nERl0VUKvJYGE+n9OHu16y6t5rAHiw+nZtiZhKIM3cJ/vZQ5M5/NA8frzV/C2X/D 5G6QRE+O5wCCh4HRzK5SUfUAIgtMkC+QuzZfoX6r3tDBjbxWtFAsNY/LSzC8s+AorbDKrD Olqv8as1cOhrYkHP/DEvbTREPkQZJpHqprmfBOyTul99aDyeqcJvusyCkHIgxg== 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 4X7dNt249SzyG6 for ; Tue, 17 Sep 2024 23:32:30 +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 48HNWUWi021167 for ; Tue, 17 Sep 2024 23:32:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48HNWUZp021166 for fs@FreeBSD.org; Tue, 17 Sep 2024 23:32:30 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 281524] msdosfs error over USB causes a kernel panic Date: Tue, 17 Sep 2024 23:32:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: delphij@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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=3D281524 Xin LI changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Closed |Open CC| |delphij@FreeBSD.org Resolution|Unable to Reproduce |--- --- Comment #6 from Xin LI --- I think it's reasonable to expect that the system to not panic (at least, n= ot to panic with a NULL pointer deference) when hardware fails, in this partic= ular case it appears that fsync() decided to give up, but it did not done so gracefully (and should), I think this is suggesting that there was a bug th= at should be fixed: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 00 00 06 00 00 01 00=20 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: DATA PROTECT asc:27,0 (Write protected) (da0:umass-sim0:0:0:0): Info: 0 (da0:umass-sim0:0:0:0): Error 13, Unretryable error g_vfs_done():da0s1[WRITE(offset=3D2560, length=3D512)]error =3D 13 (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 00 00 06 00 00 01 00=20 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: DATA PROTECT asc:27,0 (Write protected) (da0:umass-sim0:0:0:0): Info: 0 (da0:umass-sim0:0:0:0): Error 13, Unretryable error g_vfs_done():da0s1[WRITE(offset=3D2560, length=3D512)]error =3D 13 (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 00 00 06 00 00 01 00=20 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: DATA PROTECT asc:27,0 (Write protected) (da0:umass-sim0:0:0:0): Info: 0 (da0:umass-sim0:0:0:0): Error 13, Unretryable error g_vfs_done():da0s1[WRITE(offset=3D2560, length=3D512)]error =3D 13 fsync: giving up on dirty (error =3D 13) 0xfffff80246d73e00: type VCHR state VSTATE_CONSTRUCTED op 0xffffffff818abe28 usecount 1, writecount 0, refcount 8 seqc users 0 rdev 0xfffff800066790= 00 hold count flags () flags () v_object 0xfffff800210e9840 ref 0 pages 5 cleanbuf 5 dirtybuf 1 lock type mntfs: EXCL by thread 0xfffff802183f5000 (pid 2401, umount, t= id 102536) Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x1000102a4 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80a75445 stack pointer =3D 0x28:0xfffffe016bd30a20 frame pointer =3D 0x28:0xfffffe016bd30a40 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 2401 (umount) rdi: fffff80246d73ee0 rsi: fffffe0017e2dbe0 rdx: 0000000000000000 rcx: ffffffffffffffe0 r8: fffffe000fe19420 r9: 0000000000000005 rax: 0000000100010204 rbx: fffffe0017e2dbe0 rbp: fffffe016bd30a40 r10: 0000000000000005 r11: fffff800038cb000 r12: 00000000a00010a4 r13: 0000000000000000 r14: fffff80246d73e00 r15: 0000000000000000 trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1726433998 KDB: stack backtrace: #0 0xffffffff80b7fefd at kdb_backtrace+0x5d #1 0xffffffff80b32bd1 at vpanic+0x131 #2 0xffffffff80b32a93 at panic+0x43 #3 0xffffffff8100091b at trap_fatal+0x40b #4 0xffffffff81000966 at trap_pfault+0x46 #5 0xffffffff80fd6d48 at calltrap+0x8 #6 0xffffffff80bedfda at bufwrite+0x1da #7 0xffffffff80c310b0 at vn_fsync_buf+0x230 #8 0xffffffff80bee16b at bufsync+0x3b #9 0xffffffff80c14e7f at bufobj_invalbuf+0x19f #10 0xffffffff80c17e9e at vgonel+0x26e #11 0xffffffff80c183b1 at vgone+0x31 #12 0xffffffff809c370e at mntfs_freevp+0xe #13 0xffffffff809ca05e at msdosfs_unmount+0x1de #14 0xffffffff80c0cb67 at dounmount+0x787 #15 0xffffffff80c0c375 at kern_unmount+0x2f5 #16 0xffffffff810011c0 at amd64_syscall+0x100 #17 0xffffffff80fd765b at fast_syscall_common+0xf8 Uptime: 37m28s Dumping 880 out of 14229 MB:..2%..11%..22%..31%..42%..51%..62%..71%..82%..9= 1% --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 18 10:30:20 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 4X7vzw51p5z5VhhR for ; Wed, 18 Sep 2024 10:30:20 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7vzw2HLfz4j5x for ; Wed, 18 Sep 2024 10:30:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726655420; a=rsa-sha256; cv=none; b=uWwkOXn2JJdf7zOEcuAq6v2CN7k+8/cgm+CqJyQsMefA0GHkvsUeiwbaRnPZ+0IQxJ31cD J3qCAs+YSYXAQc7+YiiEIChdrsPiYj/vuluceRN9z71CFU3oNid+IvvqHLo4czZZ/+wtd3 9iKzsl3S/MJPykDKEr9SHhBbFSxEucKzLobDAqg43dGhyaS/NM14PXTlhUX6MltlxgtrEH OfR84hNzV4TYNsOHtw0nPYjvWSwRYrKg4d8J+XiRY6C8lkt+9f9Nv7XQC1nt4TF2lPj+04 SbLarznHqbGYdqL8igsbX0/u4YZ4FSfcIqCP6P6VVUHJUQW+E7OnPGG2+IsURw== 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=1726655420; 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=FVCZ/DSoK8N7DPM1KPt71YHn3YnpR7QgkZXPGsFxmT0=; b=VDTDLOk+FY8b750oyJZD9vx8sYss7XVpdTQzjKLJI9pj3AgihElrROijkAUxbXUQoUiv9f loMJYiEhwBU78Txz8p6rWd3ut9M/24qH3Qyrf/6F8Z7jEGTfDXRZzi6okp3XnKgDtplgaW YivkaZTVmcPdLxyFjiYODlLVLF6BMphzF4bv4t8SI7be4XN7jYdIZkhcOb1oJrG16YZGy9 M40vAJ02SXVaWHJ+3JV7D4q96wwqXML89gcbO+2Fol3i7Iv1IP+bVZ0HL+nP29HWKKnDAb 9uD3g3PkR/eb8rHe0E8d+F80cEfYj2CZ5eXdBJ1PhFUS7QEN68jNBAdiulmDBQ== 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 4X7vzw1lytzJTV for ; Wed, 18 Sep 2024 10:30:20 +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 48IAUKJ7051296 for ; Wed, 18 Sep 2024 10:30:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48IAUKx1051295 for fs@FreeBSD.org; Wed, 18 Sep 2024 10:30:20 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 281524] msdosfs error over USB causes a kernel panic Date: Wed, 18 Sep 2024 10:30:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D281524 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #7 from Konstantin Belousov --- (In reply to Xin LI from comment #6) A backtrace from vmcore, with line numbers and possibly function args, is needed to start doing meaningful analysis. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Sep 22 03:37:39 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 4XBBf01nSNz5X91Y for ; Sun, 22 Sep 2024 03:37:44 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBBf00fkmz4hmy for ; Sun, 22 Sep 2024 03:37:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726976264; a=rsa-sha256; cv=none; b=SbglfS64ePdaOiOUW9HhMF26mnpTMmdeTuDANo6rbSRgnO0sis2/YgeqSbVQnvdkqdDxwZ hlbapo5piRjFuB6Rw6D142AXpboTP3Ml0l+6B56Cxao7QgMUyF7ccU+icyU0OR+4cNbz7k QQcEwttjEYpKJBUzTvU8WR2vDS2Vz4EbrkC7bjqJENDAO7t032ECKyr5SAJUli8np5YNOi d47PMhI9CfyNW5HrZBdpfXbHCLj06fb2n/xZ7vpefbuJFiWEbxWZS4jW0ZO+cfS+2yNyho Kv+yg9vaRk0YueoANLRj6Oo/HqIYClGD6ojQ9HKXwaVt8rEoIjsUh5NRL+cwrw== 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=1726976264; 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=O51UfiDajf47wnzDB3lr3FJXmzFS9cgZ/a/Bb6AE5Vw=; b=GJ1ZbBg6D1Bej12vZah5aa88plwbBReRTj9xWOtkeM+Sb/Tku6Len71zdtQQRXNUGYNRDt 3dDOoo7Uy/87rIBMX6WVzsbkXt+hVX1TQBf044uYwBgqZNMhP0evYy3LPTdxM3YTF7e6Zj dM2TRW6+BS5g689OWEowLjcROedp0I17nf+qW1mASTHQjairKh9HuioQwt/0XtuLQz3yeR C0BBeOpcmeY5nsOjGE1W8iUPMSqTVs4xLKpriPI9lEg08zWy0lRYRn/LfrGTC9C5xJaNIE JMMtC6BZHii620PTZYsg3tWDJJMyj3Leo+9lZvoZJ4lIPt7EEovqMF3DGOwr+A== 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 4XBBf00GNJz10Pd for ; Sun, 22 Sep 2024 03:37: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 48M3bhHM060551 for ; Sun, 22 Sep 2024 03:37:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48M3bhsZ060550 for fs@FreeBSD.org; Sun, 22 Sep 2024 03:37:43 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 275594] High CPU usage by arc_prune; analysis and fix Date: Sun, 22 Sep 2024 03:37:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olce@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D275594 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fs@FreeBSD.org --- Comment #149 from Mark Linimon --- ^Triage: may need review by fs@. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Sep 22 14:17:04 2024 X-Original-To: freebsd-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 4XBSqz1B2cz5Xb1v for ; Sun, 22 Sep 2024 14:17:19 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBSqy2wLFz4Yhb for ; Sun, 22 Sep 2024 14:17:18 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="R/ALIqNk"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jdavidlists@gmail.com designates 2607:f8b0:4864:20::1036 as permitted sender) smtp.mailfrom=jdavidlists@gmail.com Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-2d8815ef6d2so2875513a91.0 for ; Sun, 22 Sep 2024 07:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727014636; x=1727619436; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=eNiKBsy5jLkoyrExjcSuwS1Dw6br28DKOwjif9SerHk=; b=R/ALIqNk3cduEN1XwHuNDl922LuHnmTAEZN51Sw8hwLECinHWLrpn+3Ue88bfaxFtL isO9KNm0f73V9QEOQOOQbFfkjbmq+nPcVlUdMDckohHV7BEbXmWMD3lLyi5H1OXMHKVW MV9tZK2uFqQcdKT5yqvPBKL3AXjtG8lmCk3+EnoWPy7QL2oQH+pADotFtjfRl6nZL3F5 hvDZPVSldcPVewC32yF4b8Q+KPb9rUBmHUH9k7sVeulq0n2RFOV6BimAKCpIWrLA+dlc oerX7nS+xqfSPs3vG2fokQxFBc/Ju6YQwDNkFtqgWXQrya7WRLzN+IrVUxSSoMEwvOFk MDBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727014636; x=1727619436; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eNiKBsy5jLkoyrExjcSuwS1Dw6br28DKOwjif9SerHk=; b=eRmjsdjeff7UIfarzfNZl6qHzS3Ce8a8qWn/PUATnxhDoZIy1A6Ek/1H+erKZOSbvE 2hX6bshyH0bxuk1GA8Q6MBMS6r/E7XIvEfGsAtpO1bDZWBzBMB4Ia15tgmyCVlT6W0bD Xsk1b8ep9H1oFrfwS+nk1ReJtT/DelyKaC1+1nwL3awrdrIXAfkhQdFZwUVKJY3KjCxv DCr6gHQn2kQt6gidnBXMFWMs8Vc37sFC6whPWyNuNznj7Cl4rqdcNdsB3Q8rOJbl42Vw 6Nzhjduacy7+A7nOKpVhwsGnlC1tj2q4lm1YS51aeXE1jFgXQ8t7j5+DFDmpP8Q/clMX 6X0A== X-Gm-Message-State: AOJu0Yz0yniTizeX9HH7WWgosremL3rSGxP0ChBzebetqLcOflSJqFl+ o3CL94HkkC8LhzrKgj67N/wxUlSWB+w6W4KIaJ7dBgkQ1eJjruAztb47JUH9MWKZGpJt0xaSzuY pC1puqjROUKA98cKq8ZKwZdoJuDg9H/OcIq4= X-Google-Smtp-Source: AGHT+IGf0M5s/jnYHBPsdlH6RlkpVcXQMIWvEYZzO9VDHahilcfhCB14HraKIGgOz5rq09QlgAcoBqtveEps4QTpQng= X-Received: by 2002:a17:90b:1c88:b0:2da:8c08:6a29 with SMTP id 98e67ed59e1d1-2dd7f3d4161mr10362186a91.8.1727014636067; Sun, 22 Sep 2024 07:17:16 -0700 (PDT) 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 From: J David Date: Sun, 22 Sep 2024 10:17:04 -0400 Message-ID: Subject: panic: nfsv4root ref cnt cpuid = 1 To: FreeBSD FS Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-3.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.94)[-0.942]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; TAGGED_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1036:from] X-Rspamd-Queue-Id: 4XBSqy2wLFz4Yhb X-Spamd-Bar: --- After upgrading to 14.1-RELEASE-p4, we have a machine that spontaneously reboots every day or so with the message above. The stack trace from dmesg.boot shows: panic: nfsv4root ref cnt cpuid = 1 time = 1727011803 KDB: stack backtrace: #0 0xffffffff80b7fefd at kdb_backtrace+0x5d #1 0xffffffff80b32bd1 at vpanic+0x131 #2 0xffffffff80b32a93 at panic+0x43 #3 0xffffffff809da294 at nfsv4_relref+0x34 #4 0xffffffff809e5723 at nfscl_openrelease+0x63 #5 0xffffffff809f9eef at nfsrpc_lookup+0x87f #6 0xffffffff80a0e2fd at nfs_lookup+0x43d #7 0xffffffff80c0341a at vop_sigdefer+0x2a #8 0xffffffff8302c3a7 at null_lookup+0xc7 #9 0xffffffff80c08745 at vfs_lookup+0x425 #10 0xffffffff80c079b8 at namei+0x238 #11 0xffffffff80c2d2da at vn_open_cred+0x53a #12 0xffffffff80c239a8 at openatfp+0x268 #13 0xffffffff80c236b8 at sys_open+0x28 #14 0xffffffff810011c0 at amd64_syscall+0x100 #15 0xffffffff80fd765b at fast_syscall_common+0xf8 Unfortunately this machine is managed with freebsd-update and has no swap partition usable for a dump file so my debugging options are a little limited. I'll see what I can do about that. There are a number of nfsv4.2 filesystems mounted on this machine, but knowing that it's related to releasing locks, there are a couple of potentially relevant factors. - some (but not all) NFSv4.2 filesystems are mounted oneopenown - some (but not all) of the NFSV4.2 filesystems are mounted nolockd Both of those seem like the sort of thing that might lead to releasing a reference that's already released while releasing an open. What could I do to debug this further? Thanks for any advice. From nobody Sun Sep 22 14:27:41 2024 X-Original-To: freebsd-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 4XBT4C6ZYjz5XfwQ for ; Sun, 22 Sep 2024 14:27:55 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBT4B5xNcz4c2f for ; Sun, 22 Sep 2024 14:27:54 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=JEbqNCew; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jdavidlists@gmail.com designates 2607:f8b0:4864:20::1033 as permitted sender) smtp.mailfrom=jdavidlists@gmail.com Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2d8a54f1250so2309405a91.0 for ; Sun, 22 Sep 2024 07:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727015273; x=1727620073; darn=freebsd.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hoq4xkBP3h9mOiVPj9ojz0WjnD61q6MD9bLXmoCzzEg=; b=JEbqNCewXCYswKv0pdqQbf/P9QcTJLDfeTZLqq40mi+tkmPghXsAwWXYXq3y5D5XhZ WiNuCWIGb/LMQrXA2q5vdmq8dFqpD2SA940O/gRPrxRgj7O90wxCIRO0pDMRQV9Bldlk RMZ5ss55dCusyWQfA7qmSBBxY7eoTUjaVGk2ZYdQTyWHqPncuVusS+WJvv5wRiVdAI+0 wBmQwAsemRhyxuLhq+Qc+FekLv4TB1j3FQQiiV3dK95nhfh/q6z/fSAQw/qBbi3XJc3h hIEHF648PXrg51zhkwqVsL9FTWHqKwdLUMR0FUTKt1/itBOfvhkEqEpr/ouJQK3xfcCk DNnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727015273; x=1727620073; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hoq4xkBP3h9mOiVPj9ojz0WjnD61q6MD9bLXmoCzzEg=; b=DeG+MsC+tX1cRvoTBh85HWeYn0CMawelk3i7TrciO7xR2NwXavS4w3/7cVfWZYZ501 DOhg4zc84C/cRnqiiglCHAHYL+xyjkFbhxii1itbQ9n10HqBoOI+FWQlG5rz+mKAbYvC kJmJ8apNZM8kX0+mU2RPL0+G89jC3+xHX72jBAPUa+qDYD7ZDi6BdQPuRqBvpv0WWDzy 6s7/IXFYwoO8Z9efE91W4q1AUcGJql6EeXhw1mpyRsXC9JynY9LDv+VFh7o4SmuAm2Fe /Ep3B5/5ZkncAb/eN11N4yxD7iyomm1qdgdD5+bAv7GEzAdPpi4RZ738BME585d+EmdJ Hn2A== X-Gm-Message-State: AOJu0YzkM7I6lOTbSDTo5zrKskmxwDK4QusVsK+sd9oBNp6237JXWexy XPUPVwBXFHyE0x586FJ7IfIMuGGfVYs1oIwA0bRtRaz75d0vCYjvluGOb9enBmAM7o2btkq6tQ5 f/EThNCEo/J5n3voJkVsHKy0P3kKrWYhqfPQ= X-Google-Smtp-Source: AGHT+IFSTEHN41tMm/Sqyhz2TNGW/G6BJpHthpWIE9JV7jtzNcWMXLbXEBh9I8+3wmAS0dosBOjFUkFdzJNC7gGSPjk= X-Received: by 2002:a17:90b:4c06:b0:2cb:4c25:f941 with SMTP id 98e67ed59e1d1-2dd80c4c942mr9132473a91.17.1727015272985; Sun, 22 Sep 2024 07:27:52 -0700 (PDT) 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 References: In-Reply-To: From: J David Date: Sun, 22 Sep 2024 10:27:41 -0400 Message-ID: Subject: Re: panic: nfsv4root ref cnt cpuid = 1 To: FreeBSD FS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; TAGGED_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1033:from] X-Rspamd-Queue-Id: 4XBT4B5xNcz4c2f X-Spamd-Bar: --- On Sun, Sep 22, 2024 at 10:17=E2=80=AFAM J David = wrote: > #8 0xffffffff8302c3a7 at null_lookup+0xc7 After noticing null_lookup in the crash trace, I realized that this must be an nfs filesystem that is then remounted elsewhere via nullfs. We've eliminated most of those. There's only one filesystem that is still used with nullfs (specifically to avoid a large number of otherwise identical mounts). Here are the "nfsstat -m" mount flags for that filesystem: nfsv4,minorversion=3D2,oneopenown,tcp,resvport,nconnect=3D1,hard,cto,nolock= d,sec=3Dsys,acdirmin=3D3,acdirmax=3D60,acregmin=3D5,acregmax=3D60,nametimeo= =3D60,negnametimeo=3D60,rsize=3D65536,wsize=3D65536,readdirsize=3D65536,rea= dahead=3D1,wcommitsize=3D16777216,timeout=3D120,retrans=3D2147483647 The server of this filesystem is 14.1-RELEASE-p5 and the exported filesystem is a readonly ZFS dataset. Thanks! From nobody Sun Sep 22 21:00:16 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 4XBdmx3jdpz5WlsR for ; Sun, 22 Sep 2024 21:00: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBdmx072Pz49Bp for ; Sun, 22 Sep 2024 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727038817; a=rsa-sha256; cv=none; b=E7uA26yXfyOTinTH29qjZPiTUozDZFLj5Z9peGNYD7SwcgobM/sAWGaonc9qotU/x94u8m 2S/IGdPsmh+Zrjko6s8UxbpWhRXBHuHNBNQMGcqpFNBMbC1q1d5H9+cX8UweIog6KLaDbJ dYtv4BifnR/C/NPriHtkWwb1HdD2zjFgRFmlvG2Q58mlz1Gs/wGQqdW3Fc9SD8LcZ6jAb5 NC0B1d/uPiKJFcdFxKtLFlheJZSRrHMoI8aDtZcpgJodQwp9KRFadMMxDnsN+cOwPWMiVK 3QRTDWXaiK9KfqZ94MyUCCKLEQHxo0iQNP+LhEFTmopv/paf3iaaC05UkYFs/w== 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=1727038817; 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=69yyGF8g7nPGUHSf2iamRDpYW77mR0Kdcmo7I3xepZ0=; b=EcoStlGM373dqm1Al/E/8/GrrAnA6Mq+e5daU8qjr8VOnGbY1vAkF5aILdG2ohHo2pNAM1 B8SngKT0Jg9736u7PSSAi2j786nNuHCprjixfNGROLB2wMVg10anCQxbs7XQDysrUwyi4E ZLyjw0JP2ay0LUj9LNxfrYb34/3opz57sxRTTeqg70GheyH1gius4szRAm5XkchE7xsnOY +KKjR6p9BK0LJc1lklcpBiiZYu+mCbTDJYu6YrDuX8UqUas5vx4QV2X3VAmbP/2J6EPFW+ DRJH2Fe6Yc0uMX/VxkRtVhunw2vvT09HlQ7ivtOVxLaTmjBs4UJXwRTXrlRrZQ== 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 4XBdmw6RC4zHFS for ; Sun, 22 Sep 2024 21:00: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 48ML0Gqp050194 for ; Sun, 22 Sep 2024 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48ML0GY5050193 for fs@FreeBSD.org; Sun, 22 Sep 2024 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202409222100.48ML0GY5050193@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: fs@FreeBSD.org Subject: Problem reports for fs@FreeBSD.org that need special attention Date: Sun, 22 Sep 2024 21:00:16 +0000 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 Content-Type: multipart/alternative; boundary="17270388166.C787efD1F.47719" Content-Transfer-Encoding: 7bit --17270388166.C787efD1F.47719 Date: Sun, 22 Sep 2024 21:00:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 231794 | zfs: Panic due to ARC related KVA memory exhausti Open | 251035 | ZFS: Allow 64 bit ZFS to support 32 bit ioctls (W Open | 266409 | 13.1-RELEASE amd64 crashes in: sa_handle_destroy Open | 268162 | zfskeys_enable: each successful load of a key is Open | 269503 | docs.freebsd.org: default vfs.zfs.arc.meta_limit Open | 271384 | zfs_load is not suitably documented Open | 226130 | ZFS: solaris assert: zrl->zr_refcount == 0 (0x1 = 7 problems total for which you should take action. --17270388166.C787efD1F.47719 Date: Sun, 22 Sep 2024 21:00:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    231794 | zfs: Panic due to ARC related KVA memory exhausti
Open        |    251035 | ZFS: Allow 64 bit ZFS to support 32 bit ioctls (W
Open        |    266409 | 13.1-RELEASE amd64 crashes in: sa_handle_destroy 
Open        |    268162 | zfskeys_enable: each successful load of a key is 
Open        |    269503 | docs.freebsd.org: default vfs.zfs.arc.meta_limit
Open        |    271384 | zfs_load is not suitably documented
Open        |    226130 | ZFS: solaris assert: zrl->zr_refcount == 0 (0x1 =

7 problems total for which you should take action.
--17270388166.C787efD1F.47719-- From nobody Sun Sep 22 23:22:18 2024 X-Original-To: freebsd-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 4XBhx53Wz2z5WbCK for ; Sun, 22 Sep 2024 23:22:33 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBhx44CGJz4ns1 for ; Sun, 22 Sep 2024 23:22:32 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=F7gLEdqk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2a00:1450:4864:20::634 as permitted sender) smtp.mailfrom=rick.macklem@gmail.com Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a8a706236bfso274170666b.0 for ; Sun, 22 Sep 2024 16:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727047351; x=1727652151; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XIYqp/d+VWTk9b5aXJ5YiLkmjmvao2N0wLDZmHFPd1s=; b=F7gLEdqk87rkjRxsXcOSv4CDJ/aNSSFOX1mjJV9gSKe2UgG0qfQZQ42FVj3hrtG40P nOMuvbLloU6EaYpCUHBkSLUc95puk5aeqnzX7c5MloAipfCNpbUPOMC5mAhHYrWL3Rih 6J70nvAN7fPwkzrbw0QbpfH8w06/yeyfwSFIp86LK2JLT5hOFbVl9ePIm7+lKslH0Cpe bTHDXNPmQseo4wbQUzMa+5W1HB5EZKFeScbPp1wF8S+S/B87MU56NJv+DLm7LbM3C0jh 0vsM8dbmf3fExaVMna0sRBDRSbsXyDNqag2sxdUE7c391YH1fr+CenDkLz0Bc2y8rLAz tvlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727047351; x=1727652151; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XIYqp/d+VWTk9b5aXJ5YiLkmjmvao2N0wLDZmHFPd1s=; b=GoSGcOrWX564lsP/NhR1yTxLmF6T/3NSAqVF8PYmK3FkTyNDCzRc7NxTJX0nOBsJVE tZCzHPj75H4xtS/3KPiF1NGNu7sTCHWedCFIsSsBgNiuYwvKOi9JBJpK4Sdow2OJBen/ 4ZN+bCFcFA8Ps3jvm03BgcHo377tOioecfuY258MYcFMUWF9c0TlOGeZfJiE/89an3iT 4OnlMazIcUoe9bmBdH6LZj2bWPkLxIBdIK1Sk57qbBgL3TK8qyX6XVULgmk/DpuzBIus bM59AF8ewN8ilh1h4bJnSqfzZi6gyx7Ncx+Lc9Hskfq9VsD62rRYRQ+5CqQe5eqVU3tB gXQg== X-Gm-Message-State: AOJu0YxjAkgTA7zIZYOGyRxn5+hsu7JCGuNCRVhBwElXz3Yuk62pU2jz V1z/myJai7mu2Kx3LEGEFc42DFvJhpqpabtBQYwd6SgprXyTogQBHSiqGhGo4afl2MjHmmOcsPm E1iUmzGXT3RIijVYSBWuszV83VwZ886Y= X-Google-Smtp-Source: AGHT+IGxtGfzkit6NoxG/FsH1Q7WUNkjrvgWQlGKyWOjvMxWdUU/OpUUfPDALQ8oLNnL2JVxTvplveyVOxrYNgFVab4= X-Received: by 2002:a05:6402:5189:b0:5c5:c23b:a06d with SMTP id 4fb4d7f45d1cf-5c5c23ba816mr3915858a12.17.1727047350554; Sun, 22 Sep 2024 16:22:30 -0700 (PDT) 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 References: In-Reply-To: From: Rick Macklem Date: Sun, 22 Sep 2024 16:22:18 -0700 Message-ID: Subject: Re: panic: nfsv4root ref cnt cpuid = 1 To: J David Cc: FreeBSD FS Content-Type: multipart/mixed; boundary="000000000000d7308d0622bd8b4e" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; HAS_ATTACHMENT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_RCPT(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::634:from] X-Rspamd-Queue-Id: 4XBhx44CGJz4ns1 X-Spamd-Bar: --- --000000000000d7308d0622bd8b4e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Sep 22, 2024 at 7:28=E2=80=AFAM J David w= rote: > > On Sun, Sep 22, 2024 at 10:17=E2=80=AFAM J David wrote: > > #8 0xffffffff8302c3a7 at null_lookup+0xc7 > > After noticing null_lookup in the crash trace, I realized that this > must be an nfs filesystem that is then remounted elsewhere via nullfs. > We've eliminated most of those. > > There's only one filesystem that is still used with nullfs > (specifically to avoid a large number of otherwise identical mounts). > Here are the "nfsstat -m" mount flags for that filesystem: > > nfsv4,minorversion=3D2,oneopenown,tcp,resvport,nconnect=3D1,hard,cto,nolo= ckd,sec=3Dsys,acdirmin=3D3,acdirmax=3D60,acregmin=3D5,acregmax=3D60,nametim= eo=3D60,negnametimeo=3D60,rsize=3D65536,wsize=3D65536,readdirsize=3D65536,r= eadahead=3D1,wcommitsize=3D16777216,timeout=3D120,retrans=3D2147483647 I think I know what causes the crashes. The attached trivial patch should work around them, but if you cannot apply a source kernel patch, the only workaround would be to get rid of "oneopenown". (Using nullfs may be a factor, since I think the crash would occur when the code sleeps for a lock used to serialize opens for oneopenown. This could result in the "struc nfsclopen *" being bogus, since the mutex would be released/re-acquired.) If you cannot get rid of the "oneopenown" or apply the kernel source patch, getting rid of the nullfs mount or enabling delegations might also work aro= und this. I will need to work on a correct fix, but it wouldn't make it into an updat= e for quite a while. Sorry about the breakage, rick > > The server of this filesystem is 14.1-RELEASE-p5 and the exported > filesystem is a readonly ZFS dataset. > > Thanks! > --000000000000d7308d0622bd8b4e Content-Type: application/octet-stream; name="oneopen.patch" Content-Disposition: attachment; filename="oneopen.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m1e7e3k90 LS0tIHN5cy9mcy9uZnNjbGllbnQvbmZzX2Nsdm5vcHMuYy5vbmVvcGVuCTIwMjQtMDktMjIgMTY6 MDU6NTYuNzY1OTU5MDAwIC0wNzAwCisrKyBzeXMvZnMvbmZzY2xpZW50L25mc19jbHZub3BzLmMJ MjAyNC0wOS0yMiAxNjowNjo1My43OTg4OTMwMDAgLTA3MDAKQEAgLTEzMDksNiArMTMwOSw3IEBA IG5mc19sb29rdXAoc3RydWN0IHZvcF9sb29rdXBfYXJncyAqYXApCiAJfQogCiAJb3Blbm1vZGUg PSAwOworI2lmZGVmIG5vdG5vdwogCS8qCiAJICogSWYgdGhpcyBhbiBORlN2NC4xLzQuMiBtb3Vu dCB1c2luZyB0aGUgIm9uZW9wZW5vd24iIG1vdW50CiAJICogb3B0aW9uLCBpdCBpcyBwb3NzaWJs ZSB0byBkbyB0aGUgT3BlbiBvcGVyYXRpb24gaW4gdGhlIHNhbWUKQEAgLTEzMjgsNiArMTMyOSw3 IEBAIG5mc19sb29rdXAoc3RydWN0IHZvcF9sb29rdXBfYXJncyAqYXApCiAJCQlvcGVubW9kZSB8 PSBORlNWNE9QRU5fQUNDRVNTV1JJVEU7CiAJfQogCU5GU1VOTE9DS01OVChubXApOworI2VuZGlm CiAKIAluZXd2cCA9IE5VTExWUDsKIAlORlNJTkNSR0xPQkFMKG5mc3N0YXRzdjEubG9va3VwY2Fj aGVfbWlzc2VzKTsK --000000000000d7308d0622bd8b4e--