From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Frame buffer mmap not working in pvops dom0 Date: Wed, 21 Jul 2010 17:49:25 +0300 Message-ID: <20100721144925.GI17817@reaktio.net> References: <4C46FA8D.6040809@tycho.nsa.gov> <20100721141613.GG17817@reaktio.net> <20100721144209.GA5031@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20100721144209.GA5031@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Eamon Walsh , Daniel De Graaf , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Jul 21, 2010 at 10:42:09AM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Jul 21, 2010 at 05:16:13PM +0300, Pasi K=E4rkk=E4inen wrote: > > On Wed, Jul 21, 2010 at 09:47:57AM -0400, Daniel De Graaf wrote: > > > 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=3Dxen-devel&m=3D126842551306571&w=3D2). The wi= ki page at >=20 > Weird. I don't remember seeing that e-mail.. >=20 > > > http://wiki.xensource.com/xenwiki/XenPVOPSDRM says that this bug sh= ould > > > 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 als= o not > > > been able to confirm a fix. > > >=20 > > > I'm currently testing using Xen 4.1 built from hg 21831:6bebaf40e92= 5 and > > > a pvops dom0 from xen/stable-2.6.32.x revid c0a00fbe. > > >=20 > > > So far, I've been able to determine that an mmap requesting multipl= e > > > pages from /dev/fb0 will result in page table entries all pointing = to > > > the same physical page, which is not in the framebuffer address spa= ce. > > > Writing to the mapped page ends up corrupting parts of kernel memor= y. > > > I'd be happy to run further tests, try patches, or provide more > > > information if needed. >=20 > Goodies. Let me fix up a tree that cleanly merges with Jeremy's xen/nex= t > (or xen/stable-2.6.32.x) and give you a go with that. And then from > there we can come up with a fix. >=20 I'd prefer xen/stable-2.6.32.x, since that's what most people are using.. We'll get more testers that way. -- Pasi