NetBSD Problem Report #31947

From  Sat Oct 29 18:48:55 2005
Return-Path: <>
Received: by (Postfix, from userid 31301)
	id D041E63B900; Sat, 29 Oct 2005 18:48:55 +0000 (UTC)
Message-Id: <>
Date: Sat, 29 Oct 2005 18:48:55 +0000 (UTC)
Subject: bm0 ethernet slow and has errors "bm0: discarding oversize frame (len=1563)"
X-Send-Pr-Version: www-1.0

>Number:         31947
>Category:       port-macppc
>Synopsis:       bm0 ethernet slow and has errors "bm0: discarding oversize frame (len=1563)"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 29 18:49:00 +0000 2005
>Last-Modified:  Fri Oct 06 19:30:00 +0000 2006
>Originator:     scole
>Release:        2.0.2
NetBSD pmg3 2.0.2 NetBSD 2.0.2 (PMG3) #2: Sat Oct 29 10:40:19 MST 2005  scole@pmg3:/usr/src/sys/arch/macppc/compile/PMG3 macppc
I just installed 2.0.2 on a powermac G3 and it seems the bm0 ethernet driver has problems.   I repeatedly get errors like:

Oct 22 12:09:26 pmg3 /netbsd: bm0: discarding oversize frame (len=1561)
Oct 22 12:10:02 pmg3 /netbsd: bm0: discarding oversize frame (len=1559)
Oct 22 12:10:18 pmg3 /netbsd: bm0: discarding oversize frame (len=1575)

especially when transfering large files with ftp or scp. 

  With scp I could only get transfer rates of about 10 KB/s, and the transfer would stall every 2 or 3 seconds even when transferring with machines on my local network.  My 10/100 Ethernet switch hub collision light kept indicating collisions; netstat would not report any.  I have only 2 other machines on my local network and haven't seen such behavior before.

Just for fun I compiled the if_bm.c driver with BMAC_DEBUG=1 and got faster transfer rates of about 32 KB/s with scp, as well as a lot
of console messages such as
Oct 29 09:16:42 pmg3 /netbsd: bmac_intr status = 0x100
Oct 29 09:16:43 pmg3 /netbsd: bmac_intr status = 0x101
The collision light on my switch stopped ligthing up too.

My kernel is the same as GENERIC with

Maybe this problem is related to
but I see no options for setting my bm0 to half or full duplex mode.

ifconfig -m bm0
        address: 00:05:02:c1:9f:63
        media: Ethernet 10baseT (none)
        supported Ethernet media:
                media 10baseT
        inet netmask 0xffffff00 broadcast

Also, this is probably not related, but when I boot my machine I see a
"no active packages" message right before the boot loader is loaded at the open firmware prompt.

ftp or scp a file over ethernet bm0

From: Michael Lorenz <>
Subject: Re: kern/31947
Date: Fri, 6 Oct 2006 15:25:49 -0400

 Still a problem on -current ( using a beige G3 with OF 2.0f ). I don't 
 get many 'bm0: discarding oversize frame' messages but even local ftp 
 transfers are extremely slow ( less than 8kB/s, occasional longer 
 stalls ). Strange thing is that even with a stalling ftp pings are 
 answered quickly and nfs transfer rates seem fine.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.