NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/56935: NetBSD HEAD/202207161950Z i386 kernel misidentifies CPU and panics when multiboot-ed
The following reply was made to PR kern/56935; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/56935: NetBSD HEAD/202207161950Z i386 kernel misidentifies CPU and panics when multiboot-ed
Date: Wed, 1 Feb 2023 08:42:43 -0000 (UTC)
ivan%siamics.net@localhost (Ivan Shmakov) writes:
>>Number: 56935
>>Category: kern
>>Synopsis: NetBSD HEAD/202207161950Z i386 kernel misidentifies CPU and panics when multiboot-ed
> Attempting to boot NetBSD kernel as of a recent HEAD
> snapshot [1] via Syslinux mboot.c32 module under Qemu 3.1
> from Debian 10 (oldstable) results in a panic, apparently
> due to the CPU being misidentified as 80386-class:
This seems to the same as port-i386/57017.
Please try the patch:
Index: sys/arch/i386/i386/locore.S
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/i386/locore.S,v
retrieving revision 1.190
diff -p -u -r1.190 locore.S
--- sys/arch/i386/i386/locore.S 7 Sep 2022 00:40:18 -0000 1.190
+++ sys/arch/i386/i386/locore.S 1 Feb 2023 08:10:11 -0000
@@ -415,7 +415,7 @@ multiboot1_loader:
pushl %ebx /* Address of Multiboot information */
call _C_LABEL(multiboot1_pre_reloc)
addl $4,%esp
- jmp 2f
+ jmp .Lstart_common
efi_multiboot2_loader:
/*
Home |
Main Index |
Thread Index |
Old Index