Date: Tue, 6 Oct 2020 21:02:48 -0700 From: sreehari <sreeharisreedev1@gmail.com> To: "FreeBSD-stable@FreeBSD.org" <freebsd-stable@freebsd.org> Subject: 12.2-RC1: RTL8251/8153 1000BASE-T seemingly stuck at 100Mbps Message-ID: <CAFZnm=zK3-WwTKxkb-kzWo7gvzvbpT0H5NCz28na_DwfzZDWwQ@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] I have a USB C hub that supports gigabit ethernet under any other OS, but under FreeBSD it seems to detect it properly, but I never get speeds exceeding 100Mbps transfer rate on the whole thing. Is this a known issue? Also is there any way to check what the perceived link speed is? I've attached dmesg.boot if that helps. [-- Attachment #2 --] ---<<BOOT>>--- Copyright (c) 1992-2020 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.2-RC1 r366352 GENERIC amd64 FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) VT(efifb): resolution 1920x1080 CPU: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (1992.10-MHz K8-class CPU) Origin="GenuineIntel" Id=0x806ec Family=0x6 Model=0x8e Stepping=12 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=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x121<LAHF,ABM,Prefetch> Structured Extended Features=0x29c67af<FSGSBASE,TSCADJ,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE> Structured Extended Features3=0xbc000600<MCUOPT,MD_CLEAR,IBPB,STIBP,L1DFL,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0x2b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16255614976 (15502 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <LENOVO TP-N2H > FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads random: unblocking device. ioapic0 <Version 2.0> irqs 0-119 on motherboard Launching APs: 1 5 3 7 6 2 4 Timecounter "TSC" frequency 1992102317 Hz quality 1000 Cuse v0.1.36 @ /dev/cuse random: entropy device external interface kbd1 at kbdmux0 000.000024 [4336] netmap_init netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff81115e40, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 efirtc0: <EFI Realtime Clock> on motherboard efirtc0: registered as a time-of-day clock, resolution 1.000000s cryptosoft0: <software crypto> on motherboard aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS> on motherboard acpi0: <LENOVO TP-N2H> on motherboard acpi_ec0: <Embedded Controller: GPE 0x16, ECDT> port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) unknown: memory range not supported cpu0: <ACPI CPU> on acpi0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 24000000 Hz quality 950 Event timer "HPET" frequency 24000000 Hz quality 550 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0x2000-0x203f mem 0xe9000000-0xe9ffffff,0xc0000000-0xcfffffff at device 2.0 on pci0 vgapci0: Boot video device xhci0: <XHCI (generic) USB 3.0 controller> mem 0xea220000-0xea22ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: <memory, RAM> at device 20.2 (no driver attached) pci0: <network> at device 20.3 (no driver attached) pci0: <serial bus> at device 21.0 (no driver attached) pci0: <serial bus> at device 21.1 (no driver attached) pci0: <simple comms> at device 22.0 (no driver attached) pcib1: <ACPI PCI-PCI bridge> at device 29.0 on pci0 pci1: <ACPI PCI bus> on pcib1 nvme0: <Generic NVMe Device> mem 0xea100000-0xea103fff,0xea104000-0xea1040ff at device 0.0 on pci1 pcib2: <ACPI PCI-PCI bridge> at device 29.4 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci2 pci3: <ACPI PCI bus> on pcib3 pcib4: <PCI-PCI bridge> at device 0.0 on pci3 pci4: <PCI bus> on pcib4 pcib5: <PCI-PCI bridge> at device 1.0 on pci3 pci5: <PCI bus> on pcib5 pcib6: <ACPI PCI-PCI bridge> at device 2.0 on pci3 pci6: <ACPI PCI bus> on pcib6 xhci1: <XHCI (generic) USB 3.0 controller> mem 0xdc000000-0xdc00ffff at device 0.0 on pci6 xhci1: 32 bytes context size, 64-bit DMA usbus1 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 pcib7: <PCI-PCI bridge> at device 4.0 on pci3 pci7: <PCI bus> on pcib7 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 hdac0: <Intel Cannon Lake HDA Controller> mem 0xea23c000-0xea23ffff,0xea000000-0xea0fffff at device 31.3 on pci0 pci0: <serial bus> at device 31.5 (no driver attached) em0: <Intel(R) PRO/1000 Network Connection> mem 0xea200000-0xea21ffff at device 31.6 on pci0 em0: Using 1024 TX descriptors and 1024 RX descriptors em0: Using an MSI interrupt em0: Ethernet address: 98:fa:9b:d6:61:8d em0: netmap queues/slots: TX 1/1024, RX 1/1024 acpi_button0: <Sleep Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 acpi_syscontainer0: <System Container> on acpi0 acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0 acpi_ibm0: Firmware version is 0x200 acpi_acad0: <AC Adapter> on acpi0 battery0: <ACPI Control Method Battery> on acpi0 atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 atrtc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. coretemp0: <CPU On-Die Thermal Sensors> on cpu0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 Timecounters tick every 1.000 msec ugen1.1: <0x8086 XHCI root HUB> at usbus1 ugen0.1: <0x8086 XHCI root HUB> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 nvd0: <WDC PC SN730 SDBQNTY-512G-1001> NVMe namespace nvd0: 488386MB (1000215216 512 byte sectors) hdacc0: <Realtek ALC285 HDA CODEC> at cad 0 on hdac0 hdaa0: <Realtek ALC285 Audio Function Group> at nid 1 on hdacc0 pcm0: <Realtek ALC285 (Analog 3.1+HP/2.0)> at nid 20,23,33 and 25 on hdaa0 hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0 hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1 pcm1: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1 Trying to mount root from ufs:/dev/nvd0p5 [rw]... uhub0: 4 ports with 4 removable, self powered drmn0: <drmn> on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19). Failed to add WC MTRR for [0xc0000000-0xcfffffff]: -22; performance may suffer [drm] Got stolen memory base 0x79800000, size 0x4000000 [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] Connector eDP-1: get mode from tunables: [drm] - kern.vt.fb.modes.eDP-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-2: get mode from tunables: [drm] - kern.vt.fb.modes.DP-2 [drm] - kern.vt.fb.default_mode [drm] Initialized i915 1.6.0 20171222 for drmn0 on minor 0 VT: Replacing driver "efifb" with new "fb". start FB_INFO: type=11 height=1080 width=1920 depth=32 cmsize=16 size=14745600 pbase=0xc0040000 vbase=0xfffff800c0040000 name=drmn0 flags=0x0 stride=10240 bpp=32 cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 end FB_INFO drmn0: fb0: inteldrmfb frame buffer device acpi_iichid0: <HID over I2C (ACPI)> on acpi0 uhub1: 18 ports with 18 removable, self powered ugen1.2: <VIA Labs, Inc. USB3.0 Hub> at usbus1 uhub2 on uhub0 uhub2: <VIA Labs, Inc. USB3.0 Hub, class 9/0, rev 3.10/3.83, addr 1> on usbus1 drmn0: successfully loaded firmware image with name: i915/kbl_dmc_ver1_04.bin [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xea238000-0xea23bfff at device 20.3 on pci0 iwm0: hw rev 0x310, fw ver 34.3125811985.0, address 04:ed:33:dd:ce:49 ig4iic0: <Intel Cannon Lake-LP I2C Controller-2> mem 0xea245000-0xea245fff at device 21.0 on pci0 ig4iic0: Using MSI iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0 ig4iic1: <Intel Cannon Lake-LP I2C Controller-3> mem 0xea246000-0xea246fff at device 21.1 on pci0 ig4iic1: Using MSI iicbus1: <Philips I2C bus (ACPI-hinted)> on ig4iic1 iichid0 at addr 0x2c on iicbus1 iichid0: <SYNA8004:00 06CB:CD8B I2C HID device> on iicbus1 iichid0: Interrupt setup failed. Fallback to sampling hidbus0: <HID bus> on iichid0 hms0: <SYNA8004:00 06CB:CD8B Mouse> on hidbus0 hms0: 2 buttons and [XY] coordinates ID=2 hmt0: <SYNA8004:00 06CB:CD8B TouchPad> on hidbus0 hconf0: <SYNA8004:00 06CB:CD8B Configuration> on hidbus0 hmt0: Multitouch touchpad with 0 external buttons, click-pad hmt0: 5 contacts with [C] properties. Report range [0:0] - [1162:634] hidraw0: <SYNA8004:00 06CB:CD8B Raw HID Device> on hidbus0 ugen0.2: <VIA Labs, Inc. USB2.0 Hub> at usbus0 uhub3 on uhub1 uhub3: <VIA Labs, Inc. USB2.0 Hub, class 9/0, rev 2.10/3.83, addr 1> on usbus0 uhub3: MTT enabled lo0: link state changed to UP uhub2: 4 ports with 4 removable, self powered ugen1.3: <Realtek USB 10/100/1000 LAN> at usbus1 uhub3: 5 ports with 4 removable, self powered ugen0.3: <vendor 0x1a40 USB 2.0 Hub> at usbus0 uhub4 on uhub3 uhub4: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 2> on usbus0 uhub4: 4 ports with 4 removable, self powered ugen0.4: <VIA Labs, Inc. USB Billboard Device> at usbus0 ure0 on uhub2 ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 3.00/31.00, addr 2> on usbus1 ure0: unknown version 0x6010 miibus0: <MII bus> on ure0 rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto ue0: <USB Ethernet> on ure0 ue0: Ethernet address: 00:1c:c2:4d:10:9f ue0: link state changed to DOWN ugen0.5: <Raydium Corporation Raydium Touch System> at usbus0 ugen0.6: <Chicony Electronics Co.,Ltd. Integrated Camera> at usbus0 ugen0.7: <vendor 0x06cb product 0x00bd> at usbus0help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFZnm=zK3-WwTKxkb-kzWo7gvzvbpT0H5NCz28na_DwfzZDWwQ>
