From nobody Fri May 10 15:04:29 2024 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 4VbYY13rnPz5JySB for ; Fri, 10 May 2024 16:01:57 +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 4VbYY11c8Sz4vkD for ; Fri, 10 May 2024 16:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715356917; a=rsa-sha256; cv=none; b=B3BATjVeXkBS0fhrM9YXUKVgBVaF25He4wAS991TRt5H9dFCDO1kFlwP5/+0VVrWGrE+UH dA68J5RO13vKPZkHhnuRGoeYHBC1TSN8qbZnFuRza8372xn3xOVaBGREU4NNkmvobxtXLB 1qca/Mjy9tcyrAqmAV8FVBZoUoFM2LR2ekLGo1E0baoRN2IlkyFP2jzCAOpcXtNJMf90hc iAMIawteM4KfF+9+CpnBvepMwDXxUEudzu27k6JpNuWuLlJjoDee1Rk7ginOHU30U8+I+Y yMlAZCDxpCwrqTjPFdjB/E0GaTu5ef6wmuyl2SyFWWRRKpucYB7WYMG3yOinEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715356917; 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=2u4GUyCbe55XVhrWaEfhH3+oEXSfaBUrevMoh5zK8aw=; b=nIrfs0wLuSYrAvcA596AHHPM6lz6w0h94w3YbLLxyuPWpwpiZz3Kqw22EpIgWMHGM2U0h5 Osi6dYUyoKmefrzpigdutnyhWZebwdbBGeiM3IGTsU2fg5y2mR6svkj6t8jwtXqGY+T47T d9czY/zYAjc403mbKlTX8aErbt29nt5ZTRxHR+pizPnMHCt97lkuWhbFyG9/E9Y4A/0885 WakVx4Eyud7jR54dJUnMJ+6MYB/GWzu5AloLag8jcF2hFCI3Fp2NjE3HIrSfrkADxYO19f hoCyTLc9fhSmAYnSCpsBx6hSJNR0XQ/gwq71cTcPEYByoybufZJS65cgqzBOdw== 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 4VbYY118dSzkcX for ; Fri, 10 May 2024 16:01:57 +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 44AG1kGN044433 for ; Fri, 10 May 2024 16:01:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44AF4Up7077806 for bugs@FreeBSD.org; Fri, 10 May 2024 15:04:30 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 256722] [PATCH] EFI boot: Fix boot freeze on some systems Date: Fri, 10 May 2024 15:04:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: egypcio@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256722 Vin=C3=ADcius Zavam changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egypcio@FreeBSD.org --- Comment #19 from Vin=C3=ADcius Zavam --- +1; reproduced using the following installation medias (in a KVM guest): * FreeBSD-15.0-CURRENT-amd64-20240425-78101d437a92-269695-disc1.iso * FreeBSD-15.0-CURRENT-amd64-20240502-b07689d1f2a2-269827-disc1.iso * FreeBSD-15.0-CURRENT-amd64-20240509-ce7756fdca1f-270021-disc1.iso a piece of the dumpxml output of that VM follows: 2097152 1048576 1 hvm /usr/share/OVMF/OVMF_CODE_4M.fd /var/lib/libvirt/qemu/nvram/freebsd_VARS.fd should that matters for someone, host's CPU is an Intel(R) Core(TM) i7-1051= 0U CPU @ 1.80GHz. here's the console output of the VM trying to boot, after the installation: Loading kernel... Loading configured modules... staging 0x61c00000 (not copying) tramp 0x7d460000 PT4 0x7d457000 Start @ 0xffffffff80384000 ... !!!! X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID - 00000= 000 !!!! ExceptionData - 0000000000000000 RIP - 000000007D6C243B, CS - 0000000000000038, RFLAGS - 0000000000010202 RAX - 0000000000000002, RCX - 9090FF5BE9909000, RDX - 0000000000000002 RBX - 000000007FF36A40, RSP - 000000007FF368F8, RBP - 000000007FF36A10 RSI - 000000007D710808, RDI - 00000000FFFFFFEF R8 - 00000000FFFFFFFB, R9 - 000000007D71080B, R10 - 000000000000FE00 R11 - FEFFFCFF2F636C2E, R12 - 00000000000003F8, R13 - 000000007FF36A48 R14 - 000000007FF36930, R15 - 0000000020010000 DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 GS - 0000000000000030, SS - 0000000000000030 CR0 - 0000000080010033, CR2 - 0000000000000000, CR3 - 000000007FC01000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 000000007F9DD000 0000000000000047, LDTR - 0000000000000000 IDTR - 000000007F473018 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 000000007FF36550 !!!! Find image based on IP(0x7D6C243B) (No PDB) (ImageBase=3D000000007D67= B000, EntryPoint=3D000000007D6852D0) !!!! --- the boot of the installer looks just fine (trying any of the .iso images): Loading kernel... /boot/kernel/kernel text=3D0x183de8 text=3D0xda8358 text=3D0x47a30c data=3D= 0x180+0xe80 data=3D0x199670+0x466990 0x8+0x19de80+0x8+0x1c84c2| Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' staging 0x74000000 (not copying) tramp 0x7e081000 PT4 0x7e077000 Start @ 0xffffffff80384000 ... EFI framebuffer information: addr, size 0xc4000000, 0x3e8000 dimensions 1280 x 800 stride 1280 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb --- --=20 You are receiving this mail because: You are the assignee for the bug.=