From owner-freebsd-questions@freebsd.org Tue Oct 31 15:43:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22B76E5D4AD for ; Tue, 31 Oct 2017 15:43:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DADED7F0A0 for ; Tue, 31 Oct 2017 15:43:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id F202024D4 for ; Tue, 31 Oct 2017 15:43:09 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=fail (p=none dis=none) header.from=infracaninophile.co.uk Subject: Re: Gigabit Ethernet adapter problem To: freebsd-questions@freebsd.org References: <59F895A5.1040809@gmail.com> From: Matthew Seaman Message-ID: <6ea04a6e-0c25-16e4-8007-8b647e473813@infracaninophile.co.uk> Date: Tue, 31 Oct 2017 15:43:09 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <59F895A5.1040809@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 15:43:19 -0000 On 31/10/2017 15:24, Ernie Luzar wrote: > > em - Intel(R) PRO/1000 Gigabit Ethernet adapter driver > > The boot messages show the Gigabit Ethernet adapter is correctly > identified at boot time as shown below. > > em0: port 0xf080-0xf09f >      mem 0xf7d00000-0xf7d1ffff,0xf7d3c000-0xf7d3cfff irq 20 at >      device 25.0 on pci0 > em0: Using an MSI interrupt > em0: Ethernet address: d0:50:99:93:75:98 > em0: netmap queues/slots: TX 1/1024, RX 1/1024 > > > But after the system is up and running ifconfig em0 shows > > em0: flags=8843 >         metric 0 mtu 1500 >     options=4019b         TSO4,VLAN_HWTSO> >     ether d0:50:99:93:75:98 >     hwaddr d0:50:99:93:75:98 >     inet 10.0.10.2 netmask 0xff000000 broadcast 10.255.255.255 >     nd6 options=29 >     media: Ethernet autoselect (100baseTX ) >     status: active > > and we see that (100baseTX ) has been selected as default > and it should be (1000baseTX ). > > How do I force the Ethernet adapter into Gigabit mode? This sort of down-grade is either because the switch port you've go the machine plugged into is somehow set to negotiate to 100Mb/s, or else you've got some dodgy cabling and consequently the system has backed off to 100Mb/s because it can't sustain 1000Mb/s. Try looking at the output of 'netstat -i' -- if there are any errors listed in the ierrs or oerrs columns, and particularly if they are increasing over time. That indicates some sort of hardware problem, usually due to a network cable having broken or been kinked or even tied too tightly into a bundle. Start by swapping out the ethernet cable -- it's cheap to replace. Cheers, Matthew