[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: [rtl] strange return from mmap()



You need to call vremap() to get the memory added into your virtual memory
space.  Look in the archives for more about this.
	Norm

> -----Original Message-----
> From:	Aleksandar Bakic [SMTP:bakicale@brazil.tcimet.net]
> Sent:	Monday, October 04, 1999 3:43 AM
> To:	Dresner, Norman A.
> Cc:	rtl@rtlinux.cs.nmt.edu
> Subject:	Re: [rtl] strange return from mmap()
> 
> Hi,
> 
> Regarding the same shared memory example, I have a problem on
> Zentropix 1.0, but in the RT part. I have installed RTL on a PC with
> 64M RAM, added 'append="mem=60m"' to lilo.conf (and ran /sbin/lilo,
> top shows 60M), and set BASEADDRESS to 60 * 0x100000. After insmod-ing
> rtl_sched.o, insmod-ing rtmod.o results in a segmentation fault. I
> found that it is just after the dereferencing the shared memory
> pointer (in the module init function). After this, I cannot rmmod
> rtmod.o because of some busy devices. Any hints?
> 
> Thanks,
> Aleks
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/