LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-21-2014, 10:02 AM   #1
intestinal fortitude
LQ Newbie
 
Registered: Jan 2014
Posts: 19

Rep: Reputation: Disabled
Realtek ethernet cuts out for 40 seconds every 10 minutes


Hi all. This is my first post to LinuxQuestions.

As the subject says my problem is the ethernet regularly cuts out for about 40 seconds every 10 minutes.

My computer is a desktop PC I built to fiddle with. It has an ECS Z87H3A4 motherboard with a built-in Realtek gigabit ethernet adapter. I did several google searches and see many people with Realtek problems, but none like mine. I have swapped ports on the switch, and have other PCs on the same LAN and they do not have problems, so I know it isn't a problem with the switch.

The system defaulted to the r8169 driver and common advice for people with Realtek problems is to switch to the r8168 driver. I did that but there was no change.

The PC is configured with a static IP address (192.168.1.4).

netstat -i doesn't show any dropped packets or error packets.
dmesg and the system log don't show any ethernet errors.

Any suggestions on how to attack this problem? Thanks!

uname -r:
Code:
3.12.7-2-ARCH
Output of lspci -vv:
Code:
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
	Subsystem: Elitegroup Computer Systems Device 8116
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 46
	Region 0: I/O ports at e000 [size=256]
	Region 2: Memory at f7c00000 (64-bit, non-prefetchable) [size=4K]
	Region 4: Memory at f0000000 (64-bit, prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee0f00c  Data: 4122
	Capabilities: [70] Express (v2) Endpoint, MSI 01
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 4096 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 unlimited, L1 <64us
			ClockPM+ Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Via message/WAKE#
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
		Vector table: BAR=4 offset=00000000
		PBA: BAR=4 offset=00000800
	Capabilities: [d0] Vital Product Data
		Unknown small resource type 00, will not decode more.
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
	Capabilities: [140 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Capabilities: [160 v1] Device Serial Number 00-00-00-00-68-4c-e0-00
	Capabilities: [170 v1] Latency Tolerance Reporting
		Max snoop latency: 71680ns
		Max no snoop latency: 71680ns
	Kernel driver in use: r8168
	Kernel modules: r8169, r8168
Here's what I see when I ping my router (notice about 40 missing packets after sequence counter 14):
Code:
505 ares:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.694 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.712 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.699 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.711 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.695 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.700 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=0.716 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=0.699 ms
64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=0.590 ms
64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=0.721 ms
64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=0.667 ms
64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=0.606 ms
64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=0.679 ms
64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=0.617 ms
64 bytes from 192.168.1.1: icmp_seq=55 ttl=64 time=0.703 ms
64 bytes from 192.168.1.1: icmp_seq=56 ttl=64 time=0.641 ms
64 bytes from 192.168.1.1: icmp_seq=57 ttl=64 time=0.592 ms
64 bytes from 192.168.1.1: icmp_seq=58 ttl=64 time=0.614 ms
64 bytes from 192.168.1.1: icmp_seq=59 ttl=64 time=0.629 ms
64 bytes from 192.168.1.1: icmp_seq=60 ttl=64 time=0.566 ms
64 bytes from 192.168.1.1: icmp_seq=61 ttl=64 time=0.643 ms
64 bytes from 192.168.1.1: icmp_seq=62 ttl=64 time=0.693 ms
64 bytes from 192.168.1.1: icmp_seq=63 ttl=64 time=0.687 ms
64 bytes from 192.168.1.1: icmp_seq=64 ttl=64 time=0.603 ms
64 bytes from 192.168.1.1: icmp_seq=65 ttl=64 time=0.682 ms
64 bytes from 192.168.1.1: icmp_seq=66 ttl=64 time=0.689 ms
64 bytes from 192.168.1.1: icmp_seq=67 ttl=64 time=0.673 ms
64 bytes from 192.168.1.1: icmp_seq=68 ttl=64 time=0.702 ms
64 bytes from 192.168.1.1: icmp_seq=69 ttl=64 time=0.595 ms
64 bytes from 192.168.1.1: icmp_seq=70 ttl=64 time=0.687 ms
64 bytes from 192.168.1.1: icmp_seq=71 ttl=64 time=0.673 ms


^C
--- 192.168.1.1 ping statistics ---
71 packets transmitted, 31 received, 56% packet loss, time 69997ms
rtt min/avg/max/mdev = 0.566/0.663/0.721/0.055 ms
506 ares:~#
 
Old 01-21-2014, 10:42 AM   #2
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848

Rep: Reputation: 231Reputation: 231Reputation: 231
Maybe need a discreet network card?
 
Old 01-21-2014, 10:47 AM   #3
intestinal fortitude
LQ Newbie
 
Registered: Jan 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by erik2282 View Post
Maybe need a discreet network card?
That's my plan if I can't get it working.
 
Old 01-27-2014, 10:47 PM   #4
intestinal fortitude
LQ Newbie
 
Registered: Jan 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
Solved. It was an IP address conflict. Running tcpdump from another computer, I noticed an occasional arp request for the problem PC's IP address, with a response that had the wrong hardware address. Then when I looked up the organization for the hardware address, I saw it was Netgear. Oops.
 
Old 01-28-2014, 03:32 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,144

Rep: Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640
Good catch. Thanks for posting the solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
convert total no of seconds in the format hour minutes and seconds suchi_s Programming 15 03-15-2011 12:34 PM
[SOLVED] bash: Convert decimal to minutes:seconds? DJCharlie Programming 10 01-26-2011 08:05 PM
loose contact with server for few seconds or minutes. saurabhperiwal Linux - Networking 1 10-14-2009 10:47 PM
Odd problem..minutes going by like seconds, everything too quick? jtneal Linux - General 2 03-22-2008 12:22 AM
Help! Ethernet disconnect after 2 minutes Bakoulou Mandriva 1 02-18-2006 05:21 PM

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

All times are GMT -5. The time now is 02:42 AM.

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