Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2001 11:45:32 +0800
From:      Calvin NG <calvinng@brel.com>
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>
In-Reply-To: <200104251742.SAA00746@rjspc.uk.genrad.com>; from swindellsr@genrad.com on Wed, Apr 25, 2001 at 06:42:33PM %2B0100
References:  <E13BBFD5DA06D411ADC600508BC25BF714429B@switch01.switch.no> <200104251742.SAA00746@rjspc.uk.genrad.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010427114532.E13663>