[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 1552] New: [SR-IOV] old 0.9v VF driver cannot work in guest
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1552 Summary: [SR-IOV] old 0.9v VF driver cannot work in guest Product: Xen Version: unstable Platform: Other OS/Version: Linux-2.6 Status: NEW Severity: normal Priority: P2 Component: Hypervisor AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx ReportedBy: jiajun.xu@xxxxxxxxx Environment: ------------ Service Arch (ia32/ia32e/IA64): ia32/ia32e Guest Arch (ia32/ia32e/IA64): ia32/ia32e Guest OS Type (Linux/Windows): Linux Change Set: 20572 Hardware: NHM-HEDT Other: xen-changeset: 20572:0f35fb4f73d6 pvops git: commit afdf5a333a50ac0e406099f1c243719601b7c625 Merge: cd8dd45... bb3c471... Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx> ioemu git: commit f72b6e0ffc3bb84d4442c5a7493bffbdce2a4468 Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Date: Wed Nov 4 17:07:57 2009 +0000 tboot changeset: changeset: 176:e57acd4d1460 tag: tip user: Shane Wang <shane.wang@xxxxxxxxx> date: Fri Oct 16 04:03:14 2009 -0700 summary: Fixed a timeout bug in 163 Bug detailed description: -------------------------- With latset xen, old VF driver can not work in guest. VF can not get IP. And Qemu will report msix mapping error. Driver version is 0.9.5, which can work well with old c/s 20382. BTW, VF can work with latest xen + 1.0 VF driver. The old VF driver version: filename: /lib/modules/2.6.18.8/kernel/drivers/net/igbvf/igbvf.ko version: 0.9.5 license: GPL description: Intel(R) 82576 Virtual Function author: Intel Corporation, <linux.nics@xxxxxxxxx> srcversion: A863DEF3DE3833D294DD8EB alias: pci:v00008086d000010CAsv*sd*bc*sc*i* depends: vermagic: 2.6.18.8 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1 parm: copybreak:Maximum size of packet that is copied to a new buffer on receive (uint) parm: TxIntDelay:Transmit Interrupt Delay (array of int) parm: TxAbsIntDelay:Transmit Absolute Interrupt Delay (array of int) parm: RxIntDelay:Receive Interrupt Delay (array of int) parm: RxAbsIntDelay:Receive Absolute Interrupt Delay (array of int) parm: InterruptThrottleRate:Interrupt Throttling Rate (array of int) parm: IntMode:Interrupt Mode (array of int) The latest VF driver version: filename: /lib/modules/2.6.31.4/kernel/drivers/net/igbvf/igbvf.ko version: 1.0.0-k0 license: GPL description: Intel(R) 82576 Virtual Function Network Driver author: Intel Corporation, <e1000-devel@xxxxxxxxxxxxxxxxxxxxx> srcversion: 4BDD6BE8489C9579E66C962 alias: pci:v00008086d000010CAsv*sd*bc*sc*i* depends: vermagic: 2.6.31.4 SMP mod_unload 686 The qemu log when loading 0.9.5 VF driver + latest xen: ######## domid: 3 qemu: the number of cpus is 2 Strip off blktap sub-type prefix to /share/xvs/var/img.vmxVTD_ASS_02_1 (drv 'qcow') Watching /local/domain/0/device-model/3/logdirty/cmd Watching /local/domain/0/device-model/3/command char device redirected to /dev/pts/4 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = a370d1f1-8e4a-46fd-e51b-e96f2bc9f164 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/3/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/a370d1f1-8e4a-46fd-e51b-e96f2bc9f164/vncpasswd. medium change watch on `hdc' (index: 2): I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/3/log-throttling): read error dm-command: hot insert pass-through pci dev register_real_device: Assigning real physical device 01:10.0 ... pt_dev_is_virtfn: 0000:01:10.0 is a SR-IOV Virtual Function pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x1:0x10.0x0 pt_register_regions: IO region registered (size=0x00004000 base_addr=0xd3840004) pt_register_regions: IO region registered (size=0x00004000 base_addr=0xd3860004) pt_msix_init: get MSI-X table bar base d3860000 pt_msix_init: table_off = 0, total_entries = 3 pt_msix_init: errno = 2 pt_msix_init: mapping physical MSI-X table to 7f415af63000 register_real_device: Real physical device 01:10.0 registered successfuly! IRQ type = INTx cirrus vga map change while on lfb mode pt_iomem_map: e_phys=f3000000 maddr=d3840000 type=0 len=16384 index=0 first_map=1 pt_iomem_map: e_phys=f3004000 maddr=d3860000 type=0 len=16384 index=3 first_map=1 mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:04.0][Offset:30h][Length:4] pt_msix_update_one: Update msix entry 0 with pirq 0 gvec b1 pt_msix_update_one: Error: Updating msix irq info for entry 0 pt_msix_update_one: Error: Unmapping of MSI-X failed. pt_msix_update_one: Update msix entry 1 with pirq 37 gvec b9 ######## The qemu log when loading 0.9.5 VF driver + old c/s 20382 xen: ######## domid: 1 qemu: the number of cpus is 2 Strip off blktap sub-type prefix to /share/xvs/var/img.vmxVTD_ASS_02_1 (drv 'qcow') Watching /local/domain/0/device-model/1/logdirty/cmd Watching /local/domain/0/device-model/1/command char device redirected to /dev/pts/4 qemu_map_cache_init nr_buckets = 4000 size 327680 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = e3758eaf-68a4-0ad3-6841-caa5962ef1d5 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/e3758eaf-68a4-0ad3-6841-caa5962ef1d5/vncpasswd. medium change watch on `hdc' (index: 2): I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/1/log-throttling): read error dm-command: hot insert pass-through pci dev register_real_device: Assigning real physical device 01:10.0 ... pt_dev_is_virtfn: 0000:01:10.0 is a SR-IOV Virtual Function pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x1:0x10.0x0 pt_register_regions: IO region registered (size=0x00004000 base_addr=0xd3840004) pt_register_regions: IO region registered (size=0x00004000 base_addr=0xd3860004) pt_msix_init: get MSI-X table bar base d3860000 pt_msix_init: mapping physical MSI-X table to b604b000 register_real_device: Real physical device 01:10.0 registered successfuly! IRQ type = INTx cirrus vga map change while on lfb mode pt_iomem_map: e_phys=f3000000 maddr=d3840000 type=0 len=16384 index=0 first_map=1 pt_iomem_map: e_phys=f3004000 maddr=d3860000 type=0 len=16384 index=3 first_map=1 mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:04.0][Offset:30h][Length:4] pt_msix_update_one: Update msix entry 0 with pirq 37 gvec b1 pt_msix_update_one: Update msix entry 1 with pirq 36 gvec b9 pt_msix_update_one: Update msix entry 0 with pirq 37 gvec b1 pt_msix_update_one: Update msix entry 0 with pirq 37 gvec b1 ######## Reproduce steps: ---------------- 1. Get the image from vt-nfs:/images/sriov 2. Boot from the 2.6.18.8 kernel, which includes 0.9.5 VF driver 3. To boot from latest VF driver, you can boot from the entry named "2.6.30" -- Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ Xen-bugs mailing list Xen-bugs@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-bugs
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |