From owner-freebsd-current@FreeBSD.ORG Sun Aug 20 20:53:16 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 6636B16A4DE for ; Sun, 20 Aug 2006 20:53:16 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD6FD43D55 for ; Sun, 20 Aug 2006 20:53:15 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.3) with ESMTP id k7KKqreV010062; Mon, 21 Aug 2006 00:52:54 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Mon, 21 Aug 2006 00:52:53 +0400 (MSD) From: Maxim Konovalov To: Andriy Gapon In-Reply-To: <44E5FFF3.9040908@icyb.net.ua> Message-ID: <20060821004825.F9919@mp2.macomnet.net> References: <1155864187.00584864.1155853201@10.7.7.3> <1155882183.00584920.1155870001@10.7.7.3> <44E5C008.9010008@icyb.net.ua> <20060818204915.S42981@atlantis.atlantis.dp.ua> <44E5FFF3.9040908@icyb.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Dmitry Pryanishnikov , "Devon H. O'Dell" , 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: Sun, 20 Aug 2006 20:53:16 -0000 On Fri, 18 Aug 2006, 20:59+0300, Andriy Gapon wrote: > on 18/08/2006 20:50 Dmitry Pryanishnikov said the following: > > Hello! > > > > On Fri, 18 Aug 2006, Andriy Gapon wrote: > >> 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 ? > > > > Hmm, isn't this the task for asf(8). If not, what is asf(8) for? > > This is a very nice command, thank you! But it does not seem to be > directly applicable to postmortem situation i.e. crash dump > debugging. Or maybe it will be easier to teach kldstat to work with > dumps/images in addition to what it does now ? There is some support in /usr/src/tools/debugscripts/ but I didn't try it recently. To make it work you need to to do smth like that: cd /usr/obj/usr/src/sys/GENERIC/ && make gdbinit -- Maxim Konovalov