From owner-freebsd-drivers@FreeBSD.ORG Thu Apr 23 12:25:12 2015 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D138EBD0 for ; Thu, 23 Apr 2015 12:25:12 +0000 (UTC) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (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 9E5D515C4 for ; Thu, 23 Apr 2015 12:25:12 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so66522251ied.1 for ; Thu, 23 Apr 2015 05:25:11 -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=CQRtX/MGMSebRS7aff5qXn/NTMmUTNGIM4wrG7F//fA=; b=se99Gbci6K4NBA/Am8DSKF+SI03L3/rEQj/p9RIS7RtB6M+gAyE8CYiS1AAQeC3El+ jenn5C9lvDAeQ9qM1xwD/ywGMb5JaTOKiKIv9tOg3Xk590yFIloGMgPLszHMnH+RciKi yyeVRCCh9pRDbRb0wx42dE6Ru3rc6PpTVuByM= 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=CQRtX/MGMSebRS7aff5qXn/NTMmUTNGIM4wrG7F//fA=; b=aOgieB1R28YBSua8K8zclfPyrKJjcC5igqcMGjwq1J8XfdwlJ1/k7xaz4wuuOruQ/U UUXEq4e1F1ZC8DaEvdxM23AyyNdSygdFZ5qbwppV/FGkTmGliuEUBGB3fqWTQI1n9ROp JlXzGVo42nGlrQGmhWV8z+TpyCEHy3IaK6tDDYxiZBLLAcz2DuXsdWIZD7xigYg4jiLC xIWzDX5zFuka5tvFrVEyfBpdM1XUoH8NT6yHFqBKOIXB/vssoe7XV9/vpovRIkJYP8fQ dmBZe53PV4+dbRztOB8vYZKy0tKSeovGkF9/JAm/KDOgf+PQXNJ62ygmCqPcwXgiaW5Q eezA== X-Gm-Message-State: ALoCoQmmmmOKpfsxxFkmiJydeMyBaKEn1ZIckKWLGKQ+tieykccweY1MQsFuSEbnCLiPYtacg850 MIME-Version: 1.0 X-Received: by 10.107.4.196 with SMTP id 187mr3430740ioe.6.1429791911158; Thu, 23 Apr 2015 05:25:11 -0700 (PDT) Received: by 10.36.46.196 with HTTP; Thu, 23 Apr 2015 05:25:11 -0700 (PDT) In-Reply-To: <20150423043741.GA971@michelle.fasterthan.com> References: <20150423043741.GA971@michelle.fasterthan.com> Date: Thu, 23 Apr 2015 15:25:11 +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: Thu, 23 Apr 2015 12:25:13 -0000 Hello, Additionally I have booted memstick with 11-CURRENT. It was exactly same behavior (build of 21st April). As I don't have another switch near by I have "looped" iDRAC interface to bge0 - network interface lights are on, but status still shows "no carrier". Leds are on as well if network cable is plugged to switch, but I have no access to verify what the other end "thinks". Also if I boot up to Dell management console - that network interface works just fine. Here is output of devinfo: devinfo -rv | grep brgphy brgphy0 pnpinfo oui=0x1be9 model=0x36 rev=0x0 at phyno=1 brgphy1 pnpinfo oui=0x1be9 model=0x36 rev=0x0 at phyno=2 brgphy2 pnpinfo oui=0x1be9 model=0x36 rev=0x0 at phyno=1 brgphy3 pnpinfo oui=0x1be9 model=0x36 rev=0x0 at phyno=2 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. >