[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 1544] New: [SR-IOV] VF can not be enabled in Dom0
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1544 Summary: [SR-IOV] VF can not be enabled in Dom0 Product: Xen Version: unstable Platform: x86-64 OS/Version: Linux Status: NEW Severity: major Priority: P1 Component: Hypervisor AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx ReportedBy: jiajun.xu@xxxxxxxxx Environment: ------------ Service Arch (ia32/ia32e/IA64): ia32e Guest Arch (ia32/ia32e/IA64): Guest OS Type (Linux/Windows): Change Set: 20453 Hardware: Nehalem-EP, 2-port/4-port Kawela Other: xen-changeset: 20453:bec27eb6f72c pvops git: commit b9160b12ecc7148aa080b8d4ecf35f75d257f9d9 Merge: 69003a1... aa228e3... 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 latest xen, VF can not be enabled in Dom0. When executing command "modprobe igb max_vfs=7", igb driver can be loaded but no VF can be enabled. The dom0 kernel version is 2.6.31.5. igb driver will call trace: ############ [ 133.391858] BUG: unable to handle kernel NULL pointer dereference at 0000000000000044 [ 133.391868] IP: [<ffffffffa00aee61>] igb_reset+0x11c/0x1dd [igb] [ 133.391881] PGD 14a28067 PUD 1a99e067 PMD 0 [ 133.391889] Oops: 0002 [#1] SMP [ 133.391895] last sysfs file: /sys/devices/system/cpu/cpu23/cache/index2/shared_cpu_map [ 133.391901] CPU 8 [ 133.391905] Modules linked in: igbvf igb(+) sg via_rhine sr_mod cdrom pata_acpi ata_generic ata_piix ide_gd_mod ide_core ahci libata sd_mod scsi_mod uhci_hcd ohci_hcd ehci_hcd [last unloaded: igb] [ 133.391938] Pid: 10200, comm: modprobe Not tainted 2.6.31.5 #1 X8DTN [ 133.391943] RIP: e030:[<ffffffffa00aee61>] [<ffffffffa00aee61>] igb_reset+0x11c/0x1dd [igb] [ 133.391954] RSP: e02b:ffff88001a8c5c88 EFLAGS: 00010202 [ 133.391958] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001 [ 133.391963] RDX: 0000000000000046 RSI: ffff88001bdea9c0 RDI: ffff88001bdea580 [ 133.391969] RBP: ffff88001a8c5ca8 R08: ffff88001bdea580 R09: ffff88001bdea938 [ 133.391974] R10: 0000000000000000 R11: ffff88001bdea580 R12: ffff88001bdea580 [ 133.391979] R13: 0000000000000008 R14: ffff88001bdea918 R15: ffff88001bdea918 [ 133.391988] FS: 00007f4fe8a436e0(0000) GS:ffffc900000c0000(0000) knlGS:0000000000000000 [ 133.391994] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b [ 133.391998] CR2: 0000000000000044 CR3: 000000001c8ea000 CR4: 0000000000002660 [ 133.392004] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 133.392009] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 133.392015] Process modprobe (pid: 10200, threadinfo ffff88001a8c4000, task ffff88001dc88790) [ 133.392020] Stack: [ 133.392022] ffff88001bdea000 ffff88001f150000 0000000000000008 ffff88001bdea580 [ 133.392031] <0> ffff88001a8c5d48 ffffffffa00baff3 ffff88001a8c5d18 ffff88001bc93140 [ 133.392040] <0> ffff88001a8c5cf8 ffffffff8114bcbb ffff88001a8c5d18 0000000000000000 [ 133.392051] Call Trace: [ 133.392060] [<ffffffffa00baff3>] igb_probe+0x842/0xb42 [igb] [ 133.392069] [<ffffffff8114bcbb>] ? sysfs_add_one+0x16/0xc0 [ 133.392076] [<ffffffff81209d1e>] local_pci_probe+0x12/0x16 [ 133.392081] [<ffffffff8120a808>] pci_device_probe+0x5c/0x88 [ 133.392089] [<ffffffff812d58a8>] ? driver_sysfs_add+0x4d/0x73 [ 133.392095] [<ffffffff812d59f9>] driver_probe_device+0xb2/0x136 [ 133.392101] [<ffffffff812d5ad1>] __driver_attach+0x54/0x77 [ 133.392107] [<ffffffff812d5a7d>] ? __driver_attach+0x0/0x77 [ 133.392113] [<ffffffff812d5a7d>] ? __driver_attach+0x0/0x77 [ 133.392119] [<ffffffff812d5088>] bus_for_each_dev+0x49/0x78 [ 133.392125] [<ffffffff812d5859>] driver_attach+0x1c/0x1e [ 133.392130] [<ffffffff812d4b97>] bus_add_driver+0xba/0x21f [ 133.392136] [<ffffffff812d5e36>] driver_register+0x9e/0x115 [ 133.392142] [<ffffffff8120aa54>] __pci_register_driver+0x50/0xad [ 133.392152] [<ffffffffa00c4000>] ? igb_init_module+0x0/0x5b [igb] [ 133.392161] [<ffffffffa00c4059>] igb_init_module+0x59/0x5b [igb] [ 133.392168] [<ffffffff8100a0e7>] do_one_initcall+0x59/0x159 [ 133.392175] [<ffffffff81093ad2>] sys_init_module+0xcb/0x1fd [ 133.392182] [<ffffffff81032c42>] system_call_fastpath+0x16/0x1b [ 133.392187] Code: 66 c7 46 08 ff ff c6 46 0a 01 31 d2 89 46 0c 41 83 bc 24 20 0b 00 00 00 75 15 eb 44 49 8b 84 24 28 0b 00 00 48 01 d0 48 83 c2 46 <c6> 40 44 00 89 c8 48 ff c1 41 3b 84 24 20 0b 00 00 72 de 4c 89 [ 133.392262] RIP [<ffffffffa00aee61>] igb_reset+0x11c/0x1dd [igb] [ 133.392272] RSP <ffff88001a8c5c88> [ 133.392275] CR2: 0000000000000044 [ 133.392280] ---[ end trace d43f75facb27584b ]--- ############ And xen log shows: ############ (XEN) _PCT: descriptor=130, length=12, space_id=127, bit_width=16, bit_offset=0, reserved=0, address=408 (XEN) _PSS: state_count=8 (XEN) State0: 2395MHz 13875mW 10us 10us 0x13 0x13 (XEN) State1: 2394MHz 11875mW 10us 10us 0x12 0x12 (XEN) State2: 2261MHz 10000mW 10us 10us 0x11 0x11 (XEN) State3: 2128MHz 8250mW 10us 10us 0x10 0x10 (XEN) State4: 1995MHz 6750mW 10us 10us 0xf 0xf (XEN) State5: 1862MHz 5500mW 10us 10us 0xe 0xe (XEN) State6: 1729MHz 4375mW 10us 10us 0xd 0xd (XEN) State7: 1596MHz 3500mW 10us 10us 0xc 0xc (XEN) _PSD: num_entries=5 rev=0 domain=1 coord_type=254 num_processors=12 (XEN) _PPC: 0 (XEN) xen_pminfo: @acpi_cpufreq_cpu_init,HARDWARE addr space (XEN) CPU 23 initialization completed (XEN) irq.c:1186:d0 Cannot bind IRQ 0 to guest. Will not share with others. (XEN) irq.c:1186:d0 Cannot bind IRQ 0 to guest. Will not share with others. (XEN) irq.c:1186:d0 Cannot bind IRQ 0 to guest. Will not share with others. (XEN) irq.c:1186:d0 Cannot bind IRQ 0 to guest. Will not share with others. (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=23, irq=23 (XEN) ioapic_guest_write: new_entry=0001a017 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=19, irq=19 (XEN) ioapic_guest_write: new_entry=0001a013 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=18, irq=18 (XEN) ioapic_guest_write: new_entry=0001a012 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=19, irq=19 (XEN) ioapic_guest_write: new_entry=0001a013 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=18, irq=18 (XEN) ioapic_guest_write: new_entry=0001a012 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=19, irq=19 (XEN) ioapic_guest_write: new_entry=0001a013 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=18, irq=18 (XEN) ioapic_guest_write: new_entry=0001a012 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=19, irq=19 (XEN) ioapic_guest_write: new_entry=0001a013 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2251: (XEN) ioapic_guest_write: apic=0, pin=16, irq=16 (XEN) ioapic_guest_write: new_entry=0001a010 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) [VT-D]iommu.c:1241:d0 domain_context_mapping:PCIe: bdf = 1:10.0 (XEN) PCI add Virtual Function 01:10.0 (XEN) [VT-D]iommu.c:1241:d0 domain_context_mapping:PCIe: bdf = 1:10.2 (XEN) PCI add Virtual Function 01:10.2 (XEN) [VT-D]iommu.c:1241:d0 domain_context_mapping:PCIe: bdf = 1:10.4 (XEN) PCI add Virtual Function 01:10.4 (XEN) [VT-D]iommu.c:1241:d0 domain_context_mapping:PCIe: bdf = 1:10.6 (XEN) PCI add Virtual Function 01:10.6 (XEN) [VT-D]iommu.c:1241:d0 domain_context_mapping:PCIe: bdf = 1:11.0 (XEN) PCI add Virtual Function 01:11.0 (XEN) [VT-D]iommu.c:1241:d0 domain_context_mapping:PCIe: bdf = 1:11.2 (XEN) PCI add Virtual Function 01:11.2 (XEN) [VT-D]iommu.c:1241:d0 domain_context_mapping:PCIe: bdf = 1:11.4 (XEN) PCI add Virtual Function 01:11.4 (XEN) [VT-D]iommu.c:1355:d0 domain_context_unmap:PCIe: bdf = 1:10.0 (XEN) PCI remove device 01:10.0 (XEN) [VT-D]iommu.c:1355:d0 domain_context_unmap:PCIe: bdf = 1:10.2 (XEN) PCI remove device 01:10.2 (XEN) [VT-D]iommu.c:1355:d0 domain_context_unmap:PCIe: bdf = 1:10.4 (XEN) PCI remove device 01:10.4 (XEN) [VT-D]iommu.c:1355:d0 domain_context_unmap:PCIe: bdf = 1:10.6 (XEN) PCI remove device 01:10.6 (XEN) [VT-D]iommu.c:1355:d0 domain_context_unmap:PCIe: bdf = 1:11.0 (XEN) PCI remove device 01:11.0 (XEN) [VT-D]iommu.c:1355:d0 domain_context_unmap:PCIe: bdf = 1:11.2 (XEN) PCI remove device 01:11.2 (XEN) [VT-D]iommu.c:1355:d0 domain_context_unmap:PCIe: bdf = 1:11.4 (XEN) PCI remove device 01:11.4 ############ igb driver version: [root@vt-nhm7 ~]# modinfo igb filename: /lib/modules/2.6.31.5/kernel/drivers/net/igb/igb.ko version: 1.3.16-k2 license: GPL description: Intel(R) Gigabit Ethernet Network Driver author: Intel Corporation, <e1000-devel@xxxxxxxxxxxxxxxxxxxxx> srcversion: F04798DBD1C1CD0846A999D alias: pci:v00008086d000010D6sv*sd*bc*sc*i* alias: pci:v00008086d000010A9sv*sd*bc*sc*i* alias: pci:v00008086d000010A7sv*sd*bc*sc*i* alias: pci:v00008086d000010E8sv*sd*bc*sc*i* alias: pci:v00008086d000010E7sv*sd*bc*sc*i* alias: pci:v00008086d000010E6sv*sd*bc*sc*i* alias: pci:v00008086d0000150Asv*sd*bc*sc*i* alias: pci:v00008086d000010C9sv*sd*bc*sc*i* depends: vermagic: 2.6.31.5 SMP mod_unload parm: max_vfs:Maximum number of virtual functions to allocate per physical function (uint) lspci output for the Kawela on the system: [root@vt-nhm7 ~]# lspci | grep Eth 01:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 01:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 08:00.0 Ethernet controller: Intel Corporation Device 10e8 (rev 01) 08:00.1 Ethernet controller: Intel Corporation Device 10e8 (rev 01) 0a:00.0 Ethernet controller: Intel Corporation Device 10e8 (rev 01) 0a:00.1 Ethernet controller: Intel Corporation Device 10e8 (rev 01) 11:01.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 86) 13:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 13:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) -- 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 |