From owner-freebsd-firewire@FreeBSD.ORG Mon Oct 3 11:02:21 2005 Return-Path: X-Original-To: freebsd-firewire@freebsd.org Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4122516A41F for ; Mon, 3 Oct 2005 11:02:21 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 489BB43D4C for ; Mon, 3 Oct 2005 11:02:09 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j93B29AM066213 for ; Mon, 3 Oct 2005 11:02:09 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j93B28ca066207 for freebsd-firewire@freebsd.org; Mon, 3 Oct 2005 11:02:08 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 3 Oct 2005 11:02:08 GMT Message-Id: <200510031102.j93B28ca066207@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-firewire@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 03 Oct 2005 11:02:21 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/11/12] kern/73852 firewire [patch] [firewire] Not htonl() but ntohl( o [2004/11/22] kern/74238 firewire [firewire] fw_rcv: unknown response; fire o [2005/06/28] kern/82727 firewire [modules] kernel module if_fwip fails to 3 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/12/12] kern/74977 firewire [modules] dcons.ko requires KDB support 1 problem total. From owner-freebsd-firewire@FreeBSD.ORG Tue Oct 4 03:51:47 2005 Return-Path: X-Original-To: freebsd-firewire@FreeBSD.org Delivered-To: freebsd-firewire@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CDDA16A421 for ; Tue, 4 Oct 2005 03:51:47 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86AFA43D46 for ; Tue, 4 Oct 2005 03:51:46 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so79200wxc for ; Mon, 03 Oct 2005 20:51:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type; b=LoTujbOPuopRhgdxRN1cx4Ouhdg6Jpbh9eIpuFmuMPWqT9xhKbGFE69Wl6K7AB4owrI7AiRlJ/oAFjSGg3yMunVWlPeV7Qxex4L57lLlm/8NvcaqTAMGzlkyfMJ873lMkiL9hUpcFQGmPa/ZzdNPVSIAXPKMQkxsW1S0L6rc17I= Received: by 10.70.131.4 with SMTP id e4mr545667wxd; Mon, 03 Oct 2005 20:51:45 -0700 (PDT) Received: by 10.70.11.18 with HTTP; Mon, 3 Oct 2005 20:51:45 -0700 (PDT) Message-ID: <2b22951e0510032051v781bfebej3c5250a3741fd31d@mail.gmail.com> Date: Mon, 3 Oct 2005 20:51:45 -0700 From: "Cai, Quanqing" To: freebsd-firewire@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: dfr@freebsd.org, nike_d@cytexbg.com Subject: kern/82727 : [modules] kernel module if_fwip fails to load, machine panics if compiled in kernel X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Cai, Quanqing" List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 03:51:47 -0000 Hi guys, For kern/82727 I dig into source and find some clues as below. In file /sys/net/if_fwsubr.c we have following lines: DECLARE_MODULE(firewire, firewire_mod, SI_SUB_INIT_IF, SI_ORDER_ANY); MODULE_VERSION(firewire, 1); In file /sys/dev/firewire/firewire.c we also have conflict lines: DRIVER_MODULE(firewire,fwohci,firewire_driver,firewire_devclass,fw_modevent= ,0); MODULE_VERSION(firewire, 1); So it's very clear where problem is in.I just make some simple changes in file /sys/net/if_fwsubr.c and fwip works: change firewire to firewire_media= . I will try to find another computer to test if linking two computers throug= h fwip works. BR Cai, Quanqing From owner-freebsd-firewire@FreeBSD.ORG Thu Oct 6 06:14:14 2005 Return-Path: X-Original-To: freebsd-firewire@freebsd.org Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FBF016A420 for ; Thu, 6 Oct 2005 06:14:14 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09E1543D48 for ; Thu, 6 Oct 2005 06:14:10 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: by xproxy.gmail.com with SMTP id t4so213820wxc for ; Wed, 05 Oct 2005 23:14:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=ClshyQAFPL+rJp/brij7SzmdL+FY5t0PSUJiBArRUeGQVwX92v9DeB8eyMyiClhUy2am+Q/P2JUTzmrSwIYacZJVXFip/j2DqXWQLA4OYo00UwEsHVlp0ymK4vQ2WShQJMEg6DaHt1XBAXHzOQq5xb6FPjzUf4l3ewunLLh3lfU= Received: by 10.70.18.9 with SMTP id 9mr964485wxr; Wed, 05 Oct 2005 23:14:10 -0700 (PDT) Received: by 10.70.11.18 with HTTP; Wed, 5 Oct 2005 23:14:10 -0700 (PDT) Message-ID: <2b22951e0510052314m524a3767u64df1aeb679689c@mail.gmail.com> Date: Wed, 5 Oct 2005 23:14:10 -0700 From: "Cai, Quanqing" To: freebsd-firewire@freebsd.org, freebsd-drivers@freebsd.org, freebsd-current@freebsd.org In-Reply-To: <2b22951e0510032051v781bfebej3c5250a3741fd31d@mail.gmail.com> MIME-Version: 1.0 References: <2b22951e0510032051v781bfebej3c5250a3741fd31d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: kern/82727 : [modules] kernel module if_fwip fails to load, machine panics if compiled in kernel X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Cai, Quanqing" List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 06:14:14 -0000 I have posted this message to freebsd-firewire@freebsd.org, but looks nobod= y care about it:( Anybody review and commit it? I already tested it on my two systems, one is FreeBSD 6.0-BETA5, another is FreeBSD 7.0-CURRENT, and works great, I can scp file at 8MBytes/s. Here is diff: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/net/if_fwsubr.c Wed Oct 5 23:01:19 2005 +++ if_fwsubr.c Wed Oct 5 22:55:08 2005 @@ -850,10 +850,10 @@ } static moduledata_t firewire_mod =3D { - "firewire", + "firewire_media", firewire_modevent, 0 }; -DECLARE_MODULE(firewire, firewire_mod, SI_SUB_INIT_IF, SI_ORDER_ANY); -MODULE_VERSION(firewire, 1); +DECLARE_MODULE(firewire_media, firewire_mod, SI_SUB_INIT_IF, SI_ORDER_ANY)= ; +MODULE_VERSION(firewire_media, 1); =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D BR Cai, Quanqing On 10/3/05, Cai, Quanqing wrote: > > Hi guys, > > For kern/82727 I dig into source and find some clues as below. > > In file /sys/net/if_fwsubr.c we have following lines: > DECLARE_MODULE(firewire, firewire_mod, SI_SUB_INIT_IF, SI_ORDER_ANY); > MODULE_VERSION(firewire, 1); > > In file /sys/dev/firewire/firewire.c we also have conflict lines: > > DRIVER_MODULE(firewire,fwohci,firewire_driver,firewire_devclass,fw_modeve= nt,0); > MODULE_VERSION(firewire, 1); > > So it's very clear where problem is in.I just make some simple changes in > file /sys/net/if_fwsubr.c and fwip works: change firewire to firewire_med= ia. > > I will try to find another computer to test if linking two computers > through fwip works. > > BR > Cai, Quanqing >