From owner-freebsd-firewire@FreeBSD.ORG Mon Sep 13 06:59:13 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 239FC16A4CE for ; Mon, 13 Sep 2004 06:59:13 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 668DF43D39 for ; Mon, 13 Sep 2004 06:59:12 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.42 (FreeBSD)) id 1C6a6q-0000jo-PY for firewire@freebsd.org; Sun, 12 Sep 2004 23:34:00 +0400 From: Vladimir Grebenschikov To: firewire@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Sun, 12 Sep 2004 23:34:00 +0400 Message-Id: <1095017640.1103.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 1.5.94.1FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Subject: 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: Mon, 13 Sep 2004 06:59:13 -0000 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) 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. -- Vladimir B. Grebenschikov SWsoft Inc. vova@sw-soft.com