From owner-freebsd-sparc Sun May 26 22:49:46 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by hub.freebsd.org (Postfix) with ESMTP id 465CE37B404 for ; Sun, 26 May 2002 22:49:31 -0700 (PDT) Received: (from jake@localhost) by k6.locore.ca (8.11.6/8.11.6) id g4R643D18213; Mon, 27 May 2002 02:04:03 -0400 (EDT) (envelope-from jake) Date: Mon, 27 May 2002 02:04:03 -0400 From: Jake Burkholder To: Alex Deiter Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: problem with gem on receive: MAC rx fault, status 3 Message-ID: <20020527020403.K62759@locore.ca> References: <616092620.20020523092222@komi.mts.ru> <20020526083846.B8434@dragon.nuxi.com> <106342023423.20020527082907@komi.mts.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <106342023423.20020527082907@komi.mts.ru>; from tiamat@komi.mts.ru on Mon, May 27, 2002 at 08:29:07AM +0400 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Mon, May 27, 2002 at 08:29:07AM +0400, Alex Deiter said words to the effect of; > Hello David, > > Sunday, May 26, 2002, 7:38:46 PM, you wrote: > > >> > \ > >> \: unknown command > >> ^^^^^^^^^^^^^^^^^^^ > >> >>>> Why there is this error? > > DOB> The loader does not have Ficl support yet, and thus cannot properly > DOB> interrupt one of the start up scripts. You can ignore this "error"; it > DOB> hurts nothing right now. > > Thanks! > > On Netra T1 installed two 10/100 Mbps ethernet ports. Why one is accessible only? > Thomas Moestl ported the gem driver, I don't know much about it. Most likely the hardware violates the PCI spec in some way shape or form. > severina# ifconfig -l > gem0 lo0 ppp0 > > What to do with an error 'MAC rx fault, status 3' ? If it doesn't actually affect the interface just ignore it. There was a recent commit to the gem driver to fix a problem which sounds related: tmm 2002/05/24 05:47:42 PDT Modified files: sys/dev/gem if_gem.c Log: Fully reset a gem on some error conditions; otherwise it would hang in about 1 of 10 cases. Proposed and tested by: phk Revision Changes Path 1.5 +4 -0 src/sys/dev/gem/if_gem.c Note that the hme driver gets errors back from the hardware quite often; our best guess is that the hardware times out trying to push the on card buffer out to main memory, either due to other bus traffic or due to the latency timer being set too low. Jake > > # dmesg |egrep 'phy|gem' > gem0: mem 0xe0400000-0xe041ffff irq 6 at devic > e 12.1 on pci2 > miibus0: on gem0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > gem0: Ethernet address: 00:03:ba:13:30:71 > using internal phy > > # ifconfig gem0 > gem0: flags=8843 mtu 1500 > inet 10.50.1.9 netmask 0xffffff00 broadcast 10.50.1.255 > ether 00:03:ba:13:30:71 > media: Ethernet autoselect (100baseTX ) > status: active > > ftp> get ports.tar.bz2 > local: ports.tar.bz2 remote: ports.tar.bz2 > 229 Entering Extended Passive Mode (|||49385|) > 150 Opening BINARY mode data connection for 'ports.tar.bz2' (52432031 bytes). > 0% | | 0 0.00 KB/s --:-- ETAM > AC rx fault, status 3 > 16% |***** | 8608 KB 3.99 MB/s 00:10 ETAM > AC rx fault, status 3 > 23% |******** | 12115 KB 3.82 MB/s 00:09 ETAM > AC rx fault, status 2 > 30% |*********** | 15516 KB 3.69 MB/s 00:09 ETAM > AC rx fault, status 3 > 30% |*********** | 15574 KB 2.50 MB/s 00:13 ETAM > AC rx fault, status 3 > 32% |*********** | 16854 KB 2.31 MB/s 00:14 ETAM > AC rx fault, status 3 > 35% |************ | 18138 KB 2.18 MB/s 00:14 ETAM > AC rx fault, status 3 > 41% |*************** | 21100 KB 2.26 MB/s 00:12 ETAM > AC rx fault, status 3 > 43% |*************** | 22345 KB 1.96 MB/s 00:14 ETAM > AC rx fault, status 3 > 58% |********************* | 30119 KB 1.62 MB/s 00:12 ETAM > AC rx fault, status 3 > 59% |********************* | 30210 KB 1.27 MB/s 00:16 ETAM > AC rx fault, status 3 > 72% |************************** | 37271 KB 1.44 MB/s 00:09 ETAM > AC rx fault, status 3 > 87% |******************************** | 44727 KB 1.61 MB/s 00:03 ETAM > AC rx fault, status 3 > 87% |******************************** | 44787 KB 1.55 MB/s 00:04 ETAM > AC rx fault, status 3 > 92% |********************************** | 47401 KB 1.58 MB/s 00:02 ETAM > AC rx fault, status 3 > 100% |*************************************| 51203 KB 1.60 MB/s 00:00 ETA > 100% |*************************************| 51203 KB 1.60 MB/s 00:00 ETA2 > 26 Transfer complete. > 52432031 bytes received in 00:31 (1.59 MB/s) > > Thanks! > > -- > Best regards, > Alex mailto:tiamat@komi.mts.ru > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message