From owner-freebsd-current@freebsd.org Wed Feb 3 20:02:17 2016 Return-Path: Delivered-To: freebsd-current@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 A3EDCA9B517 for ; Wed, 3 Feb 2016 20:02:17 +0000 (UTC) (envelope-from s.o.k@web.de) Received: from mout.web.de (mout.web.de [212.227.17.11]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.web.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06C23FF2 for ; Wed, 3 Feb 2016 20:02:16 +0000 (UTC) (envelope-from s.o.k@web.de) Received: from [80.132.215.108] by 3capp-webde-bap08.server.lan (via HTTP); Wed, 3 Feb 2016 20:57:01 +0100 MIME-Version: 1.0 Message-ID: From: s.o.k@web.de To: freebsd-current@freebsd.org Subject: Realtek 8168/8111 if_re not working in current r295091 Content-Type: text/plain; charset=UTF-8 Date: Wed, 3 Feb 2016 20:57:01 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:8OKgG1SSqakZeJkqiziqzex7boQI/VV6j37tLyalS8h 8Bj/PXEFbaeP5fYU8FSzlG/tcaDVk53QUPHqRh3YjOgyC6BU/k ygG5qNtpUX3iQXaXNcshhfPsjgXdeTZRKuvTmN9h6OI1W95IQX Gtj2WoNlIZQIm34gJBqhxlyPIIUxnFC+DSZC0ACDgrzUrFdgTD ANd2uzu0YISKdK8UzAQovM7i5UURokfu3ENuzMYc71x9q4MJS1 WLMJ9QnZ4KK4+Ji979swnqzvV0gIpbsn6O6qNOpQ4eS/A3nY6Y MgrQB5qs3WU91rkmAEBCKhta9VR X-UI-Out-Filterresults: notjunk:1;V01:K0:VFCWfZ6vdzk=:6pUtCrJPosKgL9ox7uAyZK cKVJhEfdVuZbIZKhBGbPrGYSMD+HmkB8KfmDvtTqGdJKi4s1KgglIXHkY7ZndyaUntmFYRUQh XocmndxMSnJu83Ok/ALI4frLDsRXh/mMKBttzz4Cd12Hove8X/vqJWx1S3fFwq2KBphoCD/JC mkf+qvSWX7cc0HoATRCmhzBkTJyQptpdKKND/NVCofdT1XeRVvOW9kcy4vhUPa2upDeMeGr8J 165h19P8PWUErO0BvCMrY0nBv2mX1DDKyJ3UNdNUtIjnjV/mWWqt47ui6jc9wEC++unyvuH1v XsV8tjzUXN4nlwn8YE3v8OvnyWWJexdBhu9F6HLdDvwQrsrdOY8kvcqzQQlbcvnLiOS6enHF/ 8jmAkj5zagOJUtmzntVH6r7M+PO35l0pPW7tdtd/qZU6DG+F4ciwzqEnjXrwG+S/Ker1zGVGR JyF57jrjbw== X-Mailman-Approved-At: Wed, 03 Feb 2016 20:05:07 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 20:02:17 -0000 After updating -current at Jan, 31st (r295091) the Realtek ethernet device driver of my Zotac ZBox RI323 mini pc seems to be broken: I can neither connect to the host even though the interface is shown as active, nor can I initiate connection from the host through re0. Reverting the kernel to my previous build -current r290151 (install date Nov 1st, 2015) the re0 interface is working OK. Looking through the svn logs regarding /head/sys/dev/re/if_re.c I supect, that Revision 290566 might have someting to do with this and that I have to include my Realtek Chipset to the exclusion list for "enabling RX/TX after initial configuration (or viceversa; I am really confused here), but I havent got a clue how; as I do not know how to find the right RL_HWREV_XXX flag for my device. dmesg shows RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet and pciconf -l -v re0 shows: re0@pci0:2:0:0: class=0x020000 card=0x816819da chip=0x816810ec rev=0x07 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' I am grateful for any suggestion towards a solution and I am willing (and able) to assist by patching or debugging my kernel or giving further hw information about my system. Regards, Stefan