From owner-freebsd-firewire@FreeBSD.ORG Mon Mar 1 11:06:59 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 2674C1065686 for ; Mon, 1 Mar 2010 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 13C428FC1D for ; Mon, 1 Mar 2010 11:06:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o21B6wee017766 for ; Mon, 1 Mar 2010 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o21B6wYD017764 for freebsd-firewire@FreeBSD.org; Mon, 1 Mar 2010 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Mar 2010 11:06:58 GMT Message-Id: <201003011106.o21B6wYD017764@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-firewire@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-firewire@FreeBSD.org 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: Mon, 01 Mar 2010 11:06:59 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/143623 firewire [firewire] firewire fails to attach DV camera and down o kern/139549 firewire [firewire] reconnecting a firewire disk does not cause o kern/136946 firewire [fwohci] fwohci throws an"unrecoverable error" upon re p kern/125673 firewire [firewire] [panic] FreeBSD7 panics when kldunloading f o kern/122951 firewire [firewire] video-transfer via fwcontrol triggers a pan o kern/118093 firewire [firewire] firewire bus reset hogs CPU, causing data t p kern/114646 firewire [firewire] [patch] firewire fails after suspend/resume o kern/113785 firewire [firewire] dropouts when playing DV on firewire o kern/97208 firewire [firewire] System hangs / locks up when a firewire dis o kern/74238 firewire [firewire] fw_rcv: unknown response; firewire ad-hoc w 10 problems total. From owner-freebsd-firewire@FreeBSD.ORG Tue Mar 2 15:10:34 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 B71491065670 for ; Tue, 2 Mar 2010 15:10:34 +0000 (UTC) (envelope-from ka@flu.if0.org) Received: from flu.if0.org (v112022.ppp.asahi-net.or.jp [124.155.112.22]) by mx1.freebsd.org (Postfix) with ESMTP id 7326E8FC1E for ; Tue, 2 Mar 2010 15:10:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by flu.if0.org (8.14.3/8.14.3) with ESMTP id o22FAW3S034499 for ; Wed, 3 Mar 2010 00:10:32 +0900 (JST) (envelope-from ka@flu.if0.org) Date: Wed, 03 Mar 2010 00:10:31 +0900 (JST) Message-Id: <20100303.001031.193727057.ka@flu.if0.org> To: freebsd-firewire@freebsd.org From: Kazumaro Aoki In-Reply-To: <20100207.220956.59557668.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> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 15:10:34 -0000 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 feel that to start fwcontrol -R when finishing fwcontrol -R just after typing ctrl-c may cause a panic. I will confirm this tomorrow. Best regards, Kazumaro 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 From owner-freebsd-firewire@FreeBSD.ORG Wed Mar 3 14:43:02 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 8D38B106566B for ; Wed, 3 Mar 2010 14:43:02 +0000 (UTC) (envelope-from ka@flu.if0.org) Received: from flu.if0.org (v112022.ppp.asahi-net.or.jp [124.155.112.22]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4B68FC14 for ; Wed, 3 Mar 2010 14:43:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by flu.if0.org (8.14.3/8.14.3) with ESMTP id o23Eh043006643 for ; Wed, 3 Mar 2010 23:43:00 +0900 (JST) (envelope-from ka@flu.if0.org) Date: Wed, 03 Mar 2010 23:42:59 +0900 (JST) Message-Id: <20100303.234259.193731492.ka@flu.if0.org> To: freebsd-firewire@freebsd.org From: Kazumaro Aoki In-Reply-To: <1267546296.2264.0.camel@localhost.localdomain> References: <20100207.220956.59557668.ka@flu.if0.org> <20100303.001031.193727057.ka@flu.if0.org> <1267546296.2264.0.camel@localhost.localdomain> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Mar__3_23_42_59_2010_364)--" Content-Transfer-Encoding: 7bit Subject: Re: reset with fwcontrol -R X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-firewire@freebsd.org List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2010 14:43:02 -0000 ----Next_Part(Wed_Mar__3_23_42_59_2010_364)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Sean Bruno Subject: Re: reset with fwcontrol -R Date: Tue, 02 Mar 2010 08:11:36 -0800 >> > 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 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. I found that the following sequence cause a panic with high probability: 1. fwcontrol -R foo.dv 2. terminate fwcontrol using ctrl-c 3. start fwcontrol -R bar.dv before finishing fwcontrol -R foo.dv The used fwcontrol command is imported from FreeBSD6R, and back-trace of kgdb command always says line 2206 cause a panic. I attached the log file generated by line 2198. Can you fix the problem? # I write send-pr when it seems to take long time in this mailing-list. When I used fwcontrol in the original distribution (FreeBSD 7.2R/i386) with "fwcontrol -M dv -R bar.dv", I got the error message: fwcontrol: main: Error opening firewire controller #0 /dev/fw0.0 in recv_data : Device busy and the system does not panic. It certainly prohibits a panic, but it also seems to prevent to show the firewire status that is generated fwcontrol command without any option. I also met a panic with another sequence caused by kldunload of firewire.ko module. However, I usually do not kldunload, and I do not write the details. If you are interested in the panic, I can write the back-trace information. Best regards, Kazumaro ----Next_Part(Wed_Mar__3_23_42_59_2010_364)-- Content-Type: Application/Octet-Stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="2198.log.gz" H4sIAAAAAAACA+3TzWqDQBQF4H2f4ixbyGJmqlaELkzMQqpJSUyhS38pJJhiLfj4HWMpXXXMIkjD uSCMcrwXvqtx2gD3UNJTwlMWquMx04/2ZVOXBw8fbdq0CDcIYh+iEzfx3/nFZ9OUdYtgDmM2f8Mj RndcPwN4Wr4iXCWYb/TNoazRl18UugOC8r2sC2zbtNVv1a2psZCZ5UhXYL1LImwTBT+KTpcuqSC+ awgqfXAtqTxVZCk2u9XMXyThy3KGNN+jn3wr1Z1xZieEq9zC0l27qspFpas/9oOsB3EKDEVpSlOa 0pT+V9L2GdL2KGn7UtL2BNI2pSlNaUpTmtKUpjSlKU1pSlOa0pSmNKUpTWlKU5rSlKY0pSlNaUpT mtKUpjSlr0PalPu1CVP0Z1PG2cMmjbGRm+aXwH+O0pSmNKUpTekJpZ0zpJ1R0s6lpJ0JpB1KU5rS lKb09Up/ATfxegPKOgAA ----Next_Part(Wed_Mar__3_23_42_59_2010_364)----