Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2008 14:48:56 +0100
From:      Dieter <freebsd@sopwith.solgatos.com>
To:        Sean Bruno <sbruno@miralink.com>
Cc:        Scott Long <scottl@samsco.org>, freebsd-firewire@freebsd.org
Subject:   Something broke  :-(  Re: fwcontrol update 
Message-ID:  <200808182148.VAA27124@sopwith.solgatos.com>
In-Reply-To: Your message of "Mon, 18 Aug 2008 12:21:25 PDT." <48A9CBB5.6030402@miralink.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808182148.VAA27124>