From owner-freebsd-firewire@FreeBSD.ORG Wed Aug 24 22:11:21 2011 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 F1B36106566B for ; Wed, 24 Aug 2011 22:11:21 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.re1.yahoo.com (mrout1-b.corp.re1.yahoo.com [69.147.107.20]) by mx1.freebsd.org (Postfix) with ESMTP id AE7C18FC15 for ; Wed, 24 Aug 2011 22:11:21 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.re1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id p7OMAmoX059666; Wed, 24 Aug 2011 15:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1314223849; bh=guEIDCCXxfNqEw9w2tQWZNVcnZf7Phxpa4yngqASfKI=; h=Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date: Message-ID:Mime-Version:Content-Transfer-Encoding; b=V/3QIWnC1ex8UmpV1lCIQZ9MkUSNOOReoLf2lQP47P1f3Hf0Mi6KWZ6iaJ6MawYeZ d3aNeSioGoDivTDu82OI6AjdJwbOJzVhRjBjlQ2DlZjYH7km11wGqH8qigIvwg3L7+ Bb6ttZHWa/9IQCoPIdDAQQjOwmvm7AdvIMKTvRGI= From: Sean Bruno To: Kazumaro Aoki 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> Content-Type: text/plain; charset="UTF-8" Date: Wed, 24 Aug 2011 15:10:47 -0700 Message-ID: <1314223847.2734.7.camel@hitfishpass-lx.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Content-Transfer-Encoding: 7bit Cc: "freebsd-firewire@freebsd.org" , Dieter BSD Subject: Re: fwcontrol -R is broken, need help, urgent 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: Wed, 24 Aug 2011 22:11:22 -0000 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" > > 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