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