[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20131108021545.GA7191@localhost>
Date: Fri, 8 Nov 2013 10:15:45 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Joe Mario <jmario@...hat.com>
Cc: Michal Marek <mmarek@...e.cz>, linux-kernel@...r.kernel.org,
"Kleen, Andi" <andi.kleen@...el.com>
Subject: [kbuild/init_mm] BUG: unable to handle kernel NULL pointer
dereference at (null)
Greetings,
I got the below dmesg and the first bad commit is
commit eea0e9cbb9e65cd553d302a4aefd4c7b70d9fd90
Author: Joe Mario <jmario@...hat.com>
Date: Wed Oct 23 15:06:53 2013 +0200
kbuild: Increase kallsyms max symbol length
[AK: This seems like a ticking time bomb even without LTO,
so should be merged now. It causes very weird problems.
Thanks to Joe for tracking them down.]
With the added postfixes that LTO adds for local
symbols, the longest name in the kernel overflows
the namebuf[KSYM_NAME_LEN] array by two bytes. That name is:
__pci_fixup_resumePCI_VENDOR_ID_SERVERWORKSPCI_DEVICE_ID_SERVERWORKS_HT1000SBquirk_disable_broadcom_boot_interrupt.1488004.672802
Double the max symbol name length.
v2: Use 255 (Joe Perches)
Signed-off-by: Andi Kleen <ak@...ux.intel.com>
Signed-off-by: Michal Marek <mmarek@...e.cz>
===================================================
PARENT COMMIT NOT CLEAN. LOOK OUT FOR WRONG BISECT!
===================================================
+---------------------------------------------------------------+--------------+--------------+
| | 80970472179a | 71cc615a91a4 |
+---------------------------------------------------------------+--------------+--------------+
| good_boots | 58 | |
| has_kernel_error_warning | 2 | 13 |
| kernel_BUG_at_include/linux/mm.h | 1 | |
| invalid_opcode:PREEMPT_SMP_DEBUG_PAGEALLOC | 1 | |
| Kernel_panic-not_syncing:Fatal_exception | 1 | 13 |
| BUG:Bad_page_map_in_process_killall5_pte:pmd | 1 | |
| BUG:unable_to_handle_kernel_NULL_pointer_dereference_at(null) | 0 | 13 |
| Oops:PREEMPT_SMP_DEBUG_PAGEALLOC | 0 | 13 |
+---------------------------------------------------------------+--------------+--------------+
[ 1.380240] The force parameter has not been set to 1. The Iris poweroff handler will not be installed.
[ 1.381547] audit: initializing netlink socket (disabled)
[ 1.382099] type=2000 audit(1383814476.894:1): initialized
[ 1.402375] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 1.403079] IP: [<415218f4>] init_mm+0x0/0x210
[ 1.403511] *pde = 00000000
[ 1.403798] Oops: 0002 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 1.404341] Modules linked in:
[ 1.404647] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.12.0-09952-g71cc615 #916
[ 1.405343] task: 4d41b440 ti: 4d428000 task.ti: 4d428000
[ 1.405843] EIP: 0060:[<415218f4>] EFLAGS: 00010206 CPU: 1
[ 1.406369] EIP is at init_mm+0x0/0x210
[ 1.406729] EAX: 00000000 EBX: 000000ae ECX: 00000000 EDX: 00000001
[ 1.407315] ESI: 00000006 EDI: 00000006 EBP: 41558416 ESP: 4d429f94
[ 1.407894] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 1.408402] CR0: 8005003b CR2: 00000000 CR3: 015b0000 CR4: 000006d0
[ 1.408980] Stack:
[ 1.409181] 4d41b440 4e4ed440 4d429fac 41339741 415218f4 4d42bf88 4d428000 41348177
[ 1.409993] 41339736 00000000 00000000 00000000 00000000 00000000 00000000 0000007b
[ 1.410009] 0000007b 000000d8 00000000 ffffffff 00000000 00000060 00000202 00000000
[ 1.410009] Call Trace:
[ 1.410009] [<41339741>] ? kernel_init+0xb/0xc3
[ 1.410009] [<41348177>] ? ret_from_kernel_thread+0x1b/0x28
[ 1.410009] [<41339736>] ? rest_init+0xb6/0xb6
[ 1.410009] Code: 2a 49 41 38 91 40 4d 60 b6 4b 4d 06 06 00 00 ad 4e ad de ff ff ff ff ff ff ff ff e4 18 52 41 88 7f 70 41 00 00 00 00 61 2a 49 41 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1.410009] EIP: [<415218f4>] init_mm+0x0/0x210 SS:ESP 0068:4d429f94
[ 1.410009] CR2: 0000000000000000
[ 1.410009] ---[ end trace 18ed5cfe6232afc1 ]---
[ 1.410009] Kernel panic - not syncing: Fatal exception
git bisect start 71cc615a91a49d83e839c4b46f1f001ccd88e21f v3.12 --
git bisect bad 4b2a7a1745bc3cba30ffca03ce0393bf4274677b # 20:42 0- 1 Merge remote-tracking branch 'wireless-next/master'
git bisect good a879ddf7603be2c4fba0bb111bcde226a75d7f8e # 21:11 20+ 0 Merge remote-tracking branch 'pci/next'
git bisect good 87bc0728d462ae37841a550542829aa65a97e7c2 # 21:20 20+ 0 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
git bisect bad a43048ff66b455ee230d7ec5f97947eb4e031ebc # 21:27 0- 8 Merge remote-tracking branch 'libata/for-next'
git bisect good 5c52a0f259af02c716ad064d752cb6efb1d29ec0 # 21:40 20+ 0 Merge branch 'build_fixes' into to_next
git bisect good 7661c3f099c0afda7305af912c03ebd1c761735a # 21:50 20+ 0 Merge remote-tracking branch 'i2c/i2c/for-next'
git bisect good 81a67c32df4da1dbf1cf3715610ea820068a5935 # 21:55 20+ 0 Merge remote-tracking branch 'v4l-dvb/master'
git bisect good 9fbe8e5b9724e0034618bd512df9eda4694e77d5 # 22:09 20+ 0 Merge branch 'kbuild/kconfig' into kbuild/for-next
git bisect good 18a558067d501a2ccda061f99800f3a978379dc6 # 22:21 20+ 0 Merge branch 'for-3.13' into for-next
git bisect good 1ca953d5f992ff5fe63a22546a21b915238d2455 # 22:27 20+ 0 Merge branch 'for-3.13' into for-next
git bisect bad 849464d1ba97a13b388fee9a69fbbeee175b349c # 22:34 0- 17 kbuild: replace unbounded sprintf call in modpost
git bisect bad f3462aa952cfc8f4b095103cb9b3d306dd216558 # 22:36 0- 3 Kbuild: Handle longer symbols in kallsyms.c
git bisect bad eea0e9cbb9e65cd553d302a4aefd4c7b70d9fd90 # 22:38 0- 2 kbuild: Increase kallsyms max symbol length
git bisect good 80970472179a45609c0b11b80619bc8c32b15f77 # 22:44 60+ 2 Makefile: enable -Werror=implicit-int and -Werror=strict-prototypes by default
git bisect good 48da1a29f5883ef9d14c6b828e469d86b4fc0980 # 01:19 60+ 0 Add linux-next specific files for 20131107
git bisect good 72a94a8f755e1be19f1341cb70f6212ab908376c # 01:29 60+ 0 Revert "kbuild: Increase kallsyms max symbol length"
git bisect good a1212d278c05ca0a38f5cbd7ae90ac2e367228a8 # 01:33 60+ 0 Revert "sysfs: drop kobj_ns_type handling"
git bisect good 48da1a29f5883ef9d14c6b828e469d86b4fc0980 # 01:33 60+ 0 Add linux-next specific files for 20131107
Thanks,
Fengguang
View attachment "dmesg-quantal-roam-7:20131107165442:i386-randconfig-r9-1107:3.12.0-09952-g71cc615:916" of type "text/plain" (26914 bytes)
Download attachment "bisect-71cc615a91a49d83e839c4b46f1f001ccd88e21f-i386-randconfig-r9-1107-Oops:-111860.log" of type "application/octet-stream" (32121 bytes)
View attachment "config-3.12.0-09952-g71cc615" of type "text/plain" (77425 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists