From nobody Fri Aug 12 14:57:04 2022 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 4M46G82n9Vz4YTmd for ; Fri, 12 Aug 2022 14:57: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M46G8183vz3rR6 for ; Fri, 12 Aug 2022 14:57:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4M46G80C8FzbJp for ; Fri, 12 Aug 2022 14:57: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 27CEv3WU049644 for ; Fri, 12 Aug 2022 14:57:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27CEv3Mp049643 for bugs@FreeBSD.org; Fri, 12 Aug 2022 14:57:03 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 265795] panic: vm_page_dequeue_deferred: page has unexpected queue state Date: Fri, 12 Aug 2022 14:57:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660316224; 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=8R/nedQkAnPF5GnxCq4GidJFwbS2IXf8+PCUjhWZ/Bw=; b=hczPhISXZlWUUdGziZRMvgazwtMDDvqiC2fb58rn2GzTUzcu1DCdChwTK+wYPkS9p3oyvE S900r97saSt77MfOO7HjU0liX5HAwyNHZH2YeOfT9V4/7A4ubJfHvBAEyRoApwlGCnJAJu p80XwuPPol0MHF6squ21W3A2R17pjwwk8B8khf6QY7SACe077G6t7bnWRLYf2lkgjJcMJ6 jutgmluJKYawSyzARUItj0fINEA7YhPwNB2ZHOWO1eODRCPzmVNPqkC7zPe+jeBVAfDkkW jKTBNi/XAqkq067M668Bm1sb6/fklAjWocn2ZEhNdeM8Gg2EERPjFVD2nFgnhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660316224; a=rsa-sha256; cv=none; b=vt0TAzHvwUPt0+DHFgQX+BLWr4FeBzBvTgtoKVcWk1O1qGB6VJtQWfaLDEyiP+PlVaxkzd JEwi0CRXetRJwSQ9p9Vtla2Ogophi7GY1q8uJp61q2XF78Vkz8kESkmEm44MsXijimsRhz sJNOmwpFnJPB6oEiNCOZCyUhNxjLIXJ3yea64ndMgscF7Oyojtz8CxtMvMq2LCAidLPXBZ C7Y3snFwkvizL2qJ40iIVLZ9+DvJncRDh2WF0Qrpvnssf+4/7rLIJJffIN7g1I8Yd4hzit 0sH1PaMCuXGi++chFaN5maI5KubYYdO+1Pop1uQYDOs7W/QJqCP4xGsjbPOAUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265795 Bug ID: 265795 Summary: panic: vm_page_dequeue_deferred: page has unexpected queue state Product: Base System Version: 13.1-STABLE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jfc@mit.edu While poudriere is cleaning up my server crashes with vm_page_dequeue_deferred: page 0xffffa09ec0609d40 has unexpected queue state Stack trace retyped from the console: vm_page_dequeue_deferred vm_page_free_prep vm_page_free_toq vm_object_page_remove bufobj_invalbuf vgonel vrecycle zfs_freebsd_inactive vinactivef vput_final kern_funlinkat I reproduced this and I have two crash dumps but kgdb hits an internal assertion trying to debug them. My guess is this is distantly related to bug 261538 in that the combination of zfs deduplication and cloning creates unusual state in the kernel. Some notes: 1. ARM server (Ampere eMAG) running 13.1-STABLE up through eb2a9b78586. 2. Kernel is built with INVARIANTS (this is a KASSERT in vm_page.c). 3. I have a patch to ZFS to disable another assertion to fix bug 261538. 4. All of poudriere's temporary filesystems have been destroyed by the time of the crash. --=20 You are receiving this mail because: You are the assignee for the bug.=