Date: Thu, 4 Feb 2016 09:50:22 +0800 From: Kevin Lo <kevlo@FreeBSD.org> To: s.o.k@web.de Cc: freebsd-current@freebsd.org Subject: Re: Realtek 8168/8111 if_re not working in current r295091 Message-ID: <20160204015022.GA98345@ns.kevlo.org> In-Reply-To: <trinity-abb68349-1869-4b8c-801b-254057609ec8-1454529421824@3capp-webde-bap08> References: <trinity-abb68349-1869-4b8c-801b-254057609ec8-1454529421824@3capp-webde-bap08>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 03, 2016 at 08:57:01PM +0100, s.o.k@web.de wrote: > > 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. Hmm, mine works fine. # pciconf -l -v re1 re1@pci0:4:0:0: class=0x020000 card=0x57531462 chip=0x816810ec rev=0x0c hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' class = network subclass = ethernet # dmesg |grep re1 re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xb000-0xb0ff mem 0x90604000-0x90604fff,0x90600000-0x90603fff irq 19 at device 0.0 on pci4 re1: Using 1 MSI-X message re1: ASPM disabled re1: Chip rev. 0x4c000000 re1: MAC rev. 0x00000000 > Regards, Stefan Kevin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160204015022.GA98345>