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] activate pci card in domU???

To: list user <xktnniuymlla@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] activate pci card in domU???
From: Ryan <hap9@xxxxxxxxxxxxxx>
Date: Mon, 01 May 2006 08:35:21 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 01 May 2006 05:35:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44525CBB.6080908@xxxxxxxxxxxxxx>
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: <44525CBB.6080908@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2006-04-28 at 11:19 -0700, list user wrote:
> 
> After booting that domU, lspci shows:
> 
>    02:00.0 Ethernet controller: Broadcom Corporation NetXtreme
>            BCM5702X Gigabit Ethernet (rev 02)
> 
> showing that the domU now owns that card; however, all attempts to 
> configure it fail with tg3 timeout errors.
> 
> Can somebody nudge me in the correct direction or possibly attach a 
> script that they've successfully used exporting a pci device to a domU?
> 
> Any and all help greatly appreciated!

Hi Mike,

Check out this e-mail from the archives:
http://article.gmane.org/gmane.comp.emulators.xen.devel/21087

Basically your problem is that the tg3 card puts some device specific
registers in the PCI configuration space (which I believe the PCI
specification recommends that device manufacturer's not do). As a
security measure, the configuration space is write-protected by the PCI
backend. The tg3 device driver is probably trying to enable/talk to the
card, but the PCI backend is blocking the writes. You'll need to disable
the write protection by enabling "permissive" mode as indicated in the
link above (it's a module parameter that you can pass on the kernel
command-line or enable through sysfs).

Ryan


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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] activate pci card in domU???, Ryan <=