Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2024 15:34:54 +0800
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        void <void@f-m.fm>
Cc:        freebsd-current@freebsd.org
Subject:   Re: loading vmm.ko crashes main-n267684-e4b646ce1610
Message-ID:  <36DAFC0F-EDB2-49D9-94D5-60CBEEB360EC@FreeBSD.org>
In-Reply-To: <8db9d82d-37a8-472a-adbf-4565748adac4@app.fastmail.com>
References:  <8db9d82d-37a8-472a-adbf-4565748adac4@app.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_B4A4F3A9-C4DF-46FD-A4B0-F9B310A17810
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On Jan 24, 2024, at 8:47 AM, void <void@f-m.fm> wrote:
>=20
> Hello,
>=20
> Loading vmm either via vmm_load=3DYES in /boot/loader.conf or
> manually via kldload vmm crashes the system to db> prompt
> as shown in the link below:
>=20
> http://void.f-m.fm.user.fm/Screenshot_20240122_135539.png
>=20
> Thing is, access is via a html5 console with no up/down scrolling
> or buffer. Nothing can be entered into the db> prompt. There's plenty
> more information when it crashes, but the output scrolls off the top.
>=20
> The main-n267684 is running a modified GENERIC-NODEBUG
> kernel and has debugging turned off in /etc/src.conf=20
> (it has WITHOUT_ASSERT_DEBUG=3D and WITHOUT_DEBUG_FILES=3D and=20
> WITH_MALLOC_PRODUCTION=3D)
>=20
> Apart from turning these on again and rebuilding GENERIC, what other =
things
> need to be set to get a usable coredump when this happens?

You may want to configure the dump device before get the coredump.
See  =
https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/#kerneld=
ebug-obtain =
<https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/#kernel=
debug-obtain> .

>=20
> /var/crash has nothing in it.
>=20
> thanks in advance for any assistance
> --=20
>=20

Best regards,
Zhenlei


--Apple-Mail=_B4A4F3A9-C4DF-46FD-A4B0-F9B310A17810
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jan 24, 2024, at 8:47 AM, void &lt;<a =
href=3D"mailto:void@f-m.fm" class=3D"">void@f-m.fm</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">Hello,<br class=3D""><br class=3D"">Loading vmm either via =
vmm_load=3DYES in /boot/loader.conf or<br class=3D"">manually via =
kldload vmm crashes the system to db&gt; prompt<br class=3D"">as shown =
in the link below:<br class=3D""><br class=3D""><a =
href=3D"http://void.f-m.fm.user.fm/Screenshot_20240122_135539.png" =
class=3D"">http://void.f-m.fm.user.fm/Screenshot_20240122_135539.png</a><b=
r class=3D""><br class=3D"">Thing is, access is via a html5 console with =
no up/down scrolling<br class=3D"">or buffer. Nothing can be entered =
into the db&gt; prompt. There's plenty<br class=3D"">more information =
when it crashes, but the output scrolls off the top.<br class=3D""><br =
class=3D"">The main-n267684 is running a modified GENERIC-NODEBUG<br =
class=3D"">kernel and has debugging turned off in /etc/src.conf <br =
class=3D"">(it has WITHOUT_ASSERT_DEBUG=3D and WITHOUT_DEBUG_FILES=3D =
and <br class=3D"">WITH_MALLOC_PRODUCTION=3D)<br class=3D""><br =
class=3D"">Apart from turning these on again and rebuilding GENERIC, =
what other things<br class=3D"">need to be set to get a usable coredump =
when this happens?<br class=3D""></div></div></blockquote><div><br =
class=3D""></div><div>You may want to configure the dump device before =
get the coredump.</div><div>See &nbsp;<a =
href=3D"https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/=
#kerneldebug-obtain" =
class=3D"">https://docs.freebsd.org/en/books/developers-handbook/kerneldeb=
ug/#kerneldebug-obtain</a>&nbsp;.</div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D""><br =
class=3D"">/var/crash has nothing in it.<br class=3D""><br =
class=3D"">thanks in advance for any assistance<br class=3D"">-- <br =
class=3D""><br class=3D""></div></div></blockquote></div><br =
class=3D""><div class=3D"">
<div>Best regards,</div><div>Zhenlei</div>

</div>
<br class=3D""></body></html>=

--Apple-Mail=_B4A4F3A9-C4DF-46FD-A4B0-F9B310A17810--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36DAFC0F-EDB2-49D9-94D5-60CBEEB360EC>