From owner-freebsd-net@FreeBSD.ORG Mon Dec 16 01:47:20 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 344D5B8A; Mon, 16 Dec 2013 01:47:20 +0000 (UTC) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0048714A4; Mon, 16 Dec 2013 01:47:19 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id kl14so2262238pab.23 for ; Sun, 15 Dec 2013 17:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=qMTbrLAR4nwZgbDvT6nCxSy8F95x2PLnSjlIktdkpiE=; b=riz+rXzSOQ5o+rSZUOD0MNtLDJtemp4RJWCEHt0Ph1gXQTo/OVdvbD/XVcnL03aKQz w3swPVTEj0ny/QOapiy7Du8BoC5NShRtnzewio7Nc8KgVoyHCMXRVD7Y3/qhzJZv+ULr ZTP9xsjulEemiNewQ1Qwk2ZFfnQbWYok/87mWfUhcFV9YLffubgbNC/7NqONGjJQBMeb dyvoNzQXBhsLraO5EqjdX5L2hi1uE8bMYrzo3fwow9jfu1jIDMDllqpenl9nD8tKDm9i 1WwxsBKDbKBF307+Kl9cC/lucNZFaB51ZhvpHh4ZwS6PdCBWKL4C21xYJMi2A3/y+mh4 W0yg== X-Received: by 10.68.176.65 with SMTP id cg1mr17337101pbc.145.1387158439672; Sun, 15 Dec 2013 17:47:19 -0800 (PST) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPSA id nw11sm30340738pab.13.2013.12.15.17.47.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 15 Dec 2013 17:47:17 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 16 Dec 2013 10:47:04 +0900 From: Yonghyeon PYUN Date: Mon, 16 Dec 2013 10:47:04 +0900 To: Shteryana Shopova Subject: Re: RTL8111/8168B NIC & FreeBSD Message-ID: <20131216014704.GB3345@michelle.cdnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: "freebsd-net@FreeBSD.org" , David Rufino X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 01:47:20 -0000 On Sun, Dec 15, 2013 at 06:46:35AM +0200, Shteryana Shopova wrote: > Hi, > > I hit the same problem with the same chip on FreeBSD 11.0-CURRENT #0 > r258178 - the card would receive nothing or (perhaps not-so-)random > crap. ifconfig down/up and disabling RX/TX check-summing makes the > card work for me as a temporary workaround. > David's controller is RTL8168G. Are you sure you have the same controller? If your controller is RTL8168E-VL(Chip rev. 0x2c800000 in dmesg), try the patch at the following URL. http://people.freebsd.org/~yongari/re/re.8168evl.diff > re0@pci0:4:0:1: class=0x020000 card=0x07981025 chip=0x816810ec > rev=0x14 hdr=0x00 > vendor = 'Realtek Semiconductor Co., Ltd.' > device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' > class = network > subclass = ethernet > > cheers, > Shteryana > > > On Sat, Dec 14, 2013 at 11:31 PM, David Rufino wrote: > > Hello, > > > > I'm having similar problems using an onboard RTL 8168B NIC. I noticed > > there were some recent changes to the re0 driver, so I tried -STABLE > > (r258961). The device is detected but can't send or receive packets. > > Interestingly it doesn't work in Debian wheezy, but does work fine in > > Windows 7 with latest drivers. I'm happy to assist in any way. Here's > > some relevant debugging information > > > > pciconf -l -v > > > > re0@pci0:1:0:0: class=0x020000 card=0x81161019 chip=0x816810ec rev=0x0c hdr=0x00 > > vendor = 'Realtek Semiconductor Co., Ltd.' > > device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' > > class = network > > subclass = ethernet > > > > re0: port > > 0xe000-0xe0ff mem 0xfea00000-0xfea00fff,0xd0800000-0xd0803fff irq 32 > > at device 0.0 on pci1 > > re0: Using 1 MSI-X message > > re0: ASPM disabled > > re0: Chip rev. 0x4c000000 > > re0: MAC rev. 0x00000000 > > miibus0: on re0 > > re0: Ethernet address: 74:27:ea:d3:de:5a > > > > Thanks!, > > David > > > >> > >> Hello, > >> > >> we are trying to install FreeBSD on a computer that uses the NIC mentioned > >> above. The NIC is running under linux without problems, which we've tested > >> for several days transferring several GB of data.