From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 17 03:50:28 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2941716A417 for ; Tue, 17 Oct 2006 03:50:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50E4C43D4C for ; Tue, 17 Oct 2006 03:50:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9H3oOMt022205 for ; Tue, 17 Oct 2006 03:50:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9H3oOwW022204; Tue, 17 Oct 2006 03:50:24 GMT (envelope-from gnats) Resent-Date: Tue, 17 Oct 2006 03:50:24 GMT Resent-Message-Id: <200610170350.k9H3oOwW022204@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Senandung Mendonan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDDD216A4C9 for ; Tue, 17 Oct 2006 03:46:10 +0000 (UTC) (envelope-from sazli@cvs.defenxis.com) Received: from balairung.surfopen.com (balairung.surfopen.com [202.133.105.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C699443D4C for ; Tue, 17 Oct 2006 03:46:01 +0000 (GMT) (envelope-from sazli@cvs.defenxis.com) Received: from localhost (localhost.surfopen.com [127.0.0.1]) by balairung.surfopen.com (Postfix) with ESMTP id D0D6733F5D for ; Tue, 17 Oct 2006 11:45:59 +0800 (MYT) Received: from balairung.surfopen.com ([127.0.0.1]) by localhost (balairung.surfopen.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GLjNJgtt6IKY for ; Tue, 17 Oct 2006 11:45:51 +0800 (MYT) Received: from bareed.defenxis.com (unknown [218.111.100.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by balairung.surfopen.com (Postfix) with ESMTP id 36FAB33F7A for ; Tue, 17 Oct 2006 11:45:11 +0800 (MYT) Received: from localhost (localhost [127.0.0.1]) by bareed.defenxis.com (Postfix) with ESMTP id 000DCD4C76 for ; Tue, 17 Oct 2006 11:09:30 +0800 (MYT) Received: from bareed.defenxis.com ([127.0.0.1]) by localhost (web.defenxis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58384-02 for ; Tue, 17 Oct 2006 11:09:23 +0800 (MYT) Received: from ox.defenxis.com (ox.defenxis.com [192.168.1.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bareed.defenxis.com (Postfix) with ESMTP id 25263D4C49 for ; Tue, 17 Oct 2006 11:09:23 +0800 (MYT) Received: from cvs.defenxis.com (unknown [192.168.1.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ox.defenxis.com (Postfix) with ESMTP id D2C807E81D for ; Tue, 17 Oct 2006 11:12:38 +0800 (MYT) Received: from cvs.defenxis.com (localhost.defenxis.com [127.0.0.1]) by cvs.defenxis.com (8.13.6/8.13.6) with ESMTP id k9H391JJ035846; Tue, 17 Oct 2006 11:09:01 +0800 (MYT) (envelope-from sazli@cvs.defenxis.com) Received: (from sazli@localhost) by cvs.defenxis.com (8.13.6/8.13.6/Submit) id k9H3905T035845; Tue, 17 Oct 2006 11:09:00 +0800 (MYT) (envelope-from sazli) Message-Id: <200610170309.k9H3905T035845@cvs.defenxis.com> Date: Tue, 17 Oct 2006 11:09:00 +0800 (MYT) From: Senandung Mendonan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Senandung Mendonan Subject: kern/104485: [bge] Broadcom BCM5704C: Intermittent on newer chip version: CS0424 P20 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Senandung Mendonan List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 03:50:28 -0000 >Number: 104485 >Category: kern >Synopsis: [bge] Broadcom BCM5704C: Intermittent on newer chip version: CS0424 P20 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 17 03:50:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Senandung Mendonan >Release: FreeBSD 6.1-RELEASE i386 >Organization: Sidi Gentala >Environment: System: FreeBSD raksasa.sidigentala.org 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 pci5: on pcib4 bge0: mem 0xdcff0000-0xdcffffff irq 48 at device 1.0 on pci5 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:10:18:11:2a:0d bge1: mem 0xdcfe0000-0xdcfeffff irq 49 at device 1.1 on pci5 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:10:18:11:2a:0a >Description: I'm running the latest FreeBSD 6.1-RELEASE-p3 on the following piece of hardware:- IBM xSeries 336 - 1 add-on PCI dual-port NIC (IBM Netxtreme Dualpt Ethernet adapter) matching the Broadcom BCM5704C Dual Gigabit Ethernet chipset (detected as bge0 and bge1) - 2 internal built-in NICs matching the Broadcom BCM5721 Gigabit Ethernet chipset. (detected as bge2 and bge3) The internal NICs work fine (bge2 and bge3), however the add-on PCI NIC has the following issues:- On a GB Ethernet switchport (I am using Cisco Catalyst C3750G):- - When set to auto-detect, or forced 1000baseTX on both sides (switchport and server), the LED on both switchport and NIC dies the moment FreeBSD OS is booting (i.e. when FreeBSD bge driver activated). Previously, it was working fine at BIOS level. - The only working setup is forced 100baseTX full-duplex on both sides (switchport and server), however with intermittent link (ping yields packet loss every 2-3 out of 10 packets or so, and simple file transfers get stuck/stalled). After deploying on a few servers, we realized some of the servers work OK, and some not, although the cards are apparently same model, with same dmesg shown in the Environment section. Upon closer inspection, we found out that the two NICs' chipsets differ in minor revision:- 1. The working NIC:- Broadcom BCM5704CKRB TS0341 P13 706741 B (manufactured 23/12/2004, older revision of the same BCM5704C chipset supported by the FreeBSD bge driver. ( Picture: http://absolute-p.ath.cx/wp-content/uploads/2006/10/old-23-12-2004.jpg ) 2. The intermittent NIC:- Broadcom BCM5704CKRB CS0424 P20 723153B B (unknown manufacture date, but probably newer than the working NIC). ( Picture: http://absolute-p.ath.cx/wp-content/uploads/2006/10/new.jpg ) I have posted this issue on freebsd-net:- http://docs.freebsd.org/cgi/getmsg.cgi?fetch=209582+0+/usr/local/www/db/text/2006/freebsd-net/20060820.freebsd-net Thanks. >How-To-Repeat: With hardware matching the above description, just boot up and do:- 1. Ping test on another host connected e.g. via cross cable: packet loss every few packets. 2. Perform simple file transfers, e.g. scp, for files > 20K. The transfer gets stalled indefinitely and unable to complete. >Fix: None >Release-Note: >Audit-Trail: >Unformatted: