Date: Fri, 13 Feb 2015 10:34:49 -0800 From: Ben Perrault <ben.perrault@gmail.com> To: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org>, "freebsd-network@freebsd.org" <freebsd-network@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, "freebsd-hardware@freebsd.org" <freebsd-hardware@freebsd.org> Subject: Re: pcie Realtek 8168G issues (re driver) Message-ID: <4E4BF84E-F6FD-4D25-8B2C-2B443894697B@gmail.com> In-Reply-To: <CAB88xy9oCbq8s99bkWOAGptkH4vr2omsQqyLHrMNHAhtZDH-5g@mail.gmail.com> References: <CAB88xy9oCbq8s99bkWOAGptkH4vr2omsQqyLHrMNHAhtZDH-5g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Luca, I've had the same issue with this interface on both PCIe boards and embedded= in a handful of Lenovo products. The one, fairly ugly workaround I've found= that makes it work well enough is disable tso ( i.e. ifconfig re0 down && i= fconfig re0 -tso && ifconfig re0 up ). This also seems to stop the panics un= der current. I'm not sure it will work for you - but it has on everyone of those interfac= es I've dealt with.=20 Good luck, -bp > On Feb 13, 2015, at 8:06 AM, Luca Pizzamiglio <luca.pizzamiglio@gmail.com>= wrote: >=20 > Hi, I'm Luca, >=20 > I've some issues using a PCIe Realtek Ethernet board: > re0@pci0:3:0:0: class=3D0x020000 card=3D0x012310ec chip=3D0x816810ec rev=3D= 0x0c hdr=3D0x00 > vendor =3D 'Realtek Semiconductor Co., Ltd.' > device =3D 'RTL8111/8168B PCI Express Gigabit Ethernet controller' > class =3D network > subclass =3D ethernet > bar [10] =3D type I/O Port, range 32, base 0x1000, size 256, enabled > bar [18] =3D type Memory, range 64, base 0x90500000, size 4096, enabl= ed > bar [20] =3D type Prefetchable Memory, range 64, base 0x90400000, > size 16384, enabled > cap 01[40] =3D powerspec 3 supports D0 D1 D2 D3 current D0 > cap 05[50] =3D MSI supports 1 message, 64 bit > cap 10[70] =3D PCI-Express 2 endpoint IRQ 1 max data 128(128) link x1(x= 1) > speed 2.5(2.5) ASPM disabled(L0s/L1) > cap 11[b0] =3D MSI-X supports 4 messages > Table in map 0x20[0x0], PBA in map 0x20[0x800] > cap 03[d0] =3D VPD > ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 0 corrected > ecap 0002[140] =3D VC 1 max VC0 > ecap 0003[160] =3D Serial 1 01000000684ce000 > ecap 0018[170] =3D LTR 1 >=20 > Rx and Tx don't work. After some minutes the interface is activated I > get kernel panic. > I've already tried to disable MSIx and MSI. > It seems a DMA problem, rx fill the 256 descriptors and the nothing > else until the panic. netstat -s shows now new packets. >=20 > I filled a bug report with more infos: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197535 >=20 > could someone kindly pointing some ideas? >=20 > Best regards, > Luca > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E4BF84E-F6FD-4D25-8B2C-2B443894697B>