NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/59151: efiboot hangs on new motherboard
The following reply was made to PR misc/59151; it has been noted by GNATS.
From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: misc/59151: efiboot hangs on new motherboard
Date: Fri, 7 Mar 2025 10:21:45 +0000 (UTC)
On Fri, 7 Mar 2025, stix%stix.id.au@localhost wrote:
>> Fix:
> I suspect that this firmware implements memory protection on the efiboot
> image. I also assume that the variables written to as defined in the asm
> are read-only, generating an exception, resulting in a silent hang.
>
Yeah, I think this makes sense. Can you see if the patch below also fixes
this issue?
```
diff -urN a/src/sys/arch/i386/stand/efiboot/bootx64/startprog64.S b/src/sys/arch/i386/stand/efiboot/bootx64/startprog64.S
--- a/sys/arch/i386/stand/efiboot/bootx64/startprog64.S 2023-06-24 05:31:04.000000000 +0000
+++ b/sys/arch/i386/stand/efiboot/bootx64/startprog64.S 2025-03-07 10:11:13.394064579 +0000
@@ -65,6 +65,7 @@
#define CODE_SEGMENT 0x08
#define DATA_SEGMENT 0x10
+ .data
.align 16
.globl _C_LABEL(startprog64)
_C_LABEL(startprog64):
```
Thx,
-RVP
Home |
Main Index |
Thread Index |
Old Index