Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2000 17:01:38 -0500
From:      Sergey Babkin <babkin@bellatlantic.net>
To:        walter@pelissero.org
Cc:        questions@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: SVR4 missing syscall
Message-ID:  <3A1D93C2.9DEC01F1@bellatlantic.net>
References:  <14873.23011.159826.718978@hyde.lpds.sublink.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A1D93C2.9DEC01F1>