Port-i386 archive

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

Ignore BIOS disk geometry for EFI bootsteap



Hello

I just encountered a boostrap crash on a recenrt mac. The machine seems to
only be able to boot over EFI, and it crashes inside bi_getbiosgeom() 
because it gets garbage data. 

Is BIOS disk geometry of any use when booting over EFI? The machine boots
fine with the change below, does anyone foresee any trouble if I commit it?

--- sys/arch/i386/stand/efiboot/Makefile.efiboot.orig
+++ sys/arch/i386/stand/efiboot/Makefile.efiboot
@@ -65,9 +65,8 @@
 CPPFLAGS+= -DSUPPORT_BOOTP
 CPPFLAGS+= -DSUPPORT_DHCP
 CPPFLAGS+= -DSUPPORT_NFS
 CPPFLAGS+= -DSUPPORT_TFTP
-CPPFLAGS+= -DPASS_BIOSGEOM
 CPPFLAGS+= -DBIOSDISK_DEFAULT_SECSIZE=2048     # for bootinfo_biosgeom.c
 CPPFLAGS+= -DLIBSA_ENABLE_LS_OP
 
 #CPPFLAGS+= -DARP_DEBUG


-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index