From owner-freebsd-emulation Tue Dec 11 6:22:22 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id C433037B405 for ; Tue, 11 Dec 2001 06:22:15 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA25399; Tue, 11 Dec 2001 09:22:09 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id fBBELil19242; Tue, 11 Dec 2001 09:21:44 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15382.5752.295875.987980@grasshopper.cs.duke.edu> Date: Tue, 11 Dec 2001 09:21:44 -0500 (EST) To: Willem van Engen Cc: freebsd-emulation@freebsd.org Subject: Re: flexlm: works with linux_base-6, fails with linux_base-7 In-Reply-To: <20011210115204.6ddde325.wvengen@stack.nl> References: <20011210115204.6ddde325.wvengen@stack.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Willem van Engen writes: > 492 maplelmg CALL open(0x80c3ee0,0x42,0x1b6) > 492 maplelmg NAMI "/compat/linux/usr/tmp" > 492 maplelmg NAMI "/usr/tmp/lockmaplelmg" > 492 maplelmg RET open 5 > 492 maplelmg CALL semget(0x5,0x6,0xbfbff12c) > 492 maplelmg RET semget -1 errno -22 Unknown error: -22 When posting kdumps of linux binaries, make sure to use linux_kdump, not kdump. The system call numbers are different between FreeBSD & linux. If you use the wrong kdump, you get misleading output. The failing syscall there (semget == #221) is actually linux_fcntl64 Try enabling debugging for linux_fcntl64 in sys/compat/linux/linux_file.c Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message