I have some additional information on this problem:

the memory mapped region almost seems to work:

if I write to the region from the kernel, the user task can
see the written values

but if I write to the region from the user task, the user
task can read back the written values but the kernel can't

it's almost as if the region needs to be flushed back out
to the underlying file

Jim Tsillas
Andover Engineering
Enterasys Networks
978-684-1633
-----------------------------
A preposition is a terrible thing to end a sentence with. 

-----Original Message-----
From: Jeff Dike [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 19, 2005 3:16 PM
To: Tsillas, Demetrios J
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] remap_page_range 

[EMAIL PROTECTED] said:
> The kernel tries to read the value using the virtual address (offset
> from 0x271f0000) and gets back zeros. I've also tried look at the phys
> addr (offset from 0x1f1f0000) and that too is zeros. 

Have a look at the process /proc/<pid>/maps on the host to see what it
has
mapped in at 0x404e9000.  The offset column is the offset into the VM
file,
which is the physical address mapped in to that virtual address.

                                Jeff



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to