How to generate a stack trace with in own kernel module -
i generate stack trace report 1 generated kernel oops.
------------[ cut here ]------------
kernel bug @ /home/administrator/project/systech/bsp_tan/linux-.2.6/arch/arm/include/asm/dma-mapping.h:325!
internal error: oops - undefined instruction: 0 [#1] preempt modules linked in: cpu: 0 not tainted (3.2.6 #67) pc @ my_func+0x118/0x230 lr @ vprintk+0x3bc/0x440
where it's defined , how can trigger in module.
edit 1
how find line number pc (program counter) when bug happened.
pc @ my_func + 0x118/0x230
what means?
thanks in advance.
this in following files:
lib/bug.c kernel/panic.c
Comments
Post a Comment