From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 3 14:52:14 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F9D6106564A for ; Thu, 3 Jul 2008 14:52:14 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8C98FC0C for ; Thu, 3 Jul 2008 14:52:13 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so315260nfh.33 for ; Thu, 03 Jul 2008 07:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=lDdPmv71kTLIJsVtQjvlyjxmUNBu68WUX/UjA5lYzIg=; b=OsoovSaLxmGpcS3BJ1EkwzIfbtKRGMdY1MDuTRH6Y6k3S/+RRdH/BX3UPfigXcJTeb wk+guXitouY6Ep+0jtfKwZEppJdX15ZOb8eus1Qrzq6+R3KKMFTmZ1Xf7hLrQikYKUrT 2ef0opLjppdeZbcpb2DHKPcWqtf7qh2U2f57Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lW7Foid3xI+pmEiLQFy5kV7/AVpI2Wb6WthNd8Zd/WJW2ETXM74xeMip6cfDbHm50u QqLLs3fontC+3z1ehM/mIRFeScJHd6PaT3ztd1l3+5M/+i6RNMHE2C9PVmx+JA40e0TN rtDapBMIPnnfqIs9uZEX0K5d+8huAchr9uYEM= Received: by 10.210.137.14 with SMTP id k14mr15538ebd.162.1215096732743; Thu, 03 Jul 2008 07:52:12 -0700 (PDT) Received: by 10.210.34.1 with HTTP; Thu, 3 Jul 2008 07:52:12 -0700 (PDT) Message-ID: <3c0b01820807030752p212c3f17i236004c37bc39016@mail.gmail.com> Date: Thu, 3 Jul 2008 10:52:12 -0400 From: "Alexander Sack" To: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" In-Reply-To: <1bd550a00807020950x24af0f8n6d2a9c66f14f1cfd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1bd550a00807020950x24af0f8n6d2a9c66f14f1cfd@mail.gmail.com> Cc: FreeBSD Hackers Subject: Re: FreeBSD 7 64 bits kernel crash debugging X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 14:52:14 -0000 On Wed, Jul 2, 2008 at 12:50 PM, Fernando Apestegu=EDa wrote: > Hi all, > > I'm experiencing several kernel crashes with the GENERIC kernel and > with custom kernels as well. One of my MP3 players seems to be > recognized, but if I disconnect it from the USB port (even without > mounting the device), I got a kernel crash. > > I've tried to follow the instructions at > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html > I have dumpdev and dumpdir properly set to my swap partition (ad0s2b) > and to /var/crash. > > However, during the next boot, I got a message that indicates it is > looking for a dump on such device but it couldn't find any. > > How can I track this error? Have you enabled at least KDB/DDB debugger support so you can look at a stack trace ("t") and post this? This will at least give us/you some idea on what is crashing... Add minimally to your kernel build conf file: options DDB options KDB Rebuild, reboot, and test. I'm not sure why a crash dump is not working. Have you tried specifying your dump device in your kernel config file? Let us know, -aps