From nobody Mon Jan 17 17:46:09 2022 X-Original-To: virtualization@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 3866719613D2 for ; Mon, 17 Jan 2022 17:46:10 +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 4Jczpn6TvFz4chX for ; Mon, 17 Jan 2022 17:46:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B52811232F for ; Mon, 17 Jan 2022 17:46:09 +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 20HHk9Mk091543 for ; Mon, 17 Jan 2022 17:46:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20HHk93R091542 for virtualization@FreeBSD.org; Mon, 17 Jan 2022 17:46:09 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: virtualization@FreeBSD.org Subject: [Bug 261284] bhyve emulation of 12.3 on 12.3 frequently crashes Date: Mon, 17 Jan 2022 17:46:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642441569; 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; bh=caK60jeFd+RFrcDngCd1X2Daem4YA7bu9SAL4T8kCc0=; b=OPOvw6iXW1Yp3cr0hjEaNnn+35wOdkumzv+QVV6VrO/1QSCzy7duIUBz3a0SYpGomiBNPO ZbGroKhx1FBSBKFirjd0FDodZVnasVZwwz6023H9K6/Oz03n5qyYozXb1pkBfF1UpmdHyz IH/cRVbMsI0BA/V8p039qWLG23z5fu5FZM8T+h8UggOMWig7JVqSZnzHo0G4ZcrHyl9r4b PfMzGaCByjbia1+g/vb6G97hZM1FHIRrDttiQEC8TsztR9wxS+gi06buph1cJgJ7Z0lC5J +QxIFp7FnyHwnoHXjRbDNuQVVzVF8sPeZUp0Sb4ol0YCzAn8H5IyL/mrCm7ZWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642441569; a=rsa-sha256; cv=none; b=hpzAh7diSTc9obavl57hPvpAkmdgVSkdbpBmcDUqJHE1o6oCC2O07Zu5SSETlS9pAzH4Uz cm3qLvMbEtzYV3ZgwrPmWyS+IPJptLTJH/V5Wa1GQ+V30i4MqrekzX+dzhN/R19M0iDJQ6 6D8kCoKNEeDytKxD4XQ/Ou8svqEG1XqcIB3hcpfoZ313Ig5LOEt4PqmuqNqVhbV1RoKD0z Cl+Iw797lMAY8KKMV9ADkOkjnFQSJTV2dlPSsbDtLaQd680RVACoZ+kzjN7IGUfl/SrzLT ZwPPHrGwz+xoofA10GN26ZInJLaNmyD1frcPx0j7SjYYAo5heaaQ3zhlXN9szw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261284 Bug ID: 261284 Summary: bhyve emulation of 12.3 on 12.3 frequently crashes Product: Base System Version: 12.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: d8zNeCFG@aon.at Created attachment 231089 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231089&action= =3Dedit core.txt.0, info.0 Scenario: - Host system (hal) recently updated from 12.2 to 12.3 (amd64) - Client system (v909) running 12.3 i386 off a ZFS volume - /usr/src and /usr/obj are on hal and reachable by the client via NFS - "cd /usr/src && make installkernel installworld DESTDIR=3D/usr/tmp/x ..." Result: - Normally, this setup works (mostly) o.k. - But with this boot of the host (hal), the client (v909) always crashes whenever doing the above install - Crash info attached Notes: - In 12.3 there seems to be a regression in bhyve because quite often clien= ts running 13.0 just stop in the boot process (zero CPU in the host). They hav= e to be killed using bhyvectl, and in most cases after a restart they boot norma= lly. This seems to indicate some uninitialized data affecting 13.0 clients (amd64 clients more than i386). - In the special case described in this PR, the 12.3 i386 client reliably crashes (I have tried it three times so far without rebooting the host). I = am fairly sure that once I reboot the host the problem will have gone away. Th= is again seems to indicate some uninitialized data affecting, in this case, a = 12.3 i386 client. - In 12.2 (host) there were basically no bhyve problems for both 12.2 and 1= 3.0 clients (amd64 and i386). Summary: There seems to be a regression in bhyve from 12.2 to 12.3, most li= kely with some uninitialized data structures, most likely in the host, but proba= bly also in the client. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=