Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 11:52:04 +0100
From:      Willem van Engen <wvengen@stack.nl>
To:        freebsd-emulation@freebsd.org
Subject:   flexlm: works with linux_base-6, fails with linux_base-7
Message-ID:  <20011210115204.6ddde325.wvengen@stack.nl>

next in thread | raw e-mail | index | archive | help
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




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