From owner-freebsd-net@FreeBSD.ORG Mon Dec 16 19:06:16 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 DB35B442 for ; Mon, 16 Dec 2013 19:06:15 +0000 (UTC) Received: from mail-qe0-x22a.google.com (mail-qe0-x22a.google.com [IPv6:2607:f8b0:400d:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 989811059 for ; Mon, 16 Dec 2013 19:06:15 +0000 (UTC) Received: by mail-qe0-f42.google.com with SMTP id b4so4329881qen.1 for ; Mon, 16 Dec 2013 11:06:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=tKW5P/qEz1KpNZUIMWP7hCr5rxpChRhwFtbvhRrUueY=; b=aDQNbLYntK+rOpnU/VTW73hFvhbDCOUC0LMIJkVF5buelG8e1zKV8fGGW6yYZsyPZw y+K1tEQ88oeJs7ToBPMBlXCqaiL+2gv+ZRBEyiXjl7rlpa7rTQDbdcdohBQhaZQ0OojT +8DsuPrHQm8FPNknRePEObHYn594YWhY1F3ndjpdbhOJxv7FUXlKHOlXLE+18CEgwFaE Y+BbzBQzfL9o7ueUJHY38OMPUlN6N9KLed1j2VLO5SZlNwtFP1OCMpeuFKtiWXPGQq2R 98tTRbiBY1SoO5xelU+aoixe0KM1z1D2Vsvt0yCr35SCi8oMzN68uXYFYjWoWMgeuXG+ Ao1w== MIME-Version: 1.0 X-Received: by 10.224.160.210 with SMTP id o18mr34365748qax.57.1387220774854; Mon, 16 Dec 2013 11:06:14 -0800 (PST) Sender: shteryana@gmail.com Received: by 10.224.128.72 with HTTP; Mon, 16 Dec 2013 11:06:14 -0800 (PST) In-Reply-To: <20131216014704.GB3345@michelle.cdnetworks.com> References: <20131216014704.GB3345@michelle.cdnetworks.com> Date: Mon, 16 Dec 2013 21:06:14 +0200 X-Google-Sender-Auth: 01DwPjqLTYic7FFAinJJ1vBgRaM Message-ID: Subject: Re: RTL8111/8168B NIC & FreeBSD From: Shteryana Shopova To: pyunyh@gmail.com Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-net@FreeBSD.org" , David Rufino X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: syrinx@FreeBSD.org 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 19:06:16 -0000 Hm, It's neither - re0: port 0x2000-0x20ff mem 0xd1404000-0xd1404fff,0xd1400000-0xd1403fff irq 18 at device 0.1 on pci4 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x5c800000 re0: MAC rev. 0x00000000 cheers, Shteryana On Mon, Dec 16, 2013 at 3:47 AM, Yonghyeon PYUN wrote: > 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.