From owner-freebsd-stable@freebsd.org Sat Jan 23 17:54:45 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B5A9F4D9697 for ; Sat, 23 Jan 2021 17:54:45 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gilb.zs64.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DNP0N3znwz4lPF for ; Sat, 23 Jan 2021 17:54:44 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 2C7D1341AE8 for ; Sat, 23 Jan 2021 17:54:42 +0000 (UTC) From: Stefan Bethke Content-Type: multipart/signed; boundary="Apple-Mail=_BF929994-75EA-4DE2-97B4-0374B57DE077"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: APU3 ethernet can't transmit Date: Sat, 23 Jan 2021 18:54:37 +0100 References: <94989F4E-73D8-4938-A4B5-4677C3D7531B@lassitu.de> <68042FF6-679F-42A5-B23E-A594F02EB8E2@gid.co.uk> To: freebsd-stable In-Reply-To: Message-Id: <52C90CB8-76DD-47EB-8C30-435920FF0B79@lassitu.de> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DNP0N3znwz4lPF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of stb@lassitu.de designates 212.12.50.234 as permitted sender) smtp.mailfrom=stb@lassitu.de X-Spamd-Result: default: False [-4.38 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.12.50.234:from]; FREEFALL_USER(0.00)[stb]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[lassitu.de]; HAS_ATTACHMENT(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.12.50.234:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.48)[-0.478]; R_SPF_ALLOW(-0.20)[+mx]; SIGNED_PGP(-2.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:13135, ipnet:212.12.48.0/21, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2021 17:54:45 -0000 --Apple-Mail=_BF929994-75EA-4DE2-97B4-0374B57DE077 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Argh! It was my el cheapo desktop switch. I tried two ports and two = cables, they were working with my laptop, but not with the APU. Only = when I hooked up a different device this evening and couldn't talk to it = did I think of the switch. Powercycling "fixed" it. Time for an upgrade, = I think. Stefan > Am 23.01.2021 um 12:50 schrieb Stefan Bethke : >=20 >=20 > I've tried one more time with this in rc.conf: >=20 > network_interfaces=3D"igb0" > ifconfig_igb0=3D"-lro -vlanhwtso -tso4 -vlanhwfilter -rxcsum -txcsum = -vlanhwtag -vlanmtu -vlanhwcsum -tso6 -txcsum6" >=20 > Whick produces this: options=3D802020 >=20 > No joy. What's interesting is that the left LED on the plug in = blinking with about 2Hz, so clearly the PHY or controller is unhappy = about something. The i210 datasheet has a table with all modes the LEDs = support, but it doesn't mention this fast blinking. The right LED is on = constantly, which should indicate a link. This is the same on all three = ports, irrespective of configuration. >=20 > I also just tried netbooting, and that doesn't seem to be working = either. So I guess it's time to RMA it. >=20 > Stefan >=20 >> Am 23.01.2021 um 11:28 schrieb Bob Bishop : >>=20 >> Hi, >>=20 >> FWIW I found that applying -lro didn=E2=80=99t work retrospectively, = it had to be done when the interface was first configured. Might apply = to other options too. >>=20 >> -- >> Bob Bishop >> rb@gid.co.uk >>=20 >>> On 22 Jan 2021, at 23:42, Graham Menhennitt = wrote: >>>=20 >>> Try "ifconfig $ifname -rxcsum -txcsum" and possibly " -vlanhwtso = -tso4" as well. >>>=20 >>> Graham >>>=20 >>> On 23/01/2021 8:10 am, Stefan Bethke wrote: >>>> I have a weird situation with an PCEngines APU3, where I can't seem = to be able to transmit packets through either of the igb interfaces. = With tcpdump, I can see packets arriving, and the interface flags appear = to be just fine: >>>> = options=3De527bb >>>> ether 00:0d:b9:58:xx:xx >>>> inet6 fe80::20d:b9ff:xxxx:xxxx%igb0 prefixlen 64 scopeid 0x1 >>>> inet6 2a02:8108:4840:xxxx:xxxx:xxxx:xxxx:xxxx prefixlen 64 = autoconf >>>> inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 >>>> media: Ethernet autoselect (1000baseT ) >>>> status: active >>>> nd6 options=3D23 >>>>=20 >>>> dhclient is running on that interfaces, and I got an IPv6 address = through RA. >>>>=20 >>>> Assigning an address manually doesn't change anything. >>>>=20 >>>> igb0@pci0:1:0:0: class=3D0x020000 card=3D0x00008086 = chip=3D0x157b8086 rev=3D0x03 hdr=3D0x00 >>>> vendor =3D 'Intel Corporation' >>>> device =3D 'I210 Gigabit Network Connection' >>>> class =3D network >>>> subclass =3D ethernet >>>>=20 >>>> # freebsd-version >>>> 12.2-RELEASE >>>>=20 >>>> I installed 12.2-REL a couple of weeks ago, and haven't done = anything since. >>>>=20 >>>> Tried the three different port with different cables on different = switch ports, which are working fine with other machines. >>>>=20 >>>> I'm installing updates now via a USB adapter. >>>>=20 >>>> Any suggestions? >>>>=20 >>>>=20 >>>> Stefan >>>>=20 >>>> -- >>>> Stefan Bethke Fon +49 151 14070811 >>>>=20 >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" >>>=20 >>=20 >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" >=20 > -- > Stefan Bethke Fon +49 151 14070811 >=20 -- Stefan Bethke Fon +49 151 14070811 --Apple-Mail=_BF929994-75EA-4DE2-97B4-0374B57DE077 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEJ+hF98o4r3eU/HiPD885WK4W4sEFAmAMYt0ACgkQD885WK4W 4sFzrAf/cZwwgJaXP5kNLNHVCgXyTYilmocMZeJHo7RSPTOUqnYN7r4HA/zmO+Vz lhVfwV7zUMFRzY7+zO+7NXrqY3h7HJiRVmRu1VePuaLIqE7mVLaNjunNEulZ5ehF h1c4uTNEJlZoP1ZVAJWA2mYikrfqLbl7SnU17t9OX7+lF8f6lSMAECchoUpStr/6 jtPeV5CMuyzrRsX2MGFLyH0sqXZFN09XGt/NGA81tHaCcdhQW/M4QlWjTRCqueen amuXi9wCzIVKmimri6TqhVGHxusouhSgM4IqYXmvxTVbmz3fIEGdtNl5fuqyo+MA OADwjL2wNRKR4+DFY2tamtVSmi2PtA== =NFQZ -----END PGP SIGNATURE----- --Apple-Mail=_BF929994-75EA-4DE2-97B4-0374B57DE077--