I figured out a solution to my problem:

It seems I need to mem_map_reserve all pages which I kmalloc.
Once I do this, they are mappable to user space.

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