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

Pyun YongHyeon pyunyh at gmail.com
Wed Sep 23 20:01:16 UTC 2009


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: de.busdma.patch
Type: text/x-diff
Size: 6582 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090923/0ceb0763/de.busdma.bin


More information about the freebsd-current mailing list