From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12473 invoked by alias); 4 Nov 2005 17:58:52 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 12459 invoked by uid 22791); 4 Nov 2005 17:58:49 -0000 Message-ID: <436BA156.6070402@redhat.com> Date: Fri, 04 Nov 2005 17:58:00 -0000 From: William Cohen User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hien Nguyen CC: systemtap@sources.redhat.com Subject: Re: Testsuite run on ppc64 References: <436A7305.6030509@us.ibm.com> <436A7C85.3020509@redhat.com> <436A8A28.2030401@us.ibm.com> <436AA2AA.2000406@redhat.com> <436B9A0B.4080301@us.ibm.com> In-Reply-To: <436B9A0B.4080301@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-q4/txt/msg00143.txt.bz2 Hien Nguyen wrote: > William Cohen wrote: > >> Hien Nguyen wrote: >> >>> Frank Ch. Eigler wrote: >>> >>>> There may be a systemic error in the dejagnu regexps, where multiple >>>> lines of output are generated by systemtap or the probe, and are >>>> intended to be matched individually. The "-re "SOMETHING.*\r" >>>> idiom may need to become something like "-re SOMETHING[^\r]*\r". >>>> >>>> - FChE >>>> >>>> >>>> >>> Bingo :-) >> >> >> >> I just checked in changes based on Franks suggestions. For symbol.exp, >> syscall[1,2].exp. Those should provide better results. >> >> -Will >> > Yes, all tests passed except for the kmodule test . Look under > /usr/lib/debug/lib/modules/2.6.9-22.EL, and yes the ext3 debuginfo is > there. > > #find . -name "ext3*" > ./kernel/fs/ext3 > ./kernel/fs/ext3/ext3.ko.debug > Hien, The revised tests work. Good. Narrowing down the problem with kmodule.stp. Here is a list of possible failure modes and the first one looks likely: 1) The debuginfo information for the module is not correct or not available. I see the following error message in the output of "stap -V": WARNING: cannot find module ext3 debuginfo: No such file or directory Check to see that kernel-debuginfo provides "ext3.ko.debug" rpm -qs kernel-debuginfo | grep "ext3.ko.debug" Does the following list the appropriate symbol(ext3_sync_file)? nm /usr/lib/debug/lib/modules/`uname -r`/kernel/fs/ext3/ext3.ko.debug 2) Elfutils is not reading the information correctly. Which version of elfutils are you using? 0.116? x86_64 had problems with modules with earlier elfutils. Make sure that you have the elfutils-0.116 installed 3) Translator is missing the symbol. Could this be a symbol naming problem, e.g. compiler for ppc64 generates different labels. -Will