Date: Wed, 24 Jul 2002 11:31:31 -0700 From: Adam Weinberger <adam@vectors.cx> To: Eric Dedrick <dedrick@dsl-146-127.resnet.purdue.edu> Cc: Dan Nelson <dnelson@allantgroup.com>, Adam Weinberger <adam@vectors.cx>, freebsd-questions@FreeBSD.ORG Subject: Re: linux compatability broken? Message-ID: <20020724183131.GV94707@vectors.cx> In-Reply-To: <20020724132508.J11600-500000@dsl-146-127.resnet.purdue.edu> References: <20020724170332.GD13851@dan.emsphone.com> <20020724132508.J11600-500000@dsl-146-127.resnet.purdue.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
ok. from /usr/src/sys/i386/linux/syscalls.master: 79 NOPROTO LINUX { int settimeofday(struct timeval *tp, \ struct timezone *tzp); } it's getting passed a memory address, and then 0. what timezone do you have your system set to? -Adam >> (07.24.2002 @ 1127 PST): Eric Dedrick said, in 5.2K: << > Yup. See the new attachements. Again, thank you so much for the help. >=20 > On Wed, 24 Jul 2002, Dan Nelson wrote: >=20 > > In the last episode (Jul 24), Eric Dedrick said: > > > > i'm going to have to ask that anybody else who knows please step in > > > > here... > > > > > > > > to know where it's dying, i'd need to see a kernel trace, isolating= the > > > > system call that it's b0rking on. > > > > > > I've attached a couple. Thanks. > > > > Try running ktrace -i <program>, then kdump -m128. All you traced here > > is the shell script, and the trace of opera itself is the more > > interesting one. Also maybe install the linux_kdump port, and run that > > instead of regular kdump. The trace of the Linux binary will be more > > readable that way. > > > > > > -- > > Dan Nelson > > dnelson@allantgroup.com > > > settimeofday(0xbfbff364,0x0,0x0) ERR#9 'Bad file descriptor' > open("=89=C6=83=C4=10=83=FE=FF=0F=84=C4=02",0x286ae113,00) ERR#22 'Inva= lid argument' > read(0x286a9657,0x16,0xbfbff4f4) ERR#9 'Bad file descriptor' > close(22) ERR#9 'Bad file descriptor' > SIGNAL 12 > SIGNAL 12 > Process stopped because of: 16 > process exit, rval =3D 140 > 11590 ktrace RET ktrace 0 > 11590 ktrace CALL execve(0xbfbff8be,0xbfbff7d4,0xbfbff7dc) > 11590 ktrace NAMI "/usr/local/opera/lib/opera/5.05_tp1/opera-static" > 11590 ktrace NAMI "/compat/svr4/lib/ld-linux.so.2" > 11590 opera-static RET execve 0 > 11590 opera-static CALL settimeofday(0xbfbff364,0,0) > 11590 opera-static RET settimeofday -1 errno 9 Bad file descriptor > 11590 opera-static CALL open(0x286a963a,0x286ae113,0) > 11590 opera-static RET open -1 errno 22 Invalid argument > 11590 opera-static CALL read(0x286a9657,0x16,0xbfbff4f4) > 11590 opera-static RET read -1 errno 9 Bad file descriptor > 11590 opera-static CALL close(0x16) > 11590 opera-static RET close -1 errno 9 Bad file descriptor > 11590 opera-static CALL old.killpg > 11590 opera-static PSIG SIGSYS SIG_DFL > 11590 opera-static NAMI "opera-static.core" > settimeofday(0xbfbff378,0x0,0x0) ERR#9 'Bad file descriptor' > open("=89=C6=83=C4=10=83=FE=FF=0F=84=C4=02",0x28099113,00) ERR#22 'Inva= lid argument' > read(0x28094657,0x16,0xbfbff508) ERR#9 'Bad file descriptor' > close(22) ERR#9 'Bad file descriptor' > SIGNAL 12 > SIGNAL 12 > Process stopped because of: 16 > process exit, rval =3D 140 > 11596 ktrace RET ktrace 0 > 11596 ktrace CALL execve(0xbfbff8ce,0xbfbff7e4,0xbfbff7ec) > 11596 ktrace NAMI "/usr/local/mozilla/mozilla-bin" > 11596 ktrace NAMI "/compat/svr4/lib/ld-linux.so.2" > 11596 mozilla-bin RET execve 0 > 11596 mozilla-bin CALL settimeofday(0xbfbff378,0,0) > 11596 mozilla-bin RET settimeofday -1 errno 9 Bad file descriptor > 11596 mozilla-bin CALL open(0x2809463a,0x28099113,0) > 11596 mozilla-bin RET open -1 errno 22 Invalid argument > 11596 mozilla-bin CALL read(0x28094657,0x16,0xbfbff508) > 11596 mozilla-bin RET read -1 errno 9 Bad file descriptor > 11596 mozilla-bin CALL close(0x16) > 11596 mozilla-bin RET close -1 errno 9 Bad file descriptor > 11596 mozilla-bin CALL old.killpg > 11596 mozilla-bin PSIG SIGSYS SIG_DFL > 11596 mozilla-bin NAMI "mozilla-bin.core" >> end of "Re: linux compatability broken?" from Eric Dedrick << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020724183131.GV94707>