From nobody Mon Jan 27 17:10:43 2025 X-Original-To: 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 4YhZgT59Yjz5ly2b for ; Mon, 27 Jan 2025 17:10:45 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YhZgS6Dnfz3byv for ; Mon, 27 Jan 2025 17:10:44 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=PMZcyh3j; spf=pass (mx1.freebsd.org: domain of ianfreislich@gmail.com designates 2607:f8b0:4864:20::834 as permitted sender) smtp.mailfrom=ianfreislich@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-46785fbb949so45075121cf.3 for ; Mon, 27 Jan 2025 09:10:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737997844; x=1738602644; darn=freebsd.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=na6ELqsrzkK6enCXwpaERXxh2CA6S2M5huu2yOQ2h+k=; b=PMZcyh3j1JphAi/t3rsU2aBpssWW8iEQX5S8sx87DNa/NAd1HxKEokYx51SzsV4ZIV V0asO4Zz36liDC1JsjbZLUsIz4GLKf00YAB9bNlzvUtAOSj+xXe7V916FDjw5CFgEsZH 7Vj4dmSTTpcrbabrZeKtxcwCa77JGupVpasli3Zv0OpjDZKS2tS647MvgzFeXUWPip+l nOsSIYvIdteF18ZOipxubs2u5xKgB2olaa+JVN8Jo91cYFdpxpnCZ3N0/baZzWka0m60 dLImDHWt7PSvW5CUrDF/qVyIKLlydMWAtXQKmcumJJEOLakO7aGUVvf+4h+5M1h48QIx Q2Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737997844; x=1738602644; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=na6ELqsrzkK6enCXwpaERXxh2CA6S2M5huu2yOQ2h+k=; b=nh6cHwj/e9kOAvyAjLznUWVGs/YQj1tONFANCXZdYzIW0jSM21jTupniEb/TjvyTlQ HLRawHYexycmH9QHoJJxHtgmYUEYVIwtmT+3und9Lm2u0aWKX9uGbhCg25cJPeZcXl1S lw7/Lq4Ph9JOTbvcgEPiEB5LNfEsjHIMDrW0S61j2s7a2EIAMJABkyUgxggIq0RkT+Ft 7IjKPmScpcZNBLlf4MpekygzxbkdhGVwrXRXA0/BxCp/KHNWgMtvPncsdSVSbjz/wYjF m9ub3U5sKc7aKhcJTDPbtz6O5Z2UlnI6E42JTtKbpwD/XQP9wU4Vl4bjJTq56d3cNbH+ Z/7A== X-Gm-Message-State: AOJu0YxGLg899uf1tzzf7hDRYdWRV+prKrOQ7kQmZqTJfs97+4Pk2S0b gzaGEy8/uRrLcRhVGm+E+0OvZLhv4dP7T2Hy2lyAPBRkKLRDu5++oeTopg== X-Gm-Gg: ASbGnctT0B9Ai65mQvY0wbcfghShoGYe7c0m0g31VavTekt0uGK6GLRHFNeJYYjImRx TXfxsNEtq1HlLB5yi/kCkj9CtgcsSXLFNw57LE92hg8eZadugvzKRzId+AnrkIL90DWutRxQ4j3 ApI5EBiPnzJBjh5+aTb//kM27j+zLy1cwmu6vXgJdlm+69ZhmtWLMF5XT33yNqmVvvlKQhh4MPH En5l2Fel8lmGkVJMaUohx7ZByGMmW4hwdhjckfjUiNCmwVUCVGakIzBfHLCXwEj8cY8sjVYSUKl 9SiYrCcsEYxoMpBGnCydnKztD+IUDOsJ9zp3EE0iG7jFD+OzUR8+KO8HY49H X-Google-Smtp-Source: AGHT+IGG9ve6DX/pXVskkvmdUtahesV+qvB81/nqZAOU/DSpF1wMmWRaTNyDGAv1YbUh2Xso3A6rQw== X-Received: by 2002:ad4:5d68:0:b0:6d8:883b:142a with SMTP id 6a1803df08f44-6e1b216ffadmr641644256d6.2.1737997843943; Mon, 27 Jan 2025 09:10:43 -0800 (PST) Received: from [10.0.0.5] (107-128-20-168.lightspeed.tukrga.sbcglobal.net. [107.128.20.168]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e20514edb5sm36780296d6.29.2025.01.27.09.10.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jan 2025 09:10:43 -0800 (PST) Message-ID: Date: Mon, 27 Jan 2025 12:10:43 -0500 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: Thunderbird Daily Content-Language: en-US To: FreeBSD Current From: Ian FREISLICH Subject: UFS bad inode, mangled entry on Alder Lake-N(100) Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-1.54 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.99)[0.991]; NEURAL_HAM_MEDIUM(-0.84)[-0.838]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_HTML_ONLY(0.20)[]; XM_UA_NO_VERSION(0.01)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::834:from] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4YhZgS6Dnfz3byv I recently bought one of those mini-pc firewall devices (Topton 12th gen N100 with 4x I226-V, 2x X520) and couldn't get it to install pkg or buildkernel without getting a slew of these messages, inode number changing and a panic shortly thereafter.

kernel: /: bad dir ino 4567815 at offset 0: mangled entry

I tried the FreeBSD-15.0-CURRENT-amd64-20250124 snapshot and 14.2-RELEASE, both with and without journal, trim and softupdates in every permitted permutation without success. The system has an NVME, but I experience the same problem with the install on a microsd and different known good NVME drive. Each time I had to reinstall because the filesystem was so corrupted it wouldn't boot after a fsck.

The system is now running fine with ZFS so I'm wondering if it's silently corrupting the ZFS or if there's a bug in UFS2 that's tickled by this CPU. I'll provide any debugging required.

Ian