Subject: port-evbmips/23410: Au1x00 Ethernet Driver Malfunction
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <gilad@romat.com>
List: netbsd-bugs
Date: 11/11/2003 08:37:31
>Number:         23410
>Category:       port-evbmips
>Synopsis:       Au1x00 Ethernet Driver Malfunction
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-evbmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 11 08:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gilad Rom
>Release:        -current
>Organization:
Romat Telecom
>Environment:
Loaded initial symtab at 0x801f52a0, strtab at 0x80205044, # entries 3994
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6ZE (MFS) #2: Tue Nov 11 10:06:23 IST 2003
	gilad@gateway:/usr/obj/sys/arch/evbmips/compile/MFS
Alchemy Semiconductor Pb1000
total memory = 65536 KB
avail memory = 49936 KB
using 844 buffers containing 3376 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 396.00MHz (hz cycles = 773438, delay divisor = 396)
cpu0: Alchemy Au1100 (Rev 2 core) (0x2030202) Rev. 2 with software emulated floating point
cpu0: 16KB/32B 4-way set-associative L1 Instruction cache, 32 TLB entries
cpu0: 16KB/32B 4-way set-associative write-back L1 Data cache
obio0 at mainbus0
pcmcia at obio0 not configured
lcd at obio0 not configured
flash at obio0 not configured
aubus0 at mainbus0
aucom0 at aubus0 addr 0x11100000 irq 0: Au1X00 UART, working fifo
aucom0: console
aucom1 at aubus0 addr 0x11200000 irq 1: Au1X00 UART, working fifo
aucom2 at aubus0 addr 0x11400000 irq 3: Au1X00 UART, working fifo
aurtc0 at aubus0 addr 0x0: Au1X00 programmable clock
aumac0 at aubus0 addr 0x10500000 irq 28: Au1X00 10/100 Ethernet
aumac0: Ethernet address 00:50:c2:0c:34:91
OUI 0x0010a9 model 0x0021 rev 11 at aumac0 phy 31 not configured
auaudio at aubus0 addr 0x10000000 irq 27,31 not configured
ohci at aubus0 addr 0x10100000 irq 26 not configured
usbd at aubus0 addr 0x10200000 irq 24,25 not configured
irda at aubus0 addr 0x10300000 irq 22,23 not configured
gpio at aubus0 addr 0x11900000 not configured
gpio2 at aubus0 addr 0x11700000 irq 29 not configured
i2s at aubus0 addr 0x11000000 irq 30 not configured
ssi at aubus0 addr 0x11600000 irq 4 not configured
ssi at aubus0 addr 0x11680000 irq 5 not configured
sd0 at aubus0 addr 0x10600000 irq 5 not configured
sd1 at aubus0 addr 0x10680000 irq 5 not configured
md0: internal 8192 KB image area
root on md0a dumps on md0b
mountroot: trying nfs...
mountroot: trying ffs...
readclock: 1873/11/12/10/5/35
WARNING: preposterous clock chip time
setclock: 3/11/11/8/6/43
 -- CHECK AND RESET THE DATE!
root file system type: ffs
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11


>Description:
It appears that the Ethernet interface on the Au1100 chip
cannot receive at full speed - Whatever I try, I cannot
get it to operate at over 1.5Mbps. 
Sending through the Interface is fine, as it operates at 70-80Mbps.
Replacing the Switch/Ethernet Cable does not change the results.
>How-To-Repeat:
Use any means of TCP/IP transport on top of the Au1100
(Gateway, direct FTP transfer). 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: