Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 1997 08:12:55 +0200
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        Mike Smith <mike@smith.net.au>
Cc:        Jonathan Lemon <jlemon@americantv.com>, Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>, freebsd-emulation@FreeBSD.ORG
Subject:   Re: some observations with xmaple (Maple V4 R5, Linux version)
Message-ID:  <19971024081254.62152@gil.physik.rwth-aachen.de>
In-Reply-To: <199710231540.BAA00899@word.smith.net.au>; from Mike Smith on Fri, Oct 24, 1997 at 01:10:38AM %2B0930
References:  <19971017163647.61997@right.PCS> <199710231540.BAA00899@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 24, 1997 at 01:10:38AM +0930, Mike Smith wrote:
> > 
> > >  19073 xmaplev4 CALL  old.recv(0x1,0xefbfd2d4)
> > >  19073 xmaplev4 RET   old.recv 3
> > >  19073 xmaplev4 CALL  old.recv(0xe,0xefbfd2c4)
> > >  19073 xmaplev4 RET   old.recv -1 errno -22 Unknown error: -22
> > 
> > old.recv == syscall #102 == linux_socketcall.
> > 
> > There are only 4 sub-routines that can return EINVAL (-22):
> >   linux_socket, linux_socketpair, linux_setsockopt, linux_getsockopt.
> > 
> > I'd suggest modifying these routines (in linux/linux_socket.c) to 
> > print out the parameters that is causing it to crash.
> 
> Christoph, did you follow through with this?

I'm at the problem now. I scaffolded linux_socket.c with
printfs at the 4 places where EINVAL can be returned and will
report what I see in a few minutes.

> 
> mike
> 

-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



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