From owner-freebsd-hackers Sat Oct 30 15:45:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110]) by hub.freebsd.org (Postfix) with ESMTP id D644F14D7D for ; Sat, 30 Oct 1999 15:45:09 -0700 (PDT) (envelope-from usenet@erix.ericsson.se) Received: from super.du.uab.ericsson.se (root@super.du.uab.ericsson.se [134.138.176.16]) by penguin.wise.edt.ericsson.se (8.9.3/8.9.3/WIREfire-1.5) with ESMTP id AAA12032 for ; Sun, 31 Oct 1999 00:45:07 +0200 (MET DST) Received: from news.du.uab.ericsson.se (news [134.138.176.24]) by super.du.uab.ericsson.se (8.9.3/8.9.3/erix-1.7) with ESMTP id AAA08862 for ; Sun, 31 Oct 1999 00:45:06 +0200 (MET DST) Received: (from news@localhost) by news.du.uab.ericsson.se (8.9.1b+Sun/8.9.1/news-1.1) id AAA20873 for freebsd-hackers@freebsd.org; Sun, 31 Oct 1999 00:45:05 +0200 (MET DST) Received: from GATEWAY by news with netnews for freebsd-hackers@freebsd.org (freebsd-hackers@freebsd.org) To: freebsd-hackers@freebsd.org Date: 31 Oct 1999 00:26:11 +0200 From: Kent Boortz Message-ID: Organization: Ericsson Telecom AB, Stockholm, Sweden Content-Type: text/plain; charset=us-ascii Subject: semaphores/semget problem Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I tried to port the Linux sound program GramoFile but failed. The source was found at http://cardit.et.tudelft.nl/~card06/ It was easy to make it compile and link, mostly changing to , and -lcurses to -lncurses. But creating the System V semaphores fails when trying to play some sound. A call to semget(IPC_PRIVATE, SEMMSL, IPC_EXCL | IPC_CREAT | 0600)) fails with the error "No space left on device". I tried to use a smaller value for SEMMSL but it did not help. Any hints about what can be the cause of this problem? I have set options SYSVSHM # System V Interface options SYSVMSG options SYSVSEM in the kernel config and I run FreeBSD 3.3-STABLE #0: Sun Oct 10 00:45:08 CEST 1999 kent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message