NetBSD Problem Report #23410
Received: (qmail 3922 invoked by uid 605); 11 Nov 2003 08:37:32 -0000
Message-Id: <20031111083731.AA7B311153@narn.netbsd.org>
Date: Tue, 11 Nov 2003 08:37:31 +0000 (UTC)
From: gilad@romat.com
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: gilad@romat.com
To: gnats-bugs@gnats.NetBSD.org
Subject: Au1x00 Ethernet Driver Malfunction
X-Send-Pr-Version: www-1.0
>Number: 23410
>Category: port-evbmips
>Synopsis: Au1x00 Ethernet Driver Malfunction
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-evbmips-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 11 08:38:00 +0000 2003
>Closed-Date: Tue Nov 11 12:39:18 +0000 2003
>Last-Modified: Tue Nov 11 12:39:18 +0000 2003
>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:
From: Steve Woodford <scw@netbsd.org>
To: gilad@romat.com, gnats-bugs@gnats.NetBSD.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: port-evbmips/23410: Au1x00 Ethernet Driver Malfunction
Date: Tue, 11 Nov 2003 08:57:27 +0000
On Tuesday 11 November 2003 8:37 am, gilad@romat.com wrote:
> >Synopsis: Au1x00 Ethernet Driver Malfunction
[snip]
> 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
[snip]
> 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.
This is almost certainly because you're missing a driver for your
board's PHY.
Add the following line to your kernel config file and try again:
acphy* at mii? phy ? #DAltima AC101 and AMD Am79c874 PHYs
Cheers, Steve
From: "Gilad Rom" <gilad@romat.com>
To: "Steve Woodford" <scw@netbsd.org>, <gnats-bugs@gnats.NetBSD.org>
Cc: <netbsd-bugs@netbsd.org>
Subject: Re: port-evbmips/23410: Au1x00 Ethernet Driver Malfunction
Date: Tue, 11 Nov 2003 11:22:02 +0200
Well, This is what we call a "Quick Fix" over here! ;)
Thanks, that did the trick.
Could you please tell me where that is documented,
so I can avoid sending PR's needlessly? I've searched
high and low and this, but to no avail...
Thanks again, Gilad.
----- Original Message -----
From: "Steve Woodford" <scw@netbsd.org>
To: <gilad@romat.com>; <gnats-bugs@gnats.NetBSD.org>
Cc: <netbsd-bugs@netbsd.org>
Sent: Tuesday, November 11, 2003 10:57 AM
Subject: Re: port-evbmips/23410: Au1x00 Ethernet Driver Malfunction
> On Tuesday 11 November 2003 8:37 am, gilad@romat.com wrote:
>
> > >Synopsis: Au1x00 Ethernet Driver Malfunction
>
> [snip]
>
> > 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
>
> [snip]
>
> > 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.
>
> This is almost certainly because you're missing a driver for your
> board's PHY.
>
> Add the following line to your kernel config file and try again:
>
> acphy* at mii? phy ? #DAltima AC101 and AMD Am79c874 PHYs
>
> Cheers, Steve
>
>
From: Steve Woodford <scw@netbsd.org>
To: "Gilad Rom" <gilad@romat.com>, <gnats-bugs@gnats.NetBSD.org>
Cc: <netbsd-bugs@netbsd.org>
Subject: Re: port-evbmips/23410: Au1x00 Ethernet Driver Malfunction
Date: Tue, 11 Nov 2003 09:43:54 +0000
On Tuesday 11 November 2003 9:22 am, Gilad Rom wrote:
> Could you please tell me where that is documented,
> so I can avoid sending PR's needlessly? I've searched
> high and low and this, but to no avail...
Well in theory you should be able to look up the manual page for the
ethernet driver (aumac), which will usually reference the mii(4)
driver, which documents all the supported ethernet PHYs.
Right now, Au1x00 ethernet is missing its manual page (which deserves a
PR in its own right)...
If you're not sure whether something is a bug, you can always ask the
question on one of the mailing lists. In this case, port-evbmips and/or
netbsd-users would have been a good choice.
Cheers, Steve
State-Changed-From-To: open->closed
State-Changed-By: scw
State-Changed-When: Tue Nov 11 12:38:55 GMT 2003
State-Changed-Why:
Missing acphy device in kernel config file.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.