| Summary: | missing network driver for Realtek RTL 8125BG | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Alex Matei <matei35> | ||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
| Status: | Closed Works As Intended | ||||||
| Severity: | Affects Some People | CC: | dsl, emaste, linimon, se | ||||
| Priority: | --- | ||||||
| Version: | Latest | ||||||
| Hardware: | amd64 | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Alex Matei
2023-07-24 00:49:42 UTC
The RTL8125 driver is available as a port and package (net/realtek-re-kmod, realtek-re-kmod), it is based on the driver sources provided by Realtek. This driver is based on a very old version of the driver in FreeBSD, it lacks support for features that have been introduced into FreeBSD since the date when Realtek created its fork (e.g. NETMAP, generic PHY support). The advantage of the Realtek driver is that it provides some 30 device specific firmware patches that work around the bugs of each supported chip. I had started to merge the RTL8125 specific functionality into the FreeBSD driver, 3 years ago, but have given up since Realtek considers programming information for their chips confidential and the example drivers did not contain all information required for integration into if_re and the generic PHY driver. The CPU AMD Ryzen 9 7900 was launched in January 2023. The motherboard Gigabyte B650 Aorus Elite AX was launched in March 2023. Yet, if_re.ko that comes with FreeBSD 13.2 distribution does not work with these components. I built my old PC in 2012. I want a new desktop with the latest components. I do not want to use an old PC because if_re.ko does not support new components. I spent a lot of time and money to find new PC components to work with FreeBSD. Anyway, I can live with that. I can manually install the network driver. I'm new to FreeBSD. I need to learn ZFS and other things... Forgot to mention that Realtek driver package contains if_re.c and if_re.h. So, the source code for the driver is available. Sounds rather like a port problem, hence the update. ale@: can you work with the submitter to see if net/realtek-re-kmod will solve their problem? (In reply to Mark Linimon from comment #5) As far as I can see he said in the first comment that the driver downloaded from the realtek website fixed his issue, so the net/realtek-re-kmod port will surely fix it, too, there's no need to manually build and replace the driver. |