From nobody Sun Feb 04 00:34:06 2024 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 4TS9Vk6Mbvz58mjj for ; Sun, 4 Feb 2024 00:34:06 +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 4TS9Vk3qdvz4VTT for ; Sun, 4 Feb 2024 00:34:06 +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=1707006846; 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=M4DZPQxX4qiAYsrglH6W5pfKyGCumV/9iJ+mlpzKQDw=; b=sDm8LujppXnOIyYOYUDFBEfVqrt6aQFBBUasZLWSEw7EtZyvBDReG4WWuesOSZ2AVMEYhw cs+blP07k6wIOn78pUSSGQ0a3vR7e1wCR+DSh9dKrNUgwP4B+L1t0yXa/l4zqC1gpoC0oJ dTsZnFhG2p1UlZQy5dhFjo6+spPNsySznIZrGrMh1/sWCMxiSDC8VW00kHNfxFvwkRhifT iOR6v67N3Q0XJ7olEgOlOC9V26inO3psGQ6/kidBoODXjbrtDsS42dOTQGh+W4SQFWHWy+ M0rd5SiHa171rfvnJQmA8Bx5uLBFPyJnIK2EQm+r5xz89ET5vz4MC6R4/8Bdsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707006846; a=rsa-sha256; cv=none; b=hqAqG4mlzZf6imXn0D9EAKnL8ADH2AMlbkYlwxFY/i3ZkVryjQI3hUHhRbKw4MKziRkwDb 9+TysdKVxhDUNf1Nke/6A7gGi94iYVP6sHBytHV70kcRFG8Jlfh2pFCceKV7gchsl4NynT 7jlgEIMRmKA2wq8uqYDzDIxhjFF4AJtiOdOOtfD0SLm/BXtCub0kgI5+QGVXFjIQ69n945 Ho+XtM6xvw8jryKI/rfyOWB1+HLQhW/DDB/pQIb5xiaxq+TvsghbnUa5dF5lUASpk8/p9I 2hKV4W4y2IGKn9rVmbgCcM0UxZuQoC667gkAOdax7szRooS5FiL79X3aI1xF4g== 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 4TS9Vk2t5VzbwG for ; Sun, 4 Feb 2024 00:34:06 +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 4140Y679045868 for ; Sun, 4 Feb 2024 00:34:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4140Y6Lt045867 for virtualization@FreeBSD.org; Sun, 4 Feb 2024 00:34:06 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 276815] loader.efi: failure to load a module causes general protection fault Date: Sun, 04 Feb 2024 00:34:06 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.org 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 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276815 Bug ID: 276815 Summary: loader.efi: failure to load a module causes general protection fault Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: lexi.freebsd@le-fay.org using src 49619f73151aeaca4cef5adf631253da04a46e19=20 i built a new kernel for a bhyve VM on a 14.0 host. i forgot to include a necessary module in the kernel, so it failed to load. however, rather than drop to the loader prompt, the loader produced a fatal exception: Loading kernel... /boot/kernel/kernel text=3D0x963f0 text=3D0x38eed8 text=3D0x7b974 data=3D0x= 140 data=3D0x8c780+0x172880 0x8+0x9db78+0x8+0xbb463| Loading configured modules... /boot/kernel/zfs.ko size 0x5e8828 at 0xb59000 loading required module 'crypto' /boot/kernel/crypto.ko size 0x5e338 at 0x1142000 loading required module 'acl_nfs4' can't find 'acl_nfs4' !!!! X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID - 00000= 000 !!!! ExceptionData - 0000000000000000 RIP - 00000000BE2B818A, CS - 0000000000000038, RFLAGS - 0000000000010246 RAX - 000000000000002F, RCX - 0000000000000000, RDX - 000000000000006B RBX - 0000000000000000, RSP - 00000000BFF40200, RBP - 00000000BFF40200 RSI - 4000000000000080, RDI - 00000000B9A6B940 R8 - 0000000000000018, R9 - FFFFFFFFFFFFFFFD, R10 - 656B2F746F6F622F R11 - 0000000000000140, R12 - 0000000000000000, R13 - 0000000000000000 R14 - 00000000B9A6CE70, R15 - 00000000B9A6B940 DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 GS - 0000000000000030, SS - 0000000000000030 CR0 - 0000000080010033, CR2 - 0000000000000000, CR3 - 00000000BFC01000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 00000000BFBDE000 0000000000000047, LDTR - 0000000000000000 IDTR - 00000000BF1D4018 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 00000000BFF3FE60 !!!! Find image based on IP(0xBE2B818A) (No PDB) (ImageBase=3D00000000BE27= 6000, EntryPoint=3D00000000BE2800D0) !!!! bhyve command line: Feb 04 00:23:32: booting Feb 04 00:23:32: [bhyve options: -c 8 -m 4g -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 4701bec6-c139-11ee-9702-9c6b0006ba72 -u] Feb 04 00:23:32: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,nvme,/data/vm/lily/disk0.img -s 5:0,nvme,/data/vm/lily/disk1.img -s 6:0,virtio-net,tap1,mac=3D58:9c:fc:0e:e8:95] Feb 04 00:23:32: [bhyve console: -l com1,stdio] --=20 You are receiving this mail because: You are the assignee for the bug.=