From: Alexander Wilms Subject: Re: PCI delegation works, access to the delegated NIC doesn't Date: Thu, 9 Mar 2006 00:30:59 +0100 Message-ID: <200603090030.59902.alex.wilms@adminguru.org> References: <200603072134.57783.alex.wilms@adminguru.org> <1141831534.22889.21.camel@moss-tarheels.epoch.ncsc.mil> <20e53f0408dc34b17ab076a648c8a501@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20e53f0408dc34b17ab076a648c8a501@cl.cam.ac.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ryan List-Id: xen-devel@lists.xenproject.org > > To this end I've checked in a 'permissive' module flag which allows PCI > config writes to succeed by default. Enabled by specifying > 'pciback.permissive' as a boot parameter or: > echo Y >/sys/modules/pciback/permissive > > -- Keir Hi Keir, hi Ryan, good job! I recompiled with the mentioned changeset and it works. At the moment I'm writing this mail from my dom0 via a bridge created with the delegated NIC. Thank's a lot. I just had one issue with a kernel oops when I set up the bridge in domU brctl addbr br0 brctl addif eth0 (the vif) brctl addif eth1 (the delegated NIC) ifconfig br0 192.168.1.100 up crash Aiee, killing interrupt.... Unfortunately I was not able to catch the output, because the domU crashed completely. But this is what I could get from dom0's dmesg after crash: ACPI: PCI interrupt for device 0000:02:00.0 disabled irq 16: nobody cared (try booting with the "irqpoll" option) Call Trace: {hypercall_page+554} {__report_bad_irq+53} {note_interrupt+547} {usb_hcd_irq+42} {__do_IRQ+214} {do_IRQ+72} {evtchn_do_upcall+149} {do_hypervisor_callback+37} handlers: [] (usb_hcd_irq+0x0/0x60) Disabling IRQ #16 After that it was also not possible to reboot the domU, so I had to reboot dom0 as well. But this happened only once, after rebooting I couldn't reproduce that oops anymore. Will do further tests later. What about the info's requested by you before that permissive-patch? Are they still of interest? I did those tests before I recompiled, so if needed I can still attach them to the bugzilla report. Thanks again, Alex