From nobody Thu Jan 25 07:34:54 2024 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 4TLCK24SYTz57ymp for ; Thu, 25 Jan 2024 07:35:02 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TLCK23dTrz41vS; Thu, 25 Jan 2024 07:35:02 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706168102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yYrn/Il+8RcaTnhBhOnueVY1EtssCQSyCQCA4KLUsFg=; b=OrEljjgG3e/CpyhCTaxOXxWaHJYcQaFfhc97KiebNMq6dZHXHq4U1v3FC0qqGPFIa04FM1 zvAIGyZMRvATW/+dtlDuoUdmfG6G5VWwgvDE/IcxkTt+7sbez2UnlFrvjGU0cUckJwB4Jc T42G39FHWa8Y3U0udaIiZHIh+ba1BI95PXO83ufRIoAjGcxNpdrpPhXT6UY9NDOcyWe3Au 9ziQKFzR7h5+a+CicGoWMs9vDQD/ZRz416K3Md6lsRQncukb5FsYn1YL/c1q/is8zGLpVJ XQmToRrejA09QfcUfSCS3KPePaWFTiRgV0GBjSjtrUuCleqQsHXjwWVFukREyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706168102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yYrn/Il+8RcaTnhBhOnueVY1EtssCQSyCQCA4KLUsFg=; b=vhWKEzCBYhn1S9QA/R+FpFUnBtFMpPGhGymnoyNjoPZg4wVwV5WoUV20BWdo2XKY4yPddF 63eSbQ4dph1PX9hQKmR78n+uMPpedStLp9TUUbDQRV8taMFsn2jxkSgT1WJOF2Fh3kflb8 2AvM4tyvBl1bri95XB+qowgU4oDWg/ZWIlT7ZNluuiCddxhoJc+DCoeeVVVTVc1IL7nN0h zcGVBjMhe7uM4JmOmyonlcAfksHFTKKiC6fctZoVriwT0GFGA0GaD8J+C4/YLUdO9flqxS XgG7T5qu9SS+xiejgYQsHzmrrM1y6yUC1julr7JG71RlQC9bdJXt0yNfdhgAfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706168102; a=rsa-sha256; cv=none; b=PnX+J1X9Uv27b9B8u7VbmvHr8bxysHhqRZUNo5kYfCjN4bdjBV7pqOAJw0vh3hb4aE14/T u4W5TsYaDOXNzhSUo/54v0eNl2L/3mw2Z03ZWzZ+2SePkH55aCH3txUGvCPWL4YjED3qNj jKVFVlmcDu5jt5kz3k3k+It+dbAldfpzzgF29hPCJteV+1p/tqSj/92JSNP9dXWdNFgwJC szIyiMc8xr98mLdddwQneZEhG6dymZyHWLWYVL+AXMGiNFB4ScshPrcsfO/8Xc2AMOxL60 ftd3hOGemXUTS914/f5gOsliHulCCQ5DK3zN/hGLljZDPuC3GU6cfn0MFBmFVw== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TLCK14QZRz19M6; Thu, 25 Jan 2024 07:35:01 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <36DAFC0F-EDB2-49D9-94D5-60CBEEB360EC@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_B4A4F3A9-C4DF-46FD-A4B0-F9B310A17810" 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 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: loading vmm.ko crashes main-n267684-e4b646ce1610 Date: Thu, 25 Jan 2024 15:34:54 +0800 In-Reply-To: <8db9d82d-37a8-472a-adbf-4565748adac4@app.fastmail.com> Cc: freebsd-current@freebsd.org To: void References: <8db9d82d-37a8-472a-adbf-4565748adac4@app.fastmail.com> X-Mailer: Apple Mail (2.3696.120.41.1.4) --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 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 = . >=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

On Jan 24, 2024, at 8:47 AM, void <void@f-m.fm> = wrote:

Hello,

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:

http://void.f-m.fm.user.fm/Screenshot_20240122_135539.png
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.

The main-n267684 is running a modified GENERIC-NODEBUG
kernel and has debugging turned off in /etc/src.conf
(it has WITHOUT_ASSERT_DEBUG=3D and WITHOUT_DEBUG_FILES=3D = and
WITH_MALLOC_PRODUCTION=3D)

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.


/var/crash has nothing in it.

thanks in advance for any assistance
--


Best regards,
Zhenlei

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