From owner-freebsd-current@FreeBSD.ORG Fri Jan 3 03:18:38 2014 Return-Path: Delivered-To: freebsd-current@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 5A2DEC36 for ; Fri, 3 Jan 2014 03:18:38 +0000 (UTC) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0ACE81FD4 for ; Fri, 3 Jan 2014 03:18:37 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id ii20so65635qab.15 for ; Thu, 02 Jan 2014 19:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=idbKTApFtSg5w5XjXXbC9EVm6x164mcS6p6+qUeJXOs=; b=zEIdtoYNPTwT398TLGOmQtOYsQDevHk1HG4FzX13ISNTZKoKKF2nPB5MqwCqLkFHxy g7WO73vdhGczYaJwEbv35LYNs/hPlyqJxW9xd/DqDUvfWsF6pl29tWz2JYcjskC7wxFi utPehLLhxc5R2G+w01ryv1zJEtv/2M3H1BdElNG4kKjwVtsgpp20MXlS+VxduFQ6uSzC d3AaWsdagvdqCg2LcxSYfflbPpXVZq6dsVouqMTi8xHZ1HywqJyH2bmOPRcfgPgxEGad tdkg/d6M/GdNSDi3bx0x72p9QmUEKnXJAeBUFzTd7fCIjIP+sm9LnIaVRRPHQ0VWoi5F t4rw== MIME-Version: 1.0 X-Received: by 10.49.72.193 with SMTP id f1mr149537469qev.58.1388719117203; Thu, 02 Jan 2014 19:18:37 -0800 (PST) Received: by 10.229.223.199 with HTTP; Thu, 2 Jan 2014 19:18:37 -0800 (PST) In-Reply-To: References: Date: Thu, 2 Jan 2014 21:18:37 -0600 Message-ID: Subject: Re: RTL8111/8168B not negotiating 1GB From: "Sam Fourman Jr." To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 03 Jan 2014 03:18:38 -0000 On Thu, Jan 2, 2014 at 9:06 PM, Adam Vande More wrote: > On Thu, Jan 2, 2014 at 7:39 PM, Sam Fourman Jr. wrote: > >> Hello list, >> >> I have a Asus Sabertooth 990FXv2 motherboard, and a run of the mill >> NetGear DGS2205 desktop gig switch >> >> with linux my Ethernet can negotiate at 1GB but with FreeBSD it can not >> if I force the device to 1000baseT with ifconfig it does not work. >> >> >> uname -a >> FreeBSD NewBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r260188M: Thu Jan 2 >> 04:27:49 CST 2014 sfourman@NewBSD:/usr/obj/usr/src/sys/GENERIC amd64 >> >> >> >> re0@pci0:10:0:0: class=0x020000 card=0x85051043 chip=0x816810ec rev=0x09 >> hdr=0x00 >> vendor = 'Realtek Semiconductor Co., Ltd.' >> device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' >> class = network >> subclass = ethernet >> >> >> >> root@NewBSD:/usr/home/sfourman/Desktop # ifconfig >> re0: flags=8843 metric 0 mtu 1500 >> >> options=8209b >> ether 60:a4:4c:60:d5:a7 >> inet 192.168.1.31 netmask 0xffffff00 broadcast 192.168.1.255 >> inet6 fe80::62a4:4cff:fe60:d5a7%re0 prefixlen 64 scopeid 0x1 >> nd6 options=29 >> media: Ethernet autoselect (100baseTX ) >> status: active > > > /etc/rc.conf is important here as well as the complete steps and output > which provoked this response: > > "but with FreeBSD it can not > if I force the device to 1000baseT with ifconfig it does not work." > > In the given output, autoselect clearly selects 100Mb connection, the > question is why. > > > rc.conf is this: defaultrouter="192.168.1.1" ifconfig_re0="inet 192.168.1.31 netmask 0xffffff00" but the problem is we need to patch the re driver somehow because I have many motherboards where this exact nic does not work correctly. > > -- > Adam > -- Sam Fourman Jr.