From: "Joel Soete" <soete.joel@tiscali.be>
To: "Grant Grundler" <grundler@parisc-linux.org>,
"Matthew Wilcox" <willy@debian.org>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Linux only see 2Gb of ram of N4k
Date: Wed, 24 Mar 2004 17:42:06 +0100 [thread overview]
Message-ID: <40561E71000066FA@ocpmta2.freegates.net> (raw)
In-Reply-To: <40561EAF00005B43@ocpmta1.freegates.net>
Hi Grant,
Sorry but I make a typo in
arch/parisc/mm/init.c
static void __init setup_bootmem(void)
{
[snip]
/*
* Throw out ranges that are too far apart (controlled by
* MAX_GAP). If CONFIG_DISCONTIGMEM wasn't implemented so
* poorly, we would recommend enabling that option, but,
* until it is fixed, this is the best way to go.
*/
printk("npmem_ranges = %d.(line 171)\n", npmem_ranges);
for (i = 1; i < npmem_ranges; i++) {
printk("pmem_ranges[%d].start_pfn = %ld.\n", i-1,
pmem_ranges[i-1].pages); <=== should be start_pfn also
printk("pmem_ranges[%d].pages = %ld.\n", i-1,
pmem_ranges[i-1].pages);
printk("pmem_ranges[%d].start_pfn = %ld.\n", i,
pmem_ranges[i].pages); <==== here the same
printk("MAX_GAP = %ld.\n", MAX_GAP);
[snip]
And actual results would be:
<==== return by setup_bootmem() ====>
pmem_ranges[0].start_pfn = 0.
pmem_ranges[0].pages = 524288.
pmem_ranges[1].start_pfn = 1572864.
Is it much more in accordance to your knowledge?
Thanks for advise,
Joel
PS: May I risk to play with CONFIG_DISCONTIGMEM?
----------------------------------------------------------------------------------------
Tiscali ADSL: 35 /mois, la meilleure offre du marché!
http://reg.tiscali.be/default.asp?lg=fr
next prev parent reply other threads:[~2004-03-24 16:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-20 18:04 [parisc-linux] Linux only see 2Gb of ram of N4k Joel Soete
2004-02-20 18:21 ` Matthew Wilcox
2004-02-21 18:19 ` Joel Soete
2004-02-22 5:49 ` Grant Grundler
2004-02-23 8:30 ` Joel Soete
2004-03-23 15:07 ` Joel Soete
2004-03-24 16:42 ` Joel Soete [this message]
2004-03-24 17:39 ` Grant Grundler
2004-03-24 18:23 ` Joel Soete
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=40561E71000066FA@ocpmta2.freegates.net \
--to=soete.joel@tiscali.be \
--cc=grundler@parisc-linux.org \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=willy@debian.org \
/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