dhclient failure with Realtek 8111E Etnernet on new MSI motherboard

From: Thomas Mueller <mueller6724_at_bellsouth.net>
Date: Wed, 16 Oct 2013 08:50:23 +0000
for MSI Z77 MPOWER motherboard on FreeBSD 10.0-BETA1, from /var/run/dmesg.boot:

re0: Using 1 MSI-X message
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: d4:3d:7e:97:17:e2


Ethernet chip data for older motherboard, MSI Z68MA-ED55(B3), FreeBSD 9.2 prerelease amd64, where Realtek 8111E Ethernet works, is

re0_at_pci0:3:0:0: class=0x020000 card=0x76761462 chip=0x816810ec rev=0x06 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet

When I run " dhclient re0", I can't connect, get


DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 20
DHCPOFFER from 192.168.1.1
DHCPREQUEST on re0 to 255.255.255.255 port 67
DHCPREQUEST on re0 to 255.255.255.255 port 67
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

uname -a shows

FreeBSD amelia4 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256437: Mon Oct 14 16:44:23 UTC 2013     root_at_:/usr/obj/usr/src/sys/SANDY10  amd64

I also get "Memory modified..." error message, meaning the system has become unstable, reboot as soon as I get the messages together.

My guess is that this is a bug in the Realtek 8111E driver.

This Ethernet on MSI Z77 MPOWER motherboard also fails on OpenBSD 5.3 LiveUSB but succeeds on NetBSD-current (6.99.23) amd64 ,and Linux from the System Rescue CD written to USB stick.

I had this problem with 9.2 prerelease, so it apparently hasn't been fixed for 10.0.

Should I file a PR?

Tom
Received on Wed Oct 16 2013 - 06:50:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC