From owner-freebsd-stable Thu Apr 26 20:45:43 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hobbits.brel.com (hobbits.brel.com [203.127.231.61]) by hub.freebsd.org (Postfix) with ESMTP id 5244F37B422 for ; Thu, 26 Apr 2001 20:45:37 -0700 (PDT) (envelope-from calvinng@hobbits.brel.com) Received: by hobbits.brel.com (Postfix, from userid 1001) id D42E73343; Fri, 27 Apr 2001 11:45:32 +0800 (SGT) Date: Fri, 27 Apr 2001 11:45:32 +0800 From: Calvin NG To: rjs@fdy2.demon.co.uk, freebsd-stable@freebsd.org Subject: Re: Missing syscalls on 4.2 [Linux binary] Message-ID: <20010427114532.E13663@brel.com> References: <200104251742.SAA00746@rjspc.uk.genrad.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104251742.SAA00746@rjspc.uk.genrad.com>; from swindellsr@genrad.com on Wed, Apr 25, 2001 at 06:42:33PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings, While you are at it, I'm not sure if you will be interested in looking at the problem of running Domino for Linux on FreeBSD. Domino can be installed okay, but when starting the "http httpsetup", one would get "error: Notes error : 0x19E" Searching Deja news(I know, its googles now), found the following, > I think It's getting mad at us not supporting some Linux > feature of getrusage, perhaps you can decode the arguments > and tell us what's being passed to getrusage() so that > we can figure out how to implement it. > > thanks, > -Alfred > > > ------------- > > 25934 http CALL #91(0x28ec9000,0x2000) > > 25934 http RET #91 0 > > 25934 http CALL getrusage(0x17,0xf8b0d800,0x4458ac,0x7b0,0) > > 25934 http RET getrusage -1 errno -22 Unknown error: -22 > > 25934 http CALL getrusage(0x17,0xf8b0d800,0x4458ac,0x3b0,0) > > 25934 http RET getrusage -1 errno -22 Unknown error: -22 > > 25934 http CALL old.sigvec(0x1,0xbfbff1ec) > > 25934 http RET old.sigvec 0 > > 25934 http CALL dup2(0xbfbff250) > > 25934 http RET dup2 686592000/0x28ec9000 > > 25934 http CALL ioctl(0x1,0x5401 ,0xbfbff1e8) > > 25934 http RET ioctl 0 > > 25934 http CALL write(0x1,0x28ec9000,0x2) > > 25934 http GIO fd 1 wrote 2 bytes > > "\r > > " > > 25934 http RET write 2 > > 25934 http CALL write(0x1,0x28ec9000,0x1c) > > 25934 http GIO fd 1 wrote 28 bytes > > "Lotus Notes: error 0x19E\r > > \r > > " > > 25934 http RET write 28/0x1c > > 25934 http CALL #91(0x28ec9000,0x2000) > > 25934 http RET #91 0 > > 25934 http CALL exit(0xffffffff) > > ------------- I have no need for this anymore, but I thought future FreeBSD users might benefit from this. :) Regards, /calvin lines with :> are quotes from Robert Swindells's email :> :> >I'm running a linux compiled httpd on my 4.2-STABLE and get some kernel :> >errors: :> :> >/kernel: linux: syscall fstat64 is obsoleted or not implemented (pid=49837) :> >/kernel: linux: syscall stat64 is obsoleted or not implemented (pid=49838) :> >/kernel: linux: syscall setup is obsoleted or not implemented (pid=49838) :> :> Someone asked about fstat64 and stat64 a few days ago. :> :> I got bored last night and implemented all the stat syscalls. I didn't :> have access to a Linux box to generate a test program, so I haven't :> tested it yet. I should be able to generate a pr over the weekend. :> :> I have a commercial program that needs setup, so I will take a look at :> it next. :> :> Robert Swindells :> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message