Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 11:10:51 +0530
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        David Xu <davidxu@freebsd.org>
Cc:        Bachilo Dmitry <root@solink.ru>, freebsd-current@freebsd.org
Subject:   Re: Bad system call (core dumped)
Message-ID:  <84dead720602132140p1cc2b471h5c25c877b7311791@mail.gmail.com>
In-Reply-To: <43F1656A.2050100@freebsd.org>
References:  <200602101246.31666.root@solink.ru> <200602141023.35850.root@solink.ru> <84dead720602132054y6d114b1eo8126fca84ac8972a@mail.gmail.com> <200602141058.24366.root@solink.ru> <43F1656A.2050100@freebsd.org>

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



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