From owner-freebsd-questions Wed Jul 24 11:31:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE09037B400 for ; Wed, 24 Jul 2002 11:31:26 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64E8643E81 for ; Wed, 24 Jul 2002 11:31:26 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (912809ab780f0a8ad71a1e38f17850ce@localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g6OIVV2e064156; Wed, 24 Jul 2002 11:31:31 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g6OIVV5C064155; Wed, 24 Jul 2002 11:31:31 -0700 (PDT) (envelope-from monkey) Date: Wed, 24 Jul 2002 11:31:31 -0700 From: Adam Weinberger To: Eric Dedrick Cc: Dan Nelson , Adam Weinberger , freebsd-questions@FreeBSD.ORG Subject: Re: linux compatability broken? Message-ID: <20020724183131.GV94707@vectors.cx> References: <20020724170332.GD13851@dan.emsphone.com> <20020724132508.J11600-500000@dsl-146-127.resnet.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20020724132508.J11600-500000@dsl-146-127.resnet.purdue.edu> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 , 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