From owner-freebsd-questions Thu Nov 23 14: 2:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 4878637B479; Thu, 23 Nov 2000 14:02:37 -0800 (PST) Received: from bellatlantic.net (client-151-198-117-158.nnj.dialup.bellatlantic.net [151.198.117.158]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id RAA03148; Thu, 23 Nov 2000 17:01:39 -0500 (EST) Message-ID: <3A1D93C2.9DEC01F1@bellatlantic.net> Date: Thu, 23 Nov 2000 17:01:38 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: walter@pelissero.org Cc: questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: SVR4 missing syscall References: <14873.23011.159826.718978@hyde.lpds.sublink.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Walter C. Pelissero" wrote: > > I'm trying to run a SCO SVR4 executable on FreeBSD but I get a SIGSYS > (invalid system call) at the very beginning. Here is the kdump: > > 39525 ktrace RET ktrace 0 > 39525 ktrace CALL sigprocmask(0x1,0x28061000,0x28061010) > 39525 ktrace RET sigprocmask 0 > 39525 ktrace CALL sigprocmask(0x3,0x28061010,0) > 39525 ktrace RET sigprocmask 0 > 39525 ktrace CALL sigprocmask(0x1,0x28061000,0x28061010) > 39525 ktrace RET sigprocmask 0 > 39525 ktrace CALL sigprocmask(0x3,0x28061010,0) > 39525 ktrace RET sigprocmask 0 > 39525 ktrace CALL sigprocmask(0x1,0x28061000,0x28061010) > 39525 ktrace RET sigprocmask 0 > 39525 ktrace CALL sigprocmask(0x3,0x28061010,0) > 39525 ktrace RET sigprocmask 0 > 39525 ktrace CALL execve(0xbfbff9a3,0xbfbff880,0xbfbff88c) > 39525 ktrace NAMI "./scobin" > 39525 ktrace NAMI "/compat/svr4/usr/lib/libc.so.1" > 39525 scobin RET execve 0 > 39525 scobin CALL getuid > 39525 scobin RET getuid 1001/0x3e9 > 39525 scobin CALL getuid > 39525 scobin RET getuid 1001/0x3e9 > 39525 scobin CALL getgid > 39525 scobin RET getgid 0 > 39525 scobin CALL getgid > 39525 scobin RET getgid 0 > 39525 scobin CALL setlogin(0x72,0x805056c) > 39525 scobin RET setlogin 0 > 39525 scobin CALL setlogin(0x28,0x280a9764) > 39525 scobin RET setlogin 0 > 39525 scobin CALL break(0x8051580) > 39525 scobin RET break 0 > 39525 scobin CALL setlogin(0x68,0x8049830) > 39525 scobin RET setlogin 0 > 39525 scobin CALL getpid > 39525 scobin RET getpid 39525/0x9a65 > 39525 scobin CALL old.lstat > 39525 scobin PSIG SIGSYS SIG_DFL > 39525 scobin NAMI "scobin.core" > > Which call is it about? I see an "old.lstat" but I couldn't find any I believe old.ldstat is the name of BSD syscall with the same number. The other syscall names are also not SVR4 but BSD, kdump has the same problem with Linux binaries too. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message