From nobody Thu Mar 02 00:55:14 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 4PRt1b1G6Yz3vbMl for ; Thu, 2 Mar 2023 00:55:15 +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 4PRt1Z6Tr4z3njx for ; Thu, 2 Mar 2023 00:55:14 +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=1677718514; 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=rOHl78JdsLvdrLkQaRJ4drA5zfrAiOnRKpNV/FmMqKM=; b=Atyd2VwHPdNasgDAlRRineTeWSJptwlrqgmg/btyDll2PkkvdewUIovtVDZj1pbZkYmi6Y ZHYQyRbFVn6kv5sm4ydP65R5ensbsq7sGExV509QpMuB1Xph99M8rfI05nLEykgawBDfjQ uQIMcaJTgz44rjRu1M1LOQ6TjpgRV8wPcOwlACuugH8jJ0aHdqfsfqezXQ9x8CnHWMmVyC vGH4u3vFl0ctLF5vMGAwFvW2nX3zmyA/egd1+iHa0SDGVN0R+yE55vqqIsHRdIK2GDop6H 40kmWgpuF8pshk4qahAIsWwJdFZMSG5Jmvg7BfkA0SoKxV2D4M0mq3eidhpdKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677718514; a=rsa-sha256; cv=none; b=FBjlX19Z1pvtgmnXZEvdL1BYAOD0khhFalfCLUMctkVNg4TkEVwDuEXbM6GE0DAzSynPwC SqJUSlmzwVaD8YD8yT2RvwtUyXcrT2nN2rHx4JBjKjPZM+rheJBwxhOlyUppMuP3p0WNkd xnvBkuCHe/A6HIKeP0DT0fg+m78H4i8U3nn0DMVMrzWXGEQ8pKUCWYofHp5fH0w3dxSPwZ 4BCpBsc4vyT9WUif5Dv5pwddyrSEyqWLPKKw6qIeKOktTb4BHQDOuPfNg1dJQAWxQt7W+e O9RRXxsVnCQi2trbn8T9k2yU6gG9WuW7trRMy/b5u9l4KCbb/egTFjjGd58puw== 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 4PRt1Z5RxJzwNH for ; Thu, 2 Mar 2023 00:55:14 +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 3220tEWW064321 for ; Thu, 2 Mar 2023 00:55:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3220tEKP064320 for bugs@FreeBSD.org; Thu, 2 Mar 2023 00:55:14 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: Thu, 02 Mar 2023 00:55:14 +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 #10 from Jonathan Vasquez --- Hey John, Thanks for that. I got some interesting results! It's been a few months since my last post and since then I've reinstalled FreeBSD, it's currently on 13.2-STABLE (stable/13-n254729-3912f99ecae6/GENERIC). There is nothing in /etc/sysctl.c= onf at the moment. So let's begin from what perspective. I first compiled the /usr/src/sys/amd64/conf/MINIMAL kernel and rebooted. T= he first time I did this the system locked up since it couldn't find my root filesystem, which is on ZFS on an NVMe drive. After some digging, I added a= few options (not the minimum options needed but I casted a wide enough net with= in reason to allow the system to boot). After I got it booting successfully, I wasn't able to type anything. Makes sense.. MINIMAL has no USB support lol.= I added those in as well, so I ended up with a MINIMAL config with the follow= ing extra info: device crypto device acpi device nvme device nvd=20 options ZSTDIO device uhci device ohci device ehci device xhci device usb=20 device hid --------- Now that I was in the system successfully, we can notice that the system di= dn't crash. I did a 'poweroff' as well to get the system back to the cold state which causes it to crash on boot (first time, once it's hot it won't crash)= . I did the 'kldload snd_hda' and the system immediately crashed, and I noticed that I saw some messages regarding 'drm-510-kmod'. I thought, ah! yea I for= got I needed to uncomment the kld_list in my /etc/rc.conf since I have 'amdgpu vboxdrv' in there. So I was thinking, the AMD Radeon XT 6900 (sienna_cichli= d) and the snd_hda may be having a conflict. I commented out the kld_list line= and did a 'poweroff' again. I turned the machine back on immediately and booted= up. I did another 'kldload snd_hda' and the system didn't crash! I was like yea= .. maybe there is a conflict between those two drivers. But I was skeptical. I decided to do another 'poweroff' and wait 5 seconds before I continue, to g= ive any internal system components time to properly reset themselves, just in c= ase. After the 5 seconds, I turned it back on and booted. I did another 'kldload snd_hda', and the system crashed again! This time with no 'drm-510-kmod' messages, just a clean dump. So that makes me think that there potentially could be two issues here, or it could just be one underlying issue (the page fault) that's causing it to appear in two places. I also did a final test with loading the 'vboxdrv' and re-testing, that dri= ver didn't conflict, I just crashed with the same scenario as just mentioned (without amdgpu loaded.. our clean dump). I've attached the following crash dumps for inspection: - 1_with_amdgpu_core.txt - 2_clean_core.txt - 3_clean_core.txt (this is the third run that has vboxdrv loaded but same = info as without vboxdrv.. so vboxdrv doesnt seem to cause an issue). Thank you! --=20 You are receiving this mail because: You are the assignee for the bug.=