strace broken on arm eabi + linux 2.6.29
iw3gtf at tiscali.it
iw3gtf at tiscali.it
Wed May 27 16:22:30 UTC 2009
Hallo,
I've just updated my arm eabi kernel from the 2.6.28.x to 2.6.29.4 version
and now the strace does not work as expected anymore:
#
strace ls /
execve("/bin/ls", ["ls", "/"], [/* 44 vars */]) = 0
pid 4737 stray syscall exit
execve(pid 4737 stray syscall entry
) = -1092894616
pid 4737 stray syscall exit
uname({...}pid 4737 stray syscall entry
NULL, 0, PROT_NONE,
MAP_FILE, 0, 0) = 0
pid 4737 stray syscall exit
mmap2(pid 4737 stray syscall entry
"d\340\1 at h\277\1@", 0x1000 /* ?_OK */) = 1073854824
pid
4737 stray syscall exit
access(pid 4737 stray syscall entry
0xfffffffe, O_RDONLY|0x4 /* O_??? */) = 1073856824
pid 4737 stray syscall exit
open(pid 4737 stray syscall entry
3, ) = 3
pid 4737 stray syscall exit
fstat64({st_mode=S_IFREG|0644,
st_size=44467, ...}pid 4737 stray syscall entry
NULL, 3202071664, PROT_READ, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
...
Is it a known
problem ?
My intuition says it cannot find/match some of the system calls (gettimeofday(), ioctl()...).
Maybe I'm using a wrong system
calls list.
I compile strace directly from the sources of the cvs repo.:
anonymous at strace.cvs.sourceforge.net:/cvsroot/strace
On a linux
2.6.28.9 the same strace command looks like:
root at p3-giorgio [ ~ ]# strace ls /
execve("/bin/ls", ["ls", "/"], [/* 13 vars */]) = 0
gettimeofday({1243440920, 817476}, NULL) = 0
ioctl(1, TIOCGWINSZ, {ws_row=0, ws_col=0, ws_xpixel=0, ws_ypixel=0}) = 0
lstat64("/",
{st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000
mmap2
(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40001000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40002000
open(".", O_RDONLY|O_LARGEFILE) = 3
chdir("/") = 0
open
(".", O_RDONLY|O_DIRECTORY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40003000
getdents64(4, /* 16 entries */, 4084) = 384
lstat64("root", {st_mode=S_IFDIR|S_ISVTX|0777,
st_size=40, ...}) = 0
lstat64("sbin", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat64("home", {st_mode=S_IFDIR|0755, st_size=0, ...}) =
0
lstat64("boot", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat64("usr", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat64("var",
{st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat64("tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=40, ...}) = 0
lstat64("mnt",
{st_mode=S_IFDIR|0777, st_size=464, ...}) = 0
lstat64("lib", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat64("etc",
{st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat64("bin", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat64("dev",
{st_mode=S_IFDIR|S_ISVTX|0777, st_size=2500, ...}) = 0
lstat64("sys", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat64("proc",
{st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents64(4, /* 0 entries */, 4084) = 0
close(4) = 0
munmap
(0x40003000, 4096) = 0
fchdir(3) = 0
close(3) = 0
write(1,
"bin \nboot \ndev \netc \nhome"..., 98bin
boot
dev
etc
home
lib
mnt
proc
root
sbin
sys
tmp
usr
var
) = 98
exit(0) = ?
Promozione di Primavera ! Stampa le tue foto nei formati 13x17 e 13x19 a soli 0,11 euro.
http://photo.tiscali.it
More information about the Strace-devel
mailing list