Re: NT DDK vs. Linux DDI, a practical comparison [long]

david parsons (o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s)
22 Sep 1998 16:18:40 -0700


In article <linux.kernel.199809220142.SAA09522@icarus.com>,
Stephen Williams <steve@icarus.com> wrote:
>>Please note that there's no need for such patch. Instead of modifying the
>>kernel to tell "bigphysarea=40M" just boot with "mem=24M" and use
>>proper sw (no patch needed).
>
>o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s said:
>> That's not a particularly good solution, because it requires
>> user intervention to make it work, and in the grand tradition
>> of the lilo >64mb hack, it leaves a wonderful opportunity to
>> see just how the machine can not work the way you want it to
>> if you add or subtract memory.
>
>It is not too bad a solution after all, as the bigphysarea patch takes
>a lilo parameter as well, and so requires user interaction.

A whole bunch less.

If I've got a machine with 64mb of memory and I do bigphysarea=40m,
then expand to 128mb of memory, I'll be left with 88mb of usable
memory without user intervention.

If I've got a machine with 32mb of memory and I do mem=24m, then
expand to 128mb of memory, I'll be left with 24mb of usable memory
without user intervention.

I've had the second happen; I had a system on an eisa-ish motherboard
once upon a time, so I needed to set mem=32m (because I couldn't get
my enhanced memory detection to work on Compaq EISA machines. Grrr.)
with it. Over time, that machine evolved and ended up as a 2x80521
machine with 96mb of memory. Which, of course, was only `detecting'
32mb of it, and the only reason I realized that I still had this
horrible usermode hack (all of my machines use my enhanced memory
detection code) was that I was working on the Mastodon installer and
realized that it was only detecting 32mb (and even then I did a few
passes through the kernel code before realizing that this horrible
lilo hack was the reason why.)

>I think this
>is not unreasonable as such devices need not be considered mainstream.

Tape drives aren't mainstream?

____
david parsons \bi/ Leave memory management to the kernel, since that's
\/ what it's there for.

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