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-users

Re: [Xen-users] PCI device access and debugging output

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] PCI device access and debugging output
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Fri, 15 Jul 2005 01:59:13 +0100
Cc: Lee Azzarello <lee.azzarello@xxxxxxxxxxxxx>
Delivery-date: Fri, 15 Jul 2005 00:52:29 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1121197632.5498.22.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1121197632.5498.22.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.1
> Domain 0 forgot about it

Good.

> When I boot vm 1, I see this in the xend log:
> [2005-07-12 14:44:52 xend] DEBUG (XendDomainInfo:1178) Creating pci
> device dom=3 bus=0 dev=6 func=0
Good.


> I built the device driver in Domain 0 against the kernel source for
> xen-U and the driver loads and claims to see the card. But the
> application I need to access it claims it can't open the device.

Interesting.

> Before I go to the application developer (Asterisk, if you're
> interested), I want to confirm that my xen-U domain really does know
> about the device and the driver is being properly loaded. How would I do
> this beyond the output I pasted above? Is there any way at all?

Check the dmesg output and see what it says - should have some blurb following 
the point where you loaded the module.

Does the driver work in dom0 OK?  Some DMA issues have been fixed in the 
2.0-testing tree recently, so you might want to try that out.

Cheers,
Mark

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

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