[Bug 272686] missing network driver for Realtek RTL 8125BG

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Jul 2023 00:49:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272686

            Bug ID: 272686
           Summary: missing network driver for Realtek RTL 8125BG
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: matei35@yahoo.com

Created attachment 243578
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243578&action=edit
dmesg.boot

I built my desktop with the following components:

cpu: AMD Ryzen 9 7900  (65w power dissipation, does not require liquid cooler)
motherboard: Gigabyte B650 AORUS ELITE AX
memory: Corsair, 32 GB (16 GB x 2)
storage: SSD, Gigabyte 1 TB
psu: Corsair RM850e, 850 w
case: Corsair 4000D mid-tower
UEFI BIOS F7a (Gigabyte BIOS update is a zip file good for any OS)
OS: FreeBSD 13.2

When installing the OS, the installer did not configure IPv4 and IPv6
because there's no network driver.
On the motherboard, there's RTL 8125BG chip.
I went to the following URL:

https://www.realtek.com/en/component/zoo/category/network-interface-controllers-
10-100-1000m-gigabit-ethernet-pci-express-software

and downloaded the RTL 8125BG driver (rtl_bsd_drv_v198.00.tgz) for FreeBSD.
I followed the instructions in Readme.txt.

root@seagull:/boot/kernel # pwd
/boot/kernel
root@seagull:/boot/kernel # ls -l | grep if_re
-r-xr-xr-x  1 root  wheel   1044640 Jul 21 14:15 if_re.ko
root@seagull:/boot/kernel # 
root@seagull:/boot/kernel # grep if_re /boot/loader.conf
if_re_load="YES"
root@seagull:/boot/kernel # 

Now, the network is working fine.

The following lines are just FYI. They are not related to 
the above bug.
The audio chip on the motherboard is Realtek ALC897.
root@seagull:~ # grep hda /boot/loader.conf
snd_hda_load="YES"
root@seagull:~ # grep hdac /boot/device.hints
hint.hdac.1.cad0.nid20.config="as=1"
hint.hdac.1.cad0.nid27.config="as=1 seq=15"
root@seagull:~ # 
The two monitor speakers and the headphone are working fine.

For the video:
root@seagull:~ # pkg install drm-510-kmod-5.10.163_7
root@seagull:~ # 
root@seagull:~ # grep amdgpu /etc/rc.conf
kld_list="amdgpu"
root@seagull:~ # id root
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),44(video)
root@seagull:~ # cat /usr/local/etc/X11/xorg.conf.d/driver-scfb.conf
Section "Device"
   Identifier "Device0"
      Driver "scfb"
EndSection
root@seagull:~ #
Xorg is working fine.   I'm not a gamer.

-- 
You are receiving this mail because:
You are the assignee for the bug.