From: Keir Fraser Subject: Re: PCI delegation works, access to the delegated NIC doesn't Date: Wed, 8 Mar 2006 10:45:47 +0000 Message-ID: References: <200603072134.57783.alex.wilms@adminguru.org> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200603072134.57783.alex.wilms@adminguru.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alexander Wilms Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 7 Mar 2006, at 20:34, Alexander Wilms wrote: > has anyone seen such a behaviour?: > > I delegated successfully my NIC to a domU, but access to it from domU > is not > possible. Device appears, but access to it via 'ifconfig ethX up' > doesn't > work. Ends up in dmesg output like: > tg3: tg3_reset_hw timed out for eth1, firmware will not restart > magic=00000000 > > Delegating my USB controllers e.g. works flawlessly. You could try getting rid of access control on I/O memory and I/O ports. Modify the Xen definitions of macros ioports_access_permitted() and iomem_access_permitted() to always return 1. Then see if the NIC works. If so, the code in domain0 to work out what resources a given PCI device requires is not working properly for you. -- Keir