From owner-freebsd-current@FreeBSD.ORG Tue Apr 1 22:21:51 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94EFD1065672 for ; Tue, 1 Apr 2008 22:21:51 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.176]) by mx1.freebsd.org (Postfix) with ESMTP id 17F0B8FC2D for ; Tue, 1 Apr 2008 22:21:50 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by ik-out-1112.google.com with SMTP id b35so309731ika.3 for ; Tue, 01 Apr 2008 15:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=De6VMfSNzv6CHWCC6QKbvErKMJo4g8kXWDMXZjia5fA=; b=J7p/zcGzUHiyD3Z36g/bkXa6VbUS9t3HrpgQ1PBtgo/BvPKhSJxrUkc+EfF7cz2OOjd5yEuerXCasHBmVlS97b6db4Imsh8Y3UJhXzaoBy6nAWs+BJzN8AKA5yRCD/q6RidfvpfH+Dh1yFkKf+k8pl9feEHBHHwlBwobtLEi6cM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OEY7CHExr/1ZQ8oRr2DX/j4dhMicjFOfp/GORpi/rrh3AdR8thIANsqU10MAPw1SysMzCVrV3iyvKt6RQRAe0Lta3BmmzHDAd4D/wzLmj/END4R9y9Gds6jQmra8Z/ko67IEsyQILHWNa/vioeAVkDnwJgtaKtF/qEKkDc/1k90= Received: by 10.150.58.5 with SMTP id g5mr4460734yba.158.1207088507771; Tue, 01 Apr 2008 15:21:47 -0700 (PDT) Received: by 10.150.205.12 with HTTP; Tue, 1 Apr 2008 15:21:47 -0700 (PDT) Message-ID: <3c0b01820804011521n6f41412cgad02e90dd252bdcf@mail.gmail.com> Date: Tue, 1 Apr 2008 18:21:47 -0400 From: "Alexander Sack" To: "Josep Pujadas i Jubany" In-Reply-To: <3c0b01820804011340q2237b382vc7d1185300da6245@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080401093503.M45196@bellera.cat> <5D267A3F22FD854F8F48B3D2B523819324EF6342B6@IRVEXCHCCR01.corp.ad.broadcom.com> <20080401193322.M70732@bellera.cat> <3c0b01820804011340q2237b382vc7d1185300da6245@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Only 100baseTX with bge BCM5722 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 22:21:51 -0000 Actually, I jumped the gun because I'm going BCM crazy at work! :D! David asked the right question: The dmesg output shows that this is using ukphy not brgphy. The ukphy I believe uses mostly the common MII code. At attach time it does try to read the right hardware bits to parse what the PHY supports. I noticed from your output it does support 1000baseT and 1000baseTX-FDX. Have you used either of these in your ifconfig call with any luck? Sorry bout that, -aps On Tue, Apr 1, 2008 at 4:40 PM, Alexander Sack wrote: > Hey: > > I just debugged this problem on another BCM chipset. Please instead > of setting at particular speed: > > ifconfig bgeX down > ifconfig bgeX media autoselect up > > See if it auto-renegotiates correctly. > > BCM phys are notorious for this issue. Also, do you have IPMI active? > > Thanks! > > -aps > > > On Tue, Apr 1, 2008 at 3:44 PM, Josep Pujadas i Jubany > wrote: > > On Tue, 1 Apr 2008 10:18:55 -0700, David Christensen wrote > > > > > > Hello! > > > > > > > > Scenario: > > > > > > > > * Machine: HP Proliant ML110 G5 > > > > * Integrated NIC: Broadcom NetXtreme BCM5722 Gigabit Ethernet PCIe > > > > * FreeBSD 7.0 > > > > * Kernel recompiled patching bge driver as explained at > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/119779 > > > > > > > > The card works only at 100baseTX: > > > > > > > > media: Ethernet autoselect (100baseTX ) > > > > status: active > > > > > > > > If I try: > > > > > > > > # ifconfig bge0 media 1000baseTX mediaopt full-duplex > > > > > > > > I obtain: > > > > > > > > media: Ethernet 1000baseTX > > > > status: no carrier > > > > > > > > Of course, the card is connected to a Gigabit switch, as other FreeBSD > > > > machines that we have. > > > > > > > > The problem seems similar to > > > > http://lists.freebsd.org/pipermail/freebsd- > > > > current/2008-April/084606.html > > > > > > > > Any idea? > > > > > > What's the dmesg output? Is it using ukphy or brgphy? > > > > > > Dave > > > > > > _______________________________________________ > > > > Dave, > > > > Partial dmesg, concerning the NIC: > > > > pcib4: irq 17 at device 28.5 on pci0 > > pci14: on pcib4 > > bge0: mem > > 0xed000000-0xed00ffff irq 17 at device 0.0 on pci14 > > miibus0: on bge0 > > ukphy0: PHY 1 on miibus0 > > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > > 1000baseT-FDX, auto > > bge0: Ethernet address: XXXXXXXXXXXXXXXXXXXXX > > bge0: [ITHREAD] > > > > bge0: link state changed to UP > > > > Must I try 1000baseT-FDX instead than 1000baseTX in my ifconfig line? > > > > Regards, > > > > Josep Pujadas > > > > > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > > > -- > "What lies behind us and what lies in front of us is of little concern > to what lies within us." -Ralph Waldo Emerson > -- "What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson