public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kernel BUG at kernel/kallsyms.c:222!
@ 2013-11-07  1:53 Axel Lin
  2013-11-07  2:04 ` Ming Lei
  0 siblings, 1 reply; 29+ messages in thread
From: Axel Lin @ 2013-11-07  1:53 UTC (permalink / raw)
  To: Rusty Russell, Ming Lei; +Cc: Russell King, Michal Marek, linux-kernel

Hi,
I got below oops while debugging a sd controller driver:

[    4.032026] ------------[ cut here ]------------
[    4.036730] kernel BUG at kernel/kallsyms.c:222!
[    4.041501] Internal error: Oops - BUG: 0 [#1] ARM
[    4.046847] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 3.12.0-00061-g0835d93-dirty #1657

I can avoid the oops by either revert commit f6537f2f0eba4eba
"scripts/kallsyms: filter symbols not in kernel address space",
or comment out below line in drivers/mmc/core/sdio.c.
        dev_dbg(&card->dev, "calling %pF\n", f->vendor_fixup);

The f->vendor_fixup points to add_quirk_for_sdio_devices.
It looks like the symbol add_quirk_for_sdio_devices is missing.

So I revert commit f6537f2f and check /proc/kallsyms:
~ # grep add_quirk_for_sdio_devices /proc/kallsyms
00157bf8 t add_quirk_for_sdio_devices

If I don't revert commit f6537f2f and just comment out above dev_dbg line,
Checking /proc/kallsyms then I got:
~ # grep add_quirk_for_sdio_devices /proc/kallsyms
[sched_delayed] sched: RT throttling activated
BUG: soft lockup - CPU#0 stuck for 21s! [grep:59]

CPU: 0 PID: 59 Comm: grep Not tainted 3.12.0-00061-g0835d93-dirty #1675
task: 01d36320 ti: 008be000 task.ti: 008be000

BTW, I'm testing it on a noMMU platform (arm7tdmi).

Regards,
Axel


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

end of thread, other threads:[~2013-12-10  7:14 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07  1:53 kernel BUG at kernel/kallsyms.c:222! Axel Lin
2013-11-07  2:04 ` Ming Lei
2013-11-07  2:18   ` Axel Lin
2013-11-07  2:36     ` Ming Lei
2013-11-07  2:47       ` Axel Lin
2013-11-07  4:37         ` Ming Lei
2013-11-07  8:36           ` Axel Lin
2013-11-07 23:44             ` Rusty Russell
2013-11-08  0:45               ` Ming Lei
2013-11-08  4:20                 ` Axel Lin
2013-11-08  7:13                   ` Ming Lei
2013-11-11  0:23                     ` Rusty Russell
2013-11-11  6:43                       ` Axel Lin
2013-11-11  7:53                         ` Ming Lei
2013-11-11  8:37                           ` Axel Lin
2013-11-11  9:57                             ` Ming Lei
2013-11-11 10:41                               ` Ming Lei
2013-11-11 17:15                                 ` Jonathan Austin
2013-11-11 19:32                                   ` Russell King - ARM Linux
2013-11-12  3:22                                     ` Ming Lei
2013-11-12 17:36                                       ` Jonathan Austin
2013-11-13  4:41                                         ` Ming Lei
2013-11-13  9:58                                       ` Axel Lin
2013-11-13 11:30                                         ` Ming Lei
2013-12-02  1:57                                           ` Axel Lin
2013-12-02  2:08                                             ` Ming Lei
2013-12-10  6:17                                               ` Rusty Russell
2013-11-11  8:01                         ` Uwe Kleine-König
2013-11-08  3:56               ` Axel Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox