All of lore.kernel.org
 help / color / mirror / Atom feed
* [sched] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
       [not found] <53c36ab5.lEqgWr0+bxnCm4ej%fengguang.wu@intel.com>
@ 2014-07-14  5:36 ` Aaron Lu
  0 siblings, 0 replies; 7+ messages in thread
From: Aaron Lu @ 2014-07-14  5:36 UTC (permalink / raw)
  To: lkp

[-- Attachment #1: Type: text/plain, Size: 12806 bytes --]

FYI, we noticed the below changes on

git://bee.sh.intel.com/git/ydu19/linux rewrite-v1.1-on-3.16-rc3
commit 69b181fe34a030a624fc05e7c06f576d20a5b2ce ("sched: Remove update_rq_runnable_avg")

+------------------------------------------------------+-----------+------------+
|                                                      | v3.16-rc3 | 69b181fe34 |
+------------------------------------------------------+-----------+------------+
| boot_successes                                       | 3430      | 20         |
| boot_failures                                        | 366       | 6          |
| BUG:kernel_boot_hang                                 | 113       | 2          |
| BUG:kernel_early_hang_without_any_printk_output      | 93        |            |
| BUG:kernel_test_hang                                 | 9         |            |
| Out_of_memory:Kill_process                           | 15        |            |
| backtrace:vfs_write                                  | 1         | 4          |
| backtrace:SyS_write                                  | 1         | 4          |
| page_allocation_failure:order:,mode                  | 3         |            |
| backtrace:do_fork                                    | 7         |            |
| backtrace:SyS_clone                                  | 7         |            |
| backtrace:do_execve_common                           | 1         |            |
| backtrace:SyS_execve                                 | 1         |            |
| backtrace:vm_mmap_pgoff                              | 1         |            |
| backtrace:SyS_mmap_pgoff                             | 1         |            |
| backtrace:SyS_mmap                                   | 1         |            |
| BUG:kernel_test_crashed                              | 3         |            |
| BUG:kernel_boot_crashed                              | 133       |            |
| BUG:unable_to_handle_kernel_NULL_pointer_dereference | 0         | 4          |
| Oops                                                 | 0         | 4          |
| RIP:print_cfs_group_stats                            | 0         | 4          |
| kernel_BUG_at_arch/x86/mm/pageattr.c                 | 0         | 4          |
| invalid_opcode                                       | 0         | 4          |
| RIP:change_page_attr_set_clr                         | 0         | 4          |
| Kernel_panic-not_syncing:Fatal_exception             | 0         | 4          |
+------------------------------------------------------+-----------+------------+


[18195.617056]   .tg->cfs_bandwidth.timer_active: 0
[18195.617056]   .throttled                     : 0
[18195.617056]   .throttle_count                : 0
[18195.617056] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
[18195.617056] IP: [<ffffffff810b706b>] print_cfs_group_stats.isra.0+0x6db/0xad0
[18195.617056] PGD 7f464067 PUD 7f0ef067 PMD 0 
[18195.617056] Oops: 0000 [#1] SMP 
[18195.617056] Modules linked in: ipmi_watchdog ipmi_msghandler dm_mod fuse sg sr_mod cdrom ata_generic pata_acpi parport_pc parport floppy snd_pcm snd_timer snd soundcore ata_piix pcspkr cirrus libata syscopyarea sysfillrect sysimgblt ttm i2c_piix4 drm_kms_helper drm
[18195.617056] CPU: 2 PID: 1522 Comm: run-lkp Not tainted 3.16.0-rc3-00329-gec43f5a #1
[18195.617056] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[18195.617056] task: ffff88007f5dd850 ti: ffff88007f6dc000 task.ti: ffff88007f6dc000
[18195.617056] RIP: 0010:[<ffffffff810b706b>]  [<ffffffff810b706b>] print_cfs_group_stats.isra.0+0x6db/0xad0
[18195.617056] RSP: 0018:ffff88007f6dfd00  EFLAGS: 00010046
[18195.617056] RAX: ffffffff81fe5240 RBX: 0000000000000000 RCX: 0000000000007250
[18195.617056] RDX: ffff880076808000 RSI: 0000000000000000 RDI: 0000000000000000
[18195.617056] RBP: ffff88007f6dfd10 R08: 0000000000000092 R09: 000000000000037a
[18195.617056] R10: 0000000000000080 R11: 0000000000000002 R12: 0000000000000000
[18195.617056] R13: ffff880076e14880 R14: 0000027f6567ae6d R15: 0000000000000000
[18195.617056] FS:  00007f3479d82700(0000) GS:ffff880076f00000(0000) knlGS:0000000000000000
[18195.617056] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[18195.617056] CR2: 0000000000000040 CR3: 000000007e0c4000 CR4: 00000000000006e0
[18195.617056] Stack:
[18195.617056]  0000000000000000 ffff880076e14900 ffff88007f6dfd78 ffffffff810b8589
[18195.617056]  0000027f6567ae6d 0000000000000086 ffffffffffffffff ffffffffffffffff
[18195.617056]  ffffffffffffffff ffffffffffffffff ffff880076e14900 0000000000000000
[18195.617056] Call Trace:
[18195.617056]  [<ffffffff810b8589>] print_cfs_rq+0x3c9/0x850
[18195.617056]  [<ffffffff810af43e>] print_cfs_stats+0x6e/0xc0
[18195.617056]  [<ffffffff810b7800>] print_cpu+0x350/0xce0
[18195.617056]  [<ffffffff810b6851>] ? sched_debug_header+0x5a1/0x600
[18195.617056]  [<ffffffff810b8cd1>] sysrq_sched_debug_show+0x31/0x60
[18195.617056]  [<ffffffff810a0d95>] show_state_filter+0xa5/0xc0
[18195.617056]  [<ffffffff814a45c3>] sysrq_handle_showstate_blocked+0x13/0x20
[18195.617056]  [<ffffffff814a4d67>] __handle_sysrq+0x117/0x170
[18195.617056]  [<ffffffff814a521a>] write_sysrq_trigger+0x4a/0x50
[18195.617056]  [<ffffffff8122b5ad>] proc_reg_write+0x3d/0x80
[18195.617056]  [<ffffffff811c62c7>] vfs_write+0xb7/0x1f0
[18195.617056]  [<ffffffff811c6e66>] SyS_write+0x46/0xb0
[18195.617056]  [<ffffffff81832ba9>] system_call_fastpath+0x16/0x1b
[18195.617056] Code: d7 82 de 1b 43 4c 89 c0 48 f7 e1 48 89 d0 48 89 d1 48 c1 e8 12 48 c1 e9 12 48 69 c0 40 42 0f 00 48 f7 d9 49 29 c0 e9 c8 f9 ff ff <49> 8b 44 24 40 48 85 c0 0f 88 c3 02 00 00 be 40 42 0f 00 31 d2 
[18195.617056] RIP  [<ffffffff810b706b>] print_cfs_group_stats.isra.0+0x6db/0xad0
[18195.617056]  RSP <ffff88007f6dfd00>
[18195.617056] CR2: 0000000000000040
[18195.617056] ------------[ cut here ]------------
[18195.617056] kernel BUG at arch/x86/mm/pageattr.c:216!
[18195.617056] invalid opcode: 0000 [#2] SMP 
[18195.617056] Modules linked in: ipmi_watchdog ipmi_msghandler dm_mod fuse sg sr_mod cdrom ata_generic pata_acpi parport_pc parport floppy snd_pcm snd_timer snd soundcore ata_piix pcspkr cirrus libata syscopyarea sysfillrect sysimgblt ttm i2c_piix4 drm_kms_helper drm
[18195.617056] CPU: 2 PID: 1522 Comm: run-lkp Not tainted 3.16.0-rc3-00329-gec43f5a #1
[18195.617056] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[18195.617056] task: ffff88007f5dd850 ti: ffff88007f6dc000 task.ti: ffff88007f6dc000
[18195.617056] RIP: 0010:[<ffffffff8105bbd3>]  [<ffffffff8105bbd3>] change_page_attr_set_clr+0x433/0x440
[18195.617056] RSP: 0018:ffff88007f6df068  EFLAGS: 00010046
[18195.617056] RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000010
[18195.617056] RDX: 0000000000002200 RSI: 0000000000000000 RDI: 0000000080000000
[18195.617056] RBP: ffff88007f6df0f8 R08: 8000000040e8d163 R09: 0000000000040e8d
[18195.617056] R10: ffffea0001fc0200 R11: ffffffff813d9029 R12: 0000000000000000
[18195.617056] R13: 0000000000000010 R14: 0000000000000004 R15: 0000000000000005
[18195.617056] FS:  00007f3479d82700(0000) GS:ffff880076f00000(0000) knlGS:0000000000000000
[18195.617056] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[18195.617056] CR2: 0000000000000040 CR3: 000000007e0c4000 CR4: 00000000000006e0
[18195.617056] Stack:
[18195.617056]  ffff88007f6df0a8 0000000000000000 0000000000000000 0000000000000200
[18195.617056]  0000000000000008 0000000000000000 0000000000000000 0000000000000010
[18195.617056]  0000000000000000 0000000500000001 0000000000040e8d 0000020000000000
[18195.617056] Call Trace:
[18195.617056]  [<ffffffff8105bf26>] _set_pages_array+0xe6/0x130
[18195.617056]  [<ffffffff8105bfa3>] set_pages_array_wc+0x13/0x20
[18195.617056]  [<ffffffffa008302f>] ttm_set_pages_caching+0x2f/0x70 [ttm]
[18195.617056]  [<ffffffffa0083174>] ttm_alloc_new_pages.isra.6+0xb4/0x180 [ttm]
[18195.617056]  [<ffffffffa0083a63>] ttm_pool_populate+0x3c3/0x4d0 [ttm]
[18195.617056]  [<ffffffffa00e520e>] cirrus_ttm_tt_populate+0xe/0x10 [cirrus]
[18195.617056]  [<ffffffffa0080571>] ttm_bo_move_memcpy+0x5d1/0x680 [ttm]
[18195.617056]  [<ffffffff8118c59e>] ? map_vm_area+0x2e/0x40
[18195.617056]  [<ffffffffa007c289>] ? ttm_tt_init+0x69/0xb0 [ttm]
[18195.617056]  [<ffffffffa00e51b8>] cirrus_bo_move+0x18/0x20 [cirrus]
[18195.617056]  [<ffffffffa007dd45>] ttm_bo_handle_move_mem+0x265/0x5b0 [ttm]
[18195.617056]  [<ffffffffa007e6a6>] ? ttm_bo_mem_space+0x116/0x340 [ttm]
[18195.617056]  [<ffffffffa007ed6f>] ttm_bo_validate+0x21f/0x230 [ttm]
[18195.617056]  [<ffffffffa00e59a2>] cirrus_bo_push_sysram+0x82/0xe0 [cirrus]
[18195.617056]  [<ffffffffa00e3bf5>] cirrus_crtc_do_set_base.isra.8.constprop.10+0x75/0x400 [cirrus]
[18195.617056]  [<ffffffffa00e43c9>] cirrus_crtc_mode_set+0x449/0x4d0 [cirrus]
[18195.617056]  [<ffffffffa006a8e9>] drm_crtc_helper_set_mode+0x2b9/0x4f0 [drm_kms_helper]
[18195.617056]  [<ffffffffa006b66f>] drm_crtc_helper_set_config+0x87f/0xaa0 [drm_kms_helper]
[18195.617056]  [<ffffffff818305de>] ? __ww_mutex_lock+0x2e/0xaa
[18195.617056]  [<ffffffffa000f2a1>] drm_mode_set_config_internal+0x61/0xe0 [drm]
[18195.617056]  [<ffffffffa006e324>] drm_fb_helper_pan_display+0x94/0xf0 [drm_kms_helper]
[18195.617056]  [<ffffffff8143d499>] fb_pan_display+0xc9/0x190
[18195.617056]  [<ffffffff81437650>] bit_update_start+0x20/0x50
[18195.617056]  [<ffffffff81437102>] fbcon_switch+0x3a2/0x550
[18195.617056]  [<ffffffff814aec19>] redraw_screen+0x189/0x240
[18195.617056]  [<ffffffff8143d80e>] ? fb_blank+0x9e/0xc0
[18195.617056]  [<ffffffff8143469a>] fbcon_blank+0x20a/0x2d0
[18195.617056]  [<ffffffff810ba9b2>] ? up+0x32/0x50
[18195.617056]  [<ffffffff810c79d8>] ? console_unlock+0x1f8/0x440
[18195.617056]  [<ffffffff81079133>] ? __internal_add_timer+0x113/0x130
[18195.617056]  [<ffffffff8107917f>] ? internal_add_timer+0x2f/0x70
[18195.617056]  [<ffffffff8107b1b2>] ? mod_timer+0x142/0x1f0
[18195.617056]  [<ffffffff814af738>] do_unblank_screen+0xb8/0x200
[18195.617056]  [<ffffffff814af890>] unblank_screen+0x10/0x20
[18195.617056]  [<ffffffff813e7d89>] bust_spinlocks+0x19/0x40
[18195.617056]  [<ffffffff81017718>] oops_end+0x38/0x150
[18195.617056]  [<ffffffff81821839>] no_context+0x2b3/0x2c0
[18195.617056]  [<ffffffff81433061>] ? fbcon_clear+0x1b1/0x1f0
[18195.617056]  [<ffffffff818218b9>] __bad_area_nosemaphore+0x73/0x1ca
[18195.617056]  [<ffffffff81821a23>] bad_area_nosemaphore+0x13/0x15
[18195.617056]  [<ffffffff81058c90>] __do_page_fault+0x90/0x550
[18195.617056]  [<ffffffff814baddb>] ? wait_for_xmitr+0x3b/0xa0
[18195.617056]  [<ffffffff814bafe7>] ? serial8250_console_putchar+0x27/0x30
[18195.617056]  [<ffffffff814bafc0>] ? serial8250_console_write+0x180/0x180
[18195.617056]  [<ffffffff814baddb>] ? wait_for_xmitr+0x3b/0xa0
[18195.617056]  [<ffffffff814baf32>] ? serial8250_console_write+0xf2/0x180
[18195.617056]  [<ffffffff81059201>] trace_do_page_fault+0x41/0x130
[18195.617056]  [<ffffffff810536b9>] do_async_page_fault+0x29/0xe0
[18195.617056]  [<ffffffff81834b88>] async_page_fault+0x28/0x30
[18195.617056]  [<ffffffff810b706b>] ? print_cfs_group_stats.isra.0+0x6db/0xad0
[18195.617056]  [<ffffffff810b8589>] print_cfs_rq+0x3c9/0x850
[18195.617056]  [<ffffffff810af43e>] print_cfs_stats+0x6e/0xc0
[18195.617056]  [<ffffffff810b7800>] print_cpu+0x350/0xce0
[18195.617056]  [<ffffffff810b6851>] ? sched_debug_header+0x5a1/0x600
[18195.617056]  [<ffffffff810b8cd1>] sysrq_sched_debug_show+0x31/0x60
[18195.617056]  [<ffffffff810a0d95>] show_state_filter+0xa5/0xc0
[18195.617056]  [<ffffffff814a45c3>] sysrq_handle_showstate_blocked+0x13/0x20
[18195.617056]  [<ffffffff814a4d67>] __handle_sysrq+0x117/0x170
[18195.617056]  [<ffffffff814a521a>] write_sysrq_trigger+0x4a/0x50
[18195.617056]  [<ffffffff8122b5ad>] proc_reg_write+0x3d/0x80
[18195.617056]  [<ffffffff811c62c7>] vfs_write+0xb7/0x1f0
[18195.617056]  [<ffffffff811c6e66>] SyS_write+0x46/0xb0
[18195.617056]  [<ffffffff81832ba9>] system_call_fastpath+0x16/0x1b
[18195.617056] Code: ff ff 48 8b 4d 80 e9 9f fc ff ff 0f 0b 0f 0b be ba 00 00 00 48 c7 c7 b8 a0 ae 81 89 4d 80 e8 d5 15 01 00 8b 4d 80 e9 04 ff ff ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 48 89 
[18195.617056] RIP  [<ffffffff8105bbd3>] change_page_attr_set_clr+0x433/0x440
[18195.617056]  RSP <ffff88007f6df068>
[18195.617056] ---[ end trace f2721a175d3d926b ]---
[18195.617056] Kernel panic - not syncing: Fatal exception



Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.

Thanks,
Aaron

[-- Attachment #2: reproduce.ksh --]
[-- Type: text/plain, Size: 25 bytes --]

./pft -m 429496729 -n 1


[-- Attachment #3: dmesg.ksh --]
[-- Type: text/plain, Size: 38022 bytes --]

early console in setup code
Probing EDD (edd=off to disable)... ok
early console in decompress_kernel

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.16.0-rc3-00329-gec43f5a (kbuild@jaketown) (gcc version 4.8.2 (Debian 4.8.2-18) ) #1 SMP Tue Jul 8 03:26:33 CST 2014
[    0.000000] Command line: user=lkp job=/lkp/scheduled/vm-vp-2G-2/bisect_pft-20x-x86_64-rhel-ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a-5.yaml ARCH=x86_64 BOOT_IMAGE=/kernel/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/vmlinuz-3.16.0-rc3-00329-gec43f5a kconfig=x86_64-rhel commit=ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a initrd=/kernel-tests/initrd/lkp-rootfs.cgz root=/dev/ram0 bm_initrd=/lkp/benchmarks/pft.cgz modules_initrd=/kernel/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/modules.cgz RESULT_ROOT=/result/vm-vp-2G/pft/20x/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/0 ip=::::vm-vp-2G-2::dhcp oops=panic earlyprintk=ttyS0,115200 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=10 softlockup_panic=1 nmi_watchdog=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fffdfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007fffe000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] bootconsole [earlyser0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] DMI: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] AGP: No AGP bridge found
[    0.000000] e820: last_pfn = 0x7fffe max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: write-back
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 0080000000 mask FF80000000 uncachable
[    0.000000]   1 disabled
[    0.000000]   2 disabled
[    0.000000]   3 disabled
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
[    0.000000] Scan for SMP in [mem 0x00000000-0x000003ff]
[    0.000000] Scan for SMP in [mem 0x0009fc00-0x0009ffff]
[    0.000000] Scan for SMP in [mem 0x000f0000-0x000fffff]
[    0.000000] found SMP MP-table at [mem 0x000fda90-0x000fda9f] mapped at [ffff8800000fda90]
[    0.000000]   mpc: fdaa0-fdbe4
[    0.000000] Base memory trampoline at [ffff880000099000] 99000 size 24576
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000]  [mem 0x00000000-0x000fffff] page 4k
[    0.000000] BRK [0x02140000, 0x02140fff] PGTABLE
[    0.000000] BRK [0x02141000, 0x02141fff] PGTABLE
[    0.000000] BRK [0x02142000, 0x02142fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x76e00000-0x76ffffff]
[    0.000000]  [mem 0x76e00000-0x76ffffff] page 2M
[    0.000000] BRK [0x02143000, 0x02143fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x74000000-0x76dfffff]
[    0.000000]  [mem 0x74000000-0x76dfffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x00100000-0x73ffffff]
[    0.000000]  [mem 0x00100000-0x001fffff] page 4k
[    0.000000]  [mem 0x00200000-0x73ffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x77000000-0x7fffdfff]
[    0.000000]  [mem 0x77000000-0x7fdfffff] page 2M
[    0.000000]  [mem 0x7fe00000-0x7fffdfff] page 4k
[    0.000000] BRK [0x02144000, 0x02144fff] PGTABLE
[    0.000000] RAMDISK: [mem 0x771a3000-0x7ffeffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000FD8B0 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000007FFFE380 000034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000007FFFFF80 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000007FFFE3C0 0011A9 (v01 BXPC   BXDSDT   00000001 INTL 20100528)
[    0.000000] ACPI: FACS 0x000000007FFFFF40 000040
[    0.000000] ACPI: SSDT 0x000000007FFFF6E0 000858 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 0x000000007FFFF5B0 000090 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 0x000000007FFFF570 000038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] mapped APIC to ffffffffff57c000 (        fee00000)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007fffdfff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x7fffdfff]
[    0.000000]   NODE_DATA [mem 0x7717c000-0x771a2fff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:770fc001, primary cpu clock
[    0.000000]  [ffffea0000000000-ffffea0001ffffff] PMD -> [ffff880074800000-ffff8800767fffff] on node 0
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x7fffdfff]
[    0.000000] On node 0 totalpages: 524188
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 21 pages reserved
[    0.000000]   DMA zone: 3998 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 8128 pages used for memmap
[    0.000000]   DMA32 zone: 520190 pages, LIFO batch:31
[    0.000000] ACPI: PM-Timer IO Port: 0xb008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] mapped APIC to ffffffffff57c000 (        fee00000)
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 00, APIC ID 0, APIC INT 02
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 05, APIC ID 0, APIC INT 05
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 09, APIC ID 0, APIC INT 09
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 0a, APIC ID 0, APIC INT 0a
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 0b, APIC ID 0, APIC INT 0b
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 01, APIC ID 0, APIC INT 01
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 03, APIC ID 0, APIC INT 03
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 04, APIC ID 0, APIC INT 04
[    0.000000] ACPI: IRQ5 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 06, APIC ID 0, APIC INT 06
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 07, APIC ID 0, APIC INT 07
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 08, APIC ID 0, APIC INT 08
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] ACPI: IRQ10 used by override.
[    0.000000] ACPI: IRQ11 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0c, APIC ID 0, APIC INT 0c
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0d, APIC ID 0, APIC INT 0d
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0e, APIC ID 0, APIC INT 0e
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0f, APIC ID 0, APIC INT 0f
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] mapped IOAPIC to ffffffffff57b000 (fec00000)
[    0.000000] nr_irqs_gsi: 40
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0x80000000-0xfeffbfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] PERCPU: Embedded 29 pages/cpu @ffff880076e00000 s87488 r8192 d23104 u524288
[    0.000000] pcpu-alloc: s87488 r8192 d23104 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 76e0e000
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 515975
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: user=lkp job=/lkp/scheduled/vm-vp-2G-2/bisect_pft-20x-x86_64-rhel-ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a-5.yaml ARCH=x86_64 BOOT_IMAGE=/kernel/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/vmlinuz-3.16.0-rc3-00329-gec43f5a kconfig=x86_64-rhel commit=ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a initrd=/kernel-tests/initrd/lkp-rootfs.cgz root=/dev/ram0 bm_initrd=/lkp/benchmarks/pft.cgz modules_initrd=/kernel/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/modules.cgz RESULT_ROOT=/result/vm-vp-2G/pft/20x/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/0 ip=::::vm-vp-2G-2::dhcp oops=panic earlyprintk=ttyS0,115200 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=10 softlockup_panic=1 nmi_watchdog=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal
[    0.000000] sysrq: sysrq always enabled.
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] AGP: Checking aperture...
[    0.000000] AGP: No AGP bridge found
[    0.000000] Memory: 1899104K/2096752K available (8414K kernel code, 1648K rwdata, 3876K rodata, 1792K init, 1876K bss, 197648K reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS:524544 nr_irqs:712 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] bootconsole [earlyser0] disabled
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.16.0-rc3-00329-gec43f5a (kbuild@jaketown) (gcc version 4.8.2 (Debian 4.8.2-18) ) #1 SMP Tue Jul 8 03:26:33 CST 2014
[    0.000000] Command line: user=lkp job=/lkp/scheduled/vm-vp-2G-2/bisect_pft-20x-x86_64-rhel-ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a-5.yaml ARCH=x86_64 BOOT_IMAGE=/kernel/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/vmlinuz-3.16.0-rc3-00329-gec43f5a kconfig=x86_64-rhel commit=ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a initrd=/kernel-tests/initrd/lkp-rootfs.cgz root=/dev/ram0 bm_initrd=/lkp/benchmarks/pft.cgz modules_initrd=/kernel/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/modules.cgz RESULT_ROOT=/result/vm-vp-2G/pft/20x/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/0 ip=::::vm-vp-2G-2::dhcp oops=panic earlyprintk=ttyS0,115200 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=10 softlockup_panic=1 nmi_watchdog=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fffdfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007fffe000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] bootconsole [earlyser0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] DMI: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] AGP: No AGP bridge found
[    0.000000] e820: last_pfn = 0x7fffe max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: write-back
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 0080000000 mask FF80000000 uncachable
[    0.000000]   1 disabled
[    0.000000]   2 disabled
[    0.000000]   3 disabled
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
[    0.000000] Scan for SMP in [mem 0x00000000-0x000003ff]
[    0.000000] Scan for SMP in [mem 0x0009fc00-0x0009ffff]
[    0.000000] Scan for SMP in [mem 0x000f0000-0x000fffff]
[    0.000000] found SMP MP-table at [mem 0x000fda90-0x000fda9f] mapped at [ffff8800000fda90]
[    0.000000]   mpc: fdaa0-fdbe4
[    0.000000] Base memory trampoline at [ffff880000099000] 99000 size 24576
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000]  [mem 0x00000000-0x000fffff] page 4k
[    0.000000] BRK [0x02140000, 0x02140fff] PGTABLE
[    0.000000] BRK [0x02141000, 0x02141fff] PGTABLE
[    0.000000] BRK [0x02142000, 0x02142fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x76e00000-0x76ffffff]
[    0.000000]  [mem 0x76e00000-0x76ffffff] page 2M
[    0.000000] BRK [0x02143000, 0x02143fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x74000000-0x76dfffff]
[    0.000000]  [mem 0x74000000-0x76dfffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x00100000-0x73ffffff]
[    0.000000]  [mem 0x00100000-0x001fffff] page 4k
[    0.000000]  [mem 0x00200000-0x73ffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x77000000-0x7fffdfff]
[    0.000000]  [mem 0x77000000-0x7fdfffff] page 2M
[    0.000000]  [mem 0x7fe00000-0x7fffdfff] page 4k
[    0.000000] BRK [0x02144000, 0x02144fff] PGTABLE
[    0.000000] RAMDISK: [mem 0x771a3000-0x7ffeffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000FD8B0 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000007FFFE380 000034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000007FFFFF80 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000007FFFE3C0 0011A9 (v01 BXPC   BXDSDT   00000001 INTL 20100528)
[    0.000000] ACPI: FACS 0x000000007FFFFF40 000040
[    0.000000] ACPI: SSDT 0x000000007FFFF6E0 000858 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 0x000000007FFFF5B0 000090 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 0x000000007FFFF570 000038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] mapped APIC to ffffffffff57c000 (        fee00000)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007fffdfff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x7fffdfff]
[    0.000000]   NODE_DATA [mem 0x7717c000-0x771a2fff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:770fc001, primary cpu clock
[    0.000000]  [ffffea0000000000-ffffea0001ffffff] PMD -> [ffff880074800000-ffff8800767fffff] on node 0
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x7fffdfff]
[    0.000000] On node 0 totalpages: 524188
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 21 pages reserved
[    0.000000]   DMA zone: 3998 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 8128 pages used for memmap
[    0.000000]   DMA32 zone: 520190 pages, LIFO batch:31
[    0.000000] ACPI: PM-Timer IO Port: 0xb008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] mapped APIC to ffffffffff57c000 (        fee00000)
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 00, APIC ID 0, APIC INT 02
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 05, APIC ID 0, APIC INT 05
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 09, APIC ID 0, APIC INT 09
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 0a, APIC ID 0, APIC INT 0a
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 0b, APIC ID 0, APIC INT 0b
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 01, APIC ID 0, APIC INT 01
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 03, APIC ID 0, APIC INT 03
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 04, APIC ID 0, APIC INT 04
[    0.000000] ACPI: IRQ5 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 06, APIC ID 0, APIC INT 06
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 07, APIC ID 0, APIC INT 07
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 08, APIC ID 0, APIC INT 08
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] ACPI: IRQ10 used by override.
[    0.000000] ACPI: IRQ11 used by override.
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0c, APIC ID 0, APIC INT 0c
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0d, APIC ID 0, APIC INT 0d
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0e, APIC ID 0, APIC INT 0e
[    0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0f, APIC ID 0, APIC INT 0f
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] mapped IOAPIC to ffffffffff57b000 (fec00000)
[    0.000000] nr_irqs_gsi: 40
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0x80000000-0xfeffbfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] PERCPU: Embedded 29 pages/cpu @ffff880076e00000 s87488 r8192 d23104 u524288
[    0.000000] pcpu-alloc: s87488 r8192 d23104 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 76e0e000
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 515975
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: user=lkp job=/lkp/scheduled/vm-vp-2G-2/bisect_pft-20x-x86_64-rhel-ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a-5.yaml ARCH=x86_64 BOOT_IMAGE=/kernel/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/vmlinuz-3.16.0-rc3-00329-gec43f5a kconfig=x86_64-rhel commit=ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a initrd=/kernel-tests/initrd/lkp-rootfs.cgz root=/dev/ram0 bm_initrd=/lkp/benchmarks/pft.cgz modules_initrd=/kernel/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/modules.cgz RESULT_ROOT=/result/vm-vp-2G/pft/20x/x86_64-rhel/ec43f5a3b7e14cc3e8b73c3b8d9316a97c0b442a/0 ip=::::vm-vp-2G-2::dhcp oops=panic earlyprintk=ttyS0,115200 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=10 softlockup_panic=1 nmi_watchdog=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal
[    0.000000] sysrq: sysrq always enabled.
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] AGP: Checking aperture...
[    0.000000] AGP: No AGP bridge found
[    0.000000] Memory: 1899104K/2096752K available (8414K kernel code, 1648K rwdata, 3876K rodata, 1792K init, 1876K bss, 197648K reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS:524544 nr_irqs:712 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] bootconsole [earlyser0] disabled
[    0.000000] console [ttyS0] enabled
[    0.000000] allocated 8388608 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Detected 2693.486 MHz processor
[    0.003000] Calibrating delay loop (skipped) preset value.. 5386.97 BogoMIPS (lpj=2693486)
[    0.003005] pid_max: default: 32768 minimum: 301
[    0.003598] ACPI: Core revision 20140424
[    0.005442] ACPI: All ACPI Tables successfully acquired
[    0.006356] Security Framework initialized
[    0.007009] SELinux:  Initializing.
[    0.007682] SELinux:  Starting in permissive mode
[    0.008142] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.011485] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.013313] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.014008] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.015345] Initializing cgroup subsys memory
[    0.016029] Initializing cgroup subsys devices
[    0.017011] Initializing cgroup subsys freezer
[    0.018007] Initializing cgroup subsys net_cls
[    0.018787] Initializing cgroup subsys blkio
[    0.019009] Initializing cgroup subsys perf_event
[    0.020005] Initializing cgroup subsys hugetlb
[    0.021077] mce: CPU supports 10 MCE banks
[    0.022042] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.022042] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.022042] tlb_flushall_shift: -1
[    0.023157] Freeing SMP alternatives memory: 32K (ffffffff81f61000 - ffffffff81f69000)
[    0.028353] ftrace: allocating 30750 entries in 121 pages
[    0.036190] Getting VERSION: 50014
[    0.036832] Getting VERSION: 50014
[    0.037007] Getting ID: 0
[    0.037553] Getting ID: ff000000
[    0.038010] Getting LVT0: 8700
[    0.039006] Getting LVT1: 8400
[    0.039639] enabled ExtINT on CPU#0
[    0.041113] ENABLING IO-APIC IRQs
[    0.041712] init IO_APIC IRQs
[    0.042004]  apic 0 pin 0 not connected
[    0.043007] IOAPIC[0]: Set routing entry (0-1 -> 0x31 -> IRQ 1 Mode:0 Active:0 Dest:1)
[    0.044016] IOAPIC[0]: Set routing entry (0-2 -> 0x30 -> IRQ 0 Mode:0 Active:0 Dest:1)
[    0.045016] IOAPIC[0]: Set routing entry (0-3 -> 0x33 -> IRQ 3 Mode:0 Active:0 Dest:1)
[    0.046016] IOAPIC[0]: Set routing entry (0-4 -> 0x34 -> IRQ 4 Mode:0 Active:0 Dest:1)
[    0.047016] IOAPIC[0]: Set routing entry (0-5 -> 0x35 -> IRQ 5 Mode:1 Active:0 Dest:1)
[    0.048015] IOAPIC[0]: Set routing entry (0-6 -> 0x36 -> IRQ 6 Mode:0 Active:0 Dest:1)
[    0.049016] IOAPIC[0]: Set routing entry (0-7 -> 0x37 -> IRQ 7 Mode:0 Active:0 Dest:1)
[    0.050015] IOAPIC[0]: Set routing entry (0-8 -> 0x38 -> IRQ 8 Mode:0 Active:0 Dest:1)
[    0.051015] IOAPIC[0]: Set routing entry (0-9 -> 0x39 -> IRQ 9 Mode:1 Active:0 Dest:1)
[    0.052016] IOAPIC[0]: Set routing entry (0-10 -> 0x3a -> IRQ 10 Mode:1 Active:0 Dest:1)
[    0.053015] IOAPIC[0]: Set routing entry (0-11 -> 0x3b -> IRQ 11 Mode:1 Active:0 Dest:1)
[    0.054015] IOAPIC[0]: Set routing entry (0-12 -> 0x3c -> IRQ 12 Mode:0 Active:0 Dest:1)
[    0.055017] IOAPIC[0]: Set routing entry (0-13 -> 0x3d -> IRQ 13 Mode:0 Active:0 Dest:1)
[    0.056015] IOAPIC[0]: Set routing entry (0-14 -> 0x3e -> IRQ 14 Mode:0 Active:0 Dest:1)
[    0.057015] IOAPIC[0]: Set routing entry (0-15 -> 0x3f -> IRQ 15 Mode:0 Active:0 Dest:1)
[    0.058013]  apic 0 pin 16 not connected
[    0.059002]  apic 0 pin 17 not connected
[    0.060002]  apic 0 pin 18 not connected
[    0.060656]  apic 0 pin 19 not connected
[    0.061002]  apic 0 pin 20 not connected
[    0.062002]  apic 0 pin 21 not connected
[    0.063002]  apic 0 pin 22 not connected
[    0.063646]  apic 0 pin 23 not connected
[    0.064144] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.065002] smpboot: CPU0: Intel Core 2 Duo P9xxx (Penryn Class Core 2) (fam: 06, model: 17, stepping: 03)
[    0.067435] Using local APIC timer interrupts.
[    0.067435] calibrating APIC timer ...
[    0.069000] ... lapic delta = 6250036
[    0.069000] ... PM-Timer delta = 357956
[    0.069000] ... PM-Timer result ok
[    0.069000] ..... delta 6250036
[    0.069000] ..... mult: 268437002
[    0.069000] ..... calibration result: 1000005
[    0.069000] ..... CPU clock speed is 2693.0358 MHz.
[    0.069000] ..... host bus clock speed is 1000.0005 MHz.
[    0.069066] Performance Events: unsupported p6 CPU model 23 no PMU driver, software events only.
[    0.072693] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.073189] x86: Booting SMP configuration:
[    0.074003] .... node  #0, CPUs:      #1
[    0.072674] kvm-clock: cpu 1, msr 0:770fc041, secondary cpu clock
[    0.072674] masked ExtINT on CPU#1
[    0.088009] KVM setup async PF for cpu 1
[    0.088967]  #2
[    0.088967] kvm-stealtime: cpu 1, msr 76e8e000
[    0.088026] kvm-clock: cpu 2, msr 0:770fc081, secondary cpu clock
[    0.088026] masked ExtINT on CPU#2
[    0.101007] KVM setup async PF for cpu 2
[    0.101783]  #3
[    0.101783] kvm-stealtime: cpu 2, msr 76f0e000
[    0.101025] kvm-clock: cpu 3, msr 0:770fc0c1, secondary cpu clock
[    0.101025] masked ExtINT on CPU#3
[    0.113025] x86: Booted up 1 node, 4 CPUs
[    0.113012] KVM setup async PF for cpu 3
[    0.113015] kvm-stealtime: cpu 3, msr 76f8e000
[    0.114003] smpboot: Total of 4 processors activated (21547.88 BogoMIPS)
[    0.115530] devtmpfs: initialized
[    0.118606] evm: security.selinux
[    0.119002] evm: security.ima
[    0.119603] evm: security.capability
[    0.121692] atomic64_test: passed for x86-64 platform with CX8 and with SSE
[    0.122082] NET: Registered protocol family 16
[    0.123220] cpuidle: using governor menu
[    0.124426] ACPI: bus type PCI registered
[    0.125003] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.126111] PCI: Using configuration type 1 for base access
[    0.130584] ACPI: Added _OSI(Module Device)
[    0.131004] ACPI: Added _OSI(Processor Device)
[    0.132002] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.132764] ACPI: Added _OSI(Processor Aggregator Device)
[    0.135437] ACPI: Interpreter enabled
[    0.136010] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140424/hwxface-580)
[    0.137502] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140424/hwxface-580)
[    0.139012] ACPI: (supports S0 S3 S4 S5)
[    0.139687] ACPI: Using IOAPIC for interrupt routing
[    0.140017] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.144354] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.145006] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.146011] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.147114] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.149277] acpiphp: Slot [3] registered
[    0.149968] acpiphp: Slot [4] registered
[    0.150023] acpiphp: Slot [5] registered
[    0.151022] acpiphp: Slot [6] registered
[    0.152021] acpiphp: Slot [7] registered
[    0.152721] acpiphp: Slot [8] registered
[    0.153023] acpiphp: Slot [9] registered
[    0.154021] acpiphp: Slot [10] registered
[    0.154726] acpiphp: Slot [11] registered
[    0.155022] acpiphp: Slot [12] registered
[    0.156021] acpiphp: Slot [13] registered
[    0.156727] acpiphp: Slot [14] registered
[    0.157022] acpiphp: Slot [15] registered
[    0.158095] acpiphp: Slot [24] registered
[    0.159021] acpiphp: Slot [25] registered
[    0.159725] acpiphp: Slot [26] registered
[    0.160022] acpiphp: Slot [27] registered
[    0.161020] acpiphp: Slot [28] registered
[    0.161732] acpiphp: Slot [29] registered
[    0.162022] acpiphp: Slot [30] registered
[    0.163031] acpiphp: Slot [31] registered
[    0.164010] PCI host bridge to bus 0000:00
[    0.164701] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.165004] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7]
[    0.166003] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff]
[    0.167003] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[    0.168003] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfebfffff]
[    0.169034] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    0.170311] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    0.171402] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    0.175524] pci 0000:00:01.1: reg 0x20: [io  0xc1c0-0xc1cf]
[    0.177295] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.178003] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.179003] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.180003] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.181156] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    0.182292] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.184011] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.185172] pci 0000:00:02.0: [1013:00b8] type 00 class 0x030000
[    0.189041] pci 0000:00:02.0: reg 0x10: [mem 0xfc000000-0xfdffffff pref]
[    0.191039] pci 0000:00:02.0: reg 0x14: [mem 0xfebf0000-0xfebf0fff]
[    0.198620] pci 0000:00:02.0: reg 0x30: [mem 0xfebe0000-0xfebeffff pref]
[    0.200181] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[    0.202004] pci 0000:00:03.0: reg 0x10: [mem 0xfeba0000-0xfebbffff]
[    0.203978] pci 0000:00:03.0: reg 0x14: [io  0xc000-0xc03f]
[    0.209497] pci 0000:00:03.0: reg 0x30: [mem 0xfebc0000-0xfebdffff pref]
[    0.210164] pci 0000:00:04.0: [1af4:1001] type 00 class 0x010000
[    0.212510] pci 0000:00:04.0: reg 0x10: [io  0xc040-0xc07f]
[    0.214511] pci 0000:00:04.0: reg 0x14: [mem 0xfebf1000-0xfebf1fff]
[    0.220784] pci 0000:00:05.0: [1af4:1001] type 00 class 0x010000
[    0.222516] pci 0000:00:05.0: reg 0x10: [io  0xc080-0xc0bf]
[    0.224510] pci 0000:00:05.0: reg 0x14: [mem 0xfebf2000-0xfebf2fff]
[    0.231765] pci 0000:00:06.0: [1af4:1001] type 00 class 0x010000
[    0.233518] pci 0000:00:06.0: reg 0x10: [io  0xc0c0-0xc0ff]
[    0.235518] pci 0000:00:06.0: reg 0x14: [mem 0xfebf3000-0xfebf3fff]
[    0.241761] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000
[    0.243516] pci 0000:00:07.0: reg 0x10: [io  0xc100-0xc13f]
[    0.245522] pci 0000:00:07.0: reg 0x14: [mem 0xfebf4000-0xfebf4fff]
[    0.251270] pci 0000:00:08.0: [1af4:1001] type 00 class 0x010000
[    0.253513] pci 0000:00:08.0: reg 0x10: [io  0xc140-0xc17f]
[    0.255516] pci 0000:00:08.0: reg 0x14: [mem 0xfebf5000-0xfebf5fff]
[    0.261286] pci 0000:00:09.0: [1af4:1001] type 00 class 0x010000
[    0.263516] pci 0000:00:09.0: reg 0x10: [io  0xc180-0xc1bf]
[    0.265516] pci 0000:00:09.0: reg 0x14: [mem 0xfebf6000-0xfebf6fff]
[    0.271251] pci 0000:00:0a.0: [8086:25ab] type 00 class 0x088000
[    0.273004] pci 0000:00:0a.0: reg 0x10: [mem 0xfebf7000-0xfebf700f]
[    0.277611] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.279051] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.280103] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.281547] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.282682] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.284315] ACPI: Enabled 16 GPEs in block 00 to 0F
[    0.285379] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.286003] vgaarb: loaded
[    0.287002] vgaarb: bridge control possible 0000:00:02.0
[    0.288196] SCSI subsystem initialized
[    0.289053] ACPI: bus type USB registered
[    0.289777] usbcore: registered new interface driver usbfs
[    0.290030] usbcore: registered new interface driver hub
[    0.291128] usbcore: registered new device driver usb
[    0.292038] pps_core: LinuxPPS API ver. 1 registered
[    0.293003] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.294009] PTP clock support registered
[    0.295167] PCI: Using ACPI for IRQ routing
[    0.296011] PCI: pci_cache_line_size set to 64 bytes
[    0.297179] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[    0.298006] e820: reserve RAM buffer [mem 0x7fffe000-0x7fffffff]
[    0.299263] NetLabel: Initializing
[    0.300005] NetLabel:  domain hash size = 128
[    0.300750] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.301024] NetLabel:  unlabeled traffic allowed by default
[    0.302198] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[    0.303021] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.304532] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    0.309188] Switched to clocksource kvm-clock
[    0.324575] pnp: PnP ACPI init
[    0.325182] ACPI: bus type PNP registered
[    0.325892] IOAPIC[0]: Set routing entry (0-8 -> 0x38 -> IRQ 8 Mode:0 Active:0 Dest:15)
[    0.327205] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.328171] IOAPIC[0]: Set routing entry (0-1 -> 0x31 -> IRQ 1 Mode:0 Active:0 Dest:15)
[    0.329480] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.330440] IOAPIC[0]: Set routing entry (0-12 -> 0x3c -> IRQ 12 Mode:0 Active:0 Dest:15)
[    0.331744] pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
[    0.332718] IOAPIC[0]: Set routing entry (0-6 -> 0x36 -> IRQ 6 Mode:0 Active:0 Dest:15)
[    0.334015] pnp 00:03: [dma 2]
[    0.334596] pnp 00:03: Plug and Play ACPI device, IDs PNP0700 (active)
[    0.335572] IOAPIC[0]: Set routing entry (0-7 -> 0x37 -> IRQ 7 Mode:0 Active:0 Dest:15)
[    0.336866] pnp 00:04: Plug and Play ACPI device, IDs PNP0400 (active)
[    0.337840] IOAPIC[0]: Set routing entry (0-4 -> 0x34 -> IRQ 4 Mode:0 Active:0 Dest:15)
[    0.339142] pnp 00:05: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.340114] IOAPIC[0]: Set routing entry (0-3 -> 0x33 -> IRQ 3 Mode:0 Active:0 Dest:15)
[    0.341408] pnp 00:06: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.342489] pnp: PnP ACPI: found 7 devices
[    0.343169] ACPI: bus type PNP unregistered
[    0.349986] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7]
[    0.350823] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff]
[    0.351659] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
[    0.352563] pci_bus 0000:00: resource 7 [mem 0x80000000-0xfebfffff]
[    0.353515] NET: Registered protocol family 2
[    0.354470] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.355769] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.356881] TCP: Hash tables configured (established 16384 bind 16384)
[    0.357911] TCP: reno registered
[    0.358511] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.359430] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.360480] NET: Registered protocol family 1
[    0.361395] RPC: Registered named UNIX socket transport module.
[    0.362323] RPC: Registered udp transport module.
[    0.363103] RPC: Registered tcp transport module.
[    0.363832] RPC: Registered tcp NFSv4.1 backchannel transport module

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sched] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
  2014-10-11  6:00   ` Chuck Ebbert
@ 2014-10-10 22:23     ` Yuyang Du
  -1 siblings, 0 replies; 7+ messages in thread
From: Yuyang Du @ 2014-10-10 22:23 UTC (permalink / raw)
  To: lkp

[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]

Yes, thanks.

How come it is sent to whole list. Please ignore this. Sorry.

On Sat, Oct 11, 2014 at 01:00:48AM -0500, Chuck Ebbert wrote:
> On Sat, 11 Oct 2014 13:15:30 +0800
> Fengguang Wu <fengguang.wu@intel.com> wrote:
> 
> > FYI, we noticed the below changes on commit
> > 
> > 445d95d7c384741d133251a9adac935866591c92 ("sched: Remove update_rq_runnable_avg")
> > 
> > [   67.303839] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
> > [   67.304014] IP: [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96
> 
> Well that one's pretty obvious:
> 
> 
> --- a/kernel/sched/debug.c
> +++ b/kernel/sched/debug.c
> @@ -68,14 +68,6 @@ static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group
>  #define PN(F) \
>  	SEQ_printf(m, "  .%-30s: %lld.%06ld\n", #F, SPLIT_NS((long long)F))
>  
> -	if (!se) {
> -		struct sched_avg *avg = &cpu_rq(cpu)->avg;
> -		P(avg->runnable_avg_sum);
> -		P(avg->runnable_avg_period);
> -		return;
> -	}
> -
> -
>  	PN(se->exec_start);
>  	PN(se->vruntime);
>  	PN(se->sum_exec_runtime);
> 
> 
> You can remove the P() calls from that if statement, but you can't
> remove the whole thing because you will try to dereference a NULL se
> immediately afterward if you do.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo(a)vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sched] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
@ 2014-10-10 22:23     ` Yuyang Du
  0 siblings, 0 replies; 7+ messages in thread
From: Yuyang Du @ 2014-10-10 22:23 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: Fengguang Wu, LKML, lkp

Yes, thanks.

How come it is sent to whole list. Please ignore this. Sorry.

On Sat, Oct 11, 2014 at 01:00:48AM -0500, Chuck Ebbert wrote:
> On Sat, 11 Oct 2014 13:15:30 +0800
> Fengguang Wu <fengguang.wu@intel.com> wrote:
> 
> > FYI, we noticed the below changes on commit
> > 
> > 445d95d7c384741d133251a9adac935866591c92 ("sched: Remove update_rq_runnable_avg")
> > 
> > [   67.303839] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
> > [   67.304014] IP: [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96
> 
> Well that one's pretty obvious:
> 
> 
> --- a/kernel/sched/debug.c
> +++ b/kernel/sched/debug.c
> @@ -68,14 +68,6 @@ static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group
>  #define PN(F) \
>  	SEQ_printf(m, "  .%-30s: %lld.%06ld\n", #F, SPLIT_NS((long long)F))
>  
> -	if (!se) {
> -		struct sched_avg *avg = &cpu_rq(cpu)->avg;
> -		P(avg->runnable_avg_sum);
> -		P(avg->runnable_avg_period);
> -		return;
> -	}
> -
> -
>  	PN(se->exec_start);
>  	PN(se->vruntime);
>  	PN(se->sum_exec_runtime);
> 
> 
> You can remove the P() calls from that if statement, but you can't
> remove the whole thing because you will try to dereference a NULL se
> immediately afterward if you do.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [sched] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
@ 2014-10-11  5:15 ` Fengguang Wu
  0 siblings, 0 replies; 7+ messages in thread
From: Fengguang Wu @ 2014-10-11  5:15 UTC (permalink / raw)
  To: lkp

[-- Attachment #1: Type: text/plain, Size: 3972 bytes --]

Hi Yuyang,

FYI, we noticed the below changes on commit

445d95d7c384741d133251a9adac935866591c92 ("sched: Remove update_rq_runnable_avg")

+------------------------------------------+------------+------------+
|                                          | 80213c03c4 | 445d95d7c3 |
+------------------------------------------+------------+------------+
| boot_successes                           | 7          | 10         |
| boot_failures                            | 0          | 5          |
| BUG:unable_to_handle_kernel              | 0          | 5          |
| Oops                                     | 0          | 5          |
| RIP:print_cfs_group_stats                | 0          | 5          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 5          |
| backtrace:vfs_read                       | 0          | 5          |
| backtrace:SyS_read                       | 0          | 5          |
+------------------------------------------+------------+------------+


repeat count: 267
2014-10-10 18:20:23 ./case-anon-wx-rand-mt
2014-10-10 18:20:23 ./usemem --runtime 300 -t 4 --prealloc --random 514360832
[   67.303839] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
[   67.304014] IP: [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96
[   67.304014] PGD 7cd1f067 PUD 7ccbe067 PMD 0 
[   67.315030] Oops: 0000 [#1] SMP 
[   67.315030] Modules linked in: snd_pcsp
[   67.315030] CPU: 3 PID: 4013 Comm: sched_debug Not tainted 3.17.0-g4bb7030 #2846
[   67.315030] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[   67.315030] task: ffff88007c6ecb00 ti: ffff88007ccac000 task.ti: ffff88007ccac000
[   67.315030] RIP: 0010:[<ffffffff810b1d52>]  [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96
[   67.315030] RSP: 0018:ffff88007ccafd60  EFLAGS: 00010086
[   67.315030] RAX: ffff88011a814000 RBX: ffff88007c47afe8 RCX: 0000000000000513
[   67.315030] RDX: ffff88007ccafd00 RSI: 0000000000000000 RDI: 0000000000001000
[   67.315030] RBP: ffff88007ccafda8 R08: 0000000000000000 R09: 0000000000000001
[   67.315030] R10: ffff88007ccafcc8 R11: 0000000000000000 R12: 0000000000000000
[   67.315030] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffffffffff
[   67.315030] FS:  00007f6216ddd700(0000) GS:ffff88011b400000(0000) knlGS:0000000000000000
[   67.315030] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   67.315030] CR2: 0000000000000040 CR3: 000000007c6ce000 CR4: 00000000000006e0
[   67.315030] Stack:
[   67.315030]  0000002b20db6a16 0000000000000086 0000000000000000 0000000000000000
[   67.315030]  ffff88011afd47b8 0000000000000000 ffff88007c47afe8 00000000001d4700
[   67.315030]  0000000000000000 ffff88007ccafde8 ffffffff810aac54 ffff88011afd4870
[   67.315030] Call Trace:
[   67.315030]  [<ffffffff810aac54>] print_cfs_stats+0x99/0xe0
[   67.315030]  [<ffffffff810b14b5>] print_cpu+0x57d/0x955
[   67.315030]  [<ffffffff811685b7>] ? might_fault+0x59/0xb4
[   67.315030]  [<ffffffff810b18a4>] sched_debug_show+0x17/0x22
[   67.315030]  [<ffffffff811b66f8>] seq_read+0x16a/0x33e
[   67.315030]  [<ffffffff811cc9f2>] ? fsnotify+0x267/0x28c
[   67.315030]  [<ffffffff811e58f0>] proc_reg_read+0x48/0x67
[   67.315030]  [<ffffffff811e58a8>] ? proc_reg_write+0x67/0x67
[   67.315030]  [<ffffffff81197b2d>] vfs_read+0xa6/0x144
[   67.315030]  [<ffffffff811985c5>] SyS_read+0x51/0x92
[   67.315030]  [<ffffffff81b4c729>] system_call_fastpath+0x16/0x1b
[   67.315030] Code: f0 00 00 00 31 c0 e8 d6 85 a8 00 49 8b 84 24 c8 00 00 00 48 85 db 48 8b 75 c8 48 8b 80 d8 00 00 00 4c 8b 24 f0 0f 84 17 03 00 00 <4d> 8b 6c 24 40 4c 89 ef e8 9b eb ff ff 4c 89 ef 48 89 45 d0 e8 
[   67.315030] RIP  [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96
[   67.315030]  RSP <ffff88007ccafd60>
[   67.315030] CR2: 0000000000000040
[   67.315030] ---[ end trace c7479625085660d8 ]---
[   67.315030] Kernel panic - not syncing: Fatal exception


Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [sched] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
@ 2014-10-11  5:15 ` Fengguang Wu
  0 siblings, 0 replies; 7+ messages in thread
From: Fengguang Wu @ 2014-10-11  5:15 UTC (permalink / raw)
  To: Yuyang Du; +Cc: LKML, lkp

Hi Yuyang,

FYI, we noticed the below changes on commit

445d95d7c384741d133251a9adac935866591c92 ("sched: Remove update_rq_runnable_avg")

+------------------------------------------+------------+------------+
|                                          | 80213c03c4 | 445d95d7c3 |
+------------------------------------------+------------+------------+
| boot_successes                           | 7          | 10         |
| boot_failures                            | 0          | 5          |
| BUG:unable_to_handle_kernel              | 0          | 5          |
| Oops                                     | 0          | 5          |
| RIP:print_cfs_group_stats                | 0          | 5          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 5          |
| backtrace:vfs_read                       | 0          | 5          |
| backtrace:SyS_read                       | 0          | 5          |
+------------------------------------------+------------+------------+


repeat count: 267
2014-10-10 18:20:23 ./case-anon-wx-rand-mt
2014-10-10 18:20:23 ./usemem --runtime 300 -t 4 --prealloc --random 514360832
[   67.303839] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
[   67.304014] IP: [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96
[   67.304014] PGD 7cd1f067 PUD 7ccbe067 PMD 0 
[   67.315030] Oops: 0000 [#1] SMP 
[   67.315030] Modules linked in: snd_pcsp
[   67.315030] CPU: 3 PID: 4013 Comm: sched_debug Not tainted 3.17.0-g4bb7030 #2846
[   67.315030] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[   67.315030] task: ffff88007c6ecb00 ti: ffff88007ccac000 task.ti: ffff88007ccac000
[   67.315030] RIP: 0010:[<ffffffff810b1d52>]  [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96
[   67.315030] RSP: 0018:ffff88007ccafd60  EFLAGS: 00010086
[   67.315030] RAX: ffff88011a814000 RBX: ffff88007c47afe8 RCX: 0000000000000513
[   67.315030] RDX: ffff88007ccafd00 RSI: 0000000000000000 RDI: 0000000000001000
[   67.315030] RBP: ffff88007ccafda8 R08: 0000000000000000 R09: 0000000000000001
[   67.315030] R10: ffff88007ccafcc8 R11: 0000000000000000 R12: 0000000000000000
[   67.315030] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffffffffff
[   67.315030] FS:  00007f6216ddd700(0000) GS:ffff88011b400000(0000) knlGS:0000000000000000
[   67.315030] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   67.315030] CR2: 0000000000000040 CR3: 000000007c6ce000 CR4: 00000000000006e0
[   67.315030] Stack:
[   67.315030]  0000002b20db6a16 0000000000000086 0000000000000000 0000000000000000
[   67.315030]  ffff88011afd47b8 0000000000000000 ffff88007c47afe8 00000000001d4700
[   67.315030]  0000000000000000 ffff88007ccafde8 ffffffff810aac54 ffff88011afd4870
[   67.315030] Call Trace:
[   67.315030]  [<ffffffff810aac54>] print_cfs_stats+0x99/0xe0
[   67.315030]  [<ffffffff810b14b5>] print_cpu+0x57d/0x955
[   67.315030]  [<ffffffff811685b7>] ? might_fault+0x59/0xb4
[   67.315030]  [<ffffffff810b18a4>] sched_debug_show+0x17/0x22
[   67.315030]  [<ffffffff811b66f8>] seq_read+0x16a/0x33e
[   67.315030]  [<ffffffff811cc9f2>] ? fsnotify+0x267/0x28c
[   67.315030]  [<ffffffff811e58f0>] proc_reg_read+0x48/0x67
[   67.315030]  [<ffffffff811e58a8>] ? proc_reg_write+0x67/0x67
[   67.315030]  [<ffffffff81197b2d>] vfs_read+0xa6/0x144
[   67.315030]  [<ffffffff811985c5>] SyS_read+0x51/0x92
[   67.315030]  [<ffffffff81b4c729>] system_call_fastpath+0x16/0x1b
[   67.315030] Code: f0 00 00 00 31 c0 e8 d6 85 a8 00 49 8b 84 24 c8 00 00 00 48 85 db 48 8b 75 c8 48 8b 80 d8 00 00 00 4c 8b 24 f0 0f 84 17 03 00 00 <4d> 8b 6c 24 40 4c 89 ef e8 9b eb ff ff 4c 89 ef 48 89 45 d0 e8 
[   67.315030] RIP  [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96
[   67.315030]  RSP <ffff88007ccafd60>
[   67.315030] CR2: 0000000000000040
[   67.315030] ---[ end trace c7479625085660d8 ]---
[   67.315030] Kernel panic - not syncing: Fatal exception


Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sched] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
  2014-10-11  5:15 ` Fengguang Wu
@ 2014-10-11  6:00   ` Chuck Ebbert
  -1 siblings, 0 replies; 7+ messages in thread
From: Chuck Ebbert @ 2014-10-11  6:00 UTC (permalink / raw)
  To: lkp

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

On Sat, 11 Oct 2014 13:15:30 +0800
Fengguang Wu <fengguang.wu@intel.com> wrote:

> FYI, we noticed the below changes on commit
> 
> 445d95d7c384741d133251a9adac935866591c92 ("sched: Remove update_rq_runnable_avg")
> 
> [   67.303839] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
> [   67.304014] IP: [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96

Well that one's pretty obvious:


--- a/kernel/sched/debug.c
+++ b/kernel/sched/debug.c
@@ -68,14 +68,6 @@ static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group
 #define PN(F) \
 	SEQ_printf(m, "  .%-30s: %lld.%06ld\n", #F, SPLIT_NS((long long)F))
 
-	if (!se) {
-		struct sched_avg *avg = &cpu_rq(cpu)->avg;
-		P(avg->runnable_avg_sum);
-		P(avg->runnable_avg_period);
-		return;
-	}
-
-
 	PN(se->exec_start);
 	PN(se->vruntime);
 	PN(se->sum_exec_runtime);


You can remove the P() calls from that if statement, but you can't
remove the whole thing because you will try to dereference a NULL se
immediately afterward if you do.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sched] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
@ 2014-10-11  6:00   ` Chuck Ebbert
  0 siblings, 0 replies; 7+ messages in thread
From: Chuck Ebbert @ 2014-10-11  6:00 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: Yuyang Du, LKML, lkp

On Sat, 11 Oct 2014 13:15:30 +0800
Fengguang Wu <fengguang.wu@intel.com> wrote:

> FYI, we noticed the below changes on commit
> 
> 445d95d7c384741d133251a9adac935866591c92 ("sched: Remove update_rq_runnable_avg")
> 
> [   67.303839] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
> [   67.304014] IP: [<ffffffff810b1d52>] print_cfs_rq+0x4a3/0xa96

Well that one's pretty obvious:


--- a/kernel/sched/debug.c
+++ b/kernel/sched/debug.c
@@ -68,14 +68,6 @@ static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group
 #define PN(F) \
 	SEQ_printf(m, "  .%-30s: %lld.%06ld\n", #F, SPLIT_NS((long long)F))
 
-	if (!se) {
-		struct sched_avg *avg = &cpu_rq(cpu)->avg;
-		P(avg->runnable_avg_sum);
-		P(avg->runnable_avg_period);
-		return;
-	}
-
-
 	PN(se->exec_start);
 	PN(se->vruntime);
 	PN(se->sum_exec_runtime);


You can remove the P() calls from that if statement, but you can't
remove the whole thing because you will try to dereference a NULL se
immediately afterward if you do.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-11  6:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-11  5:15 [sched] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040 Fengguang Wu
2014-10-11  5:15 ` Fengguang Wu
2014-10-11  6:00 ` Chuck Ebbert
2014-10-11  6:00   ` Chuck Ebbert
2014-10-10 22:23   ` Yuyang Du
2014-10-10 22:23     ` Yuyang Du
     [not found] <53c36ab5.lEqgWr0+bxnCm4ej%fengguang.wu@intel.com>
2014-07-14  5:36 ` Aaron Lu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.