Kernel OOPS in function_graph_tracer due to the 44259b1abfaa8bb819d25d41d71e8e33e25dd36a commit (x86-64: Move vread_tsc into a new file with sensible options)
Hi,
I found yesterday a problem when booting system on Pentium-M, 32-bit.
I got approximetly this
[ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 3199.363 MHz processor. [ 0.020197] Calibrating delay loop (skipped), value calculated using timer frequency.. 6398.72 BogoMIPS (lpj=31993630) [ 0.020763] pid_max: default: 32768 minimum: 301 [ 0.022972] Mount-cache hash table entries: 512 [ 0.040440] CPU: Intel Pentium III (Katmai) stepping 03 [ 0.042789] ftrace: allocating 6263 entries in 13 pages [ 0.062128] Performance Events: [ 0.062505] no APIC, boot with the "lapic" boot parameter to force-enable it. [ 0.062818] no hardware sampling interrupt available. [ 0.063038] Broken PMU hardware detected, using software events only. [ 0.072671] Testing tracer nop: PASSED [ 0.073477] NMI watchdog disabled (cpu0): hardware events not enabled [ 0.077682] devtmpfs: initialized [ 0.090118] kworker/u:0 used greatest stack depth: 6840 bytes left [ 0.105247] atomic64 test passed for i586+ platform with CX8 and with SSE [ 0.112515] kworker/u:0 used greatest stack depth: 6700 bytes left [ 0.198527] bio: create slab <bio-0> at 0 [ 0.212671] Switching to clocksource pit [ 0.882202] kworker/u:0 used greatest stack depth: 6636 bytes left [ 1.070749] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 1.114000] Initializing RT-Tester: OK [ 1.119256] Testing tracer function: PASSED [ 1.268289] Testing dynamic ftrace: PASSED [ 1.517992] Testing dynamic ftrace ops #1: (1 0 1 1 0) (1 1 2 1 0) (2 1 3 1 35342) (2 2 4 1 35634) PASSED [ 1.591847] Testing dynamic ftrace ops #2: (1 0 1 35341 0) (1 1 2 35612 0) (2 1 3 1 8) (2 2 4 249 256) PASSED [ 1.707799] Testing tracer irqsoff: PASSED [ 1.733435] Testing tracer preemptoff: PASSED [ 1.752663] Testing tracer preemptirqsoff: PASSED [ 1.769764] Testing tracer wakeup: [ 2.068581] Switching to clocksource tsc [ 2.108718] PASSED [ 2.108928] Testing tracer wakeup_rt: PASSED [ 2.459170] Testing tracer function_graph: [ 2.466979] BUG: unable to handle kernel paging request at e421cc10 [ 2.466979] IP: [<c10850bc>] ftrace_push_return_trace+0x6c/0xd0 [ 2.466979] *pdpt = 00000000013b4001 *pde = 0000000000000000 [ 2.466979] Thread overran stack, or stack corrupted [ 2.466979] Oops: 0002 [#1] PREEMPT [ 2.466979] [ 2.466979] Pid: 1, comm: swapper Not tainted 2.6.39-t43+ #40 Bochs Bochs [ 2.466979] EIP: 0060:[<c10850bc>] EFLAGS: 00000006 CPU: 0 [ 2.466979] EIP is at ftrace_push_return_trace+0x6c/0xd0 [ 2.466979] EAX: c7833480 EBX: c7832020 ECX: c1070aac EDX: 1c9e9790 [ 2.466979] ESI: 986b5466 EDI: 00000000 EBP: c78335ac ESP: c7833590 [ 2.466979] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 2.466979] Process swapper (pid: 1, ti=c7832000 task=c7832020 task.ti=c7834000) [ 2.466979] Stack: [ 2.466979] c105a9fc c78335c0 c1007d26 c1070aac c78335f4 c1007d26 c1070aac c78335d0 [ 2.466979] c10150a2 c7833600 c7833600 c1007d26 00000000 c7832020 c1007d26 c7910800 [ 2.466979] c78335f0 c117e212 c1007d26 c7833638 c7832000 c1007d2b 00000046 c13551c0 [ 2.466979] Call Trace: [ 2.466979] [<c105a9fc>] ? trace_hardirqs_off+0xc/0x10 [ 2.466979] [<c1007d26>] ? native_sched_clock+0x6/0x70 [ 2.466979] [<c1070aac>] ? trace_clock_local+0x1c/0x50 [ 2.466979] [<c1007d26>] ? native_sched_clock+0x6/0x70 [ 2.466979] [<c1070aac>] ? trace_clock_local+0x1c/0x50 [ 2.466979] [<c10150a2>] prepare_ftrace_return+0x72/0xa0 [ 2.466979] [<c1007d26>] ? native_sched_clock+0x6/0x70 [ 2.466979] [<c1007d26>] ? native_sched_clock+0x6/0x70 [ 2.466979] [<c117e212>] ftrace_graph_caller+0x22/0x26 [ 2.466979] [<c1007d26>] ? native_sched_clock+0x6/0x70 [ 2.466979] [<c1007d2b>] ? native_sched_clock+0xb/0x70 [ 2.466979] [<c117e216>] ftrace_graph_caller+0x26/0x26 [ 2.466979] BUG: unable to handle kernel NULL pointer dereference at 0000032d [ 2.466979] IP: [<c1005529>] print_context_stack+0xd9/0x110 [ 2.466979] *pdpt = 0000000000000000 *pde = f000ff53f000ff53 [ 2.466979] Thread overran stack, or stack corrupted [ 2.466979] Oops: 0000 [#2] PREEMPT [ 2.466979] [ 2.466979] Pid: 1, comm: swapper Not tainted 2.6.39-t43+ #40 Bochs Bochs [ 2.466979] EIP: 0060:[<c1005529>] EFLAGS: 00000002 CPU: 0 [ 2.466979] EIP is at print_context_stack+0xd9/0x110 [ 2.466979] EAX: 0000001d EBX: c78335f4 ECX: 00000001 EDX: 00000310 [ 2.466979] ESI: 00000000 EDI: c11806d4 EBP: c7833380 ESP: c783335c [ 2.466979] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 2.466979] Process swapper (pid: 1, ti=c7832000 task=c7832020 task.ti=c7834000) [ 2.466979] Stack: [ 2.466979] c117e216 c7833ffc c7833600 ffffe000 c7832000 c7833600 c7833590 c11806d4 [ 2.466979] c7832000 c78333ac c10040dd c11806d4 c11d6c66 00000000 c783339c 00000018 [ 2.466979] 00000000 00000000 c11806d4 00000018 c78333d0 c10052ec c78335ac c11806d4 [ 2.466979] Call Trace: [ 2.466979] [<c117e216>] ? ftrace_graph_caller+0x26/0x26 [ 2.466979] BUG: unable to handle kernel NULL pointer dereference at 0000032d [ 2.466979] IP: [<c1005529>] print_context_stack+0xd9/0x110 [ 2.466979] *pdpt = 0000000000000000 *pde = f000ff53f000ff53 [ 2.466979] Thread overran stack, or stack corrupted [ 2.466979] Oops: 0000 [#3] PREEMPT [ 2.466979] [ 2.466979] Pid: 1, comm: swapper Not tainted 2.6.39-t43+ #40 Bochs Bochs [ 2.466979] EIP: 0060:[<c1005529>] EFLAGS: 00000002 CPU: 0 [ 2.466979] EIP is at print_context_stack+0xd9/0x110 [ 2.466979] EAX: 0000001d EBX: c783335c ECX: 00000001 EDX: 00000310 [ 2.466979] ESI: 00000000 EDI: c11806d4 EBP: c783314c ESP: c7833128 [ 2.466979] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 2.466979] Process swapper (pid: 1, ti=c7832000 task=c7832020 task.ti=c7834000) [ 2.466979] Stack: [ 2.466979] c117e216 c7833ffc c7833380 ffffe000 c7832000 c7833380 c783335c c11806d4 [ 2.466979] c7832000 c7833178 c10040dd c11806d4 c11d6c66 00000000 c7833168 00000018 [ 2.466979] 00000000 00000000 c11806d4 00000018 c783319c c10052ec c7833380 c11806d4 [ 2.466979] Call Trace: [ 2.466979] [<c117e216>] ? ftrace_graph_caller+0x26/0x26 [ 2.466979] BUG: unable to handle kernel NULL pointer dereference at 0000032d [ 2.466979] IP: [<c1005529>] print_context_stack+0xd9/0x110 [ 2.466979] *pdpt = 0000000000000000 *pde = f000ff53f000ff53 [ 2.466979] Thread overran stack, or stack corrupted [ 2.466979] Oops: 0000 [#4] PREEMPT [ 2.466979] [ 2.466979] Pid: 1, comm: swapper Not tainted 2.6.39-t43+ #40 Bochs Bochs [ 2.466979] EIP: 0060:[<c1005529>] EFLAGS: 00000002 CPU: 0 [ 2.466979] EIP is at print_context_stack+0xd9/0x110 [ 2.466979] EAX: 0000001d EBX: c7833128 ECX: 00000001 EDX: 00000310 [ 2.466979] ESI: 00000000 EDI: c11806d4 EBP: c7832f18 ESP: c7832ef4 [ 2.466979] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 2.466979] Process swapper (pid: 1, ti=c7832000 task=c7832020 task.ti=c7834000) [ 2.466979] Stack: [ 2.466979] c117e216 c7833ffc c783314c ffffe000 c7832000 c783314c c7833128 c11806d4 [ 2.466979] c7832000 c7832f44 c10040dd c11806d4 c11d6c66 00000000 c7832f34 00000018
full kernel log in attachment.
By bisection I got
commit 44259b1abfaa8bb819d25d41d71e8e33e25dd36a
Author: Andy Lutomirski <[email protected]> Date: Mon May 23 09:31:28 2011 -0400
x86-64: Move vread_tsc into a new file with sensible options
I tested on i386, 32-bit architecture. Both gcc 4.4 and 4.6 result in same problem. Also -O2 vs -O2 doesn't change anything.
Sometimes bug doesn't appear, or appear differently, for example
[ 1.114660] Initializing RT-Tester: OK [ 1.118077] Testing tracer function: PASSED [ 1.272665] Testing dynamic ftrace: PASSED [ 1.524057] Testing dynamic ftrace ops #1: (1 0 1 1 0) (1 1 2 1 0) (2 1 3 1 44876) (2 2 4 1 45184) PASSED [ 1.600066] Testing dynamic ftrace ops #2: (1 0 1 44944 0) (1 1 2 45228 0) (2 1 3 1 8) (2 2 4 265 272) PASSED [ 1.717279] Testing tracer irqsoff: PASSED [ 1.737368] Testing tracer preemptoff: PASSED [ 1.759463] Testing tracer preemptirqsoff: [ 1.773645] ------------[ cut here ]------------ [ 1.774220] WARNING: at kernel/lockdep.c:3351 check_flags+0x126/0x157() [ 1.774723] Hardware name: Bochs [ 1.775020] Pid: 1, comm: swapper Not tainted 2.6.39-t43+ #42 [ 1.775332] Call Trace: [ 1.775560] [<c102213e>] warn_slowpath_common+0x77/0x8c [ 1.775862] [<c104728d>] ? check_flags+0x126/0x157 [ 1.776138] [<c104728d>] ? check_flags+0x126/0x157 [ 1.776411] [<c1064f5a>] ? T.482+0x114/0x16e [ 1.776664] [<c1022175>] warn_slowpath_null+0x22/0x24 [ 1.776950] [<c104728d>] check_flags+0x126/0x157 [ 1.777236] [<c104b0a6>] lock_acquire+0x34/0xe7 [ 1.777541] [<c1126672>] _raw_spin_lock_irqsave+0x4e/0x7e [ 1.777839] [<c1064f5a>] ? T.482+0x114/0x16e [ 1.778092] [<c1064f5a>] T.482+0x114/0x16e [ 1.778341] [<c105d62c>] ? ring_buffer_unlock_commit+0x21/0x2e [ 1.778654] [<c1026ff6>] ? __do_softirq+0x17e/0x191 [ 1.778931] [<c1026ff6>] ? __do_softirq+0x17e/0x191 [ 1.779208] [<c106502a>] stop_critical_timing+0x76/0x87 [ 1.779497] [<c1026d47>] ? __local_bh_enable+0x82/0x85 [ 1.779784] [<c106505a>] trace_preempt_on+0x1f/0x21 [ 1.780061] [<c101c17d>] sub_preempt_count+0x8b/0x98 [ 1.780341] [<c1026d47>] __local_bh_enable+0x82/0x85 [ 1.780621] [<c1026ff6>] __do_softirq+0x17e/0x191 [ 1.780892] [<c1026e78>] ? local_bh_enable+0x12/0x12 [ 1.781160] <IRQ> [<c1026c06>] ? irq_exit+0x44/0x66 [ 1.781536] [<c1003589>] ? do_IRQ+0x75/0x88 [ 1.781789] [<c1127b6e>] ? common_interrupt+0x2e/0x34 [ 1.782076] [<c106151c>] ? trace_selftest_startup_preemptirqsoff+0xae/0x1a9 [ 1.782435] [<c1061914>] ? register_tracer+0x12d/0x1fe [ 1.782724] [<c1310344>] ? setup_command_line+0x73/0x73 [ 1.783066] [<c131c1b4>] ? init_irqsoff_tracer+0x21/0x25 [ 1.783390] [<c13101fa>] ? do_one_initcall+0x86/0x138 [ 1.783390] [<c131c193>] ? init_function_trace+0x35/0x35 [ 1.783390] [<c1310344>] ? setup_command_line+0x73/0x73 [ 1.783390] [<c13103cb>] ? kernel_init+0x87/0x11b [ 1.783390] [<c1127b7a>] ? kernel_thread_helper+0x6/0x10 [ 1.783390] ---[ end trace 4eaa2a86a8e2da22 ]--- [ 1.783390] irq event stamp: 133534 [ 1.783390] hardirqs last enabled at (133532): [<c1126cbd>] _raw_spin_unlock_irq+0x27/0x4a [ 1.783390] hardirqs last disabled at (133533): [<c1026fbf>] __do_softirq+0x147/0x191 [ 1.783390] softirqs last enabled at (133534): [<c1026ff6>] __do_softirq+0x17e/0x191 [ 1.783390] softirqs last disabled at (133529): [<c10037b7>] do_softirq+0x55/0xa6 [ 1.798767] PASSED [ 1.798767] Testing tracer wakeup: [ 2.063646] Switching to clocksource tsc [ 2.133963] PASSED
On recent kernels it looks like
[ 1.159875] Switching to clocksource tsc [ 1.439760] PASSED [ 1.440212] Testing tracer function_graph: [ 1.449049] BUG: unable to handle kernel paging request at e42d01bc [ 1.449049] IP: [<c107586c>] ftrace_push_return_trace+0x6c/0xd0 [ 1.449049] *pdpt = 0000000001221001 *pde = 0000000000000000 [ 1.449049] Thread overran stack, or stack corrupted [ 1.449049] Oops: 0002 [#1] PREEMPT [ 1.449049] [ 1.449049] Pid: -947754028, comm: [ 1.449049] ������k������ Not tainted 3.0.0-rc1-t43 #45 Bochs Bochs [ 1.449049] EIP: 0060:[<c107586c>] EFLAGS: 00000016 CPU: 0 [ 1.449049] EIP is at ftrace_push_return_trace+0x6c/0xd0 [ 1.449049] EAX: c7826e50 EBX: c7826ae0 ECX: c106178c EDX: 1caa936c [ 1.449049] ESI: 5656002d EDI: 00000000 EBP: c7826f84 ESP: c7826f68 [ 1.449049] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 1.449049] Process � (pid: -947753988, ti=c7826000 task=c7826ae0 task.ti=c7828000) [ 1.449049] Stack: [ 1.449049] c106178d c7826f98 c1007a26 c106178c c7826fcc c1007a26 c106178c c7826fa8 [ 1.449049] c1014982 c7826fd8 c7826fd8 c1007a26 00000000 c7826ae0 c1007a26 c7941800 [ 1.449049] c7826fc8 c1162192 c1007a26 c7827010 c7826000 c1007a2b c783e95c 00000021 [ 1.449049] Call Trace: [ 1.449049] [<c106178d>] ? trace_clock_local+0x1d/0x50 [ 1.449049] [<c1007a26>] ? native_sched_clock+0x6/0x70 [ 1.449049] [<c106178c>] ? trace_clock_local+0x1c/0x50 [ 1.449049] [<c1007a26>] ? native_sched_clock+0x6/0x70 [ 1.449049] [<c106178c>] ? trace_clock_local+0x1c/0x50 [ 1.449049] [<c1014982>] prepare_ftrace_return+0x72/0xa0 [ 1.449049] [<c1007a26>] ? native_sched_clock+0x6/0x70 [ 1.449049] [<c1007a26>] ? native_sched_clock+0x6/0x70
...
or
[ 0.126297] Testing tracer function: PASSED [ 0.260366] Testing dynamic ftrace: PASSED [ 0.498381] Testing dynamic ftrace ops #1: (1 0 1 1 0) (1 1 2 1 0) (2 1 3 1 6015) (2 2 4 1 6190) PASSED [ 0.557775] Testing dynamic ftrace ops #2: (1 0 1 6069 0) (1 1 2 6234 0) (2 1 3 1 2) (2 2 4 152 153) PASSED [ 0.637461] Testing tracer irqsoff: PASSED [ 0.650073] Testing tracer wakeup: PASSED [ 0.979100] Testing tracer wakeup_rt: [ 1.118393] Switching to clocksource tsc [ 1.308726] PASSED [ 1.309162] Testing tracer function_graph: [ 1.317873] Tracing recursion: depth[576]:HC[1023]:SC[255]:NMI[67108864] [ 1.317873] ------------[ cut here ]------------ [ 1.317873] WARNING: at kernel/trace/ring_buffer.c:2224 trace_recursive_fail+0x30/0x90() [ 1.317873] Hardware name: Bochs [ 1.317873] Pid: 1, comm: Not tainted 3.0.0-rc1-t43 #46 [ 1.317873] Call Trace: [ 1.317873] [<c1022fbd>] warn_slowpath_common+0x6d/0xa0 [ 1.317873] [<c105b3c0>] ? trace_recursive_fail+0x30/0x90 [ 1.317873] [<c105b3c0>] ? trace_recursive_fail+0x30/0x90 [ 1.317873] [<c1023010>] warn_slowpath_null+0x20/0x30 [ 1.317873] [<c105b3c0>] trace_recursive_fail+0x30/0x90 [ 1.317873] [<c105ce8c>] ring_buffer_lock_reserve+0x8c/0xc0 [ 1.317873] [<c106177a>] trace_buffer_lock_reserve+0x1a/0x50 [ 1.317873] [<c1069357>] __trace_graph_return+0x37/0x90 [ 1.317873] <IRQ> [ 1.317873] BUG: unable to handle kernel NULL pointer dereference at 00000040 [ 1.317873] IP: [<c1004f95>] print_context_stack+0x55/0x110 [ 1.317873] *pde = 00000000 [ 1.317873] BUG: unable to handle kernel NULL pointer dereference at 0000004a [ 1.317873] IP: [<c1015e0e>] no_context+0x6e/0x160 [ 1.317873] *pde = 00000000 [ 1.317873] Thread overran stack, or stack corrupted [ 1.317873] Oops: 0000 [#1] [ 1.317873] [ 1.317873] Pid: -947741524, comm: Not tainted 3.0.0-rc1-t43 #46 Bochs Bochs [ 1.317873] EIP: 0060:[<c1015e0e>] EFLAGS: 00000006 CPU: 0 [ 1.317873] EIP is at no_context+0x6e/0x160 [ 1.317873] EAX: 00000002 EBX: c7829e78 ECX: c1023e56 EDX: c7829bc0 [ 1.317873] ESI: 00000040 EDI: 00000000 EBP: c7829da8 ESP: c7829d88 [ 1.317873] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 1.317873] Process (pid: -947741524, ti=c7828000 task=c7829bc0 task.ti=c10019a0) [ 1.317873] Stack: [ 1.317873] c117be6d 00000040 00000046 c7829bc0 c7829de8 00000000 00000040 c7829bc0 [ 1.317873] c7829de8 c1015f98 c1143805 c7829dd8 c1013c3d 00000000 0000004a 0000000e [ 1.317873] 00000000 c1408242 00000040 c140820e c7829e78 c1408242 00000040 c140820e [ 1.317873] Call Trace: [ 1.317873] [<c1015f98>] __bad_area_nosemaphore+0x98/0x140 [ 1.317873] [<c1143805>] ? error_code+0x5d/0x64 [ 1.317873] [<c1013c3d>] ? prepare_ftrace_return+0x4d/0xa0 [ 1.317873] [<c1016057>] bad_area_nosemaphore+0x17/0x20 [ 1.317873] [<c10164ae>] do_page_fault+0x27e/0x410 [ 1.317873] [<c1023928>] ? console_unlock+0x1c8/0x1f0 [ 1.317873] [<c1016230>] ? mm_fault_error+0x130/0x130 [ 1.317873] [<c1016230>] ? mm_fault_error+0x130/0x130
...
Depending on the luck and boot time. All above was registered using qemu. But I have this (or slightly different - depdnding on boot,
or kernel configuration - messages, just after trace function_graph testing started) alsoon my laptop.
Reverting commit 44259b1abfaa8bb819d25d41d71e8e33e25dd36a on top of current kernel make bug disapear.
Disabling CONFIG_FUNCTION_GRAPH_TRACER also make bug dispear.
Bug is preserved at multiple kernel configs.
I send one which is pretty minimized.
Regards,
Witek
Signature · 1 line
Witold Baryluk
#
# Automatically generated make config: don't edit
# Linux/i386 3.0.0-rc1 Kernel Configuration
#
# CONFIG_64BIT is not setCONFIG_X86_32=y
# CONFIG_X86_64 is not setCONFIG_X86=yCONFIG_INSTRUCTION_DECODER=y CONFIG_OUTPUT_FORMAT="elf32-i386" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_ZONE_DMA=y
# CONFIG_NEED_DMA_MAP_STATE is not set CONFIG_NEED_SG_DMA_LENGTH=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_DEFAULT_IDLE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
# CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_X86_32_LAZY_GS=y CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx" CONFIG_KTIME_SCALAR=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_CONSTRUCTORS=yCONFIG_HAVE_IRQ_WORK=yCONFIG_IRQ_WORK=y
#
# General setup
#
# CONFIG_EXPERIMENTAL is not setCONFIG_BROKEN_ON_SMP=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION="-t43"
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_SWAP is not set
# CONFIG_SYSVIPC is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_FHANDLE is not setCONFIG_HAVE_GENERIC_HARDIRQS=y
#
# IRQ subsystem
#CONFIG_GENERIC_HARDIRQS=yCONFIG_HAVE_SPARSE_IRQ=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_GENERIC_IRQ_SHOW=yCONFIG_IRQ_FORCED_THREADING=y
# CONFIG_SPARSE_IRQ is not set
#
# RCU Subsystem
#CONFIG_TINY_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_IKCONFIG is not setCONFIG_LOG_BUF_SHIFT=21CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
# CONFIG_CGROUPS is not setCONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not setCONFIG_SYSCTL=yCONFIG_ANON_INODES=y
# CONFIG_EXPERT is not setCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=y
# CONFIG_EMBEDDED is not setCONFIG_HAVE_PERF_EVENTS=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=y
# CONFIG_PERF_COUNTERS is not setCONFIG_VM_EVENT_COUNTERS=yCONFIG_SLUB_DEBUG=y
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_PROFILING is not setCONFIG_TRACEPOINTS=yCONFIG_HAVE_OPROFILE=y
# CONFIG_JUMP_LABEL is not setCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_OPTPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_MIXED_BREAKPOINTS_REGS=yCONFIG_HAVE_USER_RETURN_NOTIFIER=yCONFIG_HAVE_PERF_EVENTS_NMI=yCONFIG_HAVE_ARCH_JUMP_LABEL=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not setCONFIG_HAVE_GENERIC_DMA_COHERENT=yCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0
# CONFIG_MODULES is not setCONFIG_BLOCK=y
# CONFIG_LBDAF is not set
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set CONFIG_INLINE_SPIN_UNLOCK=y
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set CONFIG_INLINE_READ_UNLOCK=y
# CONFIG_INLINE_READ_UNLOCK_BH is not set CONFIG_INLINE_READ_UNLOCK_IRQ=y
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set CONFIG_INLINE_WRITE_UNLOCK=y
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set
# CONFIG_FREEZER is not set
#
# Processor type and features
#
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not setCONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# CONFIG_SMP is not set
# CONFIG_X86_EXTENDED_PLATFORM is not set
# CONFIG_X86_32_IRIS is not set
# CONFIG_SCHED_OMIT_FRAME_POINTER is not set
# CONFIG_PARAVIRT_GUEST is not setCONFIG_NO_BOOTMEM=y
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not setCONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MELAN is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
# CONFIG_X86_GENERIC is not setCONFIG_X86_INTERNODE_CACHE_SHIFT=6CONFIG_X86_CMPXCHG=yCONFIG_CMPXCHG_LOCAL=yCONFIG_X86_L1_CACHE_SHIFT=6CONFIG_X86_XADD=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_INTEL_USERCOPY=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_TSC=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_CMOV=yCONFIG_X86_MINIMUM_CPU_FAMILY=5CONFIG_X86_DEBUGCTLMSR=yCONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_CYRIX_32=yCONFIG_CPU_SUP_AMD=yCONFIG_CPU_SUP_CENTAUR=yCONFIG_CPU_SUP_TRANSMETA_32=yCONFIG_CPU_SUP_UMC_32=y
# CONFIG_HPET_TIMER is not setCONFIG_DMI=y
# CONFIG_IOMMU_HELPER is not set
# CONFIG_IOMMU_API is not setCONFIG_NR_CPUS=1
# CONFIG_IRQ_TIME_ACCOUNTING is not setCONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_MCE is not setCONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not setCONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not setCONFIG_PAGE_OFFSET=0xC0000000
# CONFIG_X86_PAE is not set
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
# CONFIG_ARCH_DMA_ADDR_T_64BIT is not setCONFIG_ARCH_FLATMEM_ENABLE=yCONFIG_ILLEGAL_POINTER_VALUE=0CONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_HAVE_MEMBLOCK=yCONFIG_PAGEFLAGS_EXTENDED=yCONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_COMPACTION is not set
# CONFIG_PHYS_ADDR_T_64BIT is not setCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not setCONFIG_DEFAULT_MMAP_MIN_ADDR=4096
# CONFIG_TRANSPARENT_HUGEPAGE is not setCONFIG_NEED_PER_CPU_KM=y
# CONFIG_CLEANCACHE is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not setCONFIG_X86_RESERVE_LOW=64
# CONFIG_MATH_EMULATION is not setCONFIG_MTRR=yCONFIG_MTRR_SANITIZER=yCONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1CONFIG_X86_PAT=yCONFIG_ARCH_USES_PG_UNCACHED=y
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not setCONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not setCONFIG_HZ=100
# CONFIG_SCHED_HRTICK is not set
# CONFIG_KEXEC is not setCONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not setCONFIG_PHYSICAL_ALIGN=0x100000
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set
#
# Power management and ACPI options
#
# CONFIG_SUSPEND is not set
# CONFIG_PM_RUNTIME is not set
# CONFIG_SFI is not set
#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set
#
# Bus options (PCI etc.)
#
# CONFIG_PCI is not set
# CONFIG_ARCH_SUPPORTS_MSI is not setCONFIG_PCI_LABEL=yCONFIG_ISA_DMA_API=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_OLPC is not set
# CONFIG_PCCARD is not set
#
# Executable file formats / Emulations
#
# CONFIG_BINFMT_ELF is not setCONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not setCONFIG_HAVE_ATOMIC_IOMAP=yCONFIG_HAVE_TEXT_POKE_SMP=y
# CONFIG_NET is not set
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_DEVTMPFS=yCONFIG_DEVTMPFS_MOUNT=yCONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_MTD is not set
# CONFIG_PARPORT is not set
# CONFIG_BLK_DEV is not set
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_MISC_DEVICES is not setCONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
#
# SCSI device support
#CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
# CONFIG_SCSI is not set
# CONFIG_SCSI_DMA is not set
# CONFIG_SCSI_NETLINK is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_MACINTOSH_DRIVERS is not set
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not setCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not setCONFIG_SERIO_LIBPS2=yCONFIG_SERIO_RAW=y
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not setCONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_TRACE_SINK is not set
# CONFIG_DEVKMEM is not set
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_NR_UARTS=4CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_R3964 is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_RAMOOPS is not set
# CONFIG_I2C is not set
# CONFIG_SPI is not set
#
# PPS support
#
#
# PPS generators support
#
#
# PTP clock support
#
#
# Enable Device Drivers -> PPS to see the PTP clock options. #CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not setCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not setCONFIG_BCMA_POSSIBLE=y
#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set
# CONFIG_MFD_SUPPORT is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set
#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not setCONFIG_DUMMY_CONSOLE=y
# CONFIG_SOUND is not set
# CONFIG_HID_SUPPORT is not set
# CONFIG_USB_SUPPORT is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_NFC_DEVICES is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
# CONFIG_STAGING is not set
# CONFIG_X86_PLATFORM_DEVICES is not setCONFIG_CLKSRC_I8253=y
#
# Firmware Drivers
#
# CONFIG_EDD is not setCONFIG_FIRMWARE_MEMMAP=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_DMIID is not set
# CONFIG_DMI_SYSFS is not set
# CONFIG_ISCSI_IBFT_FIND is not set
# CONFIG_GOOGLE_FIRMWARE is not set
#
# File systems
#
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
# CONFIG_EXT4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_FS_POSIX_ACL is not setCONFIG_FILE_LOCKING=y
# CONFIG_FSNOTIFY is not set
# CONFIG_DNOTIFY is not set
# CONFIG_INOTIFY_USER is not set
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=y
# CONFIG_PROC_KCORE is not setCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=y
# CONFIG_TMPFS is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
# CONFIG_MISC_FILESYSTEMS is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
# CONFIG_MSDOS_PARTITION is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="utf8"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_PRINTK_TIME=y CONFIG_DEFAULT_MESSAGE_LOGLEVEL=3 CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=y CONFIG_FRAME_WARN=1024
# CONFIG_MAGIC_SYSRQ is not set CONFIG_STRIP_ASM_SYMS=y
# CONFIG_UNUSED_SYMBOLS is not set CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set # CONFIG_DEBUG_KERNEL is not set
# CONFIG_HARDLOCKUP_DETECTOR is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_SPARSE_RCU_POINTER is not set CONFIG_STACKTRACE=y CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_ARCH_WANT_FRAME_POINTERS=y CONFIG_FRAME_POINTER=y
# CONFIG_LKDTM is not set
# CONFIG_SYSCTL_SYSCALL_CHECK is not set CONFIG_USER_STACKTRACE_SUPPORT=y CONFIG_NOP_TRACER=y CONFIG_HAVE_FTRACE_NMI_ENTER=y CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_HAVE_C_RECORDMCOUNT=y CONFIG_RING_BUFFER=y CONFIG_FTRACE_NMI_ENTER=y CONFIG_EVENT_TRACING=y
# CONFIG_EVENT_POWER_TRACING_DEPRECATED is not set CONFIG_CONTEXT_SWITCH_TRACER=y CONFIG_TRACING=yCONFIG_GENERIC_TRACER=y CONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_FUNCTION_TRACER=y CONFIG_FUNCTION_GRAPH_TRACER=y
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SCHED_TRACER is not set CONFIG_FTRACE_SYSCALLS=y CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set # CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_BLK_DEV_IO_TRACE is not set CONFIG_DYNAMIC_FTRACE=y CONFIG_FUNCTION_PROFILER=y CONFIG_FTRACE_MCOUNT_RECORD=y CONFIG_FTRACE_SELFTEST=y CONFIG_FTRACE_STARTUP_TEST=y CONFIG_EVENT_TRACE_TEST_SYSCALLS=y
# CONFIG_RING_BUFFER_BENCHMARK is not set # CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y CONFIG_HAVE_ARCH_KMEMCHECK=y
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_X86_VERBOSE_BOOTUP is not set CONFIG_EARLY_PRINTK=yCONFIG_DOUBLEFAULT=y
# CONFIG_IOMMU_STRESS is not set CONFIG_HAVE_MMIOTRACE_SUPPORT=y CONFIG_IO_DELAY_TYPE_0X80=0 CONFIG_IO_DELAY_TYPE_0XED=1 CONFIG_IO_DELAY_TYPE_UDELAY=2 CONFIG_IO_DELAY_TYPE_NONE=3
# CONFIG_IO_DELAY_0X80 is not set
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set CONFIG_IO_DELAY_NONE=y CONFIG_DEFAULT_IO_DELAY_TYPE=3
# CONFIG_OPTIMIZE_INLINING is not set
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not setCONFIG_DEFAULT_SECURITY_DAC=yCONFIG_DEFAULT_SECURITY=""
# CONFIG_CRYPTO is not setCONFIG_HAVE_KVM=y
# CONFIG_VIRTUALIZATION is not setCONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_GENERIC_FIND_FIRST_BIT=y
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC_T10DIF is not set
# CONFIG_CRC_ITU_T is not set
# CONFIG_CRC32 is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_XZ_DEC is not set
# CONFIG_XZ_DEC_BCJ is not setCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=y
# CONFIG_AVERAGE is not set
Quoted 6 lines · Witold Baryluk
Hi,
I found yesterday a problem when booting system on Pentium-M, 32-bit.
I got approximetly this
Quoted 9 lines
[ 2.459170] Testing tracer
function_graph:
[ 2.466979] BUG: unable to handle kernel paging request ate421cc10Reverting commit
44259b1abfaa8bb819d25d41d71e8e33e25dd36aon top of current kernel make bug disapear.Disabling
CONFIG_FUNCTION_GRAPH_TRACERalso make bug dispear.
Of course, the most trivial of my patches was the one with the most significant bug. Can you try this fix:
--Andy
Quoted 18 lines · Andrew Lutomirski
Quoted 6 lines · Witold Baryluk
Hi,
I found yesterday a problem when booting system on Pentium-M, 32-bit.
I got approximetly this
Quoted 9 lines
[ 2.459170] Testing tracer
function_graph:
[ 2.466979] BUG: unable to handle kernel paging request ate421cc10Reverting commit
44259b1abfaa8bb819d25d41d71e8e33e25dd36aon top of current kernel make bug disapear.Disabling
CONFIG_FUNCTION_GRAPH_TRACERalso make bug dispear.
Quoted 6 lines
Of course, the most trivial of my patches was the one with the most significant bug. Can you try this fix:
--Andy
Fix works. :)
Compiled with patch and CONFIG_FUNCTION_GRAPH_TRACER enabled, and booted 4 times without problem
[ 6.611505] Testing dynamic ftrace ops #1: [ 6.771532] Refined TSC clocksource calibration: 3199.859 MHz. [ 6.772337] Switching to clocksource tsc [ 6.919805] (1 0 1 1 0) (1 1 2 1 0) (2 1 3 1 215146) (2 2 4 1 215428) PASSED [ 7.058209] Testing dynamic ftrace ops #2: (1 0 1 213422 0) (1 1 2 213704 0) (2 1 3 1 184) (2 2 4 270 453) PASSED [ 7.646890] Testing tracer irqsoff: PASSED [ 7.754403] Testing tracer preemptoff: PASSED [ 7.860605] Testing tracer preemptirqsoff: PASSED [ 7.970927] Testing tracer wakeup: PASSED [ 8.363620] Testing tracer wakeup_rt: PASSED [ 8.763273] Testing tracer function_graph: PASSED [ 9.052030] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 9.061322] VFS: Disk quotas dquot_6.5.2 [ 9.065226] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 9.095324] Registering the id_resolver key type [ 9.097664] FS-Cache: Netfs 'nfs' registered for caching [ 9.103503] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 9.111907] fuse init (API version 7.16) [ 9.116706] msgmni has been set to 207 [ 9.143692] cryptomgr_test used greatest stack depth: 6452 bytes left [ 9.163685] alg: No test for fcrypt (fcrypt-generic) [ 9.205037] alg: No test for stdrng (krng) [ 9.452480] NET: Registered protocol family 38 [ 9.456719] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 9.458912] io scheduler noop registered [ 9.459136] io scheduler deadline registered (default) [ 9.459822] io scheduler cfq registered [ 9.460551] start plist test [ 9.465413] end plist test
Thanks you.
I forgot to check linux-tip/next.
Good work, hope it will land quickly in Linus' tree.
Signature · 1 line
Witold Baryluk
Re: Kernel OOPS in function_graph_tracer due to the 44259b1. More oopses in tracing...
In reply to Andrew LutomirskiQuoted 18 lines · Andrew Lutomirski
Quoted 6 lines · Witold Baryluk
Hi,
I found yesterday a problem when booting system on Pentium-M, 32-bit.
I got approximetly this
Quoted 9 lines
[ 2.459170] Testing tracer
function_graph:
[ 2.466979] BUG: unable to handle kernel paging request ate421cc10Reverting commit
44259b1abfaa8bb819d25d41d71e8e33e25dd36aon top of current kernel make bug disapear.Disabling
CONFIG_FUNCTION_GRAPH_TRACERalso make bug dispear.
Quoted 6 lines
Of course, the most trivial of my patches was the one with the most significant bug. Can you try this fix:
--Andy
Well, to add more.
It fixed most of crashes and definietl one with function graph tracer.
However in 1/10 of boots I still got some kind of crash, oops or panic.
I repeated 50 times a boot cycle on qemu, and got oopses in attachments.
...
[ 0.036201] CPU: Intel Pentium III (Katmai) stepping 03 [ 0.038551] ftrace: allocating 6263 entries in 13 pages [ 0.050411] BUG: unable to handle kernel NULL pointer dereference at 00000012 [ 0.051079] IP: [<c106a07f>] note_interrupt+0xf/0x1c0 [ 0.051743] *pdpt = 0000000000000000 *pde = f000ff53f000ff53
...
CRASH
....
[ 0.035682] CPU: Intel Pentium III (Katmai) stepping 03 [ 0.038048] ftrace: allocating 6263 entries in 13 pages [ 0.050386] BUG: unable to handle kernel paging request at 8a51553a [ 0.051031] IP: [<c10587cd>] tick_handle_periodic+0x1d/0x90 [ 0.051705] *pdpt = 0000000000000000 *pde = f000ff53f000ff53
...
CRASH
...
[ 1.758224] Testing tracer preemptirqsoff: [ 1.772287] ------------[ cut here ]------------ [ 1.773193] WARNING: at kernel/lockdep.c:3351 check_flags+0x186/0x190()
...
BOOTING (up to mounting root - not tested more)
...
[ 0.045767] CPU: Intel Pentium III (Katmai) stepping 03 [ 0.048323] ftrace: allocating 6263 entries in 13 pages
CRASH
Details in attachments.
Regards,
Witek
Signature · 1 line
Witold Baryluk
Re: Kernel OOPS in function_graph_tracer due to the 44259b1. More oopses in tracing...
Quoted 35 lines · Witold Baryluk
Quoted 18 lines · Andrew Lutomirski
Quoted 6 lines · Witold Baryluk
Hi,
I found yesterday a problem when booting system on Pentium-M, 32-bit.
I got approximetly this
Quoted 9 lines
[ 2.459170] Testing tracer
function_graph:
[ 2.466979] BUG: unable to handle kernel paging request ate421cc10Reverting commit
44259b1abfaa8bb819d25d41d71e8e33e25dd36aon top of current kernel make bug disapear.Disabling
CONFIG_FUNCTION_GRAPH_TRACERalso make bug dispear.Quoted 6 lines
Of course, the most trivial of my patches was the one with the most significant bug. Can you try this fix:
--Andy
Well, to add more.
It fixed most of crashes and definietl one with function graph tracer.
However in 1/10 of boots I still got some kind of crash, oops or panic.
Quoted 8 lines
....
[ 0.035682] CPU: Intel Pentium III (Katmai) stepping 03 [ 0.038048] ftrace: allocating 6263 entries in 13 pages [ 0.050386] BUG: unable to handle kernel paging request at8a51553a[ 0.051031] IP: [<c10587cd>]tick_handle_periodic+0x1d/0x90[ 0.051705] *pdpt = 0000000000000000 *pde =f000ff53f000ff53
...
CRASH
This is oops1.txt. The faulting code is:
000003a0 <tick_handle_periodic>:
3a0: 55 push %ebp 3a1: 89 e5 mov %esp,%ebp 3a3: 57 push %edi 3a4: 56 push %esi 3a5: 53 push %ebx 3a6: 83 ec 0c sub $0xc,%esp 3a9: e8 fc ff ff ff call 3aa <tick_handle_periodic+0xa> 3ae: 89 c7 mov %eax,%edi 3b0: e8 fc ff ff ff call 3b1 <tick_handle_periodic+0x11> 3b5: 89 45 f0 mov %eax,-0x10(%ebp) 3b8: e8 63 ff ff ff call 320 <tick_periodic> 3bd: 83 7f 28 03 cmpl $0x3,0x28(%edi)
^^^ fault was in the dereference of edi + 0x28.
3c1: 74 0d je 3d0 <tick_handle_periodic+0x30> 3c3: 83 c4 0c add $0xc,%esp 3c6: 5b pop %ebx 3c7: 5e pop %esi 3c8: 5f pop %edi 3c9: 5d pop %ebp 3ca: c3 ret
The stack trace is garbage, though.
The offending C code is probably this:
if (dev->mode != CLOCK_EVT_MODE_ONESHOT)
return;I would guess that this isn't related to the vdso changes, and I'm mostly out of ideas.
--Andy