From nobody Mon Feb 21 07:48:27 2022 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 A259B19C4A32 for ; Mon, 21 Feb 2022 07:48:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4K2DvK5b1Fz3mY1 for ; Mon, 21 Feb 2022 07:48:45 +0000 (UTC) (envelope-from hps@selasky.org) Received: from [10.36.2.165] (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id C838E260347; Mon, 21 Feb 2022 08:48:37 +0100 (CET) Message-ID: Date: Mon, 21 Feb 2022 08:48:27 +0100 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: New panic in main-n253273-a52d8d4a6c6: Content-Language: en-US To: Michael Jung , freebsd-current References: From: Hans Petter Selasky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4K2DvK5b1Fz3mY1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-0.998]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-current]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2/20/22 21:53, Michael Jung wrote: > Hi! > > The box was quite busy at the time. The only odd thing I am aware of and which I do > not think is related is I have not been able to expand one of my zpool's. ZFS sees my > added draid2:2d:10c:0s vdev but I can't seem to force zpool's expansion - my bet this > is somehow related to the mirrored special device in the pool even though autoexpand > is set to 'on' for the pool. > > Not asking anyone to solve this, I plan on putting together a "how to reproduce" and > post to freebsd-fs@ but wanted to note this oddity. > > --mikej > > This is a unmodified GENERIC kernel. > > > Unread portion of the kernel message buffer: > panic: refcount 0xfffff801cc119284 wraparound > cpuid = 7 > time = 1645382575 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0119a83c80 > vpanic() at vpanic+0x17f/frame 0xfffffe0119a83cd0 > panic() at panic+0x43/frame 0xfffffe0119a83d30 > fdclose() at fdclose/frame 0xfffffe0119a83dc0 > closefp_impl() at closefp_impl+0x77/frame 0xfffffe0119a83e00 > amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe0119a83f30 > fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0119a83f30 > --- syscall (6, FreeBSD ELF64, sys_close), rip = 0x3309a531b62a, rsp = 0x3309a2802bc8, rbp = 0x3309a2803000 --- > KDB: enter: panic > This may be a refcount leak. Are you able to dump "fdp" at: #16 0xffffffff80bad587 in closefp_impl (fdp=0xfffffe012b7c0430, fd=4, fp=0xfffff801cc119280, td=0xfffffe00df8d0560, audit=true) at /usr/src/sys/kern/kern_descrip.c:1300 frame 16 print /x *fdp --HPS