9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] missing memory
Date: Mon, 21 Jan 2002 13:04:15 -0500	[thread overview]
Message-ID: <20020121180423.2EFC919981@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

IF you look int the ramscan routine you will see it reads NVRAM locations 0x18 and 0x17.
It would be interesting to know what is in there as that will limit the amount of physical
memory the routine scans.

Put
	*maxmem=0xFF79000
in your plan9.ini and see if the whole memory is detected (and can be used).


[-- Attachment #2: Type: message/rfc822, Size: 3895 bytes --]

From: iwanek@nttdata.co.jp
To: 9fans@cse.psu.edu
Subject: [9fans] missing memory
Date: Tue, 22 Jan 2002 02:07:48 +0900
Message-ID: <50F591D39557D511B12C0090274DCEBC03B6754D@noanet03.noanet.nttdata.co.jp>

Hello 9fans,

About a month ago, I reported a problem of getting the

    panic: exception/interrupt 14

from floppy installation. Not quite sure what I did differently (BIOS
power management setting, maybe), somehow I got through it. Now
I have new problem and would like to ask the list for help again.

My PC is a Dell Dimension 8200. This monster has a 1.6GHz
Pentium4, i850 chipset (danger here?) and 256MB RIMM. 9pcdisk
detects only 64MB of RAM. Setting MEMDEBUG to 1 in
/sys/src/9/pc/memory.c, I get

    maxmem 30000000 D0000000
    maxpa = F9DC -> 3F77000, maxpa1 = F9DC maxpa2 = 280
    00006000 00099C00 0009FC00	# rmapram
    001F9000 03E07000 04000000	# rmapram
    000D0000 00020000 000F0000	# rmapumb
    04000000 FC000000 00000000	# rmapupa

from memdebug(). I guess the range 04000000-10000000 should
be RAM but is classified as UPA (what is it anyway, and its size
FC000000?). Also I don't have rmapumbrw at all. Strange.

I read ramscan() code, and although many details of dealing with
MMU are beyond me, I can't tell why this doesn't work. If you
know anything about how to fix this problem, please let me know.

By the way, linux 2.4.something recognizes all 256MB. Here is
its idea of memory map:

    00000000000000000 - 00000000000A0000 (usable)
    000000000000F0000 - 0000000000100000 (reserved)
    00000000000100000 - 000000000FF77000 (usable)
    0000000000FF77000 - 000000000FF79000 (ACPI NVS)
    0000000000FF79000 - 0000000010000000 (reserved)
    000000000FEC00000 - 00000000FEC10000 (reserved)
    000000000FEE00000 - 00000000FEE10000 (reserved)
    000000000FFB00000 - 0000000100000000 (reserved)

Note that linux found out about this using BIOS's ACPI service
(INT 15h, AX=E820h). I think you can use this only from *real*
mode (horror...).

- kazumi

             reply	other threads:[~2002-01-21 18:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-21 18:04 jmk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-21 18:30 jmk
2002-01-21 18:38 ` Ronald G Minnich
2002-01-21 17:07 iwanek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020121180423.2EFC919981@mail.cse.psu.edu \
    --to=jmk@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).