From owner-freebsd-emulation Tue Dec 11 11:24:11 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 5439C37B405 for ; Tue, 11 Dec 2001 11:24:04 -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 OAA05296; Tue, 11 Dec 2001 14:23:58 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id fBBJNXL20347; Tue, 11 Dec 2001 14:23:33 -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.23861.710621.118157@grasshopper.cs.duke.edu> Date: Tue, 11 Dec 2001 14:23:33 -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: <20011211184131.0425b1fd.wvengen@stack.nl> References: <20011210115204.6ddde325.wvengen@stack.nl> <15382.5752.295875.987980@grasshopper.cs.duke.edu> <20011211184131.0425b1fd.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: > So this is a fcntl64(fd, F_SETLK, {0,0,0,F_WRLCK,SEEK_CUR}). > When I look at it with linux_base-6, the same arguments are used. > At the moment I have no clue. I don't see anything obvious either. Are you sure that the bsd_flock contains the same thing in the linux_base-6 case? If so, there might be some other difference that's causing the fnctl to fail. The next thing I'd do is to set a ddb breakpoint in linux_fcntl64 & step through its call to fcntl(). Or just instrument the F_SETLK path of fcntl, but that mgith lead to too many printfs. Cheers, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message