Call for test: Realtek wired NIC re(4)
Sepherosa Ziehau
sepherosa at gmail.com
Thu Dec 3 06:54:00 PST 2020
On Tue, Dec 1, 2020 at 8:43 PM Ron Georgia <netverbs at gmail.com> wrote:
>
> I do not experience any hangs with updates, if you by updates you mean
> the whole "git pull; make build-all install-all" thing.
>
> I have a small "mini" pc that has two RealTek NICs. If the pc sits idle
> for more than an hour I lose network connectivity. I can not access
> anything on my networks or on any external site. I have to do a "sudo
> service netif restart" to restore network capabilities. It happens only
> on that machine. I'm not sure if it's a BIOS setting or something else.
I pushed the changes to the master; it may help this case, since there
are some register setting fixes in this driver update.
Thanks,
sephe
>
> On 11/29/2020 9:23 PM, Sepherosa Ziehau wrote:
> > Do you mean you still suffer the intermittent hang with the update?
> >
> > On Sun, Nov 29, 2020 at 11:37 PM Ron Georgia <netverbs at gmail.com> wrote:
> >> I have two machines with RealTek NICs. With "machine 1" the network
> >> constantly needed to be restarted (service netif restart) with RELEASE
> >> 5.8.3. So far under 5.9-DEVELOPMENT DragonFly
> >> v5.9.0.1113.gbf66a-DEVELOPMENT #5 dhclient(?) continues to work.
> >>
> >> QUESTION: Is there a test framework or procedure I can use? Something
> >> that might provide you with some test data?
> >>
> >> Machine 1:
> >>
> >> re0: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem
> >> 0xd0800000-0xd0803fff,0xd0804000-0xd0804fff irq 16 at device 0.0 on pci1
> >> re1: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0xc000-0xc0ff mem
> >> 0xd0600000-0xd0603fff,0xd0604000-0xd0604fff irq 16 at device 0.0 on pci3
> >>
> >> DragonFly v5.9.0.1113.gbf66a-DEVELOPMENT #5: Sat Nov 28 22:14:25 EST 2020
> >> root at mini01.ronverbs.dev:/usr/obj/usr/src/sys/X86_64_GENERIC
> >> acpi_hpet: frequency 14318180
> >> Using cputimer HPET for TSC calibration
> >> Timer latency (in TSC ticks): 1673 min=1656 max=2040
> >> TSC invariant clock: 1999999800 Hz
> >> CPU: Intel(R) Celeron(R) CPU J1900 @ 1.99GHz (2000.00-MHz K8-class CPU)
> >> Origin = "GenuineIntel" Id = 0x30678 Stepping = 8
> >> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> >> Features2=0x41d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,RDRND>
> >> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
> >> AMD Features2=0x101<LAHF,Prefetch>
> >> Structured Extended Features=0x2282<TSCADJ,SMEP,ENHMOVSB,NFPUSG>
> >> Structured Extended Features3=0xc000000<IBPB,STIBP>
> >> Thermal and PM Features=0x7<SENSOR,TURBO,ARAT>
> >> MONITOR/MWAIT Features=0x3<CST,INTBRK>
> >> CPU Special Features Installed: SMEP
> >> real memory = 8408166400 (8018 MB)
> >> avail memory = 8068538368 (7694 MB)
> >>
> >> Machine 2:
> >>
> >> re0: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem
> >> 0xf0300000-0xf0303fff,0xfcd00000-0xfcd00fff irq 29 at device 0.0 on pci4
> >>
> >> DragonFly v5.9.0.1017.g6be057-DEVELOPMENT #0: Fri Oct 30 10:42:52 UTC 2020
> >> root at pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC
> >> acpi_hpet: frequency 14318180
> >> Using cputimer HPET for TSC calibration
> >> Timer latency (in TSC ticks): 5773 min=5705 max=5915
> >> TSC invariant clock: 3493439208 Hz
> >> CPU: AMD Ryzen 3 2200G with Radeon Vega Graphics (3493.44-MHz K8-class CPU)
> >> Origin = "AuthenticAMD" Id = 0x810f10 Stepping = 0
> >> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
> >> Features2=0x76d8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,AVX,F16C,RDRND>
> >> AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
> >> AMD
> >> Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCX_CORE,PCX_NB,DBE,PCX_L2I,MWAITX>
> >> Structured Extended
> >> Features=0x209c01a9<GSFSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
> >> Thermal and PM Features=0x4<ARAT>
> >> MONITOR/MWAIT Features=0x3<CST,INTBRK>
> >> CPU Special Features Installed: SMAP SMEP
> >> real memory = 14978347008 (14284 MB)
> >> avail memory = 14382575616 (13716 MB)
> >>
> >>
> >> On 2020-11-26 15:00, users-request at dragonflybsd.orgwrote:
> >>> Send Users mailing list submissions to
> >>> users at dragonflybsd.org
> >>>
> >>> To subscribe or unsubscribe via the World Wide Web, visit
> >>> http://lists.dragonflybsd.org/mailman/listinfo/users
> >>> or, via email, send a message with subject or body 'help' to
> >>> users-request at dragonflybsd.org
> >>>
> >>> You can reach the person managing the list at
> >>> users-owner at dragonflybsd.org
> >>>
> >>> When replying, please edit your Subject line so it is more specific
> >>> than "Re: Contents of Users digest..."
> >>>
> >>>
> >>> Today's Topics:
> >>>
> >>> 1. Re: Call for test: Realtek wired NIC re(4) (Romick)
> >>> 2. Re: Call for test: Realtek wired NIC re(4) (Daniel Fojt)
> >>>
> >>>
> >>> ----------------------------------------------------------------------
> >>>
> >>> Message: 1
> >>> Date: Thu, 26 Nov 2020 13:00:05 +1000
> >>> From: Romick<yellowrabbit2010 at gmail.com>
> >>> To:users at dragonflybsd.org
> >>> Subject: Re: Call for test: Realtek wired NIC re(4)
> >>> Message-ID:<20201126030005.62oc3dsv4wklflkx at fly.home.net>
> >>> Content-Type: text/plain; charset="us-ascii"
> >>>
> >>> On Wed, Nov 25, 2020 at 10:54:16PM +0800, Sepherosa Ziehau wrote:
> >>>> https://gitweb.dragonflybsd.org/~sephe/dragonfly.git/shortlog/refs/heads/re-196.04
> >>>>
> >>>> So far, I have tested 8110, 8111, 8168 and 8125; all work as expected.
> >>>>
> >>>> For 8125, the other side will also have to support 2.5Gbase-T to get
> >>>> it negotiated. For now, 2.5Gbase-T will be shown as 2500baseSX; it
> >>>> will be fixed soon.
> >>>>
> >>>> Please help test. It will be committed early next week.
> >>> I switched to the branch. The machine has booted up and works without
> >>> any problems so far. Let you know if anything overflows or freezes :)
> >>>
> >>> card=0x81681849 chip=0x816810ec rev=0x15
> >>> Realtek RTL8111H integrated into ASRock B450M motherboard.
> >>> 100M mode.
> >>>
> >
> >
--
Tomorrow Will Never Die
More information about the Users
mailing list