Subject: kern/31858: gem (ERI/GEM/GMAC Ethernet device driver) has problems on macppc -current
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <timo.schoeler@riscworks.net>
List: netbsd-bugs
Date: 10/18/2005 20:17:01
>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
>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.