From nobody Mon Apr 24 20:16:34 2023 X-Original-To: bugs@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 4Q4xH65mH2z47JBk for ; Mon, 24 Apr 2023 20:16:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q4xH644fDz3Pwd for ; Mon, 24 Apr 2023 20:16:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682367394; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=J0Zy0OhynOE/8btYkdi7uvorGLZMWz1oGI0q5SKzKqc=; b=WaeWcTTvbQ59j0saVLkxTjwbzgIZjzfGnU0rVxUejYTo9GygtwFrZg9yN4m0aXKZVZgyIO IeW7Azpair4MgXVmFq3ym7pf0PdLPVQjDtMlfdkWqLMTaJ5UOAi996nK8u4ThI7U3Z2gSg rivxHqCk29EcJwAO8w6cVtWyMspXUH5uQZMM9OKSGtKiXNiRbqyEgpKovUffpKuz/uH35/ 565uy3QVLIN66iecd5nTNst5CNpEiZL2MRzMskRHbxBYMXUaBbQtf9uuqkkdlgnMUfHBrW SR/yVdNfzU1dfbbZGsCzr9VgTzQwUED7EBPOKDF4nl6fJgGUvDRmUyKGAtTCBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682367394; a=rsa-sha256; cv=none; b=XATq1FNxktISDiSQnL/KR931WVM0bKNd1OzLv2A9c5Wui5+fpQeihbqDsQC4xT2CJb53yw Q17qUrbCqJncp+XFnHtsndDOXNEsH8kvv7xPqBjtC0PfklNzHQEdWw/pOtsh90S/W68J0r 7Kg3TONZqic6LthvFIwNie8xhp4EWTTiuLvvmPcXstZ3vRkG4e+/oGpS9iHsBeXWBm35ve KZVPqasySacx3AXnNnl0++WFBBbHrJ/p8+yGCBlGyrgNB/DtNgkBcRwJVQjBtSbGHHhDEH Jo5SHene6G8KoX6lf8YbIxY60LMS5nYESKoa/+H8sHF64cvFMNijJMRO21FHxQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q4xH62xDCzdyh for ; Mon, 24 Apr 2023 20:16:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33OKGYba091059 for ; Mon, 24 Apr 2023 20:16:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33OKGYOt091058 for bugs@FreeBSD.org; Mon, 24 Apr 2023 20:16:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 268393] system always reboots once from a powered off state Date: Mon, 24 Apr 2023 20:16:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jon@xyinn.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268393 --- Comment #41 from Jonathan Vasquez --- Alright, I'm back and updated on the latest stable bios 1409. Unfortunately, this did not fix the issue. But I have some very interesting information to report. 1. I'm able to reproduce the error by booting from the FreeBSD 13.2 USB fro= m a cold state. 2. Booting from a Fedora 37 USB from a cold boot worked properly. 3. This is the interesting part................ If I boot from Fedora 37 fr= om a cold boot, and then I completely power off the machine, and then boot up FreeBSD from a cold boot, the machine will _NOT_ crash. I tried this entire cycle twice and both times it worked fine. Booting FreeBSD and then shuttin= g it down completely, and then starting it up again will cause the problem to ar= ise. This makes me think that there is a driver issue in either the FreeBSD star= t up sequence, or most specifically, the shutdown sequence, where some flags on = the hardware are set to an invalid state, which causes FreeBSD to freak out dur= ing a subsequent cold boot. The Linux side must be "correcting" this issue by either clearing out some flags on the chip, or just overriding the flags already on the chip with the correct ones in a way that doesn't cause a cra= sh. I've attached the Fedora 37 cold boot dmesg just in case it may provide anything (it is just a normal dmesg, not a verbose one). --=20 You are receiving this mail because: You are the assignee for the bug.=