Instability in re driver?

Brett Glass brett at lariat.net
Thu Feb 20 03:59:25 UTC 2014


Everyone:

We've been experiencing occasional crashes on heavily loaded 
machines that have Realtek gigabit Ethernet ports built into their 
motherboards. This evening, at a time of peak usage, one of the 
machines showed the log messages

Feb 19 18:44:14 <kern.crit> server kernel: re0: watchdog timeout
Feb 19 18:44:14 <kern.notice> server kernel: re0: link state changed to DOWN
Feb 19 18:44:18 <kern.notice> server kernel: re0: link state changed to UP

even though we did not take the port down or up. A few minutes 
later, the entire machine locked up solid and required a power cycle.

Here are the boot time messages from the same server (as I rebooted 
it following the crash):

Feb 19 19:08:22 <kern.crit> server kernel: re0: <RealTek 8168/8111 
B/C/CP/D/DP/E/F PCIe Gigabit E
thernet> port 0xd800-0xd8ff mem 
0xfeadf000-0xfeadffff,0xfdefc000-0xfdefffff irq 16 at device 0.0 on pci1
Feb 19 19:08:22 <kern.crit> server kernel: re0: Using 1 MSI-X message
Feb 19 19:08:22 <kern.crit> server kernel: re0: Chip rev. 0x28000000
Feb 19 19:08:22 <kern.crit> server kernel: re0: MAC rev. 0x00000000
Feb 19 19:08:22 <kern.crit> server kernel: miibus0: <MII bus> on re0
Feb 19 19:08:22 <kern.crit> server kernel: rgephy0: 
<RTL8169S/8110S/8211 1000BASE-T media interfa
ce> PHY 1 on miibus0
Feb 19 19:08:22 <kern.crit> server kernel: rgephy0:  none, 10baseT, 
10baseT-FDX, 10baseT-FDX-flow
, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000base
T-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow

This problem is occurring on several servers built with the same 
motherboard/chipset. Are there known bugs, hangs, or memory leaks 
that might have led to this condition? Are there recent fixes which 
address it? (The machines that are crashing are all running the 
latest security patch level of FreeBSD 9.1-RELEASE.)

--Brett Glass



More information about the freebsd-questions mailing list