From nobody Wed Nov 22 19:58:52 2023 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SbBrs1xc8z51k5g for ; Wed, 22 Nov 2023 19:58:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SbBrr6MDRz4MCT for ; Wed, 22 Nov 2023 19:58:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700683132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hYsJsmMxFQ2596zu++OPsn8gQVojE1ikNAcQotsSU5o=; b=ho+DDUs6+TDcRbTBhxGbyhn5ir/57KdnhQyZ12jZZW7llny075958AaZTvq3apWb1aeqg5 dgyQYSeCvUGsjrtXaU+u0BoiWml9VhSHQrjSZaoKwbaLqeHVNLEiVbCHhinh/pp5IKMC9c /h9QTY5iZDhBqpiPNL2KknSM0YXIi8yR50vSodrsAl0sKlGgyyul/O17xkhMahIvwVsTzk hzYVMBLFvxnvri2P3dL7C2Ekpok6tQS3iAx/VbPXGWdnwRWahr3yrCO95d12V24xOPNuF/ hesZDUm80Ey4klZdl/c4XPKNMM+L4ER86RlgCXyVziqpSsDY3QOuVxBYb+3GpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700683132; a=rsa-sha256; cv=none; b=HZEqswVI34wPgqlecZxiwmklCtFRJmphqU+OWq/NCOfiV5z77+94P1EB4VqP7wn0lFEUOD NzG7y9FRvMxYPF5lXMy91XfnqkfbPH6JnODQKOLm8u/SZb7+QV6xAUYLUl2f4Ig17BAnZQ g1DlBAGk0fI05LZfU4+N+OxyQognudEp1j2Eke5vhRuIYA5H8VN3KtTnpyGn9zTJQEgMaA eejmNOwiQN0G7bxuKEUhssCehIgNgyQWDnb42edVyZn0Rpi93seonBa/njFWzH9cdg/aro dXiDnEzhDN8cUnb0wj7+0U0tkpSDaUxHd/FizqDpuJHsYacycblxysFq1q8j9w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SbBrr51f8zXnC for ; Wed, 22 Nov 2023 19:58:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMJwqr7066005 for ; Wed, 22 Nov 2023 19:58:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMJwqPx066004 for net@FreeBSD.org; Wed, 22 Nov 2023 19:58:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected Date: Wed, 22 Nov 2023 19:58:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: iio7@tutanota.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275251 --- Comment #2 from iio7@tutanota.com --- (In reply to Zhenlei Huang from comment #1) $ pciconf -l | grep none none0@pci0:0:8:0: class=3D0x088000 rev=3D0x05 hdr=3D0x00 vendor=3D0x8086 de= vice=3D0x464f subvendor=3D0x1462 subdevice=3D0x7d42 none1@pci0:0:10:0: class=3D0x118000 rev=3D0x01 hdr=3D0x00 vendor=3D0x8086 d= evice=3D0x467d subvendor=3D0x0000 subdevice=3D0x0000 none2@pci0:0:20:2: class=3D0x050000 rev=3D0x11 hdr=3D0x00 vendor=3D0x8086 d= evice=3D0x7aa7 subvendor=3D0x0000 subdevice=3D0x0000 none3@pci0:0:22:0: class=3D0x078000 rev=3D0x11 hdr=3D0x00 vendor=3D0x8086 d= evice=3D0x7ae8 subvendor=3D0x1462 subdevice=3D0x7d42 none4@pci0:0:31:5: class=3D0x0c8000 rev=3D0x11 hdr=3D0x00 vendor=3D0x8086 d= evice=3D0x7aa4 subvendor=3D0x1462 subdevice=3D0x7d42 none5@pci0:4:0:0: class=3D0x020000 rev=3D0x05 hdr=3D0x00 vendor=3D0x10ec d= evice=3D0x8125 subvendor=3D0x1462 subdevice=3D0x7d42 With the realtek-re-kmod driver I get: $ ifconfig re0 re0: flags=3D8843 metric 0 mtu 1500 options=3D201b ether 04:7c:16:44:25:0b inet 192.168.1.26 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 With the driver from base, there is no interface showing at all. With the realtek-re-kmod driver I get problems on many OpenSSL related transfers. $ curl -O https://www.unixsheikh.com/includes/files/the-biggest-myths.pdf % Total % Received % Xferd Average Speed Time Time Time Cur= rent Dload Upload Total Spent Left Spe= ed 12 763k 12 98139 0 0 377k 0 0:00:02 --:--:-- 0:00:02 37= 8k curl: (56) OpenSSL SSL_read: OpenSSL/1.1.1t: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0 This also occurs with IMAP and SFTP. I have attached an Intel NIC to the same machine (in order to be able to do some work), when I plug out the Ethernet cable from the Realtek NIC and use= the Intel NIC all the problems goes away. I have tried running Linux on the box and tried using cURL, IMAP, etc., and then it works. Furtermore, I have another older box also with a Realtek NIC which has the exact same SSL problems with the realtek-re-kmod driver. This is the other box: $ ifconfig re0 re0: flags=3D8843 metric 0 mtu 1500 options=3D201b ether d0:50:99:59:15:7e inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 # dmesg |grep re0 re0: port 0xe000-0xe0ff mem 0xd0704000-0xd0704fff,0xd0700000-0xd0703fff irq 18 at device 0.0 on pci1 re0: Using Memory Mapping! re0: Using 1 MSI-X message re0: ASPM disabled re0: version:1.98.00 re0: Ethernet address: d0:50:99:59:15:7e re0: Ethernet address: d0:50:99:59:15:7e re0: link state changed to UP re0: port 0xe000-0xe0ff mem 0xd0704000-0xd0704fff,0xd0700000-0xd0703fff irq 18 at device 0.0 on pci1 re0: Using Memory Mapping! re0: Using 1 MSI-X message re0: ASPM disabled re0: version:1.98.00 re0: Ethernet address: d0:50:99:59:15:7e re0: Ethernet address: d0:50:99:59:15:7e re0: link state changed to UP After the upgrade to FreeBSD 14 on the older box, I have removed the realtek-re-kmod driver since that one seems to work well with the driver fr= om base at the moment. --=20 You are receiving this mail because: You are the assignee for the bug.=