From owner-freebsd-current@FreeBSD.ORG Thu Sep 24 11:25:34 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93C94106566C for ; Thu, 24 Sep 2009 11:25:34 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail1.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id 6244D8FC15 for ; Thu, 24 Sep 2009 11:25:34 +0000 (UTC) Received: from asahi-net.jp (l205214.dynamic.ppp.asahi-net.or.jp [218.219.205.214]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id 1377D83D2D; Thu, 24 Sep 2009 20:25:33 +0900 (JST) Date: Thu, 24 Sep 2009 20:25:33 +0900 From: WATANABE Kazuhiro To: Pyun YongHyeon In-Reply-To: <20090923200026.GC1099@michelle.cdnetworks.com> References: <20081210125627.25732615CD@mail.asahi-net.or.jp> <494019AB.3020505@samsco.org> <20081211130057.B53EE5D0A4@mail.asahi-net.or.jp> <7d6fde3d0812111253n4b8f7135n76e9cef63158943e@mail.gmail.com> <20081212153714.3E15760FA3@mail.asahi-net.or.jp> <20090923164246.E5F8882365@mail1.asahi-net.or.jp> <20090923200026.GC1099@michelle.cdnetworks.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20090924112533.1377D83D2D@mail1.asahi-net.or.jp> Cc: freebsd-current Subject: Re: de(4) does not work on 8.0-RC1 (was: Re: [patch] de(4) has not worked on 8-current since Feb 13) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2009 11:25:34 -0000 At Wed, 23 Sep 2009 13:00:26 -0700, Pyun YongHyeon wrote: > On Thu, Sep 24, 2009 at 01:42:46AM +0900, WATANABE Kazuhiro wrote: > > Hi, all. > > > > This problem still exists on 8.0-RC1. Does anyone have the same > > problem? > > > > I have two de(4) based NICs and they works well with 7.2-RELEASE. > > On 8.0-RC1, they cannot send any (almost all) data from it. > > > > * Corega FastEther PCI-TX > > > > > dmesg | grep ^de0 > > de0: port 0xe000-0xe07f mem 0xd9001000-0xd900107f irq 12 at device 15.0 on pci0 > > de0: 21140A [10-100Mb/s] pass 2.2 > > de0: WARNING: using obsoleted if_watchdog interface > > de0: Ethernet address: 00:00:f4:xx:xx:xx > > de0: [ITHREAD] > > > uname -a > > FreeBSD scorpio.sign.local 8.0-RC1 FreeBSD 8.0-RC1 #1: Wed Sep 23 00:44:22 JST 2009 nabe@capricorn:/FreeBSD/obj/i386/RELENG_8/FreeBSD/RELENG_8/src/sys/GENERIC i386 > > > > * SMC EtherPower10/100 > > > > > dmesg | grep ^de0 > > de0: port 0x6000-0x607f mem 0x20410000-0x2041007f irq 3 at device 13.0 on pci0 > > de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0 > > de0: WARNING: using obsoleted if_watchdog interface > > de0: Ethernet address: 00:00:c0:xx:xx:xx > > de0: [ITHREAD] > > > uname -a > > FreeBSD aries.sign.local 8.0-RC1 FreeBSD 8.0-RC1 #0: Fri Sep 18 07:57:47 UTC 2009 root@asuna:/usr/obj/pc98/usr/src/sys/GENERIC pc98 > > > > > > Hi, > > I'm not familiar with de(4) and didn't have chance to read data > sheet. So I'm not sure whether what alignment restriction the > controller has but PAGE_SIZE alignment for descriptors looks wrong. > As John said I think Tx buffer has no alignment limitation. Here is > guess work, would you give it try? (snip) Hi. Thanks for your reply. They works well again on 8.0-RC1 with your patch. Thanks again! --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp)