Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 22:57:36 -0700
From:      Sreenath Battalahalli <sreenathbh@rocketmail.com>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        freebsd-net@freebsd.org
Subject:   Re: realtek interface not working
Message-ID:  <1442037456.3232.YahooMailBasic@web122106.mail.ne1.yahoo.com>
In-Reply-To: <20150910191240.GA97360@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Marius,

Thanks for the patch. I manually made changes to the two files, and after b=
uilding the kernel and installing it,
I can see the re0 interface. I am now sending this email using the new lapt=
op.

However, I am a bit confused by the dmesg output. I see two sets of lines p=
ertaining to the re0 device.

$dmesg | grep -i re0

re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x300=
0-0x30ff mem 0xb0604000-0xb0604fff,0xb0600000-0xb0603fff irq 18 at device 0=
.0 on pci2
re0: Using 1 MSI-X message
re0: turning off MSI enable bit.
re0: ASPM disabled
re0: Chip rev. 0x54000000
re0: MAC rev. 0x00100000
re0: Unknown H/W revision: 0x54000000
device_attach: re0 attach returned 6
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x300=
0-0x30ff mem 0xb0604000-0xb0604fff,0xb0600000-0xb0603fff irq 18 at device 0=
.0 on pci2
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x54000000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 2c:60:0c:92:0f:c2

seems the driver attempted to initialize the device twice?

Anyway, it is working now.

thanks,
Sreenath

--------------------------------------------
On Thu, 9/10/15, Marius Strobl <marius@alchemy.franken.de> wrote:

 Subject: Re: realtek interface not working
 To: "Sreenath Battalahalli" <sreenathbh@rocketmail.com>
 Cc: freebsd-net@freebsd.org
 Date: Thursday, September 10, 2015, 7:12 PM
=20
 On Thu, Sep 10, 2015 at
 08:33:06AM -0700, Sreenath Battalahalli wrote:
 >
 Hi=20
 >=20
 > I got=A0 a new
 laptop (Acer E5-573) that has a Realtek 1Gbps adapter.
 > ifconfig after booting does not list re0
 interface.
 >=20
 > Here
 are relevant lines from dmesg:
 >=20
 > re0: <RealTek 8168/8111
 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
 0x3000-0x3
 > 0ff mem
 0xb0604000-0xb0604fff,0xb0600000-0xb0603fff irq 18 at device
 0.0 on pci2
 > re0: Using 1 MSI-X
 message
 > re0: turning off MSI enable
 bit.
 > re0: ASPM disabled
 > re0: Chip rev. 0x54000000
 > re0: MAC rev. 0x00100000
 > re0: Unknown H/W revision: 0x54000000
 > device_attach: re0 attach returned 6
 >=20
 > Looks like this
 hardware is not supported by the driver.
 >=20
 > Freebsd version is
 10.2 amd64=20
 >=20
 > any
 help if getting this to work appreciated.
 >=20
=20
 Please
 give the attached patch a try.
=20
 Marius
=20
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1442037456.3232.YahooMailBasic>