From owner-freebsd-emulation Thu Oct 23 23:02:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA25793 for emulation-outgoing; Thu, 23 Oct 1997 23:02:07 -0700 (PDT) (envelope-from owner-freebsd-emulation) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA25783 for ; Thu, 23 Oct 1997 23:02:02 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by Campino.Informatik.RWTH-Aachen.DE (8.8.7/RBI-Z13) with ESMTP id IAA02828; Fri, 24 Oct 1997 08:01:54 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.8.5/8.6.9) id IAA18596; Fri, 24 Oct 1997 08:12:55 +0200 (MEST) Message-ID: <19971024081254.62152@gil.physik.rwth-aachen.de> Date: Fri, 24 Oct 1997 08:12:55 +0200 From: Christoph Kukulies To: Mike Smith Cc: Jonathan Lemon , Christoph Kukulies , freebsd-emulation@FreeBSD.ORG Subject: Re: some observations with xmaple (Maple V4 R5, Linux version) References: <19971017163647.61997@right.PCS> <199710231540.BAA00899@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199710231540.BAA00899@word.smith.net.au>; from Mike Smith on Fri, Oct 24, 1997 at 01:10:38AM +0930 Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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