From owner-freebsd-usb@FreeBSD.ORG Wed Jul 16 08:58:54 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B490106567A for ; Wed, 16 Jul 2008 08:58:54 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id D56ED8FC0A for ; Wed, 16 Jul 2008 08:58:53 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so4501484wfg.7 for ; Wed, 16 Jul 2008 01:58:53 -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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=J0YChXMY1LmHNxX/hiUTeqOtSqg6gZyR/hMrE+R6gqw=; b=UEwpPadrV8zrPfFl4queOThtUkhUom15xe2To3C4B8IMnBI8DN72vNnpPkqbqAc+rc +N7hcpLzZK76vFx+FY+VDSmLvU5LLym/9l8ntw8joli5/xPJJMux7RS/ZbyoAiXtoyB8 wK60YGOpZzx0bfeIOlB7JMU9fBB1xqFXisgwg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=kZ8yCxUIIMS01F8yzet81V87CONq9ZRd84kOIbN2q68JEjLm2GQR4eOVo6thku9BfF QOBNlrqkzUZfdKo+Pp+LuCtfZgiwZsRfrr3DUkoEXSOgNca6vkLU1eJZAmWutfLAZPWZ A/BDeuA2JugFfuzDkkhakh3GNef9krf13aINQ= Received: by 10.142.251.9 with SMTP id y9mr5037433wfh.46.1216198733481; Wed, 16 Jul 2008 01:58:53 -0700 (PDT) Received: by 10.142.231.8 with HTTP; Wed, 16 Jul 2008 01:58:53 -0700 (PDT) Message-ID: <3a142e750807160158x150f521fv696845d77d6e3c58@mail.gmail.com> Date: Wed, 16 Jul 2008 10:58:53 +0200 From: "Paul B. Mahol" To: freebsd-usb@freebsd.org In-Reply-To: <91DD32EA4C3672A46D423E44@utd65257.utdallas.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3632806C83D31F1A23DE0F0A@utd65257.utdallas.edu> <3a142e750807150219j5a619135x19edba16e6590c21@mail.gmail.com> <3a142e750807150223w6f264048wd9e13ae8846b593c@mail.gmail.com> <91DD32EA4C3672A46D423E44@utd65257.utdallas.edu> Subject: Re: Crash when booting with umass device connected X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2008 08:58:54 -0000 On 7/15/08, Paul Schmehl wrote: > --On Tuesday, July 15, 2008 11:23:09 +0200 "Paul B. Mahol" > > wrote: >> >> Look in Developers handbook for more info >> /usr/share/doc/en/books/developers-handbook/index.html >> >> I think that textdumps are MFCed to STABLE. >> Textdumps provide easy way for gathering backtraces. > > The problem is, I'm not getting dump files. (And dumpdev is set to AUTO - > the > default.) Savecore runs, but there's nothing to put in /var/crash. > First, do you see kdb prompt when system panics? If not then you will need to recompile kernel with various debug stuff: KDB, DDB, GDB, DEBUG=-g ... Second do you have line with sw in /etc/fstab. If not, it is possible to set dump device manually. You should have following lines in /etc/rc.conf: ddb_enable="YES" ddb_config="/etc/ddb.conf" But this one is required only if you want that textdumps are taken automaticaly after system crash. Exploring ddb(4) is also usefull.