From owner-freebsd-questions@FreeBSD.ORG Thu Sep 18 08:49:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D13C35D; Thu, 18 Sep 2014 08:49:05 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C48BE123; Thu, 18 Sep 2014 08:49:04 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1XUXOh-003Hgw-20>; Thu, 18 Sep 2014 10:49:03 +0200 Received: from [141.89.176.137] (helo=hermann.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1XUXOh-0021lw-0m>; Thu, 18 Sep 2014 10:49:03 +0200 Date: Thu, 18 Sep 2014 10:48:33 +0200 From: "O. Hartmann" To: Guido Falsi Subject: Re: 11.0-CURRENT and Lenovo ThinkPad E540: No LAN, no WiFI Message-ID: <20140918104833.3a473d7e.ohartman@zedat.fu-berlin.de> In-Reply-To: <541A9504.1010502@madpilot.net> References: <20140915233833.5bdd0725.ohartman@zedat.fu-berlin.de> <20140916131854.46acc5fb.ohartman@zedat.fu-berlin.de> <20140918095851.6e743183.ohartman@zedat.fu-berlin.de> <541A9504.1010502@madpilot.net> Organization: FU Berlin X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/cMSIMgDXmMySkuIiJUqzZir"; protocol="application/pgp-signature" X-Originating-IP: 141.89.176.137 X-ZEDAT-Hint: A Cc: Kevin Oberman , Adrian Chadd , FreeBSD CURRENT , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2014 08:49:05 -0000 --Sig_/cMSIMgDXmMySkuIiJUqzZir Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Thu, 18 Sep 2014 10:17:08 +0200 Guido Falsi schrieb: > On 09/18/14 09:58, O. Hartmann wrote: > > Am Tue, 16 Sep 2014 08:40:25 -0700 > > Adrian Chadd schrieb: > >=20 > >> Ah, jumbo frames. Maybe you got lucky and some ethernet drivers > >> default to accepting larger frames even if the MTU is 1500. > >> > >> > >> -a > >=20 > >=20 > > After all, I managed to get the NIC up and running. But the culprit is = that I have to > > take the NIC down and then up to make it working once the system has bo= otet. That is > > annoying. Lucckily, I can provide better informations since the box s n= ow attached to > > the network. Here we go: > >=20 >=20 > I have a similar situation with my nick on a tower system. >=20 > I need to change at least one flag on the card to have it working, I can > also just set the flag to the value it already has. >=20 > I'm using a small startup script which actually does this: >=20 > start_cmd=3D"ifconfig ${refix_if} tso" >=20 >=20 > > LAN: > > re0@pci0:4:0:0: class=3D0x020000 card=3D0x502817aa chip=3D0x816810ec re= v=3D0x10 hdr=3D0x00 > > vendor =3D 'Realtek Semiconductor Co., Ltd.' > > device =3D 'RTL8111/8168B PCI Express Gigabit Ethernet controll= er' > > class =3D network > > subclass =3D ethernet > > bar [10] =3D type I/O Port, range 32, base 0x3000, size 256, enab= led > > bar [18] =3D type Memory, range 64, base 0xf1d04000, size 4096, e= nabled > > bar [20] =3D type Memory, range 64, base 0xf1d00000, size 16384, = enabled > > cap 01[40] =3D powerspec 3 supports D0 D1 D2 D3 current D0 > > cap 05[50] =3D MSI supports 1 message, 64 bit=20 > > cap 10[70] =3D PCI-Express 2 endpoint IRQ 1 max data 128(128) link = x1(x1) > > speed 2.5(2.5) ASPM disabled(L0s/L1) > > cap 11[b0] =3D MSI-X supports 4 messages, enabled > > Table in map 0x20[0x0], PBA in map 0x20[0x800] > > cap 03[d0] =3D VPD > > ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 1 corrected > > ecap 0002[140] =3D VC 1 max VC0 > > ecap 0003[160] =3D Serial 1 01000000684ce000 > > ecap 0018[170] =3D LTR 1 > > ecap 001e[178] =3D unknown 1 > > PCI-e errors =3D Correctable Error Detected > > Corrected =3D Receiver Error > > >=20 > re0@pci0:3:0:0: class=3D0x020000 card=3D0x11c01734 chip=3D0x816810ec rev= =3D0x07 > hdr=3D0x00 > vendor =3D 'Realtek Semiconductor Co., Ltd.' > device =3D 'RTL8111/8168B PCI Express Gigabit Ethernet controller' > class =3D network > subclass =3D ethernet > bar [10] =3D type I/O Port, range 32, base 0xd000, size 256, enabled > bar [18] =3D type Prefetchable Memory, range 64, base 0xf2104000, > size 4096, enabled > bar [20] =3D type Prefetchable Memory, range 64, base 0xf2100000, > size 16384, enabled > cap 01[40] =3D powerspec 3 supports D0 D1 D2 D3 current D0 > cap 05[50] =3D MSI supports 1 message, 64 bit > cap 10[70] =3D PCI-Express 2 endpoint IRQ 1 max data 128(128) link x1= (x1) > speed 2.5(2.5) ASPM disabled(L0s/L1) > cap 11[b0] =3D MSI-X supports 4 messages, enabled > Table in map 0x20[0x0], PBA in map 0x20[0x800] > cap 03[d0] =3D VPD > ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected > ecap 0002[140] =3D VC 1 max VC0 > ecap 0003[160] =3D Serial 1 0100000004000001 > PCI-e errors =3D Correctable Error Detected > Unsupported Request Detected > Corrected =3D Advisory Non-Fatal Error >=20 > it's similar hardware, same chip, different revision. I already reported > this on net@ but no patch could really solve the issue. >=20 Hello. Well, it seems the same here with taht specific NIC. Changing ANYTHING, eve= n already enabled features, or bringing the NIC down and then up seem to solve this p= roblem. I guess, I file a PR to make this issue memorized. Regards, Oliver --Sig_/cMSIMgDXmMySkuIiJUqzZir Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUGpxhAAoJEOgBcD7A/5N8ff4H/2IveS1fSLUXMN5S/ZSos6Jg ZQN3FWd5RShlKSVhutKwDNmqAtQVIIS3ezm2sYnTs2JUjXk9tn6EerQzzHr4ox5v NSI0QWSVRFP+YHBohOqcIn4yZV6CM9stv32ay2SEbpjCuwpBQ8mZA4rTWpb3KtpO JILrbCDuvC93E7Ig1MzWWBD1Uxa20bb7bqoRV4gXAbcfKbNgjIpgR8SmuIwkxvv2 +mlTKQrURYEQUX/IgbK7csx/uG+C0oslFw1uWZTHyexbXFzYPOz9t7STxk2aNDKd /XPdDAvq2/ccQ7R3czDrMRPRoOo4/MP3H3d1cmN0fPBmGTSolGTzCzBCVxfcGgU= =p2V6 -----END PGP SIGNATURE----- --Sig_/cMSIMgDXmMySkuIiJUqzZir--