From owner-freebsd-firewire@FreeBSD.ORG Sun Nov 25 08:20:14 2007 Return-Path: Delivered-To: freebsd-firewire@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B19FC16A418 for ; Sun, 25 Nov 2007 08:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8E63913C467 for ; Sun, 25 Nov 2007 08:20:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lAP8K4wu045252 for ; Sun, 25 Nov 2007 08:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lAP8K4Jv045251; Sun, 25 Nov 2007 08:20:04 GMT (envelope-from gnats) Date: Sun, 25 Nov 2007 08:20:04 GMT Message-Id: <200711250820.lAP8K4Jv045251@freefall.freebsd.org> To: freebsd-firewire@FreeBSD.org From: Dieter Cc: Subject: Re: kern/113785: [firewire] dropouts when playing DV on firewire X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dieter List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 08:20:14 -0000 The following reply was made to PR kern/113785; it has been noted by GNATS. From: Dieter To: "Hidetoshi Shimokawa" Cc: bug-followup@freebsd.org Subject: Re: kern/113785: [firewire] dropouts when playing DV on firewire Date: Tue, 20 Nov 2007 23:40:44 +0000 > There is no initialization packet to send streams; By initialization, I meant whatever conversation FreeBSD and the camcorder have once they are both up. > however, > it might be a problem who is the cycle/bus/IR manager. > Can you see some difference of the output of the fwcontrol(8) and demsg(8) > in node-id, cycle master and etc. between success and failed cases? Yes, we have a couple of new clues: When FreeBSD says "CYCLEMASTER mode" it does not work. When FreeBSD says "non CYCLEMASTER mode" it works. Also: The controller that works (if booted in correct order): just bsd: # fwcontrol -u 1 -t crc_len: 3 generation:2 node_count:1 sid_count:1 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 5 S400 0 1 -9W - - 1 0 now power up camcorder (does not work): # fwcontrol -u 1 -t crc_len: 4 generation:3 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 63 S100 0 1 0W - P 1 0 01 1 5 S400 0 1 -9W - C 0 0 Looks like the S400 & non-zero power device (BSD box) changed id from 00 to 01? after booting camcorder and FreeBSD in correct order (works): # fwcontrol -u 1 -t crc_len: 4 generation:1 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 63 S400 0 1 -9W - P 1 0 01 1 63 S100 0 1 0W - C 0 0 Note that the BSD box is id 00. The controller that never works: # fwcontrol -u 0 -t crc_len: 4 generation:2 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 5 S100 0 1 0W - P 0 0 01 1 5 S400 0 1 15W C - 1 0 The BSD box is id 01. Perhaps the "C" showing up under port0 instead of port1 is significant? So: if the BSD box is id 00, camcorder is id 01 -> works if the BSD box is id 01, camcorder is id 00 -> does not work > Thanks for a fix for the compiler warning. You're welcome. From owner-freebsd-firewire@FreeBSD.ORG Mon Nov 26 11:06:57 2007 Return-Path: Delivered-To: freebsd-firewire@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6CE916A417 for ; Mon, 26 Nov 2007 11:06:57 +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 B688113C4FD for ; Mon, 26 Nov 2007 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lAQB6vJ6025408 for ; Mon, 26 Nov 2007 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lAQB6vN2025404 for freebsd-firewire@FreeBSD.org; Mon, 26 Nov 2007 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Nov 2007 11:06:57 GMT Message-Id: <200711261106.lAQB6vN2025404@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, 26 Nov 2007 11:06:58 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/74238 firewire [firewire] fw_rcv: unknown response; firewire ad-hoc w 1 problem total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/113785 firewire [firewire] dropouts when playing DV on firewire 1 problem total.