NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/57017: NetBSD no longer boots with qemu -kernel (i386 multiboot)



The following reply was made to PR port-i386/57017; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-i386/57017: NetBSD no longer boots with qemu -kernel (i386 multiboot)
Date: Wed, 1 Feb 2023 08:11:05 -0000 (UTC)

 khorben%defora.org@localhost (Pierre Pronchery) writes:
 
 >> [   1.0000040] panic: NetBSD requires an 80486DX or later processor
 
 
 The i386/locore.S code for multiboot1 does not execute the CPU detection after
 start_common.
 
 This seems to fix it.
 
 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