Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 09:21:44 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Willem van Engen <wvengen@stack.nl>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: flexlm: works with linux_base-6, fails with linux_base-7
Message-ID:  <15382.5752.295875.987980@grasshopper.cs.duke.edu>
In-Reply-To: <20011210115204.6ddde325.wvengen@stack.nl>
References:  <20011210115204.6ddde325.wvengen@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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