fwcontrol -R is broken, need help, urgent

Sean Bruno seanbru at yahoo-inc.com
Wed Aug 24 22:11:22 UTC 2011


On Mon, 2011-08-22 at 12:08 -0700, Sean Bruno wrote:
> On Sun, 2011-08-21 at 06:44 -0700, Kazumaro Aoki wrote:
> > From: "Dieter BSD" <dieterbsd at engineer.com>
> > Subject: fwcontrol -R is broken, need help, urgent
> > Date: Fri, 19 Aug 2011 23:59:01 +0000
> > 
> > > "fwcontrol -R foo.dv" gives:
> > > fwcontrol: detect_recv_fn: ioctl FW_SSTBUF: Bad file descriptor
> > > 
> > > I tried both controllers (-u 0, -u 1), same result.
> > > 
> > > I know that -R worked under 6.x with the VIA controller.
> > > (Still can't do -S with the VIA due to the cyclemaster PR.)
> > > I'm fairly sure that -R worked with the NEC under 6.x and 7.x.
> > 
> > I met the same problem, and I use fwcontrol in 6R on 8R box.
> > Fortunately, I noticed the problem when I used 6R on a different PC,
> > and I made the statically linked fwcontrol binary on 6R machine, and I
> > kept it.
> > 
> > Kazumaro
> > _______________________________________________
> 
> Ugh, I see one obvious problem, the device wasn't open at all when
> detect_recv_fn() was called.  Try this patch:
> 
> http://people.freebsd.org/~sbruno/fwcontrol.diff
> 
> Sean
> 


Please try this patch sooner rather than later.  I'd like to get it
patched pre-9.0 at a minimum if this resolves the issues.

sean



More information about the freebsd-firewire mailing list