[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] mmap in PV xen-4.0.1
I am also seeing a similar issue. User space process on DOMU(pv) hangs while accessing mmap() area. And getting the following message in "xm dmesg" (XEN) mm.c:878:d2 Error getting mfn 70d70 (pfn 43a15) from L1 entry 8000000070d70625 for l1e_owner=2, pg_owner=32753 (XEN) mm.c:878:d2 Error getting mfn 1574 (pfn 9339) from L1 entry 8000000001574625 for l1e_owner=2, pg_owner=32753
Running FC13-Dom0 X86_64 Xen4.0.2, DOMU - Debian6.0 X86_64 (pv) Code snippet is below and the complete 'xm dmesg' is attached.
Any idea about the issue/fix ? Thanks Ranjith kernel module =========== vaddr = __get_free_pages(GFP_ATOMIC, 0); SetPageReserved(virt_to_page(vaddr));
paddr = virt_to_bus((volatile void *) vaddr) ; //paddr-> bus address to use in user space userspace ========= _memfd = open("/dev/mem", O_RDWR | O_SYNC | O_DSYNC | O_RSYNC))
p = (unsigned int*) mmap( NULL, 4096, PROT_READ, MAP_SHARED, _memfd, paddr); printf("==> %08x\n", (*p)); =====> hangs here till ^C printf("==> %08x\n", (*(p+1)));
Thanks Ranjith On Wed, Aug 10, 2011 at 2:12 AM, Wei Liu <liuw@xxxxxxxxx> wrote:
Attachment:
xm-dmesg.txt _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |