Something broke :-( Re: fwcontrol update

Dieter freebsd at sopwith.solgatos.com
Mon Aug 18 21:50:38 UTC 2008


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?


More information about the freebsd-firewire mailing list