From nobody Wed Aug 30 13:15:37 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 4RbPtQ492Qz4s6lN for ; Wed, 30 Aug 2023 13:15:42 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbPtQ0bklz4Ss8 for ; Wed, 30 Aug 2023 13:15:42 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-64b3504144cso31317476d6.2 for ; Wed, 30 Aug 2023 06:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693401341; x=1694006141; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=uI1TCfGqmpUCZ0s9Ly08Q7vLqSTTGWIRxtqZP7Lbl9g=; b=rSJInEJGCm/tYouwmxl04tAAA9A3YjL3fy+VvwOVihXjOB7pa4GuxlijpRy1E5d9Kp ckl78LiqM99zAJXT0l150+fkPxf3VEj6ZYBqjvZCfhQ0tIFM3xhMTPzXIO2cg+vtXdSi tOJjcsFiP7bqRt3aAgek/buc/lg3fyRoxDMbpp/hmDrGyv0JSrQ9M5HYUxXMicsgl4hC Ar2fDqN09ezeJN77wCAMFXp2YQ6iraApxHgMXtPgVIA/sfPblWsWEKMovNIyI+wyaL5h p9vRlWXp9VJVT0Y4FzqgrOrs///2NyxSR1JdILZ4o5HOAYRnemOp5rS9IBb5nyO80I3F TlJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693401341; x=1694006141; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uI1TCfGqmpUCZ0s9Ly08Q7vLqSTTGWIRxtqZP7Lbl9g=; b=i8CZHc22QXIfF33KXneoLMrm+SRHeNmWPIioe1HQ1/osgJG2f+5tPACblfIbewUQQd GF/eoGDOCtg3gGK2EGIXFjL4SBlnLkpPuEyLJZsTyxBf5QHSgNoKS55xPJGXNaeBCiqA hlLFaH7jM66yO/6AmT8gMzAPTi8pRKGbIvVIrU38qPb4yGlYyTj6oPHN5mXfb/CISrEd dm+Qg3ckVrpLuPTCn9/slcRcaduv+Ig49I412GxfhlCTUp1CH/QjehFvUu9DozRbiM5M yG1wPrSFjavDgzk5izUqFzzoRkSUB3Ia86jmN21G8jc+PSEmB1ZVvJ2I1omPKhiX8c80 g8bA== X-Gm-Message-State: AOJu0YxsJrP4W6UCxoDqMc9RR0pF6rzKZfozN5FBsZTGK0m3/lsk7uk2 XZkeaizniacK2Jvj68wStReEEyLyYaA= X-Google-Smtp-Source: AGHT+IEbnvI8CUBVLqf2QhR7WQ4MVsdjPvZSOtbUZfj0Jr1ESdccF6UJOlGdRmGD0tHzBaA5qhNe9w== X-Received: by 2002:a0c:e548:0:b0:630:7d0:56f4 with SMTP id n8-20020a0ce548000000b0063007d056f4mr1697000qvm.49.1693401340784; Wed, 30 Aug 2023 06:15:40 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id x5-20020a0ce0c5000000b0062de6537febsm4091101qvk.58.2023.08.30.06.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 06:15:39 -0700 (PDT) Date: Wed, 30 Aug 2023 09:15:37 -0400 From: Mark Johnston To: Cy Schubert Cc: freebsd-current@freebsd.org Subject: Re: ZFS Page Derefrence Message-ID: References: <20230830020835.A901AA9@slippy.cwsent.com> 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 Content-Disposition: inline In-Reply-To: <20230830020835.A901AA9@slippy.cwsent.com> 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:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4RbPtQ0bklz4Ss8 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?