From: ebiederm@xmission.com (Eric W. Biederman)
To: Fawad Lateef <fawad_lateef@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Need help in creating 8GB RAMDISK
Date: 09 Jul 2004 14:46:14 -0600 [thread overview]
Message-ID: <m1brioc3jd.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <20040704092523.58214.qmail@web20806.mail.yahoo.com>
Fawad Lateef <fawad_lateef@yahoo.com> writes:
> Hello
>
> I am creating a RAMDISK of 7GB (from 1GB to 8GB). I
> reserved the RAM by changing the code in
> arch/i386/mm/init.c ..........
>
> But I am not able to access the RAM from 1GB to 8GB in
> a kernel module ........ after crossing the 4GB RAM,
> the system goes into standby state. But if I insert
> the same module 2 times means one for 1GB to 4GB and
> other for 4GB to 8GB. and mount them seprately both
> works fine ............
>
> Can any one tell me the reason behind this ??? I think
> that in a single module we can't access more than 4GB
> RAM ...... If this is the reason then what to do ??? I
> need 7GB RAMDISK as a single drive ....
What do you need this for?
Mostly it looks like you just need to use kmap, but...
As other have pointed out ramfs is usually the better solution,
and you don't need to code anything.
Or are you trying to use an 7GB initrd. An interesting idea
but that would take a little bootloader hacking to make work.
Eric
next prev parent reply other threads:[~2004-07-09 20:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-04 9:25 Need help in creating 8GB RAMDISK Fawad Lateef
2004-07-04 14:22 ` Jeff Garzik
2004-07-04 16:57 ` William Lee Irwin III
2004-07-04 19:53 ` Joel Jaeggli
2004-07-09 20:46 ` Eric W. Biederman [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-10 14:26 Fawad Lateef
2004-07-10 21:43 ` John Richard Moser
2004-07-11 4:19 Fawad Lateef
2004-07-11 6:32 ` Junio C Hamano
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=m1brioc3jd.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=fawad_lateef@yahoo.com \
--cc=linux-kernel@vger.kernel.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