[1-0] # date -u; uname -a; pkg -v
Sat Mar 1 13:40:58 UTC 2025
FreeBSD q210 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
2.0.6
[2-0] # pkg inf | grep -E '(realtek-re-kmod|drm-61-kmod)'
drm-61-kmod-6.1.128.1402000_1 DRM drivers modules
realtek-re-kmod-1100.00.1402000_1 Kernel driver for Realtek PCIe Ethernet Controllers
[3-0] # pkg delete realtek-re-kmod drm-61-kmod # <- delete packages to create a clean start
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
drm-61-kmod: 6.1.128.1402000_1
realtek-re-kmod: 1100.00.1402000_1
Number of packages to be removed: 2
The operation will free 18 MiB.
Proceed with deinstalling packages? [y/N]: y
[1/2] Deinstalling drm-61-kmod-6.1.128.1402000_1...
[1/2] Deleting files for drm-61-kmod-6.1.128.1402000_1: 100%
[2/2] Deinstalling realtek-re-kmod-1100.00.1402000_1...
[2/2] Deleting files for realtek-re-kmod-1100.00.1402000_1: 100%
[4-0] # pkg autoremove
Checking integrity... done (0 conflicting)
Nothing to do.
[5-0] # # after disabling the 'kmods' repository (in order to install the 14.1-RELEASE specific packages):
[6-0] # pkg repositories
FreeBSD: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/kmods_latest_2",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
[7-0] # pkg install drm-61-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
drm-61-kmod: 6.1.128.1401000_1 [FreeBSD]
Number of packages to be installed: 1
The process will require 17 MiB more space.
3 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching drm-61-kmod-6.1.128.1401000_1.pkg: 100% 3 MiB 3.7MB/s 00:01
Checking integrity... done (0 conflicting)
[1/1] Installing drm-61-kmod-6.1.128.1401000_1...
[1/1] Extracting drm-61-kmod-6.1.128.1401000_1: 100%
=====
Message from drm-61-kmod-6.1.128.1401000_1:
--
The drm-61-kmod port can be enabled for amdgpu (for AMD
GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
APUs starting with HD3000 / Sandy Bridge) through kld_list in
/etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are
some positive reports if EFI boot is NOT enabled.
For amdgpu: kld_list="amdgpu"
For Intel: kld_list="i915kms"
For radeonkms: kld_list="radeonkms"
Please ensure that all users requiring graphics are members of the
"video" group.
Please note that this package was built for FreeBSD 14.1.
If this is not your current running version, please rebuild
it from ports to prevent panics when loading the module.
[8-0] # pkg install realtek-re-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
realtek-re-kmod: 1100.00.1401000_1 [FreeBSD]
Number of packages to be installed: 1
The process will require 1 MiB more space.
129 KiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching realtek-re-kmod-1100.00.1401000_1.pkg: 100% 129 KiB 132.5kB/s 00:01
Checking integrity... done (0 conflicting)
[1/1] Installing realtek-re-kmod-1100.00.1401000_1...
[1/1] Extracting realtek-re-kmod-1100.00.1401000_1: 100%
=====
Message from realtek-re-kmod-1100.00.1401000_1:
--
Add the following lines to your /boot/loader.conf
to override the built-in FreeBSD re(4) driver.
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
By default, the size of allocated mbufs is enough
to receive the largest Ethernet frame supported
by the card. If your memory is highly fragmented,
trying to allocate contiguous pages (more than
4096 bytes) may result in driver hangs.
For this reason the value is tunable at boot time,
e.g. if you don't need Jumbo frames you can lower
the memory requirements and avoid this issue with:
hw.re.max_rx_mbuf_sz="2048"
To enable Wake on LAN (WoL) support you might need
to set the following tunables:
hw.re.s5wol="1"
hw.re.s0_magic_packet="1"
If you experience network hangs with IPv6 enabled,
you might need to disable the checksum offloading
by adding the following parameters to the related
ifconfig line in your /etc/rc.conf file:
-rxcsum -txcsum -rxcsum6 -txcsum6
[9-0] # # after enabling 'kmods' repository:
[10-0] # pkg repositories
FreeBSD: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/kmods_latest_2",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
[11-0] # pkg upgrade -r FreeBSD -r FreeBSD-kmods drm-61-kmod # upgrade fails:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
FreeBSD, FreeBSD-kmods are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
[12-0] # pkg upgrade -r FreeBSD drm-61-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
FreeBSD is up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
[13-0] # pkg upgrade -r FreeBSD-kmods drm-61-kmod
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
FreeBSD-kmods is up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
drm-61-kmod: 6.1.128.1401000_1 -> 6.1.128.1402000_1 [FreeBSD-kmods]
Number of packages to be upgraded: 1
Proceed with this action? [y/N]: y
[1/1] Upgrading drm-61-kmod from 6.1.128.1401000_1 to 6.1.128.1402000_1...
[1/1] Extracting drm-61-kmod-6.1.128.1402000_1: 100%
[14-0] # pkg upgrade -r FreeBSD -r FreeBSD-kmods realtek-re-kmod # upgrade fails:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
FreeBSD, FreeBSD-kmods are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
[15-0] # pkg upgrade -r FreeBSD realtek-re-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
FreeBSD is up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
[16-0] # pkg upgrade -r FreeBSD-kmods realtek-re-kmod
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
FreeBSD-kmods is up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
realtek-re-kmod: 1100.00.1401000_1 -> 1100.00.1402000_1 [FreeBSD-kmods]
Number of packages to be upgraded: 1
Proceed with this action? [y/N]: y
[1/1] Upgrading realtek-re-kmod from 1100.00.1401000_1 to 1100.00.1402000_1...
[1/1] Extracting realtek-re-kmod-1100.00.1402000_1: 100%
[17-0] # pkg inf | grep -E '(realtek-re-kmod|drm-61-kmod)'
drm-61-kmod-6.1.128.1402000_1 DRM drivers modules
realtek-re-kmod-1100.00.1402000_1 Kernel driver for Realtek PCIe Ethernet Controllers
[18-0] #