From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15433 invoked by alias); 1 Aug 2010 12:05:21 -0000 Received: (qmail 15421 invoked by uid 22791); 1 Aug 2010 12:05:20 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_PG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-bw0-f47.google.com (HELO mail-bw0-f47.google.com) (209.85.214.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 01 Aug 2010 12:05:12 +0000 Received: by bwz10 with SMTP id 10so1744468bwz.20 for ; Sun, 01 Aug 2010 05:05:10 -0700 (PDT) Received: by 10.204.24.1 with SMTP id t1mr3007506bkb.178.1280664310421; Sun, 01 Aug 2010 05:05:10 -0700 (PDT) Received: from mail.love-n-peace.if.ua (love-n-peace.if.ua [91.200.158.74]) by mx.google.com with ESMTPS id g11sm3172833bkw.22.2010.08.01.05.05.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Aug 2010 05:05:09 -0700 (PDT) Received: by mail.love-n-peace.if.ua (Postfix, from userid 1000) id D4D715730B; Sun, 1 Aug 2010 15:05:06 +0300 (EEST) From: public.avatar@gmail.com ([AvataR]) To: systemtap@sources.redhat.com Subject: systemtap/ARM/??? Date: Sun, 01 Aug 2010 12:05:00 -0000 Message-ID: <87zkx6edxp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2010-q3/txt/msg00140.txt.bz2 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] [] (upload_firmware+0x20/0x1ac [zd1211rw]) from [] (kretprobe_trampoline+0x0/0x18) Are these problems connected?