* strace package
@ 2001-01-12 3:11 Joe deBlaquiere
2001-01-12 3:51 ` Jun Sun
2001-01-12 14:40 ` Christoph Martin
0 siblings, 2 replies; 17+ messages in thread
From: Joe deBlaquiere @ 2001-01-12 3:11 UTC (permalink / raw)
To: 'linux-mips@oss.sgi.com', linux-mips
Has anybody done a port of strace for linux/mips 2.4??? I'm trying to
debug something and need something simple.
--
Joe deBlaquiere
Red Hat, Inc.
307 Wynn Drive
Huntsville AL, 35805
voice : (256)-704-9257
fax : (256)-837-3839
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-12 3:11 strace package Joe deBlaquiere
@ 2001-01-12 3:51 ` Jun Sun
2001-01-15 20:05 ` Maciej W. Rozycki
2001-02-19 12:34 ` Wichert Akkerman
2001-01-12 14:40 ` Christoph Martin
1 sibling, 2 replies; 17+ messages in thread
From: Jun Sun @ 2001-01-12 3:51 UTC (permalink / raw)
To: Joe deBlaquiere; +Cc: 'linux-mips@oss.sgi.com', linux-mips
Joe deBlaquiere wrote:
>
> Has anybody done a port of strace for linux/mips 2.4??? I'm trying to
> debug something and need something simple.
> --
> Joe deBlaquiere
> Red Hat, Inc.
> 307 Wynn Drive
> Huntsville AL, 35805
> voice : (256)-704-9257
> fax : (256)-837-3839
strace is included in the MontaVista HHL distribution. You can find the rpm
and srpm under ftp.mvista.com/pub/CDK?? and/or ftp.mvista.com/pub/area51.
Jun
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-12 3:11 strace package Joe deBlaquiere
2001-01-12 3:51 ` Jun Sun
@ 2001-01-12 14:40 ` Christoph Martin
2001-01-15 20:11 ` Maciej W. Rozycki
1 sibling, 1 reply; 17+ messages in thread
From: Christoph Martin @ 2001-01-12 14:40 UTC (permalink / raw)
To: Joe deBlaquiere; +Cc: 'linux-mips@oss.sgi.com', linux-mips
Joe deBlaquiere <jadb@redhat.com> writes:
>
> Has anybody done a port of strace for linux/mips 2.4??? I'm trying to
> debug something and need something simple.
> --
> Joe deBlaquiere
> Red Hat, Inc.
> 307 Wynn Drive
> Huntsville AL, 35805
> voice : (256)-704-9257
> fax : (256)-837-3839
>
There is a debian package of strace for mips in
ftp://ftp.rfc822.org/pub/local/debian-mips/packages/. It is working
with linux 2.4.
C
--
============================================================================
Christoph Martin, Uni-Mainz, Germany
Internet-Mail: Christoph.Martin@Uni-Mainz.DE
--------------export-a-crypto-system-sig -RSA-3-lines-PERL------------------
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-12 3:51 ` Jun Sun
@ 2001-01-15 20:05 ` Maciej W. Rozycki
2001-02-19 12:34 ` Wichert Akkerman
1 sibling, 0 replies; 17+ messages in thread
From: Maciej W. Rozycki @ 2001-01-15 20:05 UTC (permalink / raw)
To: Jun Sun; +Cc: Joe deBlaquiere, 'linux-mips@oss.sgi.com', linux-mips
On Thu, 11 Jan 2001, Jun Sun wrote:
> strace is included in the MontaVista HHL distribution. You can find the rpm
> and srpm under ftp.mvista.com/pub/CDK?? and/or ftp.mvista.com/pub/area51.
Thanks for the pointer.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-12 14:40 ` Christoph Martin
@ 2001-01-15 20:11 ` Maciej W. Rozycki
2001-01-16 8:12 ` Ralf Baechle
0 siblings, 1 reply; 17+ messages in thread
From: Maciej W. Rozycki @ 2001-01-15 20:11 UTC (permalink / raw)
To: Christoph Martin
Cc: Joe deBlaquiere, 'linux-mips@oss.sgi.com', linux-mips
On 12 Jan 2001, Christoph Martin wrote:
> There is a debian package of strace for mips in
> ftp://ftp.rfc822.org/pub/local/debian-mips/packages/. It is working
> with linux 2.4.
And the sources are at...?
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-15 20:11 ` Maciej W. Rozycki
@ 2001-01-16 8:12 ` Ralf Baechle
2001-01-16 11:40 ` Maciej W. Rozycki
0 siblings, 1 reply; 17+ messages in thread
From: Ralf Baechle @ 2001-01-16 8:12 UTC (permalink / raw)
To: Maciej W. Rozycki
Cc: Christoph Martin, Joe deBlaquiere,
'linux-mips@oss.sgi.com', linux-mips
On Mon, Jan 15, 2001 at 09:11:24PM +0100, Maciej W. Rozycki wrote:
> > There is a debian package of strace for mips in
> > ftp://ftp.rfc822.org/pub/local/debian-mips/packages/. It is working
> > with linux 2.4.
>
> And the sources are at...?
See strace.sourceforge.net.
Ralf
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-16 8:12 ` Ralf Baechle
@ 2001-01-16 11:40 ` Maciej W. Rozycki
2001-01-16 15:44 ` Ralf Baechle
0 siblings, 1 reply; 17+ messages in thread
From: Maciej W. Rozycki @ 2001-01-16 11:40 UTC (permalink / raw)
To: Ralf Baechle
Cc: Christoph Martin, Joe deBlaquiere,
'linux-mips@oss.sgi.com', linux-mips
On Tue, 16 Jan 2001, Ralf Baechle wrote:
> > > There is a debian package of strace for mips in
> > > ftp://ftp.rfc822.org/pub/local/debian-mips/packages/. It is working
> > > with linux 2.4.
> >
> > And the sources are at...?
>
> See strace.sourceforge.net.
I mean patches for MIPS, of course. Strace 4.2 does not work for MIPS
out of the box. The proper source still appears to be
http://www.liacs.nl/~wichert/strace/, BTW.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-16 11:40 ` Maciej W. Rozycki
@ 2001-01-16 15:44 ` Ralf Baechle
2001-01-16 16:18 ` Maciej W. Rozycki
0 siblings, 1 reply; 17+ messages in thread
From: Ralf Baechle @ 2001-01-16 15:44 UTC (permalink / raw)
To: Maciej W. Rozycki
Cc: Christoph Martin, Joe deBlaquiere,
'linux-mips@oss.sgi.com', linux-mips
On Tue, Jan 16, 2001 at 12:40:11PM +0100, Maciej W. Rozycki wrote:
> > > > There is a debian package of strace for mips in
> > > > ftp://ftp.rfc822.org/pub/local/debian-mips/packages/. It is working
> > > > with linux 2.4.
> > >
> > > And the sources are at...?
> >
> > See strace.sourceforge.net.
>
> I mean patches for MIPS, of course. Strace 4.2 does not work for MIPS
> out of the box. The proper source still appears to be
> http://www.liacs.nl/~wichert/strace/, BTW.
Wiggy somewhen gave me write access to the strace source some time ago, so
I assume that the stuff on sourceforge is now the official CVS. For MIPS
I was using some CVS snapshot which was working for me out of the box
after I checked in some fixes. But that's again already some time ago,
things may have changed since then.
Ralf
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-16 15:44 ` Ralf Baechle
@ 2001-01-16 16:18 ` Maciej W. Rozycki
2001-01-22 19:19 ` Augusto César Radtke
2001-02-19 12:33 ` Wichert Akkerman
0 siblings, 2 replies; 17+ messages in thread
From: Maciej W. Rozycki @ 2001-01-16 16:18 UTC (permalink / raw)
To: Ralf Baechle
Cc: Christoph Martin, Joe deBlaquiere,
'linux-mips@oss.sgi.com', linux-mips
On Tue, 16 Jan 2001, Ralf Baechle wrote:
> Wiggy somewhen gave me write access to the strace source some time ago, so
> I assume that the stuff on sourceforge is now the official CVS. For MIPS
> I was using some CVS snapshot which was working for me out of the box
> after I checked in some fixes. But that's again already some time ago,
> things may have changed since then.
Well, here is most of the information available from the site...
Welcome to http://strace.sourceforge.net/
We're Sorry but this Project hasn't yet uploaded their personal
webpage yet.
Please check back soon for updates or visit SourceForge
Where is the CVS you refer to? A working strace would help me a lot.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-16 16:18 ` Maciej W. Rozycki
@ 2001-01-22 19:19 ` Augusto César Radtke
2001-01-22 19:39 ` Maciej W. Rozycki
2001-02-19 12:33 ` Wichert Akkerman
1 sibling, 1 reply; 17+ messages in thread
From: Augusto César Radtke @ 2001-01-22 19:19 UTC (permalink / raw)
To: Maciej W. Rozycki
Cc: Ralf Baechle, Christoph Martin, Joe deBlaquiere,
'linux-mips@oss.sgi.com', linux-mips
Maciej W. Rozycki wrote:
> Where is the CVS you refer to? A working strace would help me a lot.
http://sourceforge.net/projects/strace
http://sourceforge.net/cvs/?group_id=2861
Augusto
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-22 19:19 ` Augusto César Radtke
@ 2001-01-22 19:39 ` Maciej W. Rozycki
0 siblings, 0 replies; 17+ messages in thread
From: Maciej W. Rozycki @ 2001-01-22 19:39 UTC (permalink / raw)
To: Augusto César Radtke
Cc: Ralf Baechle, Christoph Martin, Joe deBlaquiere,
'linux-mips@oss.sgi.com', linux-mips
On Mon, 22 Jan 2001, [iso-8859-1] Augusto César Radtke wrote:
> > Where is the CVS you refer to? A working strace would help me a lot.
>
> http://sourceforge.net/projects/strace
> http://sourceforge.net/cvs/?group_id=2861
Thanks a lot -- these do work!
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-16 16:18 ` Maciej W. Rozycki
2001-01-22 19:19 ` Augusto César Radtke
@ 2001-02-19 12:33 ` Wichert Akkerman
2001-02-20 20:37 ` Ralf Baechle
1 sibling, 1 reply; 17+ messages in thread
From: Wichert Akkerman @ 2001-02-19 12:33 UTC (permalink / raw)
To: 'linux-mips@oss.sgi.com', linux-mips
Previously Maciej W. Rozycki wrote:
> Well, here is most of the information available from the site...
>
> Welcome to http://strace.sourceforge.net/
>
> We're Sorry but this Project hasn't yet uploaded their personal
> webpage yet.
> Please check back soon for updates or visit SourceForge
Hmm, I guess I should fix that :)
I've started looking at strace again after not having had any time for
it in a while, and strace 4.3 should appear in a week or so. If there
are any problems with the MIPS support now is the time to tell me.
I'm especially interesting in strace reporting umoven() errors while
tracing a program.
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@cistron.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-01-12 3:51 ` Jun Sun
2001-01-15 20:05 ` Maciej W. Rozycki
@ 2001-02-19 12:34 ` Wichert Akkerman
1 sibling, 0 replies; 17+ messages in thread
From: Wichert Akkerman @ 2001-02-19 12:34 UTC (permalink / raw)
To: 'linux-mips@oss.sgi.com', linux-mips
Previously Jun Sun wrote:
> strace is included in the MontaVista HHL distribution. You can find the rpm
> and srpm under ftp.mvista.com/pub/CDK?? and/or ftp.mvista.com/pub/area51.
Do you happen to know if those have any patches that are not already in
CVS?
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@cistron.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-02-19 12:33 ` Wichert Akkerman
@ 2001-02-20 20:37 ` Ralf Baechle
2001-02-24 12:41 ` Wichert Akkerman
0 siblings, 1 reply; 17+ messages in thread
From: Ralf Baechle @ 2001-02-20 20:37 UTC (permalink / raw)
To: 'linux-mips@oss.sgi.com', linux-mips
On Mon, Feb 19, 2001 at 01:33:46PM +0100, Wichert Akkerman wrote:
> Hmm, I guess I should fix that :)
>
> I've started looking at strace again after not having had any time for
> it in a while, and strace 4.3 should appear in a week or so. If there
> are any problems with the MIPS support now is the time to tell me.
> I'm especially interesting in strace reporting umoven() errors while
> tracing a program.
Conincidentally I today built strace-cvs for MIPS before receiving your
message and found it to be working just fine. The only bug which my
last several month old build from an older snapshot doesn't have is
that syscall 4129 (from memory, number may be incorrect) gets decoded
as a syscall with very many arguments (~ 20). Will have to look into
it.
Ralf
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-02-20 20:37 ` Ralf Baechle
@ 2001-02-24 12:41 ` Wichert Akkerman
2001-02-25 9:37 ` michaels
0 siblings, 1 reply; 17+ messages in thread
From: Wichert Akkerman @ 2001-02-24 12:41 UTC (permalink / raw)
To: Ralf Baechle; +Cc: 'linux-mips@oss.sgi.com', linux-mips
Previously Ralf Baechle wrote:
> Conincidentally I today built strace-cvs for MIPS before receiving your
> message and found it to be working just fine.
Good!
> The only bug which my last several month old build from an older
> snapshot doesn't have is that syscall 4129 (from memory, number may be
> incorrect) gets decoded as a syscall with very many arguments (~ 20).
Hmm, 4129 is delete_module, which is handled exactly like sys_chdir
(syscal with one string argument). Looking at the syscall table I
can't find any syscall with that many argument, the highest number
I can find is 6 (mmap, recvfrom and sendto).
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@cistron.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-02-24 12:41 ` Wichert Akkerman
@ 2001-02-25 9:37 ` michaels
2001-02-25 12:25 ` Ralf Baechle
0 siblings, 1 reply; 17+ messages in thread
From: michaels @ 2001-02-25 9:37 UTC (permalink / raw)
To: Wichert Akkerman
Cc: Ralf Baechle, 'linux-mips@oss.sgi.com', linux-mips
Wichert Akkerman wrote:
>
> Previously Ralf Baechle wrote:
> > Conincidentally I today built strace-cvs for MIPS before receiving your
> > message and found it to be working just fine.
>
> Good!
>
I wonder whether it is my sillines, or something is wrong with strace or
my mips tools. Checked out clean version from
cvs.strace.sourceforge.net:/cvsroot/strace, run configure "NATIVELY" on
mips32 system and got a whole bunch of errors on strace.c :
gcc -Wall -DHAVE_CONFIG_H -I. -Ilinux/mips -I./linux/mips -Ilinux
-I./linux -D_GNU_SOURCE -c syscall.c
syscall.c: In function `sys_sysmips':
syscall.c:103: parameter `sysent0' is initialized
syscall.c:106: parameter `nsyscalls0' is initialized
syscall.c:132: parameter `errnoent0' is initialized
In file included from syscall.c:133:
linux/mips/errnoent.h:1: warning: initialization from incompatible
pointer type linux/mips/errnoent.h:2: warning: excess elements in scalar
initializer after `errnoent0'
linux/mips/errnoent.h:3: warning: excess elements in scalar initializer
after `errnoent0'
linux/mips/errnoent.h:4: warning: excess elements in scalar initializer
after `errnoent0'
linux/mips/errnoent.h:5: warning: excess elements in scalar initializer
after `errnoent0'
linux/mips/errnoent.h:6: warning: excess elements in scalar initializer
after `errnoent0'
... < aroud 1000 errors like these >
syscall.c:135: parameter `nerrnos0' is initialized
syscall.c:158: warning: parameter names (without types) in function
declaration
syscall.c:158: parse error before `int'
syscall.c:158: declaration for parameter `set_personality' but no such
parameter
syscall.c:154: declaration for parameter `current_personality' but no
such parameter
syscall.c:152: declaration for parameter `nerrnos' but no such parameter
syscall.c:151: declaration for parameter `errnoent' but no such
parameter
syscall.c:135: declaration for parameter `nerrnos0' but no such
parameter
syscall.c:132: declaration for parameter `errnoent0' but no such
parameter
syscall.c:123: declaration for parameter `nsyscalls' but no such
parameter
syscall.c:122: declaration for parameter `sysent' but no such parameter
syscall.c:106: declaration for parameter `nsyscalls0' but no such
parameter
syscall.c:103: declaration for parameter `sysent0' but no such parameter
linux/syscall.h:183: declaration for parameter `sys_capset' but no such
parameter
linux/syscall.h:183: declaration for parameter `sys_capget' but no such
parameter
linux/syscall.h:182: declaration for parameter `sys_utimes' but no such
parameter
linux/syscall.h:182: declaration for parameter `sys_getdtablesize' but
no such parameter
linux/syscall.h:182: declaration for parameter `sys_gethostname' but no
such parameter
linux/syscall.h:182: declaration for parameter `sys_setpgrp' but no such
parameter
syscall.c:160: `personality' undeclared (first use this function)
syscall.c:160: (Each undeclared identifier is reported only once
syscall.c:160: for each function it appears in.)
Here's the info:
[michaels@verdi strace]$ gcc --version
egcs-2.90.27 980315 (egcs-1.0.2
release)
[michaels@verdi strace]$ rpm -q glibc
glibc-2.0.6-4
[michaels@verdi strace]$ uname -a
Linux verdi.home.krftech.com 2.2.12-MIPS-01.05 #1 Thu Sep 7 11:36:42
CEST 2000 mips unknown
[michaels@verdi strace]$ cat /proc/cpuinfo
cpu : MIPS
cpu model : MIPS 5Kc V0.1
system type : unknown unknown
BogoMIPS : 39.94
byteorder : big endian
unaligned accesses : 0
wait instruction : no
microsecond timers : no
extra interrupt vector : yes
hardware watchpoint : yes
VCED exceptions : not available
VCEI exceptions : not
available
Exactly same code compiles on i386 silently and clean.
Audience, please, what seems to be my problem?
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA) +972-9-8859365(Worldwide) ext. 233
Fax: 1-877-514-0538(USA) +972-9-8859366(Worldwide)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: strace package
2001-02-25 9:37 ` michaels
@ 2001-02-25 12:25 ` Ralf Baechle
0 siblings, 0 replies; 17+ messages in thread
From: Ralf Baechle @ 2001-02-25 12:25 UTC (permalink / raw)
To: michaels; +Cc: Wichert Akkerman, 'linux-mips@oss.sgi.com', linux-mips
On Sun, Feb 25, 2001 at 11:37:44AM +0200, michaels@jungo.com wrote:
> Exactly same code compiles on i386 silently and clean.
> Audience, please, what seems to be my problem?
I've used glibc 2.1.95.
Ralf
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2001-02-25 22:18 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-12 3:11 strace package Joe deBlaquiere
2001-01-12 3:51 ` Jun Sun
2001-01-15 20:05 ` Maciej W. Rozycki
2001-02-19 12:34 ` Wichert Akkerman
2001-01-12 14:40 ` Christoph Martin
2001-01-15 20:11 ` Maciej W. Rozycki
2001-01-16 8:12 ` Ralf Baechle
2001-01-16 11:40 ` Maciej W. Rozycki
2001-01-16 15:44 ` Ralf Baechle
2001-01-16 16:18 ` Maciej W. Rozycki
2001-01-22 19:19 ` Augusto César Radtke
2001-01-22 19:39 ` Maciej W. Rozycki
2001-02-19 12:33 ` Wichert Akkerman
2001-02-20 20:37 ` Ralf Baechle
2001-02-24 12:41 ` Wichert Akkerman
2001-02-25 9:37 ` michaels
2001-02-25 12:25 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox