Re: loadlin with 2.5.?? kernels

Eric W. Biederman
2002-10-26T09:19:59Z

Mike Galbraith <efault@gmx.de> writes:

> At 11:20 PM 10/25/2002 -0600, Eric W. Biederman wrote:
> >Mike Galbraith <efault@gmx.de> writes:
> >
> > > I went back and double-checked my loadlin version, and it turned out I was
> > > actually using 1.6a due to a fat finger. Version 1.6c booted fine (only one
>
> > > kernel tested) without Eric's help. 1.6a definitely needs Eric's help to
> > boot.
> >
> >Darn. I guess the arguments for my patch may not be quite as good,
> >but I still think it may be worth while.
>
> Well, cleanup is always a pretty fine argument. Since there only seem to be two
>
> of us loadlin users, you probably didn't loose much argument wise ;-) The other
>
> loadlin user reported failure at .38, so maybe your patch is needed sometimes
> even with loadlin-1.6c. (other loadlin user listening?)

Robert thanks for your reply.

I just looked at what the loadlin 1.6c code does, and it's heuristic
is just slightly more reliable. It assumes %ds is %cs+8.... That
happens to work but there is nothing in the kernel keeping that from
being broken. So in practice it looks to be worthwhile to stabilize
this interface. So loadlin, and other bootloaders can work by design
and not by chance.

Eric