From owner-freebsd-firewire@FreeBSD.ORG Sun Sep 26 12:04:41 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 9449616A4CE for ; Sun, 26 Sep 2004 12:04:41 +0000 (GMT) Received: from tora.nunu.org (YahooBB219003182047.bbtec.net [219.3.182.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E59A43D49 for ; Sun, 26 Sep 2004 12:04:40 +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 0DB7F4CC59; Sun, 26 Sep 2004 21:04:39 +0900 (JST) Date: Sun, 26 Sep 2004 21:04:38 +0900 Message-ID: <87isa1me21.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: Dan D Niles In-Reply-To: <16724.31821.861525.547422@jane.spg.more.net> References: <20040924084214.F80142@k2.vol.cz> <16723.16610.126531.69247@jane.spg.more.net> <16724.31821.861525.547422@jane.spg.more.net> 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: freebsd-firewire@freebsd.org Subject: Re: How-To? 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:04:41 -0000 At Fri, 24 Sep 2004 14:58:05 -0500, Dan D Niles wrote: > > > Thanks a bunch, I was able to get it working. I was expecting to need > a daemon or something for hotplugging. It turns out the disk was NTFS > so there was no /dev/da0s1c, only a /dev/da0s1, which I did not > recognize immediately. > > Lukas Maly writes: > > Hi > > > > If you attached firewire cable into card on PC, read messages. > > > > tail -f /var/log/messages > > > > I only get: > > Sep 24 14:45:01 wallenda kernel: fwohci0: BUS reset > Sep 24 14:45:01 wallenda kernel: fwohci0: node_id=0x8800ffc0, gen=9, non CYCLEMASTER mode > Sep 24 14:45:01 wallenda kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me) > Sep 24 14:45:01 wallenda kernel: firewire0: root node is not cycle master capable > Sep 24 14:45:01 wallenda kernel: firewire0: bus manager 0 (me) > > but that is probably because of the NTFS disk. Even if it has only NTFS partitions, you should get 'da0:...' messages. > Is "root node is not cycle master capable" something I need to worry > about? Theoretically, it shouldn't matter because cycle master is not neccessay for asynchronous transaction which is used for SPB-2. But I found some VIA chips don't work correctly in such situation. What is your FreeBSD's version. What happens if you run 'fwcontrol -r'? /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html 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 From owner-freebsd-firewire@FreeBSD.ORG Sun Sep 26 12:12:15 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 3337616A4CE for ; Sun, 26 Sep 2004 12:12:15 +0000 (GMT) Received: from tora.nunu.org (YahooBB219003182047.bbtec.net [219.3.182.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB7443D45 for ; Sun, 26 Sep 2004 12:12: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 3C0564B211; Sun, 26 Sep 2004 21:12:14 +0900 (JST) Date: Sun, 26 Sep 2004 21:12:14 +0900 Message-ID: <87fz55mdpd.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: Manfred Lotz In-Reply-To: <20040925154556.0cdc99a0.manfred.lotz@web.de> References: <20040925154556.0cdc99a0.manfred.lotz@web.de> 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: freebsd-firewire@freebsd.org Subject: Re: firewire problem in freebsd 5.3beta5 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:12:15 -0000 At Sat, 25 Sep 2004 15:45:56 +0200, Manfred Lotz wrote: > > Hi there, > I thought I give FreeBSD 5.3 Beta5 a try. > > I have a firewire controller but I had no external hard disk connected. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > After booting from the installation CD these messages came up: > > > fwohci0: BUS reset > fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode > firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) > firewire0: bus manager 1 (me) > firewire0: split transaction timeout dst=0xffc0 tl=0x2b state=3 > firewire0: bus_explore node=0 addr=0x400 resp=60 retry=1 > fwohci0: txd err= 3 miss Ack err > firewire0: bus_explore node=0 addr=0x400 resp=22 retry=2 > fwohci0: txd err= 3 miss Ack err > firewire0: bus_explore node=0 addr=0x400 resp=22 retry=3 > fwohci0: txd err= 3 miss Ack err > firewire0: bus_explore node=0 addr=0x400 resp=22 retry=4 > firewire0: bus_explore failed for 1 nodes > > > Here it is hanging. Under FreeBSD 4.10 the same messages show up but > there is no hanging. > > Switching on an external hard disk some more messages coming up: I'm not sure that I understand your situation. Even if you don't connect the external HDD, you get '2 node' in dmesg and hanging? > fwohci0: BUS reset > fwohci0: node_id=0xc800ffc1, gen=4, CYCLEMASTER mode > firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) > firewire0: bus manager 1 (me) > > There was one more info message I forgot to note. After that the boot > process was hanging again. > Can you use DDB to trace the hanging point? /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html From owner-freebsd-firewire@FreeBSD.ORG Sun Sep 26 18:14:16 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 A0A5516A4CE for ; Sun, 26 Sep 2004 18:14:16 +0000 (GMT) Received: from k2.vol.cz (k2.vol.cz [195.250.128.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3B9343D31 for ; Sun, 26 Sep 2004 18:14:13 +0000 (GMT) (envelope-from malyl@col.cz) Received: from k2.vol.cz (k2.vol.cz [195.250.128.82]) by k2.vol.cz (8.12.9p2/8.12.6) with ESMTP id i8QIECep074544 for ; Sun, 26 Sep 2004 20:14:12 +0200 (CEST) (envelope-from malyl@col.cz) Date: Sun, 26 Sep 2004 20:14:10 +0200 (CEST) From: Lukas Maly X-X-Sender: malyl@k2.vol.cz To: freebsd-firewire@freebsd.org Message-ID: <20040926200034.F74021@k2.vol.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Problem with dv-in into dv camera 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 18:14:16 -0000 Hi I have fwohci0: and camera Sony DCR-TRV265E. DV-OUT function corectly with 'fwcontrol -R dvfile.dv' But i have problem with DV-IN. I use this command. --~-- dv#~>fwcontrol -S dvfile.dv PAL 0123456789012345678901234 5678901234567890123456789 0123456789012345678901234 ^C --~-- On camra i press REC. When running 'fwcontrol -S dvfile.dv' on camra i see white icon NTSC (this is incorect). On manual for camra i not fint some seting for this ;-(. When i can play new record on camera. I see only blue screan :-( Thank for your help. by <-- Lukas Maly System Administrator From owner-freebsd-firewire@FreeBSD.ORG Tue Sep 28 16:52:08 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 2ABE616A4CE for ; Tue, 28 Sep 2004 16:52:08 +0000 (GMT) Received: from jane.spg.more.net (jane.spg.more.net [207.160.133.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id D171643D39 for ; Tue, 28 Sep 2004 16:52:07 +0000 (GMT) (envelope-from dan@more.net) Received: by jane.spg.more.net (Postfix, from userid 102) id 83AF413305; Tue, 28 Sep 2004 11:52:05 -0500 (CDT) From: Dan D Niles MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16729.38581.289596.284484@jane.spg.more.net> Date: Tue, 28 Sep 2004 11:52:05 -0500 To: Hidetoshi Shimokawa In-Reply-To: <87isa1me21.wl@tora.nunu.org> References: <20040924084214.F80142@k2.vol.cz> <16723.16610.126531.69247@jane.spg.more.net> <16724.31821.861525.547422@jane.spg.more.net> <87isa1me21.wl@tora.nunu.org> X-Mailer: VM 7.15 under Emacs 21.3.1 cc: freebsd-firewire@freebsd.org Subject: Re: How-To? 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: Tue, 28 Sep 2004 16:52:08 -0000 Hidetoshi Shimokawa writes: > At Fri, 24 Sep 2004 14:58:05 -0500, > > Lukas Maly writes: > > > Hi > > > > > > If you attached firewire cable into card on PC, read messages. > > > > > > tail -f /var/log/messages > > > > > > > I only get: > > > > Sep 24 14:45:01 wallenda kernel: fwohci0: BUS reset > > Sep 24 14:45:01 wallenda kernel: fwohci0: node_id=0x8800ffc0, gen=9, non CYCLEMASTER mode > > Sep 24 14:45:01 wallenda kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me) > > Sep 24 14:45:01 wallenda kernel: firewire0: root node is not cycle master capable > > Sep 24 14:45:01 wallenda kernel: firewire0: bus manager 0 (me) > > > > but that is probably because of the NTFS disk. > > Even if it has only NTFS partitions, you should get 'da0:...' messages. > > > Is "root node is not cycle master capable" something I need to worry > > about? > > Theoretically, it shouldn't matter because cycle master is not > neccessay for asynchronous transaction which is used for SPB-2. > But I found some VIA chips don't work correctly in such situation. > > What is your FreeBSD's version. FreeBSD 5.3 beta 3 > What happens if you run 'fwcontrol -r'? Same output as above. > /\ Hidetoshi Shimokawa > \/ simokawa@sat.t.u-tokyo.ac.jp > PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html