From: Konrad Rzeszutek Wilk Date: Wed, 15 Jun 2011 00:42:03 +0000 (-0400) Subject: config: Remove CONFIG_PROVE_LOCKING as it causes weird bootup problems. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=94148aa0272c35a94d72efa363611d4a999331f4;p=xentesttools%2Fbootstrap.git config: Remove CONFIG_PROVE_LOCKING as it causes weird bootup problems. This is what I get mapping kernel into physical memory about to get started... [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.39.1-00222-g9a33d46 (konrad@phenom) (gcc version 4.4.4 20100503 (Red Hat 4.4.4-2) (GCC) ) #10 SMP PREEMPT Tue Jun 14 17:25:56 EDT 2011 [ 0.000000] Command line: console=hvc0 debug earlyprintk=xenboot memblock=debug [ 0.000000] ACPI in unprivileged domain disabled [ 0.000000] released 0 pages of unused memory [ 0.000000] max_pfn: 0x80000, extra_pages: 2048 [ 0.000000] balloon area will have 2048 pages. [ 0.000000] Set 0 page(s) to 1-1 mapping. [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable) [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved) [ 0.000000] Xen: 0000000000100000 - 0000000080000000 (usable) [ 0.000000] Xen: 0000000100000000 - 0000000100800000 (usable) [ 0.000000] bootconsole [xenboot0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI not present or invalid. [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved) [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable) [ 0.000000] No AGP bridge found [ 0.000000] last_pfn = 0x100800 max_arch_pfn = 0x400000000 [ 0.000000] last_pfn = 0x80000 max_arch_pfn = 0x400000000 [ 0.000000] memblock_x86_reserve_range: [0x026b9000-0x026cbfff] BRK [ 0.000000] MEMBLOCK configuration: [ 0.000000] memory size = 0x80790000 [ 0.000000] memory.cnt = 0x3 [ 0.000000] memory[0x0] [0x00000000010000-0x0000000009ffff], 0x90000 bytes [ 0.000000] memory[0x1] [0x00000000100000-0x0000007fffffff], 0x7ff00000 bytes [ 0.000000] memory[0x2] [0x00000100000000-0x000001007fffff], 0x800000 bytes [ 0.000000] reserved.cnt = 0x3 [ 0.000000] reserved[0x0] [0x00000001000000-0x000000026cbfff], 0x16cc000 bytes [ 0.000000] reserved[0x1] [0x000000027ef000-0x0000001687efff], 0x14090000 bytes [ 0.000000] reserved[0x2] [0x00000100000000-0x000001007fffff], 0x800000 bytes [ 0.000000] initial memory mapped : 0 - 163c3000 [ 0.000000] memblock_x86_reserve_range: [0x0009b000-0x0009ffff] TRAMPOLINE [ 0.000000] Base memory trampoline at [ffff88000009b000] 9b000 size 20480 [ 0.000000] init_memory_mapping: 0000000000000000-0000000080000000 [ 0.000000] 0000000000 - 0080000000 page 4k [ 0.000000] kernel direct mapping tables up to 80000000 @ 7fbfd000-80000000 [ 0.000000] memblock_x86_reserve_range: [0x7fbfd000-0x7ff43fff] PGTABLE [ 0.000000] xen: setting RW the range 7ff44000 - 80000000 [ 0.000000] init_memory_mapping: 0000000100000000-0000000100800000 [ 0.000000] 0100000000 - 0100800000 page 4k [ 0.000000] kernel direct mapping tables up to 100800000 @ 7f3f3000-7fbfd000 [ 0.000000] memblock_x86_reserve_range: [0x7f3f3000-0x7f3f7fff] PGTABLE [ 0.000000] xen: setting RW the range 7f3f8000 - 7fbfd000 [ 0.000000] RAMDISK: 027ef000 - 163c3000 [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-0000000100800000 [ 0.000000] NUMA: Using 63 for the hash shift. [ 0.000000] Initmem setup node 0 0000000000000000-0000000100800000 [ 0.000000] memblock_x86_reserve_range: [0x7ffd9000-0x7fffffff] NODE_DATA [ 0.000000] NODE_DATA [000000007ffd9000 - 000000007fffffff] [ 0.000000] memblock_x86_reserve_range: [0x7ffd8000-0x7ffd8fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7f7fd000-0x7fbfcfff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffd7e40-0x7ffd7fd7] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7f3fd000-0x7f7fcfff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7d000000-0x7f1fffff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffd6000-0x7ffd6fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffd5000-0x7ffd5fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffd4000-0x7ffd4fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffd3000-0x7ffd3fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffd2000-0x7ffd2fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffd1000-0x7ffd1fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffd0000-0x7ffd0fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffcf000-0x7ffcffff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffce000-0x7ffcefff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffcd000-0x7ffcdfff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffcc000-0x7ffccfff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffcb000-0x7ffcbfff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffca000-0x7ffcafff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffc9000-0x7ffc9fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffc8000-0x7ffc8fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffc7000-0x7ffc7fff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ffc6000-0x7ffc6fff] BOOTMEM [ 0.000000] memblock_x86_free_range: [0x7edc0000-0x7f1fffff] [ 0.000000] memblock_x86_free_range: [0x7f3fd000-0x7f7fcfff] [ 0.000000] memblock_x86_free_range: [0x7f7fd000-0x7fbfcfff] [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00100800 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[3] active PFN ranges [ 0.000000] 0: 0x00000010 -> 0x000000a0 [ 0.000000] 0: 0x00000100 -> 0x00080000 [ 0.000000] 0: 0x00100000 -> 0x00100800 [ 0.000000] On node 0 totalpages: 526224 [ 0.000000] DMA zone: 56 pages used for memmap [ 0.000000] DMA zone: 5 pages reserved [ 0.000000] DMA zone: 3923 pages, LIFO batch:0 [ 0.000000] memblock_x86_reserve_range: [0x7ffd79c0-0x7ffd7e3f] BOOTMEM [ 0.000000] DMA32 zone: 14280 pages used for memmap [ 0.000000] DMA32 zone: 505912 pages, LIFO batch:31 [ 0.000000] memblock_x86_reserve_range: [0x7ff7e000-0x7ffc5fff] BOOTMEM [ 0.000000] Normal zone: 28 pages used for memmap [ 0.000000] Normal zone: 2020 pages, LIFO batch:0 [ 0.000000] memblock_x86_reserve_range: [0x7ffd7780-0x7ffd79bf] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ff7d000-0x7ff7dfff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ff7c000-0x7ff7cfff] BOOTMEM [ 0.000000] memblock_x86_reserve_range: [0x7ff7b000-0x7ff7bfff] BOOTMEM [ 0.000000] BUG: unable to handle kernel NULL pointer dereference at (null) [ 0.000000] IP: [] xen_set_pte+0x4c/0x56 [ 0.000000] PGD 0 [ 0.000000] Oops: 0003 [#1] PREEMPT SMP [ 0.000000] last sysfs file: [ 0.000000] CPU 0 [ 0.000000] Modules linked in: [ 0.000000] [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.39.1-00222-g9a33d46 #10 [ 0.000000] RIP: e030:[] [] xen_set_pte+0x4c/0x56 [ 0.000000] RSP: e02b:ffffffff81a01e38 EFLAGS: 00010096 [ 0.000000] RAX: 00000000ffffffff RBX: ffff88007ff7b000 RCX: 000000006bed2067 [ 0.000000] RDX: 0000000010000001 RSI: 0000000212d39065 RDI: ffff88007ff7b000 [ 0.000000] RBP: ffffffff81a01e58 R08: ffffffff8102d94d R09: ffffffff8102d94d [ 0.000000] R10: ffffffff8102d94d R11: ffffffff8102d94d R12: 0000000212d39065 [ 0.000000] R13: 0000000080000000 R14: ffffffffffffffff R15: 00000000163c3000 [ 0.000000] FS: 0000000000000000(0000) GS:ffffffff81ace000(0000) knlGS:0000000000000000 [ 0.000000] CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.000000] CR2: 0000000000000000 CR3: 0000000001a03000 CR4: 0000000000000660 [ 0.000000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.000000] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 0.000000] Process swapper (pid: 0, threadinfo ffffffff81a00000, task ffffffff81a0b020) [ 0.000000] Stack: [ 0.000000] ffffffff81a01e58 ffffffffff600000 ffffffffff600000 0000000212d39065 [ 0.000000] ffffffff81a01e78 ffffffff8105dae6 00000000007ff000 ffff8800163c3000 [ 0.000000] ffffffff81a01ea8 ffffffff8102e9eb ffff8800163c3000 0000000212d39065 [ 0.000000] Call Trace: [ 0.000000] [] set_pte_vaddr_pud+0x39/0x48 [ 0.000000] [] xen_set_fixmap+0xfa/0x101 [ 0.000000] [] map_vsyscall+0x23/0x25 [ 0.000000] [] setup_arch+0xa90/0xb72 [ 0.000000] [] ? printk+0x3c/0x3e [ 0.000000] [] start_kernel+0xe2/0x3f9 [ 0.000000] [] x86_64_start_reservations+0xb8/0xbc [ 0.000000] [] xen_start_kernel+0x59b/0x5a2 [ 0.000000] Code: df e8 82 2a 03 00 48 89 c7 e8 21 ef ff ff 48 8d 7d e0 48 89 45 e0 4c 89 65 e8 e8 8b fe ff ff bf 01 00 00 00 e8 99 f7 ff ff eb 03 <4c> 89 23 5a 59 5b 41 5c c9 c3 55 48 89 ce 48 89 d7 48 89 e5 e8 [ 0.000000] RIP [] xen_set_pte+0x4c/0x56 [ 0.000000] RSP [ 0.000000] CR2: 0000000000000000 [ 0.000000] ---[ end trace a7919e7f17c0a725 ]--- [ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task! [ 0.000000] Pid: 0, comm: swapper Tainted: G D 2.6.39.1-00222-g9a33d46 #10 [ 0.000000] Call Trace: [ 0.000000] [] panic+0x96/0x1ae [ 0.000000] [] do_exit+0xb3/0x818 [ 0.000000] [] ? kmsg_dump+0x83/0x132 [ 0.000000] [] oops_end+0xbf/0xc7 [ 0.000000] [] no_context+0x1f7/0x206 [ 0.000000] [] ? __raw_callee_save_xen_restore_fl+0x11/0x1e [ 0.000000] [] __bad_area_nosemaphore+0x196/0x1b9 [ 0.000000] [] ? __raw_callee_save_xen_restore_fl+0x11/0x1e [ 0.000000] [] bad_area_nosemaphore+0xe/0x10 [ 0.000000] [] do_page_fault+0x192/0x34b [ 0.000000] [] ? __raw_callee_save_xen_save_fl+0x11/0x1e [ 0.000000] [] ? __raw_callee_save_xen_save_fl+0x11/0x1e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? error_sti+0x5/0x6 [ 0.000000] [] ? restore_args+0x30/0x30 [ 0.000000] [] ? trace_hardirqs_off_caller+0x2f/0x89 [ 0.000000] [] ? trace_hardirqs_off_thunk+0x3a/0x3c [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] page_fault+0x25/0x30 [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? pte_pfn_to_mfn+0x2b/0x7e [ 0.000000] [] ? xen_set_pte+0x4c/0x56 [ 0.000000] [] ? xen_set_pte+0x16/0x56 [ 0.000000] [] set_pte_vaddr_pud+0x39/0x48 [ 0.000000] [] xen_set_fixmap+0xfa/0x101 [ 0.000000] [] map_vsyscall+0x23/0x25 [ 0.000000] [] setup_arch+0xa90/0xb72 [ 0.000000] [] ? printk+0x3c/0x3e [ 0.000000] [] start_kernel+0xe2/0x3f9 [ 0.000000] [] x86_64_start_reservations+0xb8/0xbc [ 0.000000] [] xen_start_kernel+0x59b/0x5a2 --- diff --git a/linux.config b/linux.config index 0d3a865..4f8eb06 100644 --- a/linux.config +++ b/linux.config @@ -776,4 +776,3 @@ CONFIG_IRQ_TIME_ACCOUNTING=y CONFIG_DEBUG_SHIRQ=y CONFIG_LOCKUP_DETECTOR=y CONFIG_HARDLOCKUP_DETECTOR=y -CONFIG_PROVE_LOCKING=y