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/
Home Products Support Community News


Re: [Xen-devel] Re: [Patch RFC] ttm: nouveau accelerated on Xen pv-ops k

To: Michael D Labriola <mlabriol@xxxxxxxx>
Subject: Re: [Xen-devel] Re: [Patch RFC] ttm: nouveau accelerated on Xen pv-ops kernel
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Tue, 16 Mar 2010 13:21:35 -0400
Cc: Arvind R <arvino55@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Mar 2010 10:47:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OFDB580600.A083B538-ON852576E8.005B22A4-852576E8.005B97C0@xxxxxxxx>
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>
References: <4B9EBF10.2030309@xxxxxxxx> <OFDB580600.A083B538-ON852576E8.005B22A4-852576E8.005B97C0@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.19 (2009-01-05)
> > > And my X log ends abruptly after this line:
> > > (II) NOUVEAU(0): Opened GPU Channel 1
> > >
> > > Any ideas?
> > > 
> > 
> > Well, this is generally the symptom that someone is confusing mfns and 
> > pfns, and therefore ends up incorrectly setting the _PAGE_IO flag in 
> > some pte.  If you run it under strace, can you identify which mapping 
> > the fault is happening in?
> I've attached the output of 'strace -o strace-Xorg Xorg'.  Figuring out 
> which mapping the fault is happening in is a little over my head, I'm 
> afraid.  If you need different arguments to strace, let me know and I'll 
> do it again.

So just to be sure, you took the 2.6.32 (xen/next or
xen/stable-2.6.32.x), copied the include and nouveu directory from ..?
2.6.33? and then ran this. Did you have to edit your xorg.conf file or
it ran just fine? Was this Fedora 13 or Fedora 12?

Arvind explanation about the Nvidia driver pointed out that the NVidia
driver (drm/nouvue) can operate on different channels. Where channel 1
is the framebuffer, and the other are for well, KMS, and other

I belive I was looking at the wrong section of the drivers (not the
drivers/video/gpu ones)- this certainly looks to be the issues the Jeremy 

Also I would suggest you load drm with the debug variable set to the 255
to get most of what his happening. 

Based on your strace, the last call is:
4000)                          = 0x9324000
write(0, "(II) NOUVEAU(0): Opened GPU chan"..., 38) = 38 
ioctl(11, 0xc0106445, 0x930a908)        = 0  
ioctl(11, 0x400c6444, 0xbfd2a210)       = 0  
+++ killed by SIGKILL +++

I cannot find what 0x45 is in the upstream Linux, so you must be using a
different nouv* driver than that. The 0x44 is:

  DRM_IOCTL_DEF(DRM_NOUVEAU_GEM_INFO, nouveau_gem_ioctl_info, DRM_AUTH),

Which looks to be pretty harmless. I presume it is the next thing (using
the address returned) that the X driver tries to do that makes it go boom.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>