From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 2 17:27:43 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 327331065670 for ; Wed, 2 Dec 2009 17:27:43 +0000 (UTC) (envelope-from fb-emulation@psconsult.nl) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.freebsd.org (Postfix) with ESMTP id B9D698FC0C for ; Wed, 2 Dec 2009 17:27:42 +0000 (UTC) Received: from mx1.psconsult.nl (localhost [80.89.238.138]) by mx1.psconsult.nl (8.14.2/8.14.2) with ESMTP id nB2GwXAp001131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Dec 2009 17:58:38 +0100 (CET) (envelope-from fb-emulation@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.2/8.14.2/Submit) id nB2GwXq7001130 for freebsd-emulation@freebsd.org; Wed, 2 Dec 2009 17:58:33 +0100 (CET) (envelope-from fb-emulation@psconsult.nl) Date: Wed, 2 Dec 2009 17:58:33 +0100 From: Paul Schenkeveld To: freebsd-emulation@freebsd.org Message-ID: <20091202165833.GA813@psconsult.nl> Mail-Followup-To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Missing syscall linux_base-f10 on 8.0-R (amd64) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 17:27:43 -0000 Hi, I'm trying to run an old linux executable on 8.0-R amd64 under linux_base-f10. The app (we have no sources) fails when trying to open a pipe to the lp command. With truss I see the following: 70291: read(0,"\n",4096) = 1 (0x1) 70291: linux_socketcall(0x9,0xffffb424,0x81b0150,0x81b0150,0x81a5ac8,0x6) = 4 (0x4) 70291: linux_socketcall(0xa,0xffffb400,0x81afc08,0x4,0x81a5c9c,0x6) = 12 (0xc) 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0x6,0x0,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0x6,0x0,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0x6,0x0,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0xe,0xb,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0xe,0xffffae84,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0xe,0xffffae84,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0xe,0xffffae84,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0xe,0xb,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0xe,0xffffae84,0x6) ERR#2 'No such file or directory' 70291: linux_access(0x8187fc8,0x4,0x8187fc8,0xffffae84,0xe,0x6) = 0 (0x0) 70291: linux_open("/some/file",0x0,00) = 6 (0x6) 70291: read(6,"xxxxxx",6) = 6 (0x6) 70291: read(6,0xffffafbc,13) = 0 (0x0) 70291: close(6) = 0 (0x0) -- UNKNOWN SYSCALL 331 -- 70291: write(2,"\n ",5) = 5 (0x5) Is this a system call missing in linux_base-f10 or in the kernel part of the linux emulation? The app user to run on 6.2-R i386 with linux_base-fc-4. We are trying to move to 8.0-R amd64 to get stable ZFS support. Thanks, Paul Schenkeveld