From nobody Mon Jan 27 18:55:04 2025 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 4Yhczv4Kd8z5m69M for ; Mon, 27 Jan 2025 18:55:07 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 4Yhczt5zCnz42KS for ; Mon, 27 Jan 2025 18:55:06 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=YjwshnFH; spf=pass (mx1.freebsd.org: domain of ianfreislich@gmail.com designates 2607:f8b0:4864:20::b31 as permitted sender) smtp.mailfrom=ianfreislich@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-e549be93d5eso8444866276.1 for ; Mon, 27 Jan 2025 10:55:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738004105; x=1738608905; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=DSIBcweZdL6d+0q7KhKeVDPt2OvoC08Nk6+bXLHq5dA=; b=YjwshnFHpksK8+NPlGHPPjhw650ryeXDi7HRxMixZPzLCk5ZjOCrRjo0/SUq3q91z6 27gsM1NVZ0t1E7F8PIFDA4XAn+ylUoqxmtWN/oYTI1DnCS+SKnOXcqJaU6cdQxDrgI2C d3UeopXhXV+26ZbotkDlXFnEBgtp8CtjfDF5gtN49IfnnOG58MOc3XS51/9P4QcorRUS KQQRcJga0usvyBCADkycnKAKQ2VfggKNOu2U6ylCtIQvHCkTrqDeV8QjJm1zkNwyJYw3 iCrQWE9Px3RfrKluPbPphiWDPb/qTpDoc0bOHv6RE6yoUdPgn0ntiXGKtS3WpOyL/j12 Fi2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738004105; x=1738608905; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DSIBcweZdL6d+0q7KhKeVDPt2OvoC08Nk6+bXLHq5dA=; b=ixIldapHs7/4jFe2WqGkA4uxy8twsJfyJG6HqMlIi+3vZsZqnTJDZ+1xFYqIF2t7rX be34sx+NxAXrU899SDZUgbBGHLTB4n2uHg/K9C6e/PJIkXrZY//tju5joTGrv/WRiMb2 zO8EBaqUnA6VVK0qkCAEJFXAgSRejm5n9l7Sny/pk59R/qB06MHSgZTpMG01Z5+L6SD9 06lPNWhHn5gFXWWsnzBqckoG66KsX9Hw8giu+q+c19wRb96iwPIlyRCyRHf6wCKWUldQ YlTAGdXE63R/UOl4t6T/xTRAY+sNRYbtQFEI3HchdNzivMsYb3OrcDBd1TGF1HqFgD+8 XdpA== X-Gm-Message-State: AOJu0YwRG2X9mgF7bXCgOcwy/CcgotofHFZk2iKGiLIgEcDACoXyyeIA Hr2yeb84jCzepG350JYakiedD4DhAwKXtZQPvW7g9lxG7SMkre9tKoI/Ag== X-Gm-Gg: ASbGncs9L+oR+8zn9elnyaA3xqxtcOV4swpBHkIzq2RLUdewudD1jbb1RAL/qXNTteP XkT2nac2YBYCbwvs0YOOvj8lTQcMnLdyzlj0f3lB/pvUgbnpRvSjenG3rvn2mnBO2Ba17LP7ROC +ZMEPPdX/SV6DOejiXukP33z1drJIdFH95RlgXoNGNbAsF3RZhx6ss2QdtHl5UU/oCZ33Tv+18I kAJz3NbHisEJwuyvVElmz5csEQOk1Pxbvyr8pRVBdFHUJcGZyVd1yeUUrMxobrvoVa6Bv7bGNkQ 0pqytn4CUflknzoW57BGPVqTMVrSsiVw2LhlAxg3n3ieXonFyUny0b00RR/l X-Google-Smtp-Source: AGHT+IF5dUowT0uJXGwgZ3RpPaoMzxHpFVvJv6BWVJM2XUamgk73BChomY8MYRgHsShNOanuDAnXNQ== X-Received: by 2002:a05:6902:2684:b0:e58:341d:50cd with SMTP id 3f1490d57ef6-e58341d5b13mr13768100276.49.1738004105373; Mon, 27 Jan 2025 10:55:05 -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 3f1490d57ef6-e583b862558sm1722003276.43.2025.01.27.10.55.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jan 2025 10:55:05 -0800 (PST) Message-ID: <93f885a3-1f96-403c-9739-ddb836fd4fa3@gmail.com> Date: Mon, 27 Jan 2025 13:55:04 -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 Subject: Re: UFS bad inode, mangled entry on Alder Lake-N(100) To: freebsd-current@freebsd.org References: <20250127183803.23683162.25648751.59233766@dino.sk> Content-Language: en-US From: Ian FREISLICH In-Reply-To: Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.47 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.92)[-0.916]; NEURAL_HAM_MEDIUM(-0.87)[-0.865]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_HTML_ONLY(0.20)[]; XM_UA_NO_VERSION(0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:~]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b31:from]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4Yhczt5zCnz42KS It might be timing related. UFS with a custom kernel (previously GENERIC) is less prone and I got these building world on an microSD:

Jan 27 12:35:54 router kernel: /: inode 1286411: check-hash failed
Jan 27 12:35:54 router syslogd: last message repeated 1 times
Jan 27 12:35:54 router kernel: /: inode 1286412: check-hash failed
Jan 27 12:35:54 router syslogd: last message repeated 1 times
Jan 27 12:35:54 router kernel: /: inode 1286413: check-hash failed
Jan 27 12:35:54 router syslogd: last message repeated 1 times

No panic so far, without the cpu microcode. I'll look into that shortly.

Ian

On 2025-01-27 13:12, Patrick M. Hausen wrote:
Hi all,

Am 27.01.2025 um 18:38 schrieb Milan Obuch <freebsd-current@dino.sk>:

On Mon, 27 Jan 2025 12:10:43 -0500
Ian FREISLICH <ianfreislich@gmail.com> wrote:

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

[...]
Just a "me too" message - I did test another device with the same CPU,
mine is SZBOX.
[...]
In the OPNsense community we had frequent reports of UFS corruption
with Alder Lake and Raptor Lake CPUs. Lots of embedded devices of
varying manufacture and quality in use, apparently.

The problems were fixed in all cases that I am aware of by applying the current
Intel microcode update (sysutils/cpu-microcode). Make sure to activate early
loading via /boot/loader.conf(.local).

HTH, kind regards,
Patrick