Subject: aue0 interferes with ne0
To: <>
From: Markus Kurek <>
List: current-users
Date: 02/07/2001 00:51:56

Recently I added an USB<->Ethernet device for my adsl link at home.
The device works as expected and rp-pppoe does its job too. 
The big downside is that the ne0 device reports lots of 
"receiver ring buffer overrun" messages if aue0 is configured up.
A simple 'ifconfig aue0 up' with no other arguments like IP number is
enough to
bring down the performance of ne0.  

Jan 27 17:00:05 floops /netbsd: ne0: warning - receiver ring buffer
Jan 27 17:00:41 floops last message repeated 5 times
Jan 27 17:02:46 floops last message repeated 16 times
Jan 27 17:12:45 floops last message repeated 99 times
Jan 27 17:22:47 floops last message repeated 66 times
Jan 27 17:32:42 floops last message repeated 98 times
Jan 27 17:34:50 floops last message repeated 18 times

The performance of ne0 drops from the expected >900Kb/s to 300-350Kb/s
even if the pppoe link is down and the aue0 device is idle.
After an 'ifconfig aue0 down' ne0 works fine again.

here are the relevant parts of dmesg:

Feb  6 22:12:35 floops /netbsd: NetBSD 1.5.1_ALPHA (FLOOPS) #7: Tue Feb 
6 19:26:24 CET 2001
Feb  6 22:12:35 floops /netbsd: cpu0: Intel Pentium II (Deschutes)

Feb  6 22:12:37 floops /netbsd: ne0 at isa0 port 0x340-0x35f irq 5
Feb  6 22:12:37 floops /netbsd: ne0: NE2000 (RTL8019) Ethernet
Feb  6 22:12:37 floops /netbsd: ne0: 10base2, 10baseT, 10baseT-FDX,
auto, default [0x00 0x30] auto

Feb  6 22:12:39 floops /netbsd: aue0 at uhub0 port 1
Feb  6 22:12:39 floops /netbsd: aue0: USBs USB 10/100 Fast Ethernet, rev
1.10/1.01, addr 2
Feb  6 22:12:39 floops /netbsd: aue0: Ethernet address 00:50:ba:75:89:d8
Feb  6 22:12:39 floops /netbsd: ukphy0 at aue0 phy 0: Generic IEEE
802.3u media interface
Feb  6 22:12:39 floops /netbsd: ukphy0: OUI 0x001018, model 0x0021, rev.
Feb  6 22:12:39 floops /netbsd: ukphy0: 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

If the aue0 interface is configured and idle systat reports a constant
number (16) 
of IRQs on the usb device.

Any patches are greatly appreciated ;)