From owner-freebsd-current@FreeBSD.ORG Fri Aug 18 13:27:03 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 25E6116A4DA for ; Fri, 18 Aug 2006 13:27:03 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A8D743D5C for ; Fri, 18 Aug 2006 13:26:59 +0000 (GMT) (envelope-from avg@icyb.net.ua) Received: from [212.40.38.87] (oddity-e.topspin.kiev.ua [212.40.38.87]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA14064; Fri, 18 Aug 2006 16:26:32 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <44E5C008.9010008@icyb.net.ua> Date: Fri, 18 Aug 2006 16:26:32 +0300 From: Andriy Gapon User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: "Devon H. O'Dell" References: <1155864187.00584864.1155853201@10.7.7.3> <1155882183.00584920.1155870001@10.7.7.3> In-Reply-To: <1155882183.00584920.1155870001@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Jeremie Le Hen Subject: Re: no kld in minidumps 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: Fri, 18 Aug 2006 13:27:03 -0000 on 18/08/2006 05:56 Devon H. O'Dell said the following: > > Yeah, you have to do some magic to debug KLDs. Basically, you have to > figure out where they were loaded by walking the module list, and then > tell GDB where to find the TEXT section using add-symbol-file. > Instructions for this are available at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-kld.html BTW, has anyone contemplated or even done this - some sort of a script to automatically add all modules that were loaded at a time of crash ? -- Andriy Gapon