ja nein wrote:
I finally managed to compile some debug symbols into the kernel. Here we go:
dmesg:
[3179998.695837] Kernel unaligned access at TPC [1066a958] copy_to_user_state+0x54/0x9c [xfrm_user]
[3179998.811473] Kernel unaligned access at TPC[1066a958] copy_to_user_state+0x54/0x9c [xfrm_user]
Debug output:
Reading symbols from
/home/inst/kernel/linux-2.6-2.6.32/net/xfrm/xfrm_user.ko...done.
(gdb) list *(copy_to_user_state+0x54)
0x9c0 is in copy_to_user_state (net/xfrm/xfrm_user.c:513).
Just to make sure, is the kernel you are reading symbols from the
same build as the one that produced the message in dmesg?
I'll provide same info for a 3.x kernel, soon.
Thanks, that's very useful.