From owner-freebsd-stable@FreeBSD.ORG Wed Dec 15 11:47:32 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 783D9106567A for ; Wed, 15 Dec 2010 11:47:32 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id BDCD78FC16 for ; Wed, 15 Dec 2010 11:47:31 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA09271; Wed, 15 Dec 2010 13:47:24 +0200 (EET) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1PSppM-000NEH-Fm; Wed, 15 Dec 2010 13:47:24 +0200 Message-ID: <4D08AACB.6060306@freebsd.org> Date: Wed, 15 Dec 2010 13:47:23 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101211 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4cfc72a5.3nAjkv8mdrO/NrKQ%perryh@pluto.rain.com> <4CFD0633.9060509@freebsd.org> <4d089a74.vwMJkPEIddt7PIxy%perryh@pluto.rain.com> In-Reply-To: <4d089a74.vwMJkPEIddt7PIxy%perryh@pluto.rain.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: How to debug a double fault? (Re: Could MSGBUF_SIZE be made a loader tunable?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 11:47:32 -0000 on 15/12/2010 12:37 perryh@pluto.rain.com said the following: > Fatal double fault: > eip = 0xc07feb98 > esp = 0xc101e000 > ebp = 0xc101e004 > cpuid = 0; apic id = 00 > panic: double fault > cpuid = 0 > > How do I go about tracking this down? Do you have the standard debugging options in your kernel? http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html BTW, are you sure that you correctly placed initialization of msgbufsize ? I am not saying that you haven't, just make sure that it is set before its first use. -- Andriy Gapon