From owner-freebsd-current@FreeBSD.ORG Tue Feb 14 05:06:52 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 6D36F16A422 for ; Tue, 14 Feb 2006 05:06:52 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 327ED43D46; Tue, 14 Feb 2006 05:06:52 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1E56nCS048700; Tue, 14 Feb 2006 05:06:50 GMT (envelope-from davidxu@freebsd.org) Message-ID: <43F1656A.2050100@freebsd.org> Date: Tue, 14 Feb 2006 13:06:50 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050928 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bachilo Dmitry References: <200602101246.31666.root@solink.ru> <200602141023.35850.root@solink.ru> <84dead720602132054y6d114b1eo8126fca84ac8972a@mail.gmail.com> <200602141058.24366.root@solink.ru> In-Reply-To: <200602141058.24366.root@solink.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: 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:06:52 -0000 Bachilo Dmitry wrote: > В сообщении от Вторник 14 Февраль 2006 10:54 Joseph Koshy написал(a): > >>>never used this utilities. So I've just ran ktrace xchat and now I've got >>>ktrace.out file, it is near 2 mb of size. Should I attach it or should I >>>run ktrace other way? >> >>kdump will convert the ktrace.out file to human readable form. You should >>be able to look for the lines that record the bad system call. > > Is that what I am looking for? > 800 xchat CALL sigprocmask(0x3,0x280c5830,0) > 800 xchat RET sigprocmask 0 > 800 xchat CALL ksem_init(0xbfbfd40c,0x1) > 800 xchat RET ksem_init -1 errno 78 Function not implemented > 800 xchat PSIG SIGSYS SIG_DFL > 800 xchat NAMI "xchat.core" > > Like, I have no some "ksem_init" function in my.... kernel or something? > _______________________________________________ You should include "options P1003_1B_SEMAPHORES" in kernel config file, I don't know why such a basic is not in GENERIC.