Date: Wed, 22 Nov 2023 19:58:52 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected Message-ID: <bug-275251-7501-czKV9DscVe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275251-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-275251-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D201b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,WOL_MAGIC> ether 04:7c:16:44:25:0b inet 192.168.1.26 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D201b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,WOL_MAGIC> ether d0:50:99:59:15:7e inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> # dmesg |grep re0 re0: <Realtek PCIe GbE Family Controller> 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: <Realtek PCIe GbE Family Controller> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275251-7501-czKV9DscVe>