LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-20-2022, 01:54 PM   #1
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 141

Rep: Reputation: 15
R8169 kernel module gigabit issues


Hello
I have a dell laptop that is connected using an Ethernet cable (50m of cat7) to a openWRT router.
The laptop is running Debian stable and on first connection the speed of the ethernet is 1000, after a certain amount of time/traffic (usually in the 15min to 1h range) the speed drops to 100.
Forcing the connection to 1000 using ethtool and disabling autonegotiation brings back speed to 1000 for a certain amount of time, then it automatically drops to 100 and autoneg goes back on.
I tried to force autoneg off on network manager, tried edit the /etc/network/interfaces to make sure that autoneg is off but it doesn't stay off.
The interface uses the R8169 kernel module, I have tried to interpose a switch but it still drops down to 100...
there are no network errors nor missing packets.
I am out of ideas..
Anything else I could try?
Happens on both Debian and Liquorix kernels. It also happens on R8168 dkms driver.
 
Old 11-24-2022, 07:15 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,304

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
50m of cat7?

I'm glad to see cat7, but there is maximum distances that you can do with this stuff. I come at this from the hardware end. Before they started using the Henry as a measure of inductance, it used to be measured in feet. 50 metres = 164 feet. There will be also resistance and capacitance added, althougjh I presume they will be minimized in cat7, they can't be eliminated.

There's standard microchips and IP cores for 8169 [Actually 8111/8169/8411] Controllers - I have a couple myself. They just work. My guess is you're borderline on the length, or have low quality cable. I would eliminate the pc as a cause.

If you want to shut off autonegotiation, go at /etc/modprobe.d and a module option, if it's there. Byte checking is a 1 bit checksum, isn't it? If you're transmitting too fast, there is the possibility that two errors will cancel in the same byte. So your checksum will be correct, but your data could be wrong.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gigabit NIC not negotiating to gigabit. d2490n Linux - Networking 3 03-26-2014 02:50 PM
TRENDnet TEG-PCITXR 32-bit gigabit PCI adapter not actually gigabit? blankbmx Linux - Hardware 1 03-02-2010 11:40 PM
Issue: RHEL 4 and US robotics gigabit NIC module r8169 khurramb Red Hat 1 02-06-2007 06:12 PM
kernel: r8169: eth0: Reset RTL8169s PHY seanfitz Linux - Networking 0 09-30-2005 07:12 AM
r8169, amd64, 2.6.x kernel - networking does not work Sulu Linux - Hardware 0 11-30-2004 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration