From owner-freebsd-current@FreeBSD.ORG Fri Aug 18 18:23:04 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 DB3BF16A4E1 for ; Fri, 18 Aug 2006 18:23:04 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C44F43D81 for ; Fri, 18 Aug 2006 18:22:40 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (pzf2epypobg6d0f6@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k7IIMXRS043203; Fri, 18 Aug 2006 11:22:33 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k7IIMWEH043202; Fri, 18 Aug 2006 11:22:32 -0700 (PDT) (envelope-from jmg) Date: Fri, 18 Aug 2006 11:22:32 -0700 From: John-Mark Gurney To: Andriy Gapon Message-ID: <20060818182232.GX99774@funkthat.com> Mail-Followup-To: Andriy Gapon , "Devon H. O'Dell" , freebsd-current@freebsd.org, Jeremie Le Hen References: <1155864187.00584864.1155853201@10.7.7.3> <1155882183.00584920.1155870001@10.7.7.3> <44E5C008.9010008@icyb.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44E5C008.9010008@icyb.net.ua> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Jeremie Le Hen , freebsd-current@freebsd.org, "Devon H. O'Dell" Subject: Re: no kld in minidumps X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney 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 18:23:04 -0000 Andriy Gapon wrote this message on Fri, Aug 18, 2006 at 16:26 +0300: > 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 ? look at src/tools/debugscripts which has two different solutions to the problem... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."