xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: xen-devel@lists.xensource.com
Subject: Frame buffer mmap not working in pvops dom0
Date: Wed, 21 Jul 2010 09:47:57 -0400	[thread overview]
Message-ID: <4C46FA8D.6040809@tycho.nsa.gov> (raw)

I'm trying to confirm the fix to the VESA fbdev mmap issue that was
brought up a few months ago
(http://marc.info/?l=xen-devel&m=126842551306571&w=2). The wiki page at
http://wiki.xensource.com/xenwiki/XenPVOPSDRM says that this bug should
be fixed, but doesn't point to a patch for the fix. I am still able to
reproduce the issue both on real hardware and by running Xen under qemu
(using cirrusfb on the dom0). Eamon (the original reporter) has also not
been able to confirm a fix.

I'm currently testing using Xen 4.1 built from hg 21831:6bebaf40e925 and
a pvops dom0 from xen/stable-2.6.32.x revid c0a00fbe.

So far, I've been able to determine that an mmap requesting multiple
pages from /dev/fb0 will result in page table entries all pointing to
the same physical page, which is not in the framebuffer address space.
Writing to the mapped page ends up corrupting parts of kernel memory.
I'd be happy to run further tests, try patches, or provide more
information if needed.

-- 

Daniel De Graaf
National Security Agency

             reply	other threads:[~2010-07-21 13:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 13:47 Daniel De Graaf [this message]
2010-07-21 14:16 ` Frame buffer mmap not working in pvops dom0 Pasi Kärkkäinen
2010-07-21 14:42   ` Konrad Rzeszutek Wilk
2010-07-21 14:49     ` Pasi Kärkkäinen
2010-07-21 15:26     ` Daniel De Graaf
2010-07-21 19:00       ` Konrad Rzeszutek Wilk
2010-07-21 19:12         ` Konrad Rzeszutek Wilk
2010-07-21 19:22         ` Daniel De Graaf
2010-07-21 19:50           ` Konrad Rzeszutek Wilk
2010-07-21 20:27             ` Daniel De Graaf
2010-07-28 14:29               ` Konrad Rzeszutek Wilk
2010-07-28 15:33                 ` Konrad Rzeszutek Wilk
2010-07-28 18:09                 ` Daniel De Graaf
2010-07-21 20:36             ` Eamon Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C46FA8D.6040809@tycho.nsa.gov \
    --to=dgdegra@tycho.nsa.gov \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).