From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35908 invoked by alias); 23 Jun 2016 13:42:33 -0000 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 Received: (qmail 35896 invoked by uid 89); 23 Jun 2016 13:42:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=survived, H*MI:sk:576B550, H*f:sk:576B550, H*i:sk:576B550 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 23 Jun 2016 13:42:21 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A4F7B8F264; Thu, 23 Jun 2016 13:42:20 +0000 (UTC) Received: from [10.13.129.159] (dhcp129-159.rdu.redhat.com [10.13.129.159]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5NDgJQv026000; Thu, 23 Jun 2016 09:42:20 -0400 Subject: Re: exercising current aarch64 kprobe support with systemtap To: David Long , systemtap@sourceware.org, Pratyush Anand , Mark Brown References: <8f40d0b9-5550-92f9-d1c5-8769f52304c0@redhat.com> <576B5501.1030106@linaro.org> Cc: Jeremy Linton , David Smith From: William Cohen Message-ID: <3adfefee-7f69-5621-301e-25db1bcd67df@redhat.com> Date: Thu, 23 Jun 2016 13:42:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <576B5501.1030106@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-q2/txt/msg00276.txt.bz2 On 06/22/2016 11:18 PM, David Long wrote: > On 06/22/2016 04:24 PM, William Cohen wrote: >> Hi all, >> >> When running the current systemtap checked out from the git repository >> and a locally built kernel with the kprobes64-v13 patches (the >> test_upstream_arm64_devel branch of >> https://github.com/pratyushanand/linux) on Fedora 23 machine one of >> the kprobes_onthefly.exp tests is causing the machine to get in a >> state that requires rebooting to fix. This can be triggered by running a >> portion of the systemtap tests with: >> >> make installcheck RUNTESTFLAGS="--debug systemtap.onthefly/kprobes_onthefly.exp" >> >> When it gets to the kprobes_onthefly - otf_stress_max_iter_5000 test the >> console starts spewing the following and needs to be rebooted: >> >> [23394.036860] Unexpected kernel single-step exception at EL1 >> [23394.042434] Unexpected kernel single-step exception at EL1 >> [23394.048008] Unexpected kernel single-step exception at EL1 >> [23394.053541] Unexpected kernel single-step exception at EL1 >> [23394.059053] Unexpected kernel single-step exception at EL1 >> [23394.064545] Unexpected kernel single-step exception at EL1 >> >> Sorry I don't have the start of the failure it scrolled off the screen very quickly. >> >> -Will >> >> > > I'll take a look and see what I can figure out. > > In the meantime I did just push a v14 branch. I'm doubtful that it will address the above problem even though it contains a few bug fixes. > > -dl > Hi Dave, I have pulled the v14 branch and have it built, and gave it a try. When running the tests on various kernels I typically see message about the hrtimer interrupt like the following during the run: ... Running /root/systemtap_write/systemtap/testsuite/systemtap.onthefly/kprobes_onthefly.exp ... [ 197.217699] stap_ab30d3b6ca1d8e512f40980479fd57e_18018: module verification failed: signature and/or required key missing - tainting kernel [ 534.166223] Scheduler tracepoints stat_sleep, stat_iowait, stat_blocked and stat_runtime require the kernel parameter schedstats=enabled or kernel.sched_schedstats=1 [ 534.205668] hrtimer: interrupt took 241848 ns ... Hmmm, it successfully completed the run with the v14 branch four times. # make installcheck RUNTESTFLAGS="--debug systemtap.onthefly/kprobes_onthefly.exp" ... tail systemtap.sum PASS: kprobes_onthefly - otf_stress_1ms_iter_50 (survived) PASS: kprobes_onthefly - otf_stress_500us_iter_50 (survived) PASS: kprobes_onthefly - otf_stress_100us_iter_50 (survived) PASS: kprobes_onthefly - otf_stress_prof_iter_2000 (survived) PASS: kprobes_onthefly - otf_stress_hard_iter_2000 (survived) PASS: kprobes_onthefly - otf_stress_max_iter_5000 (survived) === systemtap Summary === # of expected passes 22 What were the bug fixes and changes in v14? Alternatively could there be something else in the kernel I was using previously (e.g. the uprobes patches). -Will