hnzpzg 发表于 2011-04-22 11:19

请教:warn_slowpath_fmt,warn_slowpath_common,unwind_backtrace

WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x58/0xd8()
autorequest GPIO-83
Modules linked in:
[<c031a820>] (unwind_backtrace+0x0/0xf4) from [<c032ee10>] (warn_slowpath_common+0x4c/0x64)
[<c032ee10>] (warn_slowpath_common+0x4c/0x64) from [<c032eebc>] (warn_slowpath_fmt+0x30/0x40)
[<c032eebc>] (warn_slowpath_fmt+0x30/0x40) from [<c0475ccc>] (gpio_ensure_requested+0x58/0xd8)
[<c0475ccc>] (gpio_ensure_requested+0x58/0xd8) from [<c0475ec4>] (gpio_direction_input+0x80/0xe8)
[<c0475ec4>] (gpio_direction_input+0x80/0xe8) from [<c0320684>] (micco_init_irq+0x10/0x1c)
[<c0320684>] (micco_init_irq+0x10/0x1c) from [<c0617a64>] (micco_probe+0x128/0x2b0)      
[<c0617a64>] (micco_probe+0x128/0x2b0) from [<c0519574>] (i2c_device_probe+0xbc/0xdc)   
[<c0519574>] (i2c_device_probe+0xbc/0xdc) from [<c04a5578>] (driver_probe_device+0x110/0x190)


在移植驱动过程中遇到的问题,但是在内核源码中warn_slowpath_fmt,warn_slowpath_common,unwind_backtrace找不到这三个符号,这是为什么呢

mordorw 发表于 2013-01-16 18:03

同问,我这也出现了这个问题

Jan 10 17:37:43 (none) user.warn kernel: ------------[ cut here ]------------
Jan 10 17:37:43 (none) user.warn kernel: WARNING: at kernel/softirq.c:143 local_bh_enable+0x3c/0x86()
Jan 10 17:37:43 (none) user.warn kernel: Hardware name: To Be Filled By O.E.M.
Jan 10 17:37:43 (none) user.warn kernel: Modules linked in: nfe_l7_filter ace_kernel
Jan 10 17:37:43 (none) user.warn kernel: Pid: 0, comm: kworker/0:0 Not tainted 2.6.36.1+ #10
Jan 10 17:37:43 (none) user.warn kernel: Call Trace:
Jan 10 17:37:43 (none) user.warn kernel:<IRQ>[<ffffffff81038f18>] ? local_bh_enable+0x3c/0x86
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff81033ad0>] ? warn_slowpath_common+0x78/0x8d
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff81038f18>] ? local_bh_enable+0x3c/0x86
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff813eb5c3>] ? __nf_conntrack_find+0xfb/0x126
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff813eb608>] ? nf_conntrack_find_get+0x1a/0x111
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffffa005412b>] ? fe_get_policy_id_from_session_id+0x11c/0x34e
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffffa0064644>] ? fe_pre_process_func+0x1723/0x1c64
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffffa00b81c0>] ? sg_get_l2_ispid_by_smac+0x20/0x37
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffffa00b7fc7>] ? l2_query_by_mac+0xa2/0x23f
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffffa00c827a>] ? SgTlFindByPort+0x5b/0xa4
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffffa00e7b57>] ? l2_handle_frame+0x60b/0x7bc
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff813b1807>] ? __netif_receive_skb+0x32a/0x42b
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff810079e3>] ? nommu_map_page+0x0/0x6f
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff813b2286>] ? netif_receive_skb+0x6f/0x75
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffffa013137b>] ? anc_pcie_napi_poll+0x2a0/0x3a2
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff810079e3>] ? nommu_map_page+0x0/0x6f
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff813b4a9c>] ? net_rx_action+0x76/0x13f
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff810387ba>] ? __do_softirq+0xc9/0x181
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff8100370c>] ? call_softirq+0x1c/0x28
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff81004af1>] ? do_softirq+0x31/0x64
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff810041f3>] ? do_IRQ+0xa7/0xbd
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff814edf93>] ? ret_from_intr+0x0/0xa
Jan 10 17:37:43 (none) user.warn kernel:<EOI>[<ffffffff810091d8>] ? mwait_idle+0xba/0xc1
Jan 10 17:37:43 (none) user.warn kernel:[<ffffffff810019e0>] ? cpu_idle+0x45/0x94
Jan 10 17:37:43 (none) user.warn kernel: ---[ end trace 2197bfeaebdbf138 ]---
页: [1]
查看完整版本: 请教:warn_slowpath_fmt,warn_slowpath_common,unwind_backtrace