From owner-freebsd-hackers Wed Mar 1 10:12:17 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA13079 for hackers-outgoing; Wed, 1 Mar 1995 10:12:17 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id KAA13073 for ; Wed, 1 Mar 1995 10:12:14 -0800 Received: from masi.ibp.fr (root@masi.ibp.fr [132.227.60.23]) by ibp.ibp.fr (8.6.10/jtpda-5.0) with ESMTP id TAA16399 ; Wed, 1 Mar 1995 19:09:49 +0100 Received: from hebe.ibp.fr (card@hebe.ibp.fr [132.227.64.34]) by masi.ibp.fr (8.6.10/jtpda-5.0) with ESMTP id TAA14931 ; Wed, 1 Mar 1995 19:09:37 +0100 From: Remy.Card@masi.ibp.fr (Remy CARD) Received: by hebe.ibp.fr (8.6.10/jtpda-5.0) id TAA26561 ; Wed, 1 Mar 1995 19:09:29 +0100 Message-Id: <199503011809.TAA26561@hebe.ibp.fr> Subject: Re: Since lites-1.0 is out... To: hasty@netcom.com (Amancio Hasty Jr) Date: Wed, 1 Mar 1995 19:09:29 +0100 (MET) Cc: Remy.Card@masi.ibp.fr, hasty@netcom.com, bakul@netcom.com, freebsd-hackers@FreeBSD.org In-Reply-To: <199503011746.JAA10282@netcom14.netcom.com> from "Amancio Hasty Jr" at Mar 1, 95 09:46:14 am X-Mailer: ELM [version 2.4 PL21] Content-Type: text Content-Length: 1619 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > Hi, Hi, > Is this the FreeBSD patch that you mentioned: > > *** i386/boot/biosboot/boot.c Fri Jan 6 11:24:01 1995 > --- i386/boot/biosboot/boot.c.new Fri Jan 6 11:23:40 1995 > *************** > *** 139,145 **** > /*if(poff==0) > poff = 32;*/ > > ! startaddr = (int)head.a_entry & 0x00FFFFFF; /* some MEG boundary */ > addr = startaddr; > printf("Booting %s(%d,%c)%s @ 0x%x\n" > , devs[maj] > --- 139,145 ---- > /*if(poff==0) > poff = 32;*/ > > ! startaddr = (int)head.a_entry & 0x00F00000; /* some MEG boundary */ > addr = startaddr; > printf("Booting %s(%d,%c)%s @ 0x%x\n" > , devs[maj] > ---- This is not this one :-) My patch changes a few things in the assembler, not in the boot blocks. > I managed to compile mach4 however Mach.all bombs out at boot time > and I suspect is because I did not apply the above patch. Mach.all bombs out because it is linked as a QMAGIC binary. It seems that the current boot blocks are not able to boot a QMAGIC kernel. I have not looked into it: I have simply modified the mkbootimage script in Mach4 to make it generate a ZMAGIC binary (simply add -Z to the call to ld). BTW, I noticed that everything under FreeBSD is linked as a QMAGIC binary except the kernel so I suspect that the boot blocks bug is already known. > It will be nice if you can mail your notes. Ok, I have to update them (I will work on it this evening) and I'll send them to this list tomorrow. > > Tnks, > Amancio > Remy