---On Mon, 27 Nov 2000 10:10:45 -0800,  Estabridis, Janet P said

> Hi,
> 
> I want use the old type of shared memory on my embedded system running the
> miniRTL (kernel 2.2.14 rtlv2.3).  I have 128MBytes of memory and I have
> added the statement:
> 
> append="mem=125M"
> 
> to the linux.cfg file on the disk.  
[...]
> The problem is that I do not see the memory getting set aside when I do a
> more on /proc/meminfo.   Consequently, I get a Segmentation Fault when I
> insert the module and there are any statements that try and access any
> shared memory variables. 
> 
> Can I not use this type of shared memory anymore ?
> 
> I'm I doing something stupid and I need enlightenment?
> 
> Thanks in advance --

Janet:

    I had the same problem when I went back to the old shared method.
Somewhere in the kernel evolution access to physical memory has changed.
instead of:
    pointer = (ptr_type *) 0xXXXXXXXX;
use:
    pointer = (ptr_type *) ioremap(0xXXXXXXXX, size);


--re: [rtl] Linux BootPrompt Question

                                 Chris
#include <stddisclaimer.h>
#include <win_slams.h>

[EMAIL PROTECTED]
Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International





-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to