[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 Mariah Carey changed: What|Removed |Added CC||mariah...@gmail.com --- Comment #20 from Mariah Carey --- It's possible that the driver you're currently using (realtek-re-kmod) may not be fully compatible with your hardware or system configuration, leading to the SSL decryption errors you're encountering. https://wordlewebsite.com -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #19 from i...@tutanota.com --- (In reply to Alex Dupre from comment #18) Yes. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #18 from Alex Dupre --- Did you follow these instructions to load the built module before the kernel? https://github.com/freebsd/freebsd-ports/blob/main/net/realtek-re-kmod/pkg-message#L4-L8 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #17 from i...@tutanota.com --- (In reply to Alex Dupre from comment #16) Yes it's weird. Just to make sure I didn't make any mistakes, I did a fresh install of FreeBSD 14 on the machine. As there is no network, I git cloned the files for v1.99 unto a USB stick on another machine and the compiled the driver on the affected box. After rebooting, the kernel module is clearly loaded: $ kldstat Id Refs AddressSize Name 1 40 0x8020 1d34598 kernel 21 0x81f35000129d0 if_re.ko 31 0x8291 3390 acpi_wmi.ko 41 0x82914000 3250 ichsmb.ko 51 0x82918000 2178 smbus.ko 61 0x8291b000 3360 uhid.ko 71 0x8291f000 33c0 usbhid.ko 81 0x82923000 3380 hidbus.ko 91 0x82927000 3360 wmt.ko 101 0x8292b000 4364 ums.ko Still, the driver is not attached: # dmesg|grep ethernet pci4: at device 0.0 (no driver attached) However, I decided to manually unload the module and load it again, which causes a kernel panic! I rebooted the box and checked in /var/crash, however all the files are empty: # ls -l /var/crash total 4 -rw-r--r-- 1 root wheel 0 Dec 21 20:24 bounds -rw-r--r-- 1 root wheel 0 Dec 21 20:24 core.txt.0 -rw--- 1 root wheel 0 Dec 21 20:24 info.0 lrwxr-xr-x 1 root wheel 0 Dec 21 20:24 info.last -> -rw-r--r-- 1 root wheel 5 Nov 10 09:16 minfree -rw--- 1 root wheel 0 Dec 21 20:24 vmcore.0 lrwxr-xr-x 1 root wheel 0 Dec 21 20:24 vmcore.last -> I do not know how to proceed from here. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #16 from Alex Dupre --- (In reply to iio7 from comment #15) It seems quite weird given that the PCI vendor and device id are supported by the driver, so the driver should try to attach. Are you sure the kernel module has been correctly built/loaded? Any error after loading it? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #15 from i...@tutanota.com --- (In reply to Alex Dupre from comment #14) Yes, of course. none5@pci0:4:0:0: class=0x02 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125 subvendor=0x1462 subdevice=0x7d42 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8125 2.5GbE Controller' class = network subclass = ethernet Please let me know if there is anything else I can do. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #14 from Alex Dupre --- Can you run `pciconf -lv` and post the relevant lines for the realtek network card, please? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #13 from i...@tutanota.com --- (In reply to Alex Dupre from comment #12) I am sorry, it is because I had multiple machines with problems and I think I managed to mix the two bug reports up (having both open in tabs). Two of the machines was suffering from the SSL problem, that has now been fixed. Originally bug #274995 One of the machines has another problem (not SSL related), which is what this bug report originally addressed, "Realtek PCIe 2.5GbE Family Controller not being detected". The machine with the problem runs with a MSI MAG B660M MORTAR motherboard with a Realtek PCIe 2.5GbE Family Controller which isn't detected. # dmesg|grep ethernet pci4: at device 0.0 (no driver attached) I have tried both with the native FreeBSD driver and this evening with the v1.99 version of the realtek-re-kmod driver (which I compiled). None of the drivers work. The card is not detected at all. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #12 from Alex Dupre --- (In reply to iio7 from comment #11) Your initial message says "I can get the card up using the realtek-re-kmod driver", so I don't understand what card you are talking about that was not already recognized by the 1.98 version. Anyway, let's see if the ssl issue has been fixed even there with the new driver, thanks. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #11 from i...@tutanota.com --- (In reply to Alex Dupre from comment #10) No, the Realtek PCIe 2.5GbE Family Controller on the MSI MAG B660M MORTAR motherboard is not detected. # dmesg|grep ethernet pci4: at device 0.0 (no driver attached) I will test with the new driver and get back. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #10 from Alex Dupre --- Any test is helpful. Wasn't the other card already recognized by the 1.98 version, though? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #9 from i...@tutanota.com --- (In reply to Olivier Cochard from comment #8) Thank you very much :) I finally had the time to test v1.99 out on the machine with the SSL problem and v1.99 has indeed fixed that. It works. Do you want me to test the other machine in order to see if the card gets recognized with the v1.99? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #8 from Olivier Cochard --- For local quick development and test, if you don't need to generate a package, because this code is simple (doesn't require lot's of building dependencies), the easiest way is the "raw way": git clone --branch v1.99 https://github.com/alexdupre/rtl_bsd_drv.git cd rtl_bsd_drv make cp if_re.ko /boot/modules/ If you would like to build a package the recommended way is to use poudriere, but a little more complex because you have to understand some basic port build system knowledge. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #7 from i...@tutanota.com --- (In reply to Olivier Cochard from comment #6) Thank you, but I like to be able to build it myself. Also for future situations in which I may need to do it again. How do I build it? Is it just by using ports? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 Olivier Cochard changed: What|Removed |Added CC||oliv...@freebsd.org --- Comment #6 from Olivier Cochard --- Here is a 14.0-RELEASE realtek-re-kmod-199.00 package for you: fetch https://people.freebsd.org/~olivier/beta_packages/14/realtek-re-kmod-199.00.pkg And by the way, this problem isn't reproducible on this chipset: none2@pci0:2:0:0: class=0x02 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125 subvendor=0x10ec subdevice=0x0123 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8125 2.5GbE Controller' class = network subclass = ethernet -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #5 from i...@tutanota.com --- I need to know what I need. The Makefile has this: .PATH: ${.CURDIR}/../../dev/re which doesn't make any sense to me. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #4 from i...@tutanota.com --- (In reply to Alex Dupre from comment #3) I would very much like to do that, but I haven't done anything build related in years. How do I manually build the 1.99 branch? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #3 from Alex Dupre --- Can you try to manually build the 1.99 branch (https://github.com/alexdupre/rtl_bsd_drv/tree/v1.99) at the latest commit (9d48464) and provide an updated feedback on the SSL issue, please? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 --- Comment #2 from i...@tutanota.com --- (In reply to Zhenlei Huang from comment #1) $ pciconf -l | grep none none0@pci0:0:8:0: class=0x088000 rev=0x05 hdr=0x00 vendor=0x8086 device=0x464f subvendor=0x1462 subdevice=0x7d42 none1@pci0:0:10:0: class=0x118000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x467d subvendor=0x subdevice=0x none2@pci0:0:20:2: class=0x05 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7aa7 subvendor=0x subdevice=0x none3@pci0:0:22:0: class=0x078000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7ae8 subvendor=0x1462 subdevice=0x7d42 none4@pci0:0:31:5: class=0x0c8000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x7aa4 subvendor=0x1462 subdevice=0x7d42 none5@pci0:4:0:0: class=0x02 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125 subvendor=0x1462 subdevice=0x7d42 With the realtek-re-kmod driver I get: $ ifconfig re0 re0: flags=8843 metric 0 mtu 1500 options=201b ether 04:7c:16:44:25:0b inet 192.168.1.26 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 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 TimeTime Time Current Dload Upload Total SpentLeft Speed 12 763k 12 981390 0 377k 0 0:00:02 --:--:-- 0:00:02 378k 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=8843 metric 0 mtu 1500 options=201b ether d0:50:99:59:15:7e inet 192.168.1.3 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 # dmesg |grep re0 re0: port 0xe000-0xe0ff mem 0xd0704000-0xd0704fff,0xd070-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,0xd070-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 from base at the moment. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 Zhenlei Huang changed: What|Removed |Added CC||a...@freebsd.org, ||z...@freebsd.org --- Comment #1 from Zhenlei Huang --- (In reply to iio7 from comment #0) > I have a MSI MAG B660M MORTAR motherboard with a Realtek PCIe 2.5GbE Family > Controller which is not detected. > # dmesg|grep ethernet > pci4: at device 0.0 (no driver attached) > I suspect that is it. You may try `pciconf -l | grep none` to identify it further. > I can get the card up using the realtek-re-kmod driver however, that doesn't > work > correctly with the card as it get's "routines:ssl3_get_record:decryption > failed or > bad record mac, errno 0" when using any kind of OpenSSL encrypted connection > whether > HTTP, SFTP, or IMAP, etc. Can you please elaborate the errors? And what is shown by `ifconfig re0` ? > According to the user manual it's a Realtek 8125BG 2.5Gbps LAN controller. CC realtek-re-kmod driver port maintainer Alex . -- You are receiving this mail because: You are the assignee for the bug.
[Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275251 Mark Linimon changed: What|Removed |Added Assignee|b...@freebsd.org|n...@freebsd.org -- You are receiving this mail because: You are the assignee for the bug.