From owner-freebsd-firewire@FreeBSD.ORG Thu Aug 25 02:34:07 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 5470E106566B for ; Thu, 25 Aug 2011 02:34:07 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from mailout-us.mail.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id F37968FC14 for ; Thu, 25 Aug 2011 02:34:06 +0000 (UTC) Received: (qmail 7731 invoked by uid 0); 25 Aug 2011 02:34:05 -0000 Received: from 67.206.163.230 by rms-us007.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Thu, 25 Aug 2011 02:34:04 +0000 From: "Dieter BSD" Message-ID: <20110825023405.227920@gmx.com> MIME-Version: 1.0 To: freebsd-firewire@freebsd.org X-Authenticated: #74169980 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: r41mdj1tlHK1IRfSAGVn6jE5MjQ1N10s 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: Thu, 25 Aug 2011 02:34:07 -0000 Hi 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. I'll look at your patch as soon as I get a chance. I did manage to figure out that rearranging the arguments worked around the problem. If we want the 9.0 fwcontrol to work, doesn't kern/144843 need to be fixed?  I'm not sure whether to blame the kernel (shouldn't panic unless someone is doing something really screwy like writing random junk into /dev/kmem) or the compiler (maybe generating code that does something sufficiently screwy that the kernel can't defend against it).