From owner-freebsd-firewire@FreeBSD.ORG Mon Oct 10 11:01:49 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 D0DD316A41F for ; Mon, 10 Oct 2005 11:01:49 +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 9D3E543D45 for ; Mon, 10 Oct 2005 11:01:49 +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 j9AB1n5B051239 for ; Mon, 10 Oct 2005 11:01:49 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9AB1m5j051234 for freebsd-firewire@freebsd.org; Mon, 10 Oct 2005 11:01:48 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 10 Oct 2005 11:01:48 GMT Message-Id: <200510101101.j9AB1m5j051234@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, 10 Oct 2005 11:01:49 -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 Wed Oct 12 17:59:06 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 834AE16A41F for ; Wed, 12 Oct 2005 17:59:06 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id D29DF43D66 for ; Wed, 12 Oct 2005 17:58:58 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so109882wxc for ; Wed, 12 Oct 2005 10:58:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=PYLJBnsAozj9TpyNrpfkOzJZ3gWpRoibMjblFRAk/YabpTL0JAi6zCJQotZHouWcZACTp6/38MYbPahOO598eoRk8PfGg3RxutAniBBydOpHfaiDKFPEd+4KwN3+1Fh1/O6zdt+ShPSJeOoaKATayiy5KBgXA3kVBRC/ua1t0Q4= Received: by 10.70.51.7 with SMTP id y7mr255307wxy; Wed, 12 Oct 2005 10:58:57 -0700 (PDT) Received: by 10.70.11.18 with HTTP; Wed, 12 Oct 2005 10:58:57 -0700 (PDT) Message-ID: <2b22951e0510121058u49cccf20kddd55352543c2304@mail.gmail.com> Date: Wed, 12 Oct 2005 10:58:57 -0700 From: "Cai, Quanqing" To: freebsd-current@freebsd.org, freebsd-drivers@freebsd.org, freebsd-firewire@freebsd.org, freebsd-net@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: kiyohara@kk.iij4u.or.jp Subject: Regarding kern/73852, please help to apply the patch thus we can close this bug. 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, 12 Oct 2005 17:59:06 -0000 Hi guys, I noticed there is bug filed by KIYOHARA Takashi with a patch, link is here: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/73852, I tested if_fwip w= ith this patch, it works great for me. When we switch byte-order two times on i386, the byte-order will back to original. if you look at the files src/lib/libc/i386/net/ntohl.S and src/lib/libc/i386/net/htonl.S, you will find exact same code: movl 4(%esp),%eax bswap %eax ret This tells everything. So I hope somebody can apply the patch made by KIYOHARA Takashi and close this bug. Thanks Cai, Quanqing From owner-freebsd-firewire@FreeBSD.ORG Wed Oct 12 18:50:59 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 9F69916A420 for ; Wed, 12 Oct 2005 18:50:59 +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 123C043D4C for ; Wed, 12 Oct 2005 18:50:57 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so117404wxc for ; Wed, 12 Oct 2005 11:50:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Vk10lzzcanNDb607JybyMjZK739D4MvyU4lRjAo3TwTbjACmVFC6WtAp/l5a17YbILnToYd8eUSpWs5Fn8Z5hWq0125G1n6+9UwHTIYqHcxczj9gl88s4B1VaWaeCmpD/8wR5BhT1VXklMlZfelc6mgAJgrzY+MF3astKowSxgo= Received: by 10.70.87.14 with SMTP id k14mr283476wxb; Wed, 12 Oct 2005 11:50:57 -0700 (PDT) Received: by 10.70.11.18 with HTTP; Wed, 12 Oct 2005 11:50:57 -0700 (PDT) Message-ID: <2b22951e0510121150o7be85033ic054cabed7e94e5e@mail.gmail.com> Date: Wed, 12 Oct 2005 11:50:57 -0700 From: "Cai, Quanqing" To: freebsd-current@freebsd.org, freebsd-drivers@freebsd.org, freebsd-firewire@freebsd.org, freebsd-net@freebsd.org In-Reply-To: <2b22951e0510121058u49cccf20kddd55352543c2304@mail.gmail.com> MIME-Version: 1.0 References: <2b22951e0510121058u49cccf20kddd55352543c2304@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: kiyohara@kk.iij4u.or.jp Subject: Re: Regarding kern/73852, please help to apply the patch thus we can close this bug. 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, 12 Oct 2005 18:50:59 -0000 Forget to mention that my test machines, one is 7.0-CURRENT, another one is FreeBSD 6.0-RC1. So I think we can MFC to 6.x too. Cai, Quanqing On 10/12/05, Cai, Quanqing wrote: > > Hi guys, > > I noticed there is bug filed by KIYOHARA Takashi > with a patch, link is here: > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/73852, I tested if_fwip > with this patch, it works great for me. When we switch byte-order two tim= es > on i386, the byte-order will back to original. if you look at the files > src/lib/libc/i386/net/ntohl.S and src/lib/libc/i386/net/htonl.S, you will > find exact same code: > > movl 4(%esp),%eax > bswap %eax > ret > > This tells everything. > > So I hope somebody can apply the patch made by KIYOHARA Takashi and close > this bug. > > Thanks > Cai, Quanqing From owner-freebsd-firewire@FreeBSD.ORG Wed Oct 12 19:13:29 2005 Return-Path: X-Original-To: freebsd-firewire@hub.freebsd.org Delivered-To: freebsd-firewire@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E19916A420; Wed, 12 Oct 2005 19:13:29 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 487D243D45; Wed, 12 Oct 2005 19:13:29 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9CJDTT1042755; Wed, 12 Oct 2005 19:13:29 GMT (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9CJDT3A042751; Wed, 12 Oct 2005 13:13:29 -0600 (MDT) (envelope-from imp) Date: Wed, 12 Oct 2005 13:13:29 -0600 (MDT) From: Warner Losh Message-Id: <200510121913.j9CJDT3A042751@freefall.freebsd.org> To: kiyohara@kk.iij4u.or.jp, imp@FreeBSD.org, freebsd-firewire@FreeBSD.org Cc: Subject: Re: kern/73852: [patch] [firewire] Not htonl() but ntohl() in if_fwsubr.c 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, 12 Oct 2005 19:13:29 -0000 Synopsis: [patch] [firewire] Not htonl() but ntohl() in if_fwsubr.c State-Changed-From-To: open->closed State-Changed-By: imp State-Changed-When: Wed Oct 12 13:13:06 MDT 2005 State-Changed-Why: Looks good, applied! No need to merge this specifically, so closed. http://www.freebsd.org/cgi/query-pr.cgi?pr=73852 From owner-freebsd-firewire@FreeBSD.ORG Sat Oct 15 00:58:40 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 065D816A421 for ; Sat, 15 Oct 2005 00:58:40 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBEDA43D45 for ; Sat, 15 Oct 2005 00:58:38 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: by xproxy.gmail.com with SMTP id t6so32288wxc for ; Fri, 14 Oct 2005 17:58:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=l1U5HrMLfKc1SYL24Fbv1/p90kp5ZKLZhAKv3JQ/ux3MpwrQKfnSZ7cNqGZWLKASRK1P6gJiT7d4eMeSjhMtOkg5er6CKxID6t0BoNDE7nwvkgvI5IpIZt5siOCRYt8G8YJNZSdie7edW/iIa5kXgyX2CxMp1yJvERnwLdv0hsM= Received: by 10.70.40.11 with SMTP id n11mr1474350wxn; Fri, 14 Oct 2005 17:58:38 -0700 (PDT) Received: by 10.70.11.18 with HTTP; Fri, 14 Oct 2005 17:58:38 -0700 (PDT) Message-ID: <2b22951e0510141758x1edef8jf7caf2514c336514@mail.gmail.com> Date: Fri, 14 Oct 2005 17:58:38 -0700 From: "Cai, Quanqing" To: freebsd-firewire@freebsd.org, freebsd-arch@freebsd.org, freebsd-net@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: Tai-hwa Liang Subject: fwe -> fwip in GENERIC? 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: Sat, 15 Oct 2005 00:58:40 -0000 Hi guys, When I was fixing bug kern/82727: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/82727, I found we use fwe(Ethernet over FireWire) in GENERIC kernel, not fwip(IP over FireWire). But we all know that IP over FireWire is more widely used on other OSes, an= d now this bug is fixed, do we need change fwe to fwip? I talked it with Tai-hwa Liang, he agrees with me. But he suggests me to post here for more advices, since there might be some considerations such like backward compatibility or code size that makes re@ made this decision. Please give you advice or opinion. Best Cai, Quanqing From owner-freebsd-firewire@FreeBSD.ORG Sat Oct 15 02:35:59 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 9AD1616A41F; Sat, 15 Oct 2005 02:35:59 +0000 (GMT) (envelope-from ikob@koganei.wide.ad.jp) Received: from ns.koganei.wide.ad.jp (ns.koganei.wide.ad.jp [202.249.37.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2344443D45; Sat, 15 Oct 2005 02:35:58 +0000 (GMT) (envelope-from ikob@koganei.wide.ad.jp) Received: from [10.0.1.3] (235.pool7.dsl24mtokyo.att.ne.jp [165.76.174.235]) (authenticated bits=0) by ns.koganei.wide.ad.jp (8.12.11/8.12.11) with ESMTP id j9F2ZtRR036190; Sat, 15 Oct 2005 11:35:56 +0900 (JST) (envelope-from ikob@koganei.wide.ad.jp) In-Reply-To: <2b22951e0510141758x1edef8jf7caf2514c336514@mail.gmail.com> References: <2b22951e0510141758x1edef8jf7caf2514c336514@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Katsushi Kobayashi Date: Sat, 15 Oct 2005 11:35:55 +0900 To: "Cai, Quanqing" X-Mailer: Apple Mail (2.734) Cc: freebsd-net@freebsd.org, Tai-hwa Liang , freebsd-firewire@freebsd.org, freebsd-arch@freebsd.org Subject: Re: fwe -> fwip in GENERIC? 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: Sat, 15 Oct 2005 02:35:59 -0000 Hi, Although I don't know the detail of fwe technology, I understand the technology is a proprietary one. It is better to provide a compatibility with RFC standard firewire over IP, if some volunteer are there. On 2005/10/15, at 9:58, Cai, Quanqing wrote: > Hi guys, > > When I was fixing bug kern/82727: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/82727, I found we use > fwe(Ethernet over FireWire) in GENERIC kernel, not fwip(IP over > FireWire). > But we all know that IP over FireWire is more widely used on other > OSes, and > now this bug is fixed, do we need change fwe to fwip? > > I talked it with Tai-hwa Liang, he agrees with me. But he suggests > me to > post here for more advices, since there might be some > considerations such > like backward compatibility or code size that makes re@ made this > decision. > > Please give you advice or opinion. > > Best > Cai, Quanqing > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch- > unsubscribe@freebsd.org" >