From nobody Wed Aug 30 13:56:28 2023 X-Original-To: freebsd-current@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 4RbQnX64yvz4s88D for ; Wed, 30 Aug 2023 13:56:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbQnX06gpz4bXV; Wed, 30 Aug 2023 13:56:31 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id bKM1qDjjA6NwhbLgMq6ljj; Wed, 30 Aug 2023 13:56:30 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id bLgLqSkEpHFsObLgMqJ3p6; Wed, 30 Aug 2023 13:56:30 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=64ef4a8e a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=UttIx32zK-AA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=fFr1w6tij_BTMovjqlYA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id DF9BC1037; Wed, 30 Aug 2023 06:56:28 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id A15F41D9; Wed, 30 Aug 2023 06:56:28 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Mark Johnston cc: Cy Schubert , freebsd-current@freebsd.org Subject: Re: ZFS Page Derefrence In-reply-to: References: <20230830020835.A901AA9@slippy.cwsent.com> Comments: In-reply-to Mark Johnston message dated "Wed, 30 Aug 2023 09:15:37 -0400." List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 30 Aug 2023 06:56:28 -0700 Message-Id: <20230830135628.A15F41D9@slippy.cwsent.com> X-CMAE-Envelope: MS4xfJaUzFcjpDpCdScLQCcF63RU64cm3ebpvv/vz3E6EtGsvivyUFpLT3XjpD3si1eRPjm0B+tZPghoTuompKc6t8g8y39Y/HPGiIT2Oks8URd5Cqt6VdVL 13wV/V47aML4rJOD296SDZ93FhfhAbl0B1ebz7lUPWLjEsBQyTX4HuH7NDXMxDQvrItRoR+48RjB67EdGTR2eiSKvOFs9BS1SvtgPliLY6jmrdv/pacX9s1r 7xONEQvROTeIIM8fjvO+Pw== X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4RbQnX06gpz4bXV In message , Mark Johnston writes: > On Tue, Aug 29, 2023 at 07:08:35PM -0700, Cy Schubert wrote: > > Hi > > > > Just got the following panic on an and64 machine running poudriere building > > > i386 packages. > > > > panic: vm_page_dequeue_deferred: page 0xfffffe000b222808 has unexpected > > queue state^M > > [...] > > > > uname reports, > > > > FreeBSD bob 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #1 > > komquats-n265075-2e8edbc285cf: Tue Aug 29 03:51:59 PDT 2023 > > root@cwsys:/export/obj/opt/src/git-src/amd64.amd64/sys/BREAK2 amd64 > > > > My BREAK2 kernel removes devices I don't use and enables keystrokes to > > interrupt the system from the conosle (conserver). Local patches affect > > ipfilter only. > > > > Head of core.txt: > > > > __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57 > > 57 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct > > > pcpu > > , > > (kgdb) #0 __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h: > 5 > > 7 > > #1 doadump (textdump=textdump@entry=1) > > at /opt/src/git-src/sys/kern/kern_shutdown.c:405 > > #2 0xffffffff806c1b30 in kern_reboot (howto=260) > > at /opt/src/git-src/sys/kern/kern_shutdown.c:526 > > #3 0xffffffff806c202f in vpanic ( > > fmt=0xffffffff80b5da55 "%s: page %p has unexpected queue state", > > ap=ap@entry=0xfffffe00bf55d770) > > at /opt/src/git-src/sys/kern/kern_shutdown.c:970 > > #4 0xffffffff806c1dd3 in panic (fmt=) > > at /opt/src/git-src/sys/kern/kern_shutdown.c:894 > > #5 0xffffffff809daab2 in vm_page_dequeue_deferred (m=, > > m@entry=0xfffffe000b222808) at /opt/src/git-src/sys/vm/vm_page.c:3790 > > #6 0xffffffff809ddfeb in vm_page_free_prep (m=m@entry=0xfffffe000b222808) > > at /opt/src/git-src/sys/vm/vm_page.c:3928 > > Could you please print/x *m from this frame? Sure. (kgdb) print/x *m $1 = {plinks = {q = {tqe_next = 0xffffffffffffffff, tqe_prev = 0xffffffffffffffff}, s = {ss = { sle_next = 0xffffffffffffffff}}, memguard = {p = 0xffffffffffffffff, v = 0xffffffffffffffff}, uma = {slab = 0xffffffffffffffff, zone = 0xffffffffffffffff}}, listq = {tqe_next = 0xffffffffffffffff, tqe_prev = 0xffffffffffffffff}, object = 0x0, pindex = 0x572c, phys_addr = 0x1b67d5000, md = {pv_list = {tqh_first = 0x0, tqh_last = 0xfffffe000b222840}, pv_gen = 0xf4a, pat_mode = 0x6}, ref_count = 0x0, busy_lock = 0xfffffffe, a = {{flags = 0x10, queue = 0xff, act_count = 0x0}, _bits = 0xff0010}, order = 0xd, pool = 0x0, flags = 0x1, oflags = 0x0, psind = 0x0, segind = 0x5, valid = 0xff, dirty = 0x0} (kgdb) -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 š`=c