From owner-freebsd-net@freebsd.org  Tue Sep 15 14:07:37 2015
Return-Path: <owner-freebsd-net@freebsd.org>
Delivered-To: freebsd-net@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id D99A2A04851
 for <freebsd-net@mailman.ysv.freebsd.org>;
 Tue, 15 Sep 2015 14:07:37 +0000 (UTC)
 (envelope-from sreenathbh@rocketmail.com)
Received: from nm22-vm2.access.bullet.mail.gq1.yahoo.com
 (nm22-vm2.access.bullet.mail.gq1.yahoo.com [216.39.63.50])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id AA9B61344
 for <freebsd-net@freebsd.org>; Tue, 15 Sep 2015 14:07:37 +0000 (UTC)
 (envelope-from sreenathbh@rocketmail.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048;
 t=1442325893; bh=1ZJjHFdjlXiGupxx7mWU+XaGZhcMkIpgine+rfvE0EQ=;
 h=Date:From:Subject:To:Cc:In-Reply-To:From:Subject;
 b=V2dUQzYktusmIjec4qV2+uu8aLX+737ZijIqnnZKielphf9raTSNIGZz5EXuW+VSEmJQ/PAQlf9NV0cXIzOkLr6TKRigpuiPdwhX6Vvgah75bvJ7ynAqqEVlHBnWbqukPBP75fpCpmGJwQEY1PAWY3eYgPtFtGIqg6TXmjuJzvtFkzPfSya1ppPC4P+gKtp0A/qOyq62RqgPLvwl9ZZnu62pPk1hDnMy6muzctFbF2r3lsCkgZI1uDWYj3DVOor7cM0F3N+w9cAHYai2v2SLeQwf5HdITSn2GWpC20S/bDIALPOmMgjVxk8J4AdpPxUG2Pe7DZqJY+i7RoNS31bqNA==
Received: from [216.39.60.167] by nm22.access.bullet.mail.gq1.yahoo.com with
 NNFMP; 15 Sep 2015 14:04:53 -0000
Received: from [216.39.60.161] by tm3.access.bullet.mail.gq1.yahoo.com with
 NNFMP; 15 Sep 2015 14:04:53 -0000
Received: from [127.0.0.1] by omp1027.access.mail.gq1.yahoo.com with NNFMP;
 15 Sep 2015 14:04:53 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 783171.64185.bm@omp1027.access.mail.gq1.yahoo.com
Received: (qmail 89010 invoked by uid 60001); 15 Sep 2015 14:04:53 -0000
X-YMail-OSG: yj8dypEVM1mOM104IMDPQm9av6gjz5lF2rR1OCm1eSsc2lM
 P._C4oytY7invrkwFTGpOZDne2PY.9_3WmISDzNe5YkV9NgouTs.6AvywDsW
 qo9bpYNOb63OC4hxBfq.8J_ji.Hu6Yr_DR1zbWWk9w7atbd0LH36QHxX.be1
 dhyp.SgykQa7sHI.AT8bslchyQUqG7GXRzxPKU6KsvL722v6Cn9VOd22MJK2
 h0Q64iB1RxdOMUWopli.3P_bC7HnZdwyOU5U6Zhogvex2CCUwsXWqXwOynuH
 RkDX1nmnrOQHEevkl3Sb7lRlR3WPZR6jE3QaD1Znt4joRYlnuDXq4zSH7Odw
 ibvpIQI7BWp2dOih7OxDF1dM.99HbWPwNqRrBybe.RbPS030CyVShj4C1iBt
 LNO8ztsvf2z9LeQCgLepJgj.3U_bwLlzb7MYdFZj9aCx.mfYNjEMDiMa1PqY
 ZWzkj.mBMSu14BElKItne6XvcjpeOzZhYI13UETGhtmMwFE_hgT91lBd42mx
 rMYXOMc3CcDlw7zQpaAI5xyXZMFo2rBoaE7Jj_xQoL8h4sg8AwRS2hekZKEX
 NfQ2005aX
Received: from [61.1.250.155] by web184304.mail.ne1.yahoo.com via HTTP;
 Tue, 15 Sep 2015 07:04:53 PDT
X-Rocket-MIMEInfo: 002.001,
 SGksDQoNCldpbGwgeW91IGJlIHN1Ym1pdHRpbmcgdGhlIHBhdGNoIHVwc3RyZWFtIHRvIHN1cHBvcnQgdGhlIG5ldyBkZXZpY2UgcmV2aXNpb24_DQoNCnJnZHMsDQpTcmVlbmF0aA0KDQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KT24gU2F0LCA5LzEyLzE1LCBHYXJ5IFBhbG1lciA8Z3BhbG1lckBmcmVlYnNkLm9yZz4gd3JvdGU6DQoNCiBTdWJqZWN0OiBSZTogcmVhbHRlayBpbnRlcmZhY2Ugbm90IHdvcmtpbmcNCiBUbzogIlNyZWVuYXRoIEJhdHRhbGFoYWxsaSIgPHMBMAEBAQE-
X-Mailer: YahooMailBasic/685 YahooMailWebService/0.8.203.813
Message-ID: <1442325893.26688.YahooMailBasic@web184304.mail.ne1.yahoo.com>
Date: Tue, 15 Sep 2015 07:04:53 -0700
From: Sreenath Battalahalli <sreenathbh@rocketmail.com>
Subject: Re: realtek interface not working
To: Gary Palmer <gpalmer@freebsd.org>
Cc: Marius Strobl <marius@alchemy.franken.de>, freebsd-net@freebsd.org
In-Reply-To: <20150912104347.GA45080@in-addr.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2015 14:07:37 -0000

Hi,

Will you be submitting the patch upstream to support the new device revisio=
n?

rgds,
Sreenath

--------------------------------------------
On Sat, 9/12/15, Gary Palmer <gpalmer@freebsd.org> wrote:

 Subject: Re: realtek interface not working
 To: "Sreenath Battalahalli" <sreenathbh@rocketmail.com>
 Cc: "Marius Strobl" <marius@alchemy.franken.de>, freebsd-net@freebsd.org
 Date: Saturday, September 12, 2015, 10:43 AM
=20
 On Fri, Sep 11, 2015 at
 10:57:36PM -0700, Sreenath Battalahalli wrote:
 >
 Hi Marius,
 >=20
 > Thanks
 for the patch. I manually made changes to the two files, and
 after building the kernel and installing it,
 > I can see the re0 interface. I am now
 sending this email using the new laptop.
 >=20
 > However, I am a bit
 confused by the dmesg output. I see two sets of lines
 pertaining to the re0 device.
 >=20
 > $dmesg | grep -i re0
 >
=20
 > re0: <RealTek 8168/8111
 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
 0x3000-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
 0x3000-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
 >=20
 >
 seems the driver attempted to initialize the device
 twice?
 >=20
 > Anyway, it
 is working now.
=20
 The
 kernel dmesg buffer can be preserved over a reboot, so
 it's possible
 the lines up to and
 including "device_attach: re0 attach returned 6"
 are
 from the reboot before you installed the
 patch.=A0 Rather than just grep for
 re0, do
 "dmesg | less" or "dmesg | more" and
 check the context of the=20
 "device_attach: re0 attach returned
 6" error and see if there are any=20
 indications of a reboot between that line and
 the next re0 probe lines, e.g.
 "Copyright (c) 1992-2015 The FreeBSD
 Project"
=20
 Regards,
=20
 Gary