Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2011 15:10:47 -0700
From:      Sean Bruno <seanbru@yahoo-inc.com>
To:        Kazumaro Aoki <ka@flu.if0.org>
Cc:        "freebsd-firewire@freebsd.org" <freebsd-firewire@freebsd.org>, Dieter BSD <dieterbsd@engineer.com>
Subject:   Re: fwcontrol -R is broken, need help, urgent
Message-ID:  <1314223847.2734.7.camel@hitfishpass-lx.corp.yahoo.com>
In-Reply-To: <1314040120.2560.1.camel@hitfishpass-lx.corp.yahoo.com>
References:  <20110819235902.227920@gmx.com> <20110821.224402.45702056.ka@flu.if0.org> <1314040120.2560.1.camel@hitfishpass-lx.corp.yahoo.com>

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




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