Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2000 17:05:39 +0000 (GMT)
From:      "Walter C. Pelissero" <walter@pelissero.org>
To:        questions@freebsd.org, hackers@freebsd.org
Subject:   SVR4 missing syscall
Message-ID:  <14873.23011.159826.718978@hyde.lpds.sublink.org>

next in thread | raw e-mail | index | archive | help
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
reference in the kernel source tree.  Is there any doc I could read to
see if I can hack this syscall in the emulator?

Thanks,

-- 
walter pelissero
http://www.pelissero.org


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?14873.23011.159826.718978>