From owner-freebsd-drivers@FreeBSD.ORG Fri Apr 24 12:32:15 2015 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB531286 for ; Fri, 24 Apr 2015 12:32:15 +0000 (UTC) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B871013AE for ; Fri, 24 Apr 2015 12:32:15 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so27986438igb.0 for ; Fri, 24 Apr 2015 05:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruduo.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6JYvma9vuCa45L0WOsPxzdZY8XukQkthU71xTagZqkY=; b=qXbSSUZFkPrBhABnKmCursc3TlPLwyPha/MHHfkTvwiIiayZJzP/IH1j1QK1RuasO6 fAl4CNhVl0Dmcczo/niCocZqCUhA/X92LAX7Ao4nQeayciPm5ZdW7yCg4LaJFw+yZnBF tVidJr6VoNVrTaBM8/UC7FSsvJ7XEV3qchOzM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6JYvma9vuCa45L0WOsPxzdZY8XukQkthU71xTagZqkY=; b=Qh02fgLwU8iU0RwSFh3FuCY9aCKKaj6PDV2+gU0SbGY9kByNEOYh855WdEtE59RQKD t5UiD9XDoAhkfqiV9P7scWNKub55dVjs9SYkODrXyPZJHgtHfESYW2jeK2UiMXFQcts/ Ga/Ie5P04JbP7ielSC3I4d0gZcHUdqSFN0k22Iw+b90r08MqueHfKQR29hOt3biDmnNQ taBeaLkNRCX+yLLgovcAdHZkModBYBMQFRXjIl3wjqJ2VeIqo3ElbawFyUZv8EHgcq1I sLQcIvvgZlN2mO1Qn9gNwkgwEvx/k1eyNrZGKK6vxUV0UEAiL/ShBeFJSFFboFPuj0uh 3v6A== X-Gm-Message-State: ALoCoQklGE9tgFCvnSWyhASClgQJhdZxRso/owDxXr0dj0H04EKD9/bMwchmX5TM/miv6rga+OqB MIME-Version: 1.0 X-Received: by 10.50.142.67 with SMTP id ru3mr2209284igb.16.1429878734796; Fri, 24 Apr 2015 05:32:14 -0700 (PDT) Received: by 10.36.46.196 with HTTP; Fri, 24 Apr 2015 05:32:14 -0700 (PDT) In-Reply-To: <20150423043741.GA971@michelle.fasterthan.com> References: <20150423043741.GA971@michelle.fasterthan.com> Date: Fri, 24 Apr 2015 15:32:14 +0300 Message-ID: Subject: Re: BCM5720 no carrier From: Putinas Piliponis To: pyunyh@gmail.com Cc: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 12:32:16 -0000 Small update: I have tested with "other end", with 100Mbit and 1000Mbit adapters. They both "think" that physical connection is established, reporting 100baseTX and 1000baseT respectively. On Thu, Apr 23, 2015 at 7:37 AM, Yonghyeon PYUN wrote: > On Wed, Apr 22, 2015 at 05:21:36PM +0300, Putinas Piliponis wrote: > > Hello, > > > > I got a new Dell R730 server with 4 BCM5720C network interfaces (built in > > on motherboard). > > > > Initially I have installed 10.1-RELEASE, but now I am on 10.1-STABLE > (built > > and hour ago). > > > > The issue I am experiencing that ifconfig doesn't see connected cable. > (Yes > > I have tried 3 different cables, and they do work otherwise). I have > tried > > forcing it to 1000baseT but no effect. > > (Tried running dhclient bge0 - no response from DHCP server). > > Here is dmesg output for one of interfaces: > > > > bge0: mem > > 0x91a30000-0x91a3ffff,0x91a40000-0x91a4ffff,0x91a50000-0x91a5ffff at > device > > 0.0 on pci2 > > > > bge0: APE FW version: NCSI v1.3.7.0 > > > > bge0: CHIP ID 0x05720000; ASIC REV 0x5720; CHIP REV 0x57200; PCI-E > > > > miibus0: on bge0 > > > > brgphy0: PHY 1 on miibus0 > > > > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > > 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > > > > bge0: Using defaults for TSO: 65518/35/2048 > > > > bge0: Ethernet address: 44:a8:42:1b:b4:67 > > > > Here is output of ifconfig: > > > > ifconfig bge0 > > > > bge0: flags=8843 metric 0 mtu > 1500 > > > > > options=c019b > > > > ether 44:a8:42:1b:b4:67 > > > > nd6 options=29 > > > > media: Ethernet autoselect (none) > > > > status: no carrier > > > > Here is output of pciconf for bge0: > > > > pciconf -lv bge0 > > > > bge0@pci0:2:0:0: class=0x020000 card=0x1f5b1028 chip=0x165f14e4 rev=0x00 > > hdr=0x00 > > > > vendor = 'Broadcom Corporation' > > > > device = 'NetXtreme BCM5720 Gigabit Ethernet PCIe' > > > > class = network > > > > subclass = ethernet > > > > As server is not yet in production - I am willing to give a try for some > > patches (if any), etc. > > > > Would you show me the output of `devinfo -rv | grep brgphy`? > And if you plug the UTP cable into the other switch or system, does > ifconfig(8) still report no carrier? It would be great to know > whether the link partner(switch or system) agrees on 'no carrer' > status. Probably you can check LEDs of your system and switch. > > > Sorry if it's wrong mailing list :) > > freebsd-stable@ or freebsd-net@ would be better one, I guess. >