WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1499] New: VF can not be enabled in pv-ops dom0

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1499] New: VF can not be enabled in pv-ops dom0
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 30 Aug 2009 22:15:46 -0700
Delivery-date: Sun, 30 Aug 2009 22:15:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1499

           Summary: VF can not be enabled in pv-ops dom0
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: Linux-pv_ops dom0
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: jiajun.xu@xxxxxxxxx


Environment:
------------
Service Arch (ia32/ia32e/IA64): ia32/ia32e
Guest Arch (ia32/ia32e/IA64): 
Guest OS Type (Linux/Windows):
Change Set: 20128
Hardware: NHM-EP
Other:

xen-changeset:   20128:e8004f6c254a

pvops git:
commit 16529fc075a95a84901842f7353ac906cd912bba
Merge: 5d78a20... 3186c67...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

ioemu git:
commit a83d119cfcc20bc7edb427992d6e31b3e99430be
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Mon Aug 10 18:02:56 2009 +0100


Bug detailed description:
--------------------------
With pv-ops rebase/master tree, VF can not be enabled. igb driver will call
trace by showing that xen map irq failed.

dmesg:
########
[   98.718290] Intel(R) Gigabit Ethernet Network Driver - version 1.3.16-k2
[   98.718296] Copyright (c) 2007-2009 Intel Corporation.
[   98.718350] xen: registering gsi 16 triggering 0 polarity 1
[   98.718354] xen_allocate_pirq: returning irq 16 for gsi 16
[   98.718356] xen: --> irq=16
[   98.718360] xen_set_ioapic_routing: irq 16 gsi 16 vector 16 ioapic 0 pin 16
triggering 1 polarity 1
[   98.718387] igb 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   98.718430] igb 0000:01:00.0: setting latency timer to 64
[   98.821092] igb 0000:01:00.0: 7 vfs allocated
[   98.821216] xen map irq failed ffffffea
[   98.821223] Trying to install msi data for IRQ-1
[   98.756137] Intel(R) Virtual Function Network Driver - version 1.0.0-k0
[   98.756142] Copyright (c) 2009 Intel Corporation.
[  100.424302] igb 0000:01:00.0: IOV Disabled
[  100.424399] xen map irq failed ffffffea
[  100.424409] Trying to install msi data for IRQ-1
[  100.439773] BUG: unable to handle kernel NULL pointer dereference at
00000044
[  100.439787] IP: [<ed852fce>] igb_reset+0x118/0x1bd [igb]
[  100.439801] *pdpt = 000000002f2aa001
[  100.439807] Oops: 0002 [#1] SMP
[  100.439814] last sysfs file:
/sys/devices/system/cpu/cpu15/cache/index2/shared_cpu_map
[  100.439821] Modules linked in: igbvf igb(+) sg via_rhine pata_acpi
ata_generic sr_mod cdrom ata_piix ide_gd_mod ide_core qla2xxx scsi_transport_fc
ahci libata sd_mod scsi_mod uhci_hcd ohci_hcd ehci_hcd [last unloaded: igb]
[  100.439866]
[  100.439871] Pid: 7043, comm: modprobe Not tainted (2.6.31-rc6 #1) X8DTN
[  100.439877] EIP: 0061:[<ed852fce>] EFLAGS: 00010202 CPU: 12
[  100.439884] EIP is at igb_reset+0x118/0x1bd [igb]
[  100.439889] EAX: 00000000 EBX: ec093600 ECX: 00000001 EDX: 00000046
[  100.439917] ESI: ec093340 EDI: 0000000a EBP: e9587dfc ESP: e9587de4
[  100.439923]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069
[  100.439928] Process modprobe (pid: 7043, ti=e9586000 task=eb48b7b0
task.ti=e9586000)
[  100.439934] Stack:
[  100.439937]  ec093588 ec093598 ec093588 ec093588 ec093340 ec093340 e9587e58
ed85dcb6
[  100.439952] <0> ec0ec800 ec6382d0 e9587e34 c110dae4 ec093000 ec093340
ec093588 ed85e8f0
[  100.439970] <0> 00000000 00000001 ea10f690 ea10f6f0 ed863160 e9587e48
4fc21429 2099673d
[  100.439989] Call Trace:
[  100.439998]  [<ed85dcb6>] ? igb_probe+0x7b2/0xa53 [igb]
[  100.440009]  [<c110dae4>] ? sysfs_addrm_finish+0x50/0x19a
[  100.440021]  [<c11b1457>] ? local_pci_probe+0xe/0x10
[  100.440027]  [<c11b1cf2>] ? pci_device_probe+0x43/0x68
[  100.440035]  [<c125b2fa>] ? driver_probe_device+0x8e/0x102
[  100.440042]  [<c125b3ac>] ? __driver_attach+0x3e/0x5a
[  100.440048]  [<c125aba5>] ? bus_for_each_dev+0x37/0x5b
[  100.440054]  [<c125b1be>] ? driver_attach+0x14/0x16
[  100.440060]  [<c125b36e>] ? __driver_attach+0x0/0x5a
[  100.440067]  [<c125a794>] ? bus_add_driver+0x98/0x1ce
[  100.440073]  [<c125b663>] ? driver_register+0x7b/0xd6
[  100.440084]  [<c10485d9>] ? need_resched+0x14/0x1e
[  100.440090]  [<c11b1ed1>] ? __pci_register_driver+0x35/0x80
[  100.440099]  [<ed77a044>] ? igb_init_module+0x44/0x46 [igb]
[  100.440106]  [<c100304f>] ? do_one_initcall+0x4a/0x115
[  100.440115]  [<ed77a000>] ? igb_init_module+0x0/0x46 [igb]
[  100.440126]  [<c1069d2b>] ? __blocking_notifier_call_chain+0x40/0x4c
[  100.440137]  [<c10780ca>] ? sys_init_module+0xa7/0x1b9
[  100.440145]  [<c10248c9>] ? syscall_call+0x7/0xb
[  100.440149] Code: 8b 43 10 31 c9 66 c7 43 08 ff ff 31 d2 c6 43 0a 01 89 43
0c 83 be 58 08 00 00 00 75 12 eb 3b 8b 86 5c 08 00 00 41 01 d0 83 c2 46 <c6> 40
44 00 3b 8e 58 08 00 00 72 e8 89 f0 e8 6d fb ff ff 8b 55
[  100.440258] EIP: [<ed852fce>] igb_reset+0x118/0x1bd [igb] SS:ESP
0069:e9587de4
[  100.440271] CR2: 0000000000000044
[  100.440277] ---[ end trace 0dda7b6c136f425e ]---
########

xm dmesg log:
########
(XEN) ioapic_guest_write: apic=0, pin=16, old_irq=16, new_irq=16
(XEN) ioapic_guest_write: old_entry=0000a069, new_entry=0001a010
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=23, old_irq=23, new_irq=23
(XEN) ioapic_guest_write: old_entry=0000a032, new_entry=0001a017
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=19, old_irq=19, new_irq=19
(XEN) ioapic_guest_write: old_entry=0000a042, new_entry=0001a013
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=18, old_irq=18, new_irq=18
(XEN) ioapic_guest_write: old_entry=0000a022, new_entry=0001a012
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=19, old_irq=19, new_irq=19
(XEN) ioapic_guest_write: old_entry=0000a042, new_entry=0001a013
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=16, old_irq=16, new_irq=16
(XEN) ioapic_guest_write: old_entry=0000a069, new_entry=0001a010
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=16, old_irq=16, new_irq=16
(XEN) ioapic_guest_write: old_entry=0000a069, new_entry=0001a010
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=18, old_irq=18, new_irq=18
(XEN) ioapic_guest_write: old_entry=0000a022, new_entry=0001a012
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=16, old_irq=16, new_irq=16
(XEN) ioapic_guest_write: old_entry=0000a069, new_entry=0001a010
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=19, old_irq=19, new_irq=19
(XEN) ioapic_guest_write: old_entry=0000a042, new_entry=0001a013
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=16, old_irq=16, new_irq=16
(XEN) ioapic_guest_write: old_entry=0000a069, new_entry=0001a010
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) io_apic.c:2275:
(XEN) ioapic_guest_write: apic=0, pin=16, old_irq=16, new_irq=16
(XEN) ioapic_guest_write: old_entry=0000a069, new_entry=0001a010
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) [VT-D]iommu.c:1174:d0 domain_context_mapping:PCIe: bdf = 1:10.0
(XEN) PCI add Virtual Function 01:10.0
(XEN) [VT-D]iommu.c:1174:d0 domain_context_mapping:PCIe: bdf = 1:10.2
(XEN) PCI add Virtual Function 01:10.2
(XEN) [VT-D]iommu.c:1174:d0 domain_context_mapping:PCIe: bdf = 1:10.4
(XEN) PCI add Virtual Function 01:10.4
(XEN) [VT-D]iommu.c:1174:d0 domain_context_mapping:PCIe: bdf = 1:10.6
(XEN) PCI add Virtual Function 01:10.6
(XEN) [VT-D]iommu.c:1174:d0 domain_context_mapping:PCIe: bdf = 1:11.0
(XEN) PCI add Virtual Function 01:11.0
(XEN) [VT-D]iommu.c:1174:d0 domain_context_mapping:PCIe: bdf = 1:11.2
(XEN) PCI add Virtual Function 01:11.2
(XEN) [VT-D]iommu.c:1174:d0 domain_context_mapping:PCIe: bdf = 1:11.4
(XEN) PCI add Virtual Function 01:11.4
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
(XEN) [VT-D]iommu.c:1288:d0 domain_context_unmap:PCIe: bdf = 1:10.0
(XEN) PCI remove device 01:10.0
(XEN) [VT-D]iommu.c:1288:d0 domain_context_unmap:PCIe: bdf = 1:10.2
(XEN) PCI remove device 01:10.2
(XEN) [VT-D]iommu.c:1288:d0 domain_context_unmap:PCIe: bdf = 1:10.4
(XEN) PCI remove device 01:10.4
(XEN) [VT-D]iommu.c:1288:d0 domain_context_unmap:PCIe: bdf = 1:10.6
(XEN) PCI remove device 01:10.6
(XEN) [VT-D]iommu.c:1288:d0 domain_context_unmap:PCIe: bdf = 1:11.0
(XEN) PCI remove device 01:11.0
(XEN) [VT-D]iommu.c:1288:d0 domain_context_unmap:PCIe: bdf = 1:11.2
(XEN) PCI remove device 01:11.2
(XEN) [VT-D]iommu.c:1288:d0 domain_context_unmap:PCIe: bdf = 1:11.4
(XEN) PCI remove device 01:11.4
(XEN) irq.c:1286: dom0: invalid pirq 154 or irq 73
########


-- 
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 1499] New: VF can not be enabled in pv-ops dom0, bugzilla-daemon <=