From owner-freebsd-firewire@FreeBSD.ORG Mon Aug 18 21:50:38 2008 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04269106567B; Mon, 18 Aug 2008 21:50:38 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 647AA8FC1F; Mon, 18 Aug 2008 21:50:37 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m7ILoUQ52043; Mon, 18 Aug 2008 14:50:30 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id VAA27124; Mon, 18 Aug 2008 21:48:56 GMT Message-Id: <200808182148.VAA27124@sopwith.solgatos.com> To: Sean Bruno In-reply-to: Your message of "Mon, 18 Aug 2008 12:21:25 PDT." <48A9CBB5.6030402@miralink.com> Date: Mon, 18 Aug 2008 14:48:56 +0100 From: Dieter Cc: Scott Long , freebsd-firewire@freebsd.org Subject: Something broke :-( Re: fwcontrol update 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, 18 Aug 2008 21:50:38 -0000 Am I correct in assuming that none of this stuff that fwcontrol sets should carry across a reboot? And that the firewire controller should get completely reset by a reboot? I'm getting some bad results. Attempt to recover: Changed symlink from current fwcontrol to known working fwcontrol_prev. Powered off camcorder. Rebooted FreeBSD. Powered on camcorder. Ran fix_dv script to get FreeBSD into "non CYCLEMASTER mode". fwcontrol -u 1 -f 0 fwcontrol -u 1 -r Start playing a tape (so I can run fwcontrol -R) FreeBSD console starts spewing: fwohci1: Initiate bus reset fwohci1: BUS reset fwohci1: node_id=0x8000ffc0, gen=4, non CYCLEMASTER mode <-- from fix_dv script firewire1: 2 nodes, maxhop <= 1, cable IRM = 1 fwohci1: BUS reset fwohci1: node_id=0xc000ffc1, gen=7, CYCLEMASTER mode firewire1: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire1: bus manager 1 (me) got BUSRST packet!? fwohci1: BUS reset fwohci1: node_id=0xc000ffc1, gen=8, CYCLEMASTER mode firewire1: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire1: bus manager 1 (me) fwohci1: BUS reset fwohci1: node_id=0xc000ffc0, gen=12, CYCLEMASTER mode firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire1: bus manager 0 (me) got BUSRST packet!? got BUSRST packet!? got BUSRST packet!? fwohci1: BUS reset fwohci1: node_id=0xc000ffc1, gen=33, CYCLEMASTER mode firewire1: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire1: bus manager 0 fwohci1: BUS reset fwohci1: node_id=0xc000ffc0, gen=38, CYCLEMASTER mode firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire1: bus manager 0 (me) got BUSRST packet!? got BUSRST packet!? fwohci1: BUS reset fwohci1: node_id=0xc000ffc1, gen=57, CYCLEMASTER mode firewire1: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire1: bus manager 0 fwohci1: BUS reset fwohci1: node_id=0xc000ffc0, gen=62, CYCLEMASTER mode firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire1: bus manager 0 (me) got BUSRST packet!? got BUSRST packet!? got BUSRST packet!? fwohci1: BUS reset ... fwohci1: node_id=0xc000ffc0, gen=122, CYCLEMASTER mode firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire1: bus manager 0 (me) got BUSRST packet!? got BUSRST packet!? fwohci1: BUS reset fwohci1: node_id=0xc000ffc1, gen=144, CYCLEMASTER mode firewire1: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire1: bus manager 0 Stopping the camcorder stops the spewing. Needless to say, fwcontrol -R no longer works. I ran the fixit script again, and fwcontrol -S does work. I notice that it doesn't print every generation. I notice that the node_id changes. FreeBSD 7.0 AMD64 fw controller: NEC uPD72871/2 Ideas?