Re: Bug in kernel - how to make big kernel bootable with GRUB (was Re: Linux 2.4.0-Test{1,2} with Grub (I think I found the answer))

From: H. Peter Anvin (hpa@zytor.com)
Date: Fri Jul 14 2000 - 01:02:20 EST


Followup to: <ABrpdRvqPT@khim.sch57.msk.ru>
By author: "Khimenko Victor" <khim@sch57.msk.ru>
In newsgroup: linux.dev.kernel
>
> > The field never got extended because nobody really needed it extended.
> > That's as simple as it can get, no?
>
> No. When you have field 2 bytes in size and you want to store there number
> bigger than $FFFF you MUST increase field. Otherwise what's the point ?
> I'm little surprised nobody noticed it for so long :-(
>

We have noticed. You may note that kernels > 1 MB warn that they can
no longer be booted by the kernel boot sector. THIS IS THE ONLY
LOADER THAT SHOULD EVER USE THIS FIELD.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:19 EST