From owner-freebsd-drivers@FreeBSD.ORG Mon May 25 23:02:58 2009 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E496C106564A; Mon, 25 May 2009 23:02:58 +0000 (UTC) (envelope-from cpardo@fastsoft.com) Received: from HQ-ES.FASTSOFT.COM (hq-es.fastsoft.com [38.102.243.86]) by mx1.freebsd.org (Postfix) with ESMTP id CCA328FC16; Mon, 25 May 2009 23:02:58 +0000 (UTC) (envelope-from cpardo@fastsoft.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 25 May 2009 16:02:57 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Broadcom NetXtreme II BCM5709 Gigabit Ethernet Dell 610 and Dell 710 servers Thread-Index: AcndjPHPK0PoGtHJQWej15oLkH5kqA== From: "Carlos Pardo" To: , , Cc: Subject: Broadcom NetXtreme II BCM5709 Gigabit Ethernet Dell 610 and Dell 710 servers X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 23:02:59 -0000 We are back porting the bce driver from 8.0 to 7.0. We are still missing some changes since cold boots work but rebooting (warm booting) fails! The error is: bce0: ../../../dev/bce/if_bce.c(1386); Unable to write CTX memory: cid_addr =3D 0x00000000, offset =3D 0x00000000! files back ported: bce/if_bce.h bce/if_bcefw.h bce/if_bvereg.h mii/brgphy.c=20 mii/brgphyreg.h It looks like we are not doing a hard reset to the NIC when rebooting. Cool boots work. Thanks for any help From owner-freebsd-drivers@FreeBSD.ORG Tue May 26 04:09:53 2009 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C970D1065670 for ; Tue, 26 May 2009 04:09:53 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.123]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD758FC13 for ; Tue, 26 May 2009 04:09:53 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.2.102] (really [76.182.207.163]) by cdptpa-omta01.mail.rr.com with ESMTP id <20090526000840381.PTID11639@cdptpa-omta01.mail.rr.com>; Tue, 26 May 2009 00:08:40 +0000 Date: Mon, 25 May 2009 19:08:38 -0500 From: Paul Schmehl To: Carlos Pardo , freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org, davidch@broadcom.com Message-ID: <1536DA231EE20F276D566076@Macintosh-2.local> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Broadcom NetXtreme II BCM5709 Gigabit Ethernet Dell 610 and Dell 710 servers X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 04:09:54 -0000 --On May 25, 2009 4:02:57 PM -0700 Carlos Pardo wrote: > We are back porting the bce driver from 8.0 to 7.0. We are still missing > some changes since cold boots work but rebooting (warm booting) fails! > > The error is: > > bce0: ../../../dev/bce/if_bce.c(1386); Unable to write CTX memory: > cid_addr = 0x00000000, offset = 0x00000000! > > files back ported: > > bce/if_bce.h > bce/if_bcefw.h > bce/if_bvereg.h > mii/brgphy.c > mii/brgphyreg.h > Why would you need to do that? There is a bce driver in the 7.x OS already. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From owner-freebsd-drivers@FreeBSD.ORG Wed May 27 02:40:04 2009 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D128106564A for ; Wed, 27 May 2009 02:40:04 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from MMS3.broadcom.com (mms3.broadcom.com [216.31.210.19]) by mx1.freebsd.org (Postfix) with ESMTP id 677F28FC15 for ; Wed, 27 May 2009 02:40:04 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from [10.9.200.131] by MMS3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Tue, 26 May 2009 19:25:44 -0700 X-Server-Uuid: B55A25B1-5D7D-41F8-BC53-C57E7AD3C201 Received: from IRVEXCHCCR01.corp.ad.broadcom.com ([10.252.49.30]) by IRVEXCHHUB01.corp.ad.broadcom.com ([10.9.200.131]) with mapi; Tue, 26 May 2009 19:25:44 -0700 From: "David Christensen" To: "Carlos Pardo" , "freebsd-drivers@freebsd.org" Date: Tue, 26 May 2009 19:25:43 -0700 Thread-Topic: Broadcom NetXtreme II BCM5709 Gigabit Ethernet Dell 610 and Dell 710 servers Thread-Index: AcnbC6bhBBe/dKEPQEaXxqTo4V3DUwDZmxng Message-ID: <5D267A3F22FD854F8F48B3D2B523819339DFDBB29B@IRVEXCHCCR01.corp.ad.broadcom.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-WSS-ID: 66027B2238S31906746-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: Subject: RE: Broadcom NetXtreme II BCM5709 Gigabit Ethernet Dell 610 and Dell 710 servers X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 02:40:04 -0000 > bce0: ../../../dev/bce/if_bce.c(1525): PHY write timeout! > Bce1: ../../../dev/bce/if_bce.c(1525): PHY write timeout!=20 > Bce2: ../../../dev/bce/if_bce.c(1525): PHY write timeout!=20 > Bce3: ../../../dev/bce/if_bce.c(1525): PHY write timeout! >=20 > Does anyone know where to find a good driver? I tried 5=20 > driver versions (including current) to no avail. Thanks. What does dmesg show for bce0 through bce3? I have -CURRENT on a Dell r710 server and I can establish link without a problem. Dave= From owner-freebsd-drivers@FreeBSD.ORG Wed May 27 02:57:29 2009 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBA08106566B for ; Wed, 27 May 2009 02:57:29 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 69FB58FC1B for ; Wed, 27 May 2009 02:57:29 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 1C1DD5C024 for ; Wed, 27 May 2009 10:57:28 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id B516E55CDACD; Wed, 27 May 2009 10:57:27 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id 0k7KKYeWaeio; Wed, 27 May 2009 10:56:31 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 368D055CDAC9; Wed, 27 May 2009 10:56:25 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=YRqkgahAMwwImf4aRZU5x6qjJ/pKd5pUx0znKC37s/+dPH3izzykWg9Z3q0Ju9+Zy JaGOVc+Tje7BfUiZrEyZA== Message-ID: <4A1CABC7.2090507@delphij.net> Date: Tue, 26 May 2009 19:56:07 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (X11/20090408) MIME-Version: 1.0 To: David Christensen References: <5D267A3F22FD854F8F48B3D2B523819339DFDBB29B@IRVEXCHCCR01.corp.ad.broadcom.com> In-Reply-To: <5D267A3F22FD854F8F48B3D2B523819339DFDBB29B@IRVEXCHCCR01.corp.ad.broadcom.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-drivers@freebsd.org" Subject: Re: Broadcom NetXtreme II BCM5709 Gigabit Ethernet Dell 610 and Dell 710 servers X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 02:57:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, David, David Christensen wrote: >> bce0: ../../../dev/bce/if_bce.c(1525): PHY write timeout! >> Bce1: ../../../dev/bce/if_bce.c(1525): PHY write timeout! >> Bce2: ../../../dev/bce/if_bce.c(1525): PHY write timeout! >> Bce3: ../../../dev/bce/if_bce.c(1525): PHY write timeout! >> >> Does anyone know where to find a good driver? I tried 5 >> driver versions (including current) to no avail. Thanks. > > What does dmesg show for bce0 through bce3? I have -CURRENT > on a Dell r710 server and I can establish link without a problem. I have seen some difference between 7.2 and -CURRENT in mii/brgphy*, do you think this could have some connection to the problem? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkocq8YACgkQi+vbBBjt66D7XQCcD5CvQvw4zPr20yvhAWHx8Ofe KZMAn1Fo6LmuNPnnGqyCnT13PzBeJqbs =maUH -----END PGP SIGNATURE----- From owner-freebsd-drivers@FreeBSD.ORG Wed May 27 03:04:19 2009 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C61A106564A for ; Wed, 27 May 2009 03:04:19 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from MMS3.broadcom.com (mms3.broadcom.com [216.31.210.19]) by mx1.freebsd.org (Postfix) with ESMTP id 020B78FC14 for ; Wed, 27 May 2009 03:04:18 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from [10.9.200.133] by MMS3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Tue, 26 May 2009 20:04:04 -0700 X-Server-Uuid: B55A25B1-5D7D-41F8-BC53-C57E7AD3C201 Received: from IRVEXCHCCR01.corp.ad.broadcom.com ([10.252.49.30]) by IRVEXCHHUB02.corp.ad.broadcom.com ([10.9.200.133]) with mapi; Tue, 26 May 2009 20:05:28 -0700 From: "David Christensen" To: "d@delphij.net" Date: Tue, 26 May 2009 20:04:03 -0700 Thread-Topic: Broadcom NetXtreme II BCM5709 Gigabit Ethernet Dell 610 and Dell 710 servers Thread-Index: Acnedu50IJd1AwP1RV6HRszsfkmRfwAAK2LA Message-ID: <5D267A3F22FD854F8F48B3D2B523819339DFDBB2A4@IRVEXCHCCR01.corp.ad.broadcom.com> References: <5D267A3F22FD854F8F48B3D2B523819339DFDBB29B@IRVEXCHCCR01.corp.ad.broadcom.com> <4A1CABC7.2090507@delphij.net> In-Reply-To: <4A1CABC7.2090507@delphij.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-WSS-ID: 6602722E38S31933166-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: "freebsd-drivers@freebsd.org" Subject: RE: Broadcom NetXtreme II BCM5709 Gigabit Ethernet Dell 610 and Dell 710 servers X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 03:04:19 -0000 > >> bce0: ../../../dev/bce/if_bce.c(1525): PHY write timeout! > >> Bce1: ../../../dev/bce/if_bce.c(1525): PHY write timeout!=20 > >> Bce2: ../../../dev/bce/if_bce.c(1525): PHY write timeout!=20 > >> Bce3: ../../../dev/bce/if_bce.c(1525): PHY write timeout! > >> > >> Does anyone know where to find a good driver? I tried 5 driver=20 > >> versions (including current) to no avail. Thanks. > >=20 > > What does dmesg show for bce0 through bce3? I have=20 > -CURRENT on a Dell=20 > > r710 server and I can establish link without a problem. >=20 > I have seen some difference between 7.2 and -CURRENT in=20 > mii/brgphy*, do you think this could have some connection to=20 > the problem? If Carlos has tried -CURRENT I don't see why this would happen. Older versions in 7.X have removed the PHY ID for the 5709C so this isn't surprising but -CURRENT should have it. Dave=