Re: Kernels > 1M

Werner Almesberger (almesber@lrc.di.epfl.ch)
Mon, 9 Aug 1999 10:36:00 +0200


Riley Williams wrote:
[ H Peter Anvin wrote: ]
> > The kernel would work fine, *unless* you use the pathetically old
> > bootsect.S loader.
>
> True. Am I right in thinking that LILO still uses it?

LILO reads the field setup_sects and it may write vid_mode. It doesn't
use (or run) any of the code in bootsect.S. When loading images
without implicitly known size, LILO requires the user to specify the
size (i.e. image = /dev/foo range = 1-100).

Considering that nothing but bootsect.S itself uses syssize, the most
straightforward solution to the problem seems to be to change the unit
of syssize from paragraphs to sectors, to increase the header version
number in setup.S (not 100% clean, but the best approximation to a
version number for bootsect.S we have), and to update the checks
accordingly.

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_R_131__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

- 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/