PC to PC DV stream transfer - not works

Hidetoshi Shimokawa simokawa at sat.t.u-tokyo.ac.jp
Sun Sep 26 05:08:14 PDT 2004


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: <Ricoh R5C551> 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: <IEEE1394(FireWire) bus> on fwohci0
> sbp0: <SBP-2/SCSI over FireWire> 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: <Texas Instruments TSB12LV26> 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: <IEEE1394(FireWire) bus> 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 at sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html


More information about the freebsd-firewire mailing list