Date: Wed, 1 Mar 1995 19:09:29 +0100 (MET) From: Remy.Card@masi.ibp.fr (Remy CARD) To: hasty@netcom.com (Amancio Hasty Jr) Cc: Remy.Card@masi.ibp.fr, hasty@netcom.com, bakul@netcom.com, freebsd-hackers@FreeBSD.org Subject: Re: Since lites-1.0 is out... Message-ID: <199503011809.TAA26561@hebe.ibp.fr> In-Reply-To: <199503011746.JAA10282@netcom14.netcom.com> from "Amancio Hasty Jr" at Mar 1, 95 09:46:14 am
next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503011809.TAA26561>
