https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236962

Eugene Grosbein <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Eugene Grosbein <[email protected]> ---
(In reply to marcel from comment #3)

I was in exactly same position using cheap hoster's hardware and re0 watchdog
timeouts. There is simple work-around that may be acceptable if problem is
rare. Add single line to /etc/sysctl.conf:

kern.* |/root/bin/monitor_nic

Simple script /root/bin/monitor_nic just does what driver is supposed to do in
such case: reset interface to revive it.

#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
while read month day time s host kernel rest
do
  case "$rest" in
  "re0: watchdog timeout")
    sleep 5
    ifconfig re0 down
    sleep 1
    ifconfig re0 up
    sleep 30
    ;;
  esac
done
# EOF

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to