[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Loading PCIe Device Driver at Dom0

  • To: "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • From: Kenneth Wong <kenwong@xxxxxxxxxxx>
  • Date: Fri, 25 May 2012 14:12:48 -0700
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Fri, 25 May 2012 21:13:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac06tibQRIX9H86RRL+oQlo3qSJ9hwABLbbg
  • Thread-topic: [Xen-devel] Loading PCIe Device Driver at Dom0

Hi Konrad,

It's Xen 4.1.1.

It did not occur immediately after loading. It occurs after a few I/Os.

Best Regards,

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@xxxxxxxxxx] 
Sent: Friday, May 25, 2012 1:31 PM
To: Kenneth Wong
Cc: xen-devel@xxxxxxxxxxxxx
Subject: Re: [Xen-devel] Loading PCIe Device Driver at Dom0

On Thu, May 24, 2012 at 07:37:44PM -0700, Kenneth Wong wrote:
> Hi Konrad,
> > Um, does your driver have a PCI vendor and model? It would
> > do it from the struct pci_driver->probe function.
> Yeah, it has all that.  It has been running fine on regular Linux, just that 
> problems start coming up when porting to Xen env.  I think because it is now 
> less forgiving due to the virtualization layer.

Sure. It also means that your driver would not work with IOMMU's properly.

> Any idea on the following messages?

Some, but without any details (like machine type, userspace version, Xorg 
kernel version, Xorg.0.log, etc) I've no clue.

>         Xorg[1234]: segfault at 34 ip 00000000005067b1 sp 00007fff37a82f40 
> error 4 in Xorg[400000+1d4000]
>         rtkit-daemon[1708]: segfault at ffffffffffffff80 ip 00007fe23abee61a 
> sp 00007fff9c249410 error 4 in libdbus-1.so.3.5.7[7fe23abc3000+42000]
> I think this might be cause by some other things in the driver.

So you see this only after you load your driver?

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.