Re: de(4) does not work on 8.0-RC1 (was: Re: [patch] de(4) has not worked on 8-current since Feb 13)

From: WATANABE Kazuhiro <CQG00620_at_nifty.ne.jp>
Date: Thu, 24 Sep 2009 20:25:33 +0900
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: <Digital 21140A Fast Ethernet> 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_at_capricorn:/FreeBSD/obj/i386/RELENG_8/FreeBSD/RELENG_8/src/sys/GENERIC  i386
> > 
> >  * SMC EtherPower10/100
> > 
> > > dmesg | grep ^de0
> > de0: <Digital 21140A Fast Ethernet> 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_at_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_at_nifty.ne.jp)
Received on Thu Sep 24 2009 - 09:25:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC