WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Frame buffer mmap not working in pvops dom0

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Frame buffer mmap not working in pvops dom0
From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Date: Wed, 28 Jul 2010 14:09:59 -0400
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 28 Jul 2010 11:10:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100728142912.GA6817@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: National Security Agency
References: <4C46FA8D.6040809@xxxxxxxxxxxxx> <20100721141613.GG17817@xxxxxxxxxxx> <20100721144209.GA5031@xxxxxxxxxxxxxxxxxxx> <4C4711BB.5090905@xxxxxxxxxxxxx> <20100721190056.GA9756@xxxxxxxxxxxxxxxxxxx> <4C474909.8080005@xxxxxxxxxxxxx> <20100721195006.GA5839@xxxxxxxxxxxxxxxxxxx> <4C47584F.1000200@xxxxxxxxxxxxx> <20100728142912.GA6817@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1
On 07/28/2010 10:29 AM, Konrad Rzeszutek Wilk wrote:
>>> If that fixes your problem, are you OK with me sticking a Signed-off-by:
>>> from you on this patch?
>>>
>>
>> Yep, your version also fixes the problem, and I agree it's more
>> sensible. I'm OK with signing off on that patch.
> 
> Oh, and here is the S-O-B that I missed sticking on the git tree.
> 
> Anyhow, I found out that his patch also fixes the Nvidia fb problem,
> which is quite nice.
> 
> By any chance did you try to use Xserver on top of this patch? In the
> past I had gotten this (from Xorg.0.log file):
> 
> ==) Using config directory: "/etc/xorg.conf.d"
> (XEN) mm.c:1747:d0 Bad L1 flags 400000
> (XEN) mm.c:1747:d0 Bad L1 flags 400000
> (XEN) mm.c:1747:d0 Bad L1 flags 400000
> ...
> (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> 
> .. and a continuing stream of FBIOPUTCMAP's.
> 

I had been testing using framebuffer only; I just tested Xorg, and it
appears to be working - I don't see any errors in my Xorg.0.log or on
the Xen console. Haven't tried running anything more interesting than
xterm, though.

I'm not certain if I've ended up testing the Xen fbdev device, or just
using the guest's i915 driver within the guest. This is with an empty
xorg.conf{,.d/}.

The only issue I've been having is that I haven't been able to get the
system to work more than once per powerup, even with a soft reboot of
the host (going back to the real BIOS). There's obviously some state not
being reset by the startup that is tripping it on later boots, but I
haven't yet been able to find out what it is.

-- 

Daniel De Graaf
National Security Agency

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel