solved: ( was Re: non volatile ram disk)

From: Erez Doron (erez@savan.com)
Date: Tue Jan 22 2002 - 08:53:45 EST


well, i finanly managed to make a ramdisk which will not earsed by
reboot.

the solution is to give mem=32m, and use ioremap to map the rest of the
32m to virtual adresses

now it works !!!

thanks anyway
erez.

On Mon, 2002-01-21 at 15:15, Erez Doron wrote:
> hi
>
> I'm looking for a way to make a ramdisk which is not erased on reboot
> this is for use with ipaq/linux.
>
> i tought of booting with mem=32m and map a block device to the rest of
> the 32M ram i have.
>
> the probelm is that giving mem=32m to the kernel will cause the kernel
> to map only the first 32m of physical memory to virtual one, so using
> __pa(ptr) on the top 32m causes a kernel oops.
>
> any idea ?
>
>
> regards
> erez.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:00:53 EST