From nobody Thu Oct 31 18:14:56 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XfXG93HvZz5c7j0 for ; Thu, 31 Oct 2024 18:14:57 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XfXG82Xrpz413s for ; Thu, 31 Oct 2024 18:14:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730398496; 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=xcYcRXqFmaz4WY8YygAb4RvejYqbLjjak+ZfCOGDfgg=; b=e5xa/KjJtte2aHvgIafE1BEtIftojnJy3S+Pk1yGSE2VyQaiRBLM8H0rc0cPcN2/+nPizG gUG3e+EOEdtD8VlfkxU28P1yTf+LBjTPJ+ibcXSFmOZg5SRlcF16WDz+zB1thkfc8YdmsK XKgKjBqu8u+7ZJBzsMnMN8ikysOEDn2GHR3nneOWcM02TfObtgKlV8ki0uaFd8GskCT0F4 /RVByNQlYhvPw3Tn2OKlzV1Tk2yIdc7hJJfohkd0sAoKh7fKRObZkrpno6bz2f/rBwILNR JDxE+qtbj13WpXdK6ytBQUjgqJMlg0MdGdb08STfyndyh7ERYe9xDboxHdRg5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730398496; a=rsa-sha256; cv=none; b=g4tvDN7YC3vbzcNzLekRSCu4nyzTYgK7riY5BhfKEYuKQnYFSzQrFOu5ahMp4SOxwTF+hT W64VHlFoXvuHERG1HCUfz1G9Z78KZkB9XxMsvp8l8biVXtE7ANvAPtFFxkiyLp+TiIfe88 kugIS095MDQd96ma9E5GVFtbwP/Bqfrc8laX+3JMSIHWzGiwuUMgY/nE7dUC+Usf0XWOlE lsCz31N0tlfVHvVkxHJpw7a9WjUvZ9C8VWk80IODmBoxc+AECTtgx2ENChbKMOFSbrq9nU HxziunPKQ4Hmo+BxnrndrRnRSaKagcNjAIsHI+KKvJc7NSimra5cvBfl9s4p8A== 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 4XfXG8298Zzmdy for ; Thu, 31 Oct 2024 18:14:56 +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 49VIEuMP060322 for ; Thu, 31 Oct 2024 18:14:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49VIEuRQ060321 for bugs@FreeBSD.org; Thu, 31 Oct 2024 18:14:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282449] UFS deadlock with install -C during freebsd-update Date: Thu, 31 Oct 2024 18:14:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Grau_Smue@md5hashing.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282449 Bug ID: 282449 Summary: UFS deadlock with install -C during freebsd-update Product: Base System Version: Unspecified Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: Grau_Smue@md5hashing.net Created attachment 254825 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D254825&action= =3Dedit procstat -kka on the system with hung sync and install process I have experienced deadlock requiring reset a couple of times during freebsd-update. The install -C command gets stuck in wdrain. A sync execu= ted at this time also never returns. I found a thread on forums.freebsd.org which seems to be the same problem, however it also seems to be implicated in extremely slow freebsd-update when the filesystem is ZFS.=20 https://forums.freebsd.org/threads/freebsd-13-2-release-14-0-release-upgrad= e-stuck.91152/ I eventually was able to reproduce the problem and get a procstat -kka, whi= ch is attached. I can not say that it is reproducible on demand, but I can certainly try if additional debug is needed. This was about my 30th try, a= nd the last change was going sync=3Dstandard(prior disabled) on the underlying= host ZFS. This was on 13.3-p7, going to 13.4-RELEASE. However, it has been experienc= ed under other kernels earlier and later for the past year. It seems to be hardware independent, and I have run into it on a couple of VMs, and a VPS = with varying cpu count and disk controllers. This particular case is VirtualBox 6.1.50, 1 cpu, ahci, on top of a ZFS with sync=3Dstandard and no hostiocach= e in vbox. Hostsystem is same kernel, on ahci supermicro with spinner. --=20 You are receiving this mail because: You are the assignee for the bug.=