From owner-freebsd-firewire@FreeBSD.ORG Tue Mar 2 16:22:55 2010 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21029106566B for ; Tue, 2 Mar 2010 16:22:55 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout2-b.corp.re1.yahoo.com (mrout2-b.corp.re1.yahoo.com [69.147.107.21]) by mx1.freebsd.org (Postfix) with ESMTP id D1DD08FC13 for ; Tue, 2 Mar 2010 16:22:54 +0000 (UTC) Received: from [127.0.0.1] (proxy8.corp.yahoo.com [216.145.48.13]) by mrout2-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o22GBaug038953; Tue, 2 Mar 2010 08:11:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=subject:from:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:x-mailer:content-transfer-encoding; b=Ry22NuZQabwI0BjUNe5G901ze1zBI3Jf3FsX/tZ5SsW+cmp/kWV4KIutXleMdHQx From: Sean Bruno To: Kazumaro Aoki In-Reply-To: <20100303.001031.193727057.ka@flu.if0.org> References: <20100112.001502.164372502.ka@flu.if0.org> <20100117.031442.112571713.ka@flu.if0.org> <20100207.220956.59557668.ka@flu.if0.org> <20100303.001031.193727057.ka@flu.if0.org> Content-Type: text/plain; charset="UTF-8" Date: Tue, 02 Mar 2010 08:11:36 -0800 Message-ID: <1267546296.2264.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 (2.28.2-1.fc12) Content-Transfer-Encoding: 7bit Cc: "freebsd-firewire@freebsd.org" Subject: Re: reset with fwcontrol -R X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 16:22:55 -0000 On Tue, 2010-03-02 at 07:10 -0800, Kazumaro Aoki wrote: > Hello, members of freebsd-firewire! > > From: Kazumaro Aoki > Subject: Re: reset with fwcontrol -R > Date: Sun, 07 Feb 2010 22:09:56 +0900 (JST) > > > In recent month, the system is in good condition, but today morning, > > system crashed and made a crash dump. > (snip) > > # kgdb /boot/kernel/kernel vmcore.1 > (snip) > > Fatal trap 12: page fault while in kernel mode > > current process = 42 (fw0_taskq) > > panic: page fault > (snip) > > (kgdb) bt > (snip) > > #7 0xc05f6d87 in fwohci_task_dma (arg=0xc5662000, pending=1) > > at /home/usr/src/sys/dev/firewire/fwohci.c:2206 > (snip) > > I met the similar panic twice, after I saw the above message. > First, the crash dump was unfortunately not made. > Second, the crash dump was made and kgdb said the same line > (FreeBSD7.2R) causes the panic. > > Now, I configured the kernel and I used the loadable module of > firewire. So, I can easy to modify the module and it enables to add > to show debug information other than "sysctl debug.firewire_debug=3". > > I noticed lines 2197-2199 are > #if 0 > dump_db(sc, dmach); > #endif > Are the information generated by the commented out the lines useful to > analyze the problem? > I've never used that code, but I think it is more debugging. If it is useful for debugging this issue, I can make it a sysctl for debugging. Sean