[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] BUG: unable to handle kernel paging request
Hi, When trying to bind VF to igb_uio on a PV machine I get the following error the module crashes BUG: unable to handle kernel paging request Xen dmesg shows mm.c:618:d1 Could not get page ref for pfn df300 I'm new to dpdk so if you need any other information let me know. Regards, Samuel Environment: Dom0: root@Smart:~# uname -a Linux Smart 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux DomU: root@vm1:~# uname -a Linux vm1 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux Xen 4.3 Intel X540 Ethernet controller root@Smart:~# lspci 01:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01) 01:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01) 02:10.0 Ethernet controller: Intel Corporation X540 Ethernet Controller Virtual Function (rev 01) 02:10.1 Ethernet controller: Intel Corporation X540 Ethernet Controller Virtual Function (rev 01) 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) root@Smart:~# root@vm1:~# ./dpdk-1.6.0r1/tools/pci_unbind.py --status Network devices using IGB_UIO driver ==================================== <none> Network devices using kernel driver =================================== 0000:00:00.0 'X540 Ethernet Controller Virtual Function' if=eth1 drv=ixgbevf unused=igb_uio Other network devices ===================== <none> root@vm1:~# ./dpdk-1.6.0r1/tools/pci_unbind.py -b igb_uio 00:00.0 [ 90.348487] xen:events: xen_bind_pirq_gsi_to_irq: returning irq 47 for gsi 0 [ 90.348496] igb_uio 0000:00:00.0: Xen PCI mapped GSI0 to IRQ47 [ 90.348791] BUG: unable to handle kernel paging request at ffffc9000063e00c [ 90.348796] IP: [<ffffffffa01542cf>] igbuio_set_interrupt_mask.isra.2+0xbf/0xe0 [igb_uio] [ 90.348802] PGD 98440067 PUD 98441067 PMD 97e47067 PTE 8010000000000464 [ 90.348807] Oops: 0003 [#1] SMP [ 90.348810] Modules linked in: igb_uio(O) uio ixgbevf xen_pcifront x86_pkg_temp_thermal thermal_sys coretemp crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel evdev aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd pcspkr ext4 crc16 mbcache jbd2 dm_mod xen_netfront xen_blkfront [ 90.348831] CPU: 0 PID: 1378 Comm: pci_unbind.py Tainted: G O 3.13-1-amd64 #1 Debian 3.13.7-1 [ 90.348835] task: ffff880094a5a010 ti: ffff880015c1a000 task.ti: ffff880015c1a000 [ 90.348838] RIP: e030:[<ffffffffa01542cf>] [<ffffffffa01542cf>] igbuio_set_interrupt_mask.isra.2+0xbf/0xe0 [igb_uio] [ 90.348843] RSP: e02b:ffff880015c1bd78 EFLAGS: 00010086 [ 90.348845] RAX: ffff8800158f1480 RBX: 0000000000000000 RCX: 0000000000000001 [ 90.348848] RDX: ffff8800158f1498 RSI: ffffc9000063e00c RDI: ffff880094ec1868 [ 90.348850] RBP: ffff880094ec1000 R08: 0000000000000001 R09: 0000000000000000 [ 90.348853] R10: 0000000000000030 R11: 0000000000000044 R12: ffff880094ec1000 [ 90.348855] R13: 0000000000000200 R14: 0000000000000000 R15: 0000000000000002 [ 90.348860] FS: 00007f0dfabfd700(0000) GS:ffff88009f800000(0000) knlGS:0000000000000000 [ 90.348863] CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 90.348865] CR2: ffffc9000063e00c CR3: 0000000094812000 CR4: 0000000000042660 [ 90.348868] Stack: [ 90.348870] ffffffff8129861c ffff880015cc9000 ffff880015cc9218 ffffffffa0154418 [ 90.348874] ffff880094ec1098 ffff880094ec10a8 ffff880015cc9000 ffff880094ec1000 [ 90.348878] 0000000000000000 ffffffffa015470c 0000000000004000 0000000000000200 [ 90.348882] Call Trace: [ 90.348888] [<ffffffff8129861c>] ? pci_cfg_access_trylock+0x3c/0x50 [ 90.348892] [<ffffffffa0154418>] ? igbuio_pci_irqcontrol+0x48/0x90 [igb_uio] [ 90.348895] [<ffffffffa015470c>] ? igbuio_pci_probe+0x2ac/0x450 [igb_uio] [ 90.348899] [<ffffffff812a108a>] ? local_pci_probe+0x3a/0xa0 [ 90.348903] [<ffffffff812a239a>] ? pci_device_probe+0xca/0x120 [ 90.348908] [<ffffffff81355058>] ? driver_probe_device+0x68/0x220 [ 90.348911] [<ffffffff81353b4b>] ? bind_store+0xcb/0x110 [ 90.348916] [<ffffffff811e74a6>] ? sysfs_write_file+0x126/0x1c0 [ 90.348921] [<ffffffff8117957a>] ? vfs_write+0xaa/0x1e0 [ 90.348924] [<ffffffff81179f83>] ? SyS_write+0x43/0xa0 [ 90.348929] [<ffffffff814a71c8>] ? page_fault+0x28/0x30 [ 90.348933] [<ffffffff814ae4f9>] ? system_call_fastpath+0x16/0x1b [ 90.348935] Code: 0f b7 48 02 89 f1 41 89 f0 83 e1 fe 41 83 c8 01 85 db 41 0f 44 c8 39 ce 74 1c 41 0f b7 f1 c1 e6 04 83 c6 0c 48 63 f6 48 03 70 28 <89> 0e 48 8b 50 28 8b 12 89 48 08 48 8b 48 18 48 39 cf 48 8d 41 [ 90.348964] RIP [<ffffffffa01542cf>] igbuio_set_interrupt_mask.isra.2+0xbf/0xe0 [igb_uio] [ 90.348967] RSP <ffff880015c1bd78> [ 90.348969] CR2: ffffc9000063e00c [ 90.348972] ---[ end trace 1fa9ba2f27845646 ]--- Killed root@vm1:~# root@Smart:~# xen dmesg __ __ _ _ _____ ___ \ \/ /___ _ __ | || | |___ / / _ \ \ // _ \ '_ \ | || |_ |_ \| | | | / \ __/ | | | |__ _| ___) | |_| | /_/\_\___|_| |_| |_|(_)____(_)___/ (XEN) Xen version 4.3.0 (root@xxxxxxxxxxxxxxx) (gcc (Debian 4.8.1-8) 4.8.1) debug=n Tue Aug 27 09:34:02 IDT 2013 (XEN) Latest ChangeSet: (XEN) Bootloader: GRUB 2.00-15 (XEN) Command line: placeholder iommu=1 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 1 MBR signatures (XEN) Found 1 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009d800 (usable) (XEN) 000000000009d800 - 00000000000a0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000caefb000 (usable) (XEN) 00000000caefb000 - 00000000caf02000 (ACPI NVS) (XEN) 00000000caf02000 - 00000000cb6a8000 (usable) (XEN) 00000000cb6a8000 - 00000000cb911000 (reserved) (XEN) 00000000cb911000 - 00000000db2dd000 (usable) (XEN) 00000000db2dd000 - 00000000db367000 (reserved) (XEN) 00000000db367000 - 00000000db4c4000 (usable) (XEN) 00000000db4c4000 - 00000000db9f8000 (ACPI NVS) (XEN) 00000000db9f8000 - 00000000dbfff000 (reserved) (XEN) 00000000dbfff000 - 00000000dc000000 (usable) (XEN) 00000000dd000000 - 00000000df200000 (reserved) (XEN) 00000000f8000000 - 00000000fc000000 (reserved) (XEN) 00000000fec00000 - 00000000fec01000 (reserved) (XEN) 00000000fed00000 - 00000000fed04000 (reserved) (XEN) 00000000fed1c000 - 00000000fed20000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 000000021ee00000 (usable) (XEN) ACPI: RSDP 000F0490, 0024 (r2 ALASKA) (XEN) ACPI: XSDT DB9CE088, 008C (r1 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: FACP DB9DBFC0, 010C (r5 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: DSDT DB9CE1A8, DE11 (r2 ALASKA A M I 25 INTL 20120711) (XEN) ACPI: FACS DB9F6080, 0040 (XEN) ACPI: APIC DB9DC0D0, 0092 (r3 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: FPDT DB9DC168, 0044 (r1 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: SSDT DB9DC1B0, 0200 (r1 INTEL sensrhub 0 INTL 20120711) (XEN) ACPI: SSDT DB9DC3B0, 018F (r1 Intel zpodd 1000 INTL 20091112) (XEN) ACPI: SSDT DB9DC540, 0539 (r1 PmRef Cpu0Ist 3000 INTL 20051117) (XEN) ACPI: SSDT DB9DCA80, 0AD8 (r1 PmRef CpuPm 3000 INTL 20051117) (XEN) ACPI: MCFG DB9DD558, 003C (r1 ALASKA A M I 1072009 MSFT 97) (XEN) ACPI: HPET DB9DD598, 0038 (r1 ALASKA A M I 1072009 AMI. 5) (XEN) ACPI: SSDT DB9DD5D0, 0315 (r1 SataRe SataTabl 1000 INTL 20091112) (XEN) ACPI: SSDT DB9DD8E8, 32DD (r1 SaSsdt SaSsdt 3000 INTL 20091112) (XEN) ACPI: ASF! DB9E0BC8, 00A5 (r32 INTEL HCG 1 TFSM F4240) (XEN) ACPI: DMAR DB9E0C70, 00B8 (r1 INTEL HSW 1 INTL 1) (XEN) System RAM: 8095MB (8289696kB) (XEN) Domain heap initialised (XEN) ACPI: 32/64X FACS address mismatch in FADT - db9f6080/0000000000000000, using 32 (XEN) Processor #0 7:12 APIC version 21 (XEN) Processor #2 7:12 APIC version 21 (XEN) Processor #4 7:12 APIC version 21 (XEN) Processor #6 7:12 APIC version 21 (XEN) Processor #1 7:12 APIC version 21 (XEN) Processor #3 7:12 APIC version 21 (XEN) Processor #5 7:12 APIC version 21 (XEN) Processor #7 7:12 APIC version 21 (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Switched to APIC driver x2apic_cluster. (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2394.515 MHz processor. (XEN) Initing memory sharing. (XEN) xstate_init: using cntxt_size: 0x340 and states: 0x7 (XEN) Intel VT-d iommu 0 supported page sizes: 4kB. (XEN) Intel VT-d iommu 1 supported page sizes: 4kB. (XEN) Intel VT-d Snoop Control not enabled. (XEN) Intel VT-d Dom0 DMA Passthrough not enabled. (XEN) Intel VT-d Queued Invalidation enabled. (XEN) Intel VT-d Interrupt Remapping enabled. (XEN) Intel VT-d Shared EPT tables not enabled. (XEN) I/O virtualisation enabled (XEN) - Dom0 mode: Relaxed (XEN) Interrupt remapping enabled (XEN) Enabled directed EOI with ioapic_ack_old on! (XEN) ENABLING IO-APIC IRQs (XEN) -> Using old ACK method (XEN) Platform timer is 14.318MHz HPET (XEN) Allocated console ring of 16 KiB. (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) - Unrestricted Guest (XEN) - VMCS shadowing (XEN) HVM: ASIDs enabled. (XEN) HVM: VMX enabled (XEN) HVM: Hardware Assisted Paging (HAP) detected (XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB (XEN) Brought up 8 CPUs (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1ebd000 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 0000000210000000->0000000214000000 (1989735 pages to be allocated) (XEN) Init. ramdisk: 000000021ddbb000->000000021edff3e7 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff81000000->ffffffff81ebd000 (XEN) Init. ramdisk: ffffffff81ebd000->ffffffff82f013e7 (XEN) Phys-Mach map: ffffffff82f02000->ffffffff83e58560 (XEN) Start info: ffffffff83e59000->ffffffff83e594b4 (XEN) Page tables: ffffffff83e5a000->ffffffff83e7d000 (XEN) Boot stack: ffffffff83e7d000->ffffffff83e7e000 (XEN) TOTAL: ffffffff80000000->ffffffff84000000 (XEN) ENTRY ADDRESS: ffffffff818c41f0 (XEN) Dom0 has maximum 8 VCPUs (XEN) Scrubbing Free RAM: .done. (XEN) Initial low memory virq threshold set at 0x4000 pages. (XEN) Std. Loglevel: Errors and warnings (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 260kB init memory. (XEN) traps.c:2503:d0 Domain attempted WRMSR 00000000000001fc from 0x000000000004005f to 0x000000000004005d. (XEN) traps.c:2503:d0 Domain attempted WRMSR 00000000000001fc from 0x000000000004005f to 0x000000000004005d. (XEN) traps.c:2503:d0 Domain attempted WRMSR 00000000000001fc from 0x000000000004005f to 0x000000000004005d. (XEN) traps.c:2503:d0 Domain attempted WRMSR 00000000000001fc from 0x000000000004005f to 0x000000000004005d. (XEN) traps.c:2503:d0 Domain attempted WRMSR 00000000000001fc from 0x000000000004005f to 0x000000000004005d. (XEN) traps.c:2503:d0 Domain attempted WRMSR 00000000000001fc from 0x000000000004005f to 0x000000000004005d. (XEN) traps.c:2503:d0 Domain attempted WRMSR 00000000000001fc from 0x000000000004005f to 0x000000000004005d. (XEN) traps.c:2503:d0 Domain attempted WRMSR 00000000000001fc from 0x000000000004005f to 0x000000000004005d. (XEN) mm.c:807: d1: Forcing read-only access to MFN df300 (XEN) mm.c:807: d0: Forcing read-only access to MFN df300 (XEN) mm.c:807: d1: Forcing read-only access to MFN df300 (XEN) mm.c:807: d1: Forcing read-only access to MFN df302 (XEN) mm.c:807: d1: Forcing read-only access to MFN df300 (XEN) mm.c:807: d0: Forcing read-only access to MFN df300 (XEN) mm.c:618:d1 Could not get page ref for pfn df300 root@Smart:~# _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |