From nobody Mon Jan 08 17:34:24 2024 X-Original-To: freebsd-stable@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 4T81QY32q5z56C5c; Mon, 8 Jan 2024 17:34:29 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T81QY2T66z4qJJ; Mon, 8 Jan 2024 17:34:29 +0000 (UTC) (envelope-from lev@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704735269; h=from:from:reply-to: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=stKjwY5hCj/5z9uzkUoFFa7QNkd9PKG4DjkD/pfxHtE=; b=wiPD1kv/YVN+exQY+QdIBgZrI/MQTpAUY4RLxjqqDu1ikMNzDVFAiouLCTX3qcv+oR6CPQ Tu5BPBfb0cnTvLMPSfX3iwhUt1J56Y1zv/kmLHyrGhsD22N1qO7zeTq586DBr+L8AzEVEX ZzjC9v9yTF23mN00qqtcDyyqJJpd+0Qa/2qyK31GDuKdUm8VGB0F3U4Vy2SV6KKAwdxBKm zx23tJmHr6hu9KWRpl8+w+vGzEtHxXvmMX5nnz0qo+m+BVF3JbW9W3EjZejAFiCFP+gYWB KeHlTpJnioiXPH0faSgDbujc5R0XvhtMgBvW29QYBepdYNt0na5II3SmZ1dlNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704735269; h=from:from:reply-to: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=stKjwY5hCj/5z9uzkUoFFa7QNkd9PKG4DjkD/pfxHtE=; b=UPYuVCXRK0F7mN/fl5b1Kui7k9NbZRWm+6miH2J+CQzwQ2YGEsSA9oLUaiveRSYwTIcJEa R9viFWSgH5/Ep5H//oF+hqGU9C+VM7PNQLMHmAf2POHk8Y8pB/7is3c9kuTZCgDHj5lzvV 5XfedF0qvSlnmMbk8EVYa6nSR6frGXfzya2zJ3DVU5zJnVuVo4G+pOc7mkPeCJfmUYJJZ9 T8ljJLMH47ehMg9lFb8jSBEQG9OM7xR8eCtzaSyq8WEK3Egi0yO/DXqhS//PPMzkFO/gDc OgQS6iKm/wzdCAWpByADZV8nzMSY5Oav1JiDssaHxSP1/Sx8ae8XzhsinzgGTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704735269; a=rsa-sha256; cv=none; b=Seo8xXhxgsYwgMFTenFVYtolANheajFoTQ8HX7noW/F7vEyGk60QUr274hjXSYGCJpWW5w jzcajEB/72PMZj1HUjFXnnR3FInbvucsILsw51jdcerDWRToVSYttdXMXrBmMA+OObAn3B EMp5NvcTErnNEVeDMJ5MsMryrL5mhfFCbawdOnJEs1v6dEla8R26+kkgfMRGq0WRPQrllF GtjJPDXXYQDBRk/Se9RaLcRHAJHyUYd2IGxkqKgMCos+lEfhx8UNuR4GvqTAQrQ0uOQXNf VXM1zjDuWn+FDI/y6jxmWijKQSU0NSwOALKyRIrmWheqFhFyORSUm2qxgvzRVQ== Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::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) (Authenticated sender: lev/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4T81QY0nMDz1Dh1; Mon, 8 Jan 2024 17:34:29 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [IPV6:2001:470:923f:1:8967:d924:426d:40bd] (unknown [IPv6:2001:470:923f:1:8967:d924:426d:40bd]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id DF9442BC; Mon, 8 Jan 2024 20:34:24 +0300 (MSK) Message-ID: <22167ed4-887d-4fe0-b0a6-36312ae38fea@FreeBSD.org> Date: Mon, 8 Jan 2024 18:34:24 +0100 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: freebsd-fs , freebsd-stable Content-Language: en-US From: Lev Serebryakov Reply-To: lev@FreeBSD.org Subject: Crash on adding L2ARC to raidz1 pool Organization: FreeBSD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello! System: FreeBSD 13.2-STABLE stable/13-n256849-05c55eed44e5 BLOB amd64 I'm still trying to add NVMe L2ARC to my 5xHDD RADIZ1 pool. Last attempt of adding 640GiB (10x RAM) GPT partition on NVMe (AData Legend 960) leads to instant crash. I have: vfs.zfs.compressed_arc_enabled=0 vfs.zfs.abd_scatter_enabled=0 Fortunately, crashdump was successful. Here is backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0162741a30 vpanic() at vpanic+0x152/frame 0xfffffe0162741a80 panic() at panic+0x43/frame 0xfffffe0162741ae0 vm_fault() at vm_fault+0x11cb/frame 0xfffffe0162741bf0 vm_fault_trap() at vm_fault_trap+0xb0/frame 0xfffffe0162741c40 trap_pfault() at trap_pfault+0x1ee/frame 0xfffffe0162741ca0 calltrap() at calltrap+0x8/frame 0xfffffe0162741ca0 --- trap 0xc, rip = 0xffffffff809350e5, rsp = 0xfffffe0162741d70, rbp = 0xfffffe0162741d70 --- memset_std() at memset_std+0xe5/frame 0xfffffe0162741d70 l2arc_feed_thread() at l2arc_feed_thread+0xe83/frame 0xfffffe0162741ef0 or #9 No locals. #10 memset_std () at /usr/src/sys/amd64/amd64/support.S:670 No locals. #11 0xffffffff81233fb3 in l2arc_apply_transforms (spa=0xfffffe028928b000, hdr=0xfffff8036e5835a0, asize=4096, abd_out=) at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:9372 mac = '\000' tmp = 0xfffffe0f9cbba800 cabd = 0xfffff806842f2e80 eabd = 0x0 to_write = compress = psize = 0 size = 1536 ismd = 131072 dck = 0x0 no_crypt = 0 ret = bswap = out = #12 l2arc_write_buffers (spa=0xfffffe028928b000, dev=0xfffffe0f9cce0000, target_sz=9502720) at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:9606 type = ARC_BUFC_METADATA ret = to_write = 0x0 hash_lock = 0xffffffff814d48a0 psize = 512 asize = 4096 passed_sz = 2041344 mls = pass = 1 cb = 0xfffff8086d0ea200 guid = 16009569622998995335 l2dhdr = 0xfffff8097cfce000 pio = 0xfffff80937081000 write_psize = 578048 write_asize = 1499136 write_lsize = full = 0 head = 0xfffff809b7b37e40 hdr = 0xfffff8036e5835a0 headroom = 19005440 hdr_prev = 0xfffff80dd5a70a50 wzio = pass = passed_sz = mls = to_write = hash_lock = psize = asize = type = ret = _verify3_left = _verify3_right = #13 l2arc_feed_thread (unused=) at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:9830 cpr = {cc_lockp = 0xffffffff814e1568 , cc_events = 0 '\000', cc_id = 0xfffff800175fed00, cc_callb_cv = { cv_description = 0xffffffff8143dbd9 <.L.str.47+3> "cpr)->cc_callb_cv", cv_waiters = 0}, cc_stop_cv = { cv_description = 0xffffffff8143ac72 <.L.str.48+3> "cpr)->cc_stop_cv", cv_waiters = 0}} next = cookie = 0 dev = 0xfffffe0f9cce0000 spa = 0xfffffe028928b000 begin = 1662606050 size = 9502720 wrote = #14 0xffffffff805e90dd in fork_exit ( callout=0xffffffff81233130 , arg=0x0, frame=0xfffffe0162741f40) at /usr/src/sys/kern/kern_fork.c:1151 td = 0xfffffe01623b31e0 p = 0xfffffe0162367560 dtd = #15 -- // Lev Serebryakov