From owner-freebsd-current@FreeBSD.ORG Tue Feb 14 05:40:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FCFA16A420 for ; Tue, 14 Feb 2006 05:40:53 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F6D743D49 for ; Tue, 14 Feb 2006 05:40:52 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by xproxy.gmail.com with SMTP id i30so756390wxd for ; Mon, 13 Feb 2006 21:40:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jF5xyIdDaWezIUn1l/KqmCowkmG5JEpzwn0xuw2Xn7gJiTE/5Zc878IYbqWMa/nUErC4Xo/TT1Ly3thf0Py58OofRZIUYAsD7iKDlFsNQIsDA/9HYV4JJekAGXlQS1UgPN6j7TwNVFkWl/WpsJLA1IwmUbl06JMVBDewFvl9wME= Received: by 10.70.98.19 with SMTP id v19mr1721368wxb; Mon, 13 Feb 2006 21:40:51 -0800 (PST) Received: by 10.70.116.10 with HTTP; Mon, 13 Feb 2006 21:40:51 -0800 (PST) Message-ID: <84dead720602132140p1cc2b471h5c25c877b7311791@mail.gmail.com> Date: Tue, 14 Feb 2006 11:10:51 +0530 From: Joseph Koshy To: David Xu In-Reply-To: <43F1656A.2050100@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200602101246.31666.root@solink.ru> <200602141023.35850.root@solink.ru> <84dead720602132054y6d114b1eo8126fca84ac8972a@mail.gmail.com> <200602141058.24366.root@solink.ru> <43F1656A.2050100@freebsd.org> Cc: Bachilo Dmitry , freebsd-current@freebsd.org Subject: Re: Bad system call (core dumped) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2006 05:40:53 -0000 bd> 800 xchat CALL ksem_init(0xbfbfd40c,0x1) bd> 800 xchat RET ksem_init -1 errno 78 Function not implemented bd> 800 xchat PSIG SIGSYS SIG_DFL bd> 800 xchat NAMI "xchat.core" bd> Like, I have no some "ksem_init" function in my.... kernel or something= ? dx> You should include "options P1003_1B_SEMAPHORES" in kernel config dx> file, I don't know why such a basic is not in GENERIC. sys/conf/NOTES marks it as being 'very experimental'. There are three calls to ksem_init() in our library code. Userland code should be checking for kernel support for features before attempting to use them. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy