From owner-freebsd-current@FreeBSD.ORG Fri Aug 18 02:56:10 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 9082616A4E2 for ; Fri, 18 Aug 2006 02:56:10 +0000 (UTC) (envelope-from devon.odell@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id E52AF43D46 for ; Fri, 18 Aug 2006 02:56:09 +0000 (GMT) (envelope-from devon.odell@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so1297465nfc for ; Thu, 17 Aug 2006 19:56:08 -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=ApJwoLQfTT6ia6wCLncL9PUqTld9n8Wc8eWDveZJQIo3qbYWYYadD1d9/m3pb1HQGaEzKHdDCC+rGB01KPWTCTXv9bsJhZri0m4H9YYTgCBUrMshB5j2y1dIPE3mEcEiyQ4Y3bFSOAJz6Ff5ao+MwKBskjZ98SqKimuPd9UUO6I= Received: by 10.48.210.20 with SMTP id i20mr3421028nfg; Thu, 17 Aug 2006 19:56:08 -0700 (PDT) Received: by 10.49.9.14 with HTTP; Thu, 17 Aug 2006 19:56:08 -0700 (PDT) Message-ID: <9ab217670608171956l11d1da00u23800a10abaf09c2@mail.gmail.com> Date: Thu, 17 Aug 2006 22:56:08 -0400 From: "Devon H. O'Dell" To: "Jeremie Le Hen" In-Reply-To: <20060817221307.GG57815@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060817221307.GG57815@obiwan.tataz.chchile.org> Cc: freebsd-current@freebsd.org 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 02:56:10 -0000 2006/8/17, Jeremie Le Hen : > Hi, > > my laptop has just triggered a bug in the iwi(4) driver. I called > doadump() from DDB prompt and was happily surprised to see that > only 167 MB of memory where dumped, instead of 1 GB. > > Unfortunately once I have rebooted, I went into kgdb and asked > for the backtrace, which look pretty accurate until it reached > the iwi(4) functions, which was loaded from multiuser mode. > I know this is iwi(4) because I saw the backtrace in DDB. > > Is it the desired behaviour, not yet implemented, or am I only > missing something ? 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 Good luck :) --Devon > Thank you for your help. > Regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >