This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

systemtap/ARM/???


For now I have some problems.

With standart (git) tree some (?) stap modules don't loaded with
mismatch buildinfo. rc2 variable is -14, i.e. reading from inaccessible
memory zone. I looked to the values, and found, that notes_addr not
equals to /sys/modules/zd1211rw/sections/.info.blah-bah contents. It
differs with  m->build_id_offset size (?!); Then I just 

notes_addr = m->notes_sect; // + m->build_id_offset;

Module loaded ok, tracing started. But now I got 
[ 9416.408813] Unable to handle kernel NULL pointer dereference at virtual address 00000020
[ 9416.408843] pgd = ceb60000
[ 9416.408843] [00000020] *pgd=8eab2031, *pte=00000000, *ppte=00000000
[ 9416.408874] Internal error: Oops: 17 [#1] PREEMPT
[ 9416.413635] last sysfs file: /sys/module/zd1211rw/sections/.text

....

[ 9416.469390] PC is at upload_firmware+0x20/0x1ac [zd1211rw]
[ 9416.474945] LR is at kretprobe_trampoline+0x0/0x18

....

[ 9416.714447] [<bf02ea30>] (upload_firmware+0x20/0x1ac [zd1211rw]) from [<c04cf2fc>] (kretprobe_trampoline+0x0/0x18)


Are these problems connected?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]