I'm having trouble getting shared memory to work correctly.

I have a 486 with 16M of ram and SuSE 5.3 Linux.  I have applied the
RTLinux patches to the source from this distribution which is based on
the 2.0.35 kernel.  I'm trying to get the example shmex to run.

I added the line append="mem=15m" to lilo.conf and verified after a
reboot that the memory is unused with the program mempages.  I changed
the BASE_ADDRESS def in shmex to read (15*0x100000).  When I try to add
the module rtmod.o (with insmod rtmod.o) I get an Oops crash on the
first assignment to the shared block at 0xf00000 in init_module in
rtmod.o.  I rebuilt the kernel with gdbstub and poked around in
do_page_fault and I can't see how it could ever work.

Can anyone tell me what's wrong?

The book "Linux Kernel Internals" as not been much help on this.  Is
there a better book?

Steve Hampson


--- [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