public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re1: LOADLIN and 2.4 kernels
@ 2001-09-08  8:53 Floydsmith
  2001-09-08  9:21 ` Nicholas Knight
  0 siblings, 1 reply; 2+ messages in thread
From: Floydsmith @ 2001-09-08  8:53 UTC (permalink / raw)
  To: hpa; +Cc: linux-kernel, Floydsmith


>Hi everyone,
>
>I got a bug report of LOADLIN not working with recent -ac kernels, and
>thought it might have something to do with my recent A20 changes that
>were added to -ac.  However, in trying to reproduce this bug, I have
>been completely unable to boot *any* 2.4 kernel with LOADLIN-1.6, trying
>this from Win98 DOS mode.
>
>Anyone have any insight into this?  I really don't understand how the
>A20 changes could affect LOADLIN, and it's starting to look to me that
>there is some other problem going on...
>
>        -hpa

You do not specify exactly what your problem is (error message, where, etc.) 
so I am not sure I can help you or not. I had a problem with 2.2x kernels 
booting but not any 2.4.x ones with loadlin but only when "initrd" (ramdisk 
as "root" filesystem) was used. The symptom was the kernel would attempt to 
load but a insuficient memory error (I think it said you must have at least 
4MB) then it would hang. If you have this problem and if you exactly 64MB of 
ram, then what seems to happen is loadlin probes for and finds the correct 
amount of memory. Then it loads the 2.4.x kernel into a buffer. The kernel 
then attempts boot just the "boot" sector stuff. This again probes for the 
total amount of system ram (64MB). But, because of the much greater size of 
2.4.x kernels some memory location that himem uses (I think - maybe BIOS 
though) in relation to "memory size determination" gets over wiritten when 
loadlin filed the "buffer". The only workaround I have found so far for this 
is to pass on the loadlin command line the extra "boot param" of:
    mem=64M
so that the kernel does not probe.

Floyd,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re1: LOADLIN and 2.4 kernels
  2001-09-08  8:53 Re1: LOADLIN and 2.4 kernels Floydsmith
@ 2001-09-08  9:21 ` Nicholas Knight
  0 siblings, 0 replies; 2+ messages in thread
From: Nicholas Knight @ 2001-09-08  9:21 UTC (permalink / raw)
  To: Floydsmith, hpa; +Cc: linux-kernel

On Saturday 08 September 2001 01:53 am, Floydsmith@aol.com wrote:
> >Hi everyone,
> >
> >I got a bug report of LOADLIN not working with recent -ac kernels, and
> >thought it might have something to do with my recent A20 changes that
> >were added to -ac.  However, in trying to reproduce this bug, I have
> >been completely unable to boot *any* 2.4 kernel with LOADLIN-1.6,
> > trying this from Win98 DOS mode.
> >
> >Anyone have any insight into this?  I really don't understand how the
> >A20 changes could affect LOADLIN, and it's starting to look to me that
> >there is some other problem going on...
> >
> >        -hpa
>

<snip>

> loads the 2.4.x kernel into a buffer. The kernel then attempts boot
> just the "boot" sector stuff. This again probes for the total amount of
> system ram (64MB). But, because of the much greater size of 2.4.x
> kernels some memory location that himem uses (I think - maybe BIOS

Sounds like something booting to Safe Mode Command Prompt Only would fix, 
as opposed to booting to plain command prompt mode
command prompt mode will load some drivers (such as himem), better not to 
load them when using LOADLIN. Safe Mode Command Prompt Only boots 
straight to the command prompt, very similar to setting init to /bin/sh 
for a completely bare single-user mode.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-08  9:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-08  8:53 Re1: LOADLIN and 2.4 kernels Floydsmith
2001-09-08  9:21 ` Nicholas Knight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox