Re: Test with VT-d patches

2008-09-04 Thread gg
Hello, with the hint/patches from "Han, Weidong" I cound correct my system-build and now the NIC works fine under Windows. Only the "Unbalanced enables for IRQ 21" (my pci-passed throug Gigabit NIC)commes nearly endless. (not importend for me) I am happy now. Thanks all, Gregor >On Thursday

Re: Test with VT-d patches

2008-09-04 Thread Yang, Sheng
On Thursday 04 September 2008 17:12:28 Han, Weidong wrote: > [EMAIL PROTECTED] wrote: > > Hello, > > > > I try to explain the current state on my pc. > > > > 1) The patch KVM 1/2 was applied with the following change. > >The files "drivers/pci/iova.h" and "drivers/pci/intel-iommu.h" > >alre

RE: Test with VT-d patches

2008-09-04 Thread Han, Weidong
[EMAIL PROTECTED] wrote: > Hello, > > I try to explain the current state on my pc. > > 1) The patch KVM 1/2 was applied with the following change. >The files "drivers/pci/iova.h" and "drivers/pci/intel-iommu.h" >already exists. And I get both files rejected. >So I take the headers fro

Re: Test with VT-d patches

2008-09-04 Thread gg
Hello, I try to explain the current state on my pc. 1) The patch KVM 1/2 was applied with the following change. The files "drivers/pci/iova.h" and "drivers/pci/intel-iommu.h" already exists. And I get both files rejected. So I take the headers from the KVM 1/2 Patchfile and use these a

RE: Test with VT-d patches

2008-09-03 Thread Han, Weidong
I think the assigned NIC shares IRQ with other devices. You can verify it at request_irq() in kvm_vm_ioctl_assign_irq() (arch/x86/kvm/x86.c). "assigned_dev_update_irq: Input/output error" should be caused by request_irq() failure. In my machine, add-on NIC shares IRQ with usb. You can check it in /

Re: Test with VT-d patches

2008-09-03 Thread Amit Shah
Hello, * On Wednesday 03 September 2008 14:07:36 [EMAIL PROTECTED] wrote: > Hi, > > i make some more tests with > 1) an old APCI1500/PCI card no linux driver support -> so i don't need to > unload the module. 2) my second network-card Realtek 10/100 MBit. > > Both don't work at all. Only my first

Re: Test with VT-d patches

2008-09-03 Thread Yang, Sheng
On Wednesday 03 September 2008 16:37:36 [EMAIL PROTECTED] wrote: > Hi, > > i make some more tests with > 1) an old APCI1500/PCI card no linux driver support -> so i don't need to > unload the module. 2) my second network-card Realtek 10/100 MBit. > > Both don't work at all. Only my first gigabit-on

RE: Test with VT-d patches

2008-09-03 Thread gg
Hi, i make some more tests with 1) an old APCI1500/PCI card no linux driver support -> so i don't need to unload the module. 2) my second network-card Realtek 10/100 MBit. Both don't work at all. Only my first gigabit-onboard-network-card starts. Here the output from userspace/dmesg: 1) // A

RE: Test with VT-d patches

2008-09-02 Thread Han, Weidong
After I destroyed the guest by clicking qume "x" button, and assigned the same assigned device to guest, I met this same issue. The reason is the assigned device doesn't exit normally, then its status is incorrect. Doing FLR should solve the issue. We will add FLR mechanism for it later. For Grego

Re: Test with VT-d patches

2008-09-02 Thread Yang, Sheng
On Wednesday 03 September 2008 02:40:06 [EMAIL PROTECTED] wrote: > Hi, > > >On Tue, Sep 2, 2008 at 4:17 PM, <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> here comes a small part of the dmesg output. Qemu/KVM produces now a CPU > > > >usage > > > >> of about 90%. > >> > >> > >> Sep 2 11:27:35 ubun

Re: Test with VT-d patches

2008-09-02 Thread gg
Hi, >On Tue, Sep 2, 2008 at 4:17 PM, <[EMAIL PROTECTED]> wrote: >> Hi, >> >> here comes a small part of the dmesg output. Qemu/KVM produces now a CPU >usage >> of about 90%. >> >> >> Sep 2 11:27:35 ubuntu klogd: [ 335.057707] [ cut here >] >> Sep 2 11:27:35 ubuntu k

Re: Test with VT-d patches

2008-09-02 Thread Luca Tettamanti
On Tue, Sep 2, 2008 at 4:17 PM, <[EMAIL PROTECTED]> wrote: > Hi, > > here comes a small part of the dmesg output. Qemu/KVM produces now a CPU usage > of about 90%. > > > Sep 2 11:27:35 ubuntu klogd: [ 335.057707] [ cut here > ] > Sep 2 11:27:35 ubuntu klogd: [ 335.0577

RE: Test with VT-d patches

2008-09-02 Thread gg
Hi, here comes a small part of the dmesg output. Qemu/KVM produces now a CPU usage of about 90%. Sep 2 11:27:35 ubuntu klogd: [ 335.057707] [ cut here ] Sep 2 11:27:35 ubuntu klogd: [ 335.057711] WARNING: at kernel/irq/manage.c:180 __enable_irq+0x34/0x80() Sep 2 11

RE: Test with VT-d patches

2008-09-02 Thread Han, Weidong
Hi Gregor, You'd better set the loglevel=8 to print debug information. Can you also try linux guest? Randy (Weidong) Yang, Sheng wrote: > On Tuesday 02 September 2008 16:44:18 [EMAIL PROTECTED] wrote: >> Hi, >> >> i am interested in the use of the new VT-d hardware feature. >> My Dell-PC "OPTIP

Re: Test with VT-d patches

2008-09-02 Thread Yang, Sheng
On Tuesday 02 September 2008 16:44:18 [EMAIL PROTECTED] wrote: > Hi, > > i am interested in the use of the new VT-d hardware feature. > My Dell-PC "OPTIPLEX" is capable for this. > The Linux-System was an Ubuntu-8.10 (AMD64) with the current > Linux-Kernel from the KVM-Kernel GIT repository. (2.6.2