On Mon, 21 Jan 2002, Erez Doron wrote:

> I'm trying to create a ram disk which is not erased by reboot,
> for instance, if i have 512M ram, i want to do mem=500m and use the remaining 12m
> for ramdisk.
>
> I have already written the kernel module for it, but the problem is that when i
> access theupper 12m with __pa(addr), i get a kernel oops ...

Those are used by the BIOS, If the kernel detected only 500, it means that
you shouldn't touch anything beyond that.

There is also a badmem patch for marking certain areas in the memory as
"bad" and preventing the kernel from touching them, IIRC.

-- 
Tzafrir Cohen                        /"\
mailto:[EMAIL PROTECTED]        \ /  ASCII Ribbon Campaign
Taub 229, 972-4-829-3942,             X   Against  HTML  Mail
http://www.technion.ac.il/~tzafrir   / \


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to