I've had some issues with the "re0: watchdog timeout" error that happens with RTL8111/8168/8411 adapters (realtek-re-kmod drivers) and this is how I fixed:
1. Create a jail (let's call it 'gcc')
2. Enter the jail (as root user)
# iocage console gcc
3. Get FreeBSD sources and ports repos, compile and install
# pkg install -y git gcc
# sh
# git clone -o freebsd -b releng/$(uname -r | cut -d'-' -f1,1) https://git.FreeBSD.org/src.git /usr/src
# git clone -o freebsd https://git.freebsd.org/ports.git /usr/ports
# cd /usr/ports/net/realtek-re-kmod/
# make install
4. Exit the jail
# exit
# exit
yeah, one from the sh shell and another from the csh shell
5. Backup and copy modules
# cp /boot/modules/if_re.ko /root/if_re.ko.bkp
# cp /mnt/[pool name]/iocage/jails/gcc/root/boot/modules/if_re.ko /boot/modules/
or, alternatively
# cp /mnt/[pool name]/iocage/jails/gcc/root/usr/ports/net/realtek-re-kmod/work/stage/boot/modules/if_re.ko /boot/modules/
6. On the GUI, go to System -> Tunables and add these:
variable: if_re_load
value: YES
variable: if_re_name
value: /boot/modules/if_re.ko
7. Reboot
This is the graph from a file transfer that used to make my interface flap and go down:
Source: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166724#c93
1. Create a jail (let's call it 'gcc')
2. Enter the jail (as root user)
# iocage console gcc
3. Get FreeBSD sources and ports repos, compile and install
# pkg install -y git gcc
# sh
# git clone -o freebsd -b releng/$(uname -r | cut -d'-' -f1,1) https://git.FreeBSD.org/src.git /usr/src
# git clone -o freebsd https://git.freebsd.org/ports.git /usr/ports
# cd /usr/ports/net/realtek-re-kmod/
# make install
4. Exit the jail
# exit
# exit
yeah, one from the sh shell and another from the csh shell
5. Backup and copy modules
# cp /boot/modules/if_re.ko /root/if_re.ko.bkp
# cp /mnt/[pool name]/iocage/jails/gcc/root/boot/modules/if_re.ko /boot/modules/
or, alternatively
# cp /mnt/[pool name]/iocage/jails/gcc/root/usr/ports/net/realtek-re-kmod/work/stage/boot/modules/if_re.ko /boot/modules/
6. On the GUI, go to System -> Tunables and add these:
variable: if_re_load
value: YES
variable: if_re_name
value: /boot/modules/if_re.ko
7. Reboot
This is the graph from a file transfer that used to make my interface flap and go down:
Source: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166724#c93
Last edited: