From owner-freebsd-firewire@FreeBSD.ORG Sun Sep 26 12:08:14 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FA9B16A4CE for ; Sun, 26 Sep 2004 12:08:14 +0000 (GMT) Received: from tora.nunu.org (YahooBB219003182047.bbtec.net [219.3.182.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E5BB43D31 for ; Sun, 26 Sep 2004 12:08:14 +0000 (GMT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from tora.nunu.org (unknown [192.168.1.2]) by tora.nunu.org (Postfix) with ESMTP id 91DE14CA49; Sun, 26 Sep 2004 21:08:13 +0900 (JST) Date: Sun, 26 Sep 2004 21:08:13 +0900 Message-ID: <87hdplmdw2.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: Vladimir Grebenschikov In-Reply-To: <1095017640.1103.13.camel@localhost> References: <1095017640.1103.13.camel@localhost> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: firewire@freebsd.org Subject: Re: PC to PC DV stream transfer - not works X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 12:08:14 -0000 At Sun, 12 Sep 2004 23:34:00 +0400, Vladimir Grebenschikov wrote: > Hi > > I am trying to send DV stream from one PC to another using firewire bus: > > box1# egrep firew\|fwohci /var/log/messages | cut -d\ -f6- > fwohci0: mem 0xd0202000-0xd02027ff at device 5.1 on pci2 > fwohci0: [GIANT-LOCKED] > fwohci0: OHCI version 1.0 (ROM=1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 08:00:46:03:01:8d:e0:3c > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > sbp0: on firewire0 > .. > > box1# fwcontrol -t > crc_len: 4 generation:11 node_count:2 sid_count:2 > id link gap_cnt speed delay cIRM power port0 port1 port2 ini more > 00 1 5 S400 0 1 0W - P 0 0 > 01 1 5 S400 0 1 15W - - C 1 0 > box1# fwcontrol -S sample.dv > PAL > 0123456789012345678901234 > 5678901234567890123456789 > 0123456789012345678901234 > 5678901234567890123456789 > ... > > box2# fwcontrol -R gotsample.dv > (EAGAIN) > (EAGAIN) > (EAGAIN) > NTSC > 0fwcontrol: unknown format 0x29 > box2# egrep firew\|fwohci /var/log/messages | cut -d\ -f6- > fwohci0: mem > 0xe9100000-0xe9103fff,0xe9106000-0xe91067ff irq 12 at device 17.0 on > pci0 > fwohci0: [GIANT-LOCKED] > fwohci0: OHCI version 1.0 (ROM=1) > fwohci0: No. of Isochronous channel is 4. > fwohci0: EUI64 00:30:8d:01:20:43:42:d8 > fwohci0: Phy 1394a available S400, 3 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > > > What's wrong with such transfer ? > (In reality both host are able to get stream from DV camera, and I can't > send stream to camera back, not sure why, camera are DV-IN capable) Hmm, how do you generate sample.dv? Are there any error messages in /var/log/messages of both machines? > Another question: > > Is there easy way to "export" disk device through firewire bus ? > I do not mean NFS over fwe, I mean sbp or something on geom level. see sbp_targ(4). It's still experimental. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html