From eugen@grosbein.net Tue Feb 28 14:28:57 2023 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 4PR09j6GrRz3vWDg for ; Tue, 28 Feb 2023 14:29:13 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PR09j3T6Sz4LPg for ; Tue, 28 Feb 2023 14:29:13 +0000 (UTC) (envelope-from eugen@grosbein.net) Authentication-Results: mx1.freebsd.org; none Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.17.1/8.17.1) with ESMTPS id 31SET4UP066058 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Feb 2023 14:29:05 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: rnhurt@gmail.com Received: from [10.58.0.11] (dadvw [10.58.0.11] (may be forged)) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 31SET3ur064279 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 28 Feb 2023 21:29:03 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: OPNSense (FreeBSD 13.1-p6) kernel panic To: Richard Hurt , freebsd-stable@freebsd.org References: From: Eugene Grosbein Message-ID: <82564799-2ab9-f19f-0fa8-a069325c0e7a@grosbein.net> Date: Tue, 28 Feb 2023 21:28:57 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT autolearn=disabled version=3.4.6 X-Spam-Report: * -0.0 SHORTCIRCUIT No description available. * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hz.grosbein.net X-Rspamd-Queue-Id: 4PR09j3T6Sz4LPg X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 28.02.2023 19:25, Richard Hurt wrote: > After a recent OPNSense update my HD activity light was staying on and the CPU meter on the OPNSense dashboard was reading 100%. After looking for anything obvious and turning off all the services I could, the CPU was still pegged and the HD light was still on constantly. So I rebooted the machine; it never came back online. > > After I attached a monitor to the machine I saw that it had a kernel panic. While unusual I didn't think too much of it however rebooting the machine didn't resolve the issue. So, I removed all the cards, memory, etc. to see if I could get a clean boot. Nothing helped and I continued to get a kernel panic. > > I thought it might be a corrupted hard drive or something so I disconnected the drive and booted off a USB thumb drive with a fresh copy of OPNSense v23.1 installed on it. The system booted just fine and ran the live version. So I turned the machine off, reconnected the drive, rebooted and installed v23.1 on the HD. The install worked perfectly and the machine rebooted. Once again, I got the kernel panic. > > My next thought was that maybe the HD was "bad". I replaced the HD and again installed a fresh copy of v23.1. Again, the kernel panic showed up. Arrggghhh! > > I'm running Memtest86 v6.10 right now and it has passed 4 times, so I don't think it's memory related. I've replaced the HD so that's (probably) not the problem. It seems to work fine when booting from the USB flash drive (it's just slooooow) so the CPU seems to be OK. > > After the kernel panic the machine is locked up completely. Nothing works. The keyboard doesn't do anything, the capslock key doesn't, light up and the floppy drive light is stuck on. > > I've not been able to get a text output of the panic but here is a screenshot I took from my phone: https://imgur.com/a/aaXwkVK I posted about this first on the OPNSense forum (https://forum.opnsense.org/index.php?topic=32728.msg158386#msg158386) but they said that this mailing list was probably the better option. > > Equipment: > * Acer Aspire AST180-UA380B > * AMD Athlon 3800+ > * 3GB RAM > * 1TB SATA drive > > Thanx > Richard The problem seems to be known and specific to OPNSense that change some default FreeBSD settings unconditionally, no matter if hardware's compatible with non-default setting or not: https://github.com/opnsense/core/issues/3177