From owner-freebsd-emulation Mon Dec 10 2:52:14 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from atlantis.homeip.net (a30032.upc-a.chello.nl [62.163.30.32]) by hub.freebsd.org (Postfix) with SMTP id 949A837B419 for ; Mon, 10 Dec 2001 02:52:09 -0800 (PST) Received: (qmail 78031 invoked from network); 10 Dec 2001 10:52:07 -0000 Received: from jeremy.ourhome.nl (192.168.1.4) by atlantis.ourhome.nl with SMTP; 10 Dec 2001 10:52:07 -0000 Date: Mon, 10 Dec 2001 11:52:04 +0100 From: Willem van Engen To: freebsd-emulation@freebsd.org Subject: flexlm: works with linux_base-6, fails with linux_base-7 Message-Id: <20011210115204.6ddde325.wvengen@stack.nl> X-Mailer: Sylpheed version 0.6.5 (GTK+ 1.2.10; i386--freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hi, because of staroffice6, I installed linux_base-7. Staroffice works great, but now flexlm (both for maple and matlab) stops working. It claims that the vendor daemon cannot establish a lock. Looking at the ktrace dump, the semget fails. I have no idea why. Can anyone help me? Or do I really have to use linux_base-6 for this? Thanks, - Willem van Engen semaphore&system stats: $ uname -a FreeBSD jeremy 4.4-STABLE FreeBSD 4.4-STABLE #1: Fri Dec 7 11:48:56 CET 2001 wvengen@jeremy:/usr/src/sys/compile/JEREMY.debug i386 $ ipcs -S seminfo: semmap: 30 (# of entries in semaphore map) semmni: 10 (# of semaphore identifiers) semmns: 60 (# of semaphores in system) semmnu: 30 (# of undo structures in system) semmsl: 60 (max # of semaphores per id) semopm: 100 (max # of operations per semop call) semume: 10 (max # of undo entries per process) semusz: 92 (size in bytes of undo structure) semvmx: 32767 (semaphore maximum value) semaem: 16384 (adjust on exit max value) $ ipcs -s Semaphores: T ID KEY MODE OWNER GROUP linux_base-7: 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 492 maplelmg CALL close(0x5) 492 maplelmg RET close 0 492 maplelmg CALL fchdir(0) 492 maplelmg RET fchdir 1007723002/0x3c10a1fa 492 maplelmg CALL write(0x1,0x280d6000,0x5d) 492 maplelmg GIO fd 1 wrote 93 bytes "12:03:22 (maplelmg) cannot establish lock - exiting (file: /usr/tmp/lo\ ckmaplelmg, errno: 22) " linux_base-6: 7162 maplelmg CALL open(0x80c3ee0,0x42,0x1b6) 7162 maplelmg NAMI "/compat/linux/usr/tmp" 7162 maplelmg NAMI "/compat/linux/usr/tmp/lockmaplelmg" 7162 maplelmg RET open 4 7162 maplelmg CALL reboot(0x4,0x6,0xbfbff164) 7162 maplelmg RET reboot 0 7162 maplelmg CALL pipe(0x80c6848) 7162 maplelmg RET pipe 0 7162 maplelmg CALL pipe(0x80c6850) 7162 maplelmg RET pipe 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message