NetBSD Problem Report #31858

From www@netbsd.org  Tue Oct 18 20:16:27 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 046BF63B850; Tue, 18 Oct 2005 20:16:27 +0000 (UTC)
Message-Id: <20051018201627.046BF63B850@narn.netbsd.org>
Date: Tue, 18 Oct 2005 20:16:27 +0000 (UTC)
From: timo.schoeler@riscworks.net
Reply-To: timo.schoeler@riscworks.net
To: gnats-bugs@netbsd.org
Subject: gem (ERI/GEM/GMAC Ethernet device driver) has problems on macppc -current
X-Send-Pr-Version: www-1.0

>Number:         31858
>Category:       kern
>Synopsis:       gem (ERI/GEM/GMAC Ethernet device driver) has problems on macppc -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 18 20:17:00 +0000 2005
>Last-Modified:  Mon May 16 10:23:25 +0000 2016
>Originator:     Timo Schoeler
>Release:        3.99.10
>Organization:
RISCworks
>Environment:
NetBSD ubiytsa.ts39-bln.riscworks.net 3.99.10 NetBSD 3.99.10 (OBIYTSA_MP) #0: Tue Oct 18 20:57:38 CEST 2005  tis@blackjack-a.riscworks.net:/usr/obj/sys/arch/macppc/compile/OBIYTSA_MP macppc
>Description:
the gem0 NIC (Power Mac G4 Dual 450, non-GBit) has massive problems
when transferring larger files; from the log:

(...)
Oct 18 13:28:33 ubiytsa /netbsd: gem0: discarding oversize frame (len=13364)
Oct 18 13:28:33 ubiytsa /netbsd: gem0: receive error: CRC error
Oct 18 13:28:34 ubiytsa /netbsd: gem0: discarding oversize frame (len=13364)
Oct 18 13:28:34 ubiytsa /netbsd: gem0: receive error: CRC error
Oct 18 13:28:34 ubiytsa last message repeated 6 times
Oct 18 13:28:35 ubiytsa /netbsd: gem0: discarding oversize frame (len=13364)
Oct 18 13:28:35 ubiytsa /netbsd: gem0: discarding oversize frame (len=31460)
Oct 18 13:28:36 ubiytsa /netbsd: gem0: receive error: CRC error
Oct 18 13:28:36 ubiytsa /netbsd: gem0: discarding oversize frame (len=17219)
Oct 18 13:28:36 ubiytsa /netbsd: gem0: receive error: CRC error
Oct 18 13:28:36 ubiytsa /netbsd: gem0: discarding oversize frame (len=17219)
Oct 18 13:28:36 ubiytsa /netbsd: gem0: receive error: CRC error
Oct 18 13:28:37 ubiytsa last message repeated 10 times
Oct 18 13:28:38 ubiytsa /netbsd: gem0: discarding oversize frame (len=17219)
Oct 18 13:28:38 ubiytsa /netbsd: gem0: receive error: CRC error
Oct 18 13:28:38 ubiytsa /netbsd: gem0: discarding oversize frame (len=17219)
Oct 18 13:28:38 ubiytsa /netbsd: gem0: receive error: CRC error
Oct 18 13:28:38 ubiytsa last message repeated 6 times
Oct 18 13:28:40 ubiytsa /netbsd: gem0: discarding oversize frame (len=17219)
Oct 18 13:28:40 ubiytsa /netbsd: gem0: discarding oversize frame (len=19714)
Oct 18 16:00:00 ubiytsa syslogd: restart
Oct 18 16:00:10 ubiytsa syslogd: restart
Oct 18 16:07:49 ubiytsa /netbsd: gem0: discarding oversize frame (len=17219)
Oct 18 16:07:49 ubiytsa /netbsd: gem0: receive error: CRC error

this was not the case on the same machine with 2.0.2_RELEASE AFAIR,
but it also happens with a 3.99.9 GENERIC.MP kernel from
HEAD/NetBSD-daily.

the machine is connected to a 10/100 hub which makes no trouble to any
of the other six connected machines/devices.

i can setup the machine to a managed switch and have a deeper look at
it on request.

according to an email on this issue by chris tribo 'There was a change
checked into the broadcom bge driver to add support for vlan sized
frames a few weeks ago, this may have broken gem as that is also a
broadcom 57xx chip IIRC.'
>How-To-Repeat:
run the GENERIC.MP kernel from HEAD and transfer huge files from/to
your machine; watch the logfile.
>Fix:
none, sorry.

>Release-Note:

>Audit-Trail:
From: Jason Thorpe <thorpej@shagadelic.org>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/31858: gem (ERI/GEM/GMAC Ethernet device driver) has problems on macppc -current
Date: Tue, 18 Oct 2005 13:39:42 -0700

 On Oct 18, 2005, at 1:17 PM, timo.schoeler@riscworks.net wrote:

 > according to an email on this issue by chris tribo 'There was a  
 > change checked into the broadcom bge driver to add  support for  
 > vlan sized frames a few weeks ago, this may have broken  gem as  
 > that is also a broadcom 57xx chip IIRC.'

 No, GEM is not a Broadcom 57xx chip.

 -- thorpej

From: john heasley <heas@shrubbery.net>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/31858: gem (ERI/GEM/GMAC Ethernet device driver) has problems on macppc -current
Date: Fri, 21 Oct 2005 11:27:47 -0700

 This is reproducable on sparc64 when my switch and interface are forced to
 half-duplex.  So, david's guess (on current-users) about the MAC needing to
 be placed in a half-duplex compatible mode is probably right.

 I can look at this, but it will be a few days before I'll have time.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.