From owner-freebsd-current@FreeBSD.ORG Fri Aug 18 13:46:46 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 2388816A4E1 for ; Fri, 18 Aug 2006 13:46:46 +0000 (UTC) (envelope-from devon.odell@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C54543D46 for ; Fri, 18 Aug 2006 13:46:45 +0000 (GMT) (envelope-from devon.odell@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so1432430nfc for ; Fri, 18 Aug 2006 06:46:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z9Lf+0TdxVKyGz2EdME3vbp+5GRtMVL/TbvA12S/EdZ0u8EvTAvv2ICB8+hQkV+Hc4vGcjlmDqqlnHROOPJyUVFEuGdsFnG05mPIgkm3XSOigPVvp4dghjr9vUEPebUfDy0WEffrtjhBPs2B5La3YniD6fDfnhX6BI6AO0SpRPE= Received: by 10.48.242.19 with SMTP id p19mr4070142nfh; Fri, 18 Aug 2006 06:46:43 -0700 (PDT) Received: by 10.49.9.14 with HTTP; Fri, 18 Aug 2006 06:46:43 -0700 (PDT) Message-ID: <9ab217670608180646m412b45cdice89d999068f27a9@mail.gmail.com> Date: Fri, 18 Aug 2006 09:46:43 -0400 From: "Devon H. O'Dell" To: "Andriy Gapon" In-Reply-To: <44E5C008.9010008@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1155864187.00584864.1155853201@10.7.7.3> <1155882183.00584920.1155870001@10.7.7.3> <44E5C008.9010008@icyb.net.ua> 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:46:46 -0000 2006/8/18, Andriy Gapon : > 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 ? Sounds like a good idea. I will write one. Sounds like a candidate for /usr/share/examples/kgdb perahps? --Devon > -- > Andriy Gapon >