LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-13-2010, 11:55 AM   #1
Potatos
LQ Newbie
 
Registered: Apr 2010
Distribution: Fedora 13
Posts: 20

Rep: Reputation: 1
Ethernet port dies after a few seconds of use (Intel 82583V)


Hello,

I have been working with a Advantech AIMB-780W board to be used in the PC's at my company and have recently run into some problems with the on-board Ethernet ports.

I am running Linux on the PC, specifically Fedora 13 (kernel 2.6.33.6-147.i686.PAE is the latest update I've tested i think).

Originally after installing the PC recognizes both ports and I can use the top port (82578DM) without any problems however the default MAC address comes up as 88:88:88:88:87:88. This MAC address is consistent regardless of which Linux OS I install, I have tried Fedora, Ubuntu and Cent OS.

If I try to use the bottom port (82583V), which has a more logical mac address, it will work for a few seconds. However once I try any extended contact, for example a yum install or file download using a browser, the connection will stop working.

When checking dmesg I am presented with a spam of:
Code:
pciehp 0000:00:1c.6:pcie04: Card not present on Slot(134)
pciehp 0000:00:1c.6:pcie04: Card present on Slot(134)
pciehp 0000:00:1c.6:pcie04: Card not present on Slot(134)
pciehp 0000:00:1c.6:pcie04: Card present on Slot(134)
pciehp 0000:00:1c.6:pcie04: Card not present on Slot(134)
pciehp 0000:00:1c.6:pcie04: Card present on Slot(134)
Checking LSPCI after using the port it is no longer present. This seems consistent with the idea that the kernel thinks its constantly being disconnected and reconnected.

To get around this bug I previously rebuilt the kernel without PCI-E hotplug support and this crash no longer happened, however the port still gives problems.

When the port is used it proceeds to stop working again, this time it stays in lspci -vv but with garbage values. (I'm currently reinstalling the OS to start over clean and rebuilding the kernel without PCI-E hotplug again so I cant reproduce the error just yet. I can tell you however the returned information is only two or three lines one of which is something like "Invalid header 7f". I will repost the error as soon as I have it again!).

While I rebuild the PC I was wondering if anyone had suggestions to what could cause this peculiar behaviour. Some of the information I found online point to the possibility of this being a problem relating to power supplied to the Ethernet port? If this is the case I'm concerned there's not much I can do. The board is brand new (it was only released a few weeks ago.

Hope this isn't too much of a wall of text and someone can give me some guidance. Ill update this post with progress as I get it.

Thanks!

Extra Information:

The driver used is e1000e and the version is 1.0.2-k2. I tried to update to the latest version but haven't been able to get it to install on my PAE kernel. I am going to try a non PAE kernel however I need to get Ethernet support for PAE as the end result.

Here is the lspci -vv for both ports before I use them:
Code:
02:00.0 Ethernet controller: Intel Corporation 82583V Gigabit Network Connection
        Subsystem: Intel Corporation Device 0000
        Physical Slot: 134
        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 29
        Region 0: Memory at fbce0000 (32-bit, non-prefetchable) [size=128K]
        Region 2: I/O ports at dc00 [size=32]
        Region 3: Memory at fbcdc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0f00c  Data: 41e1
        Capabilities: [e0] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 256 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 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <64us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM L0s Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [a0] MSI-X: Enable- Count=1 Masked-
                Vector table: BAR=3 offset=00000000
                PBA: BAR=3 offset=00002000
        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] Device Serial Number 00-d0-c9-ff-ff-a7-80-51
        Kernel driver in use: e1000e
        Kernel modules: e1000e



00:19.0 Ethernet controller: Intel Corporation 82578DM Gigabit Network Connection (rev 06)
        Subsystem: Intel Corporation Device 0000
        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
        Interrupt: pin A routed to IRQ 28
        Region 0: Memory at fb7c0000 (32-bit, non-prefetchable) [size=128K]
        Region 1: Memory at fb7f8000 (32-bit, non-prefetchable) [size=4K]
        Region 2: I/O ports at c880 [size=32]
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0f00c  Data: 41d1
        Capabilities: [e0] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: e1000e
        Kernel modules: e1000e
 
Old 07-15-2010, 02:05 PM   #2
ogin
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Rep: Reputation: 1
See if you can get another distro's livecd to work with it if you have one laying around. If it works, check the driver version and go from there. But seeing as how the board was "only released a few weeks ago", you may just have to wait patiently for updated drivers.
 
Old 07-19-2010, 05:09 PM   #3
Android1949
LQ Newbie
 
Registered: Jul 2010
Location: California, Orange County
Distribution: Fedora
Posts: 2

Rep: Reputation: 1
I downloaded the e1000e-1.2.8 (latest as of this post) driver and compiled it for Fedora 13 kernel-2.6.33.6-147. I had to modify the netdev.c file though in order to get it compiled.

Below are the modifications I have done. Apply the patch of modify netdev.c

--- cut here ---

diff -uraN e1000e-1.2.8/src/Makefile e1000e-1.2.8-updates/src/Makefile
--- e1000e-1.2.8/src/Makefile 2010-06-11 11:58:34.000000000 -0700
+++ e1000e-1.2.8-updates/src/Makefile 2010-07-16 09:16:33.000000000 -0700
@@ -184,7 +184,8 @@
endif

# set the install path
-INSTDIR := /lib/modules/$(KVER)/kernel/drivers/net/$(DRIVER_NAME)
+#INSTDIR := /lib/modules/$(KVER)/kernel/drivers/net/$(DRIVER_NAME)
+INSTDIR := /lib/modules/$(KVER)/updates/kernel/drivers/net/$(DRIVER_NAME)

# look for SMP in config.h
SMP := $(shell $(CC) $(EXTRA_CFLAGS) -E -dM $(CONFIG_FILE) | \
diff -uraN e1000e-1.2.8/src/netdev.c e1000e-1.2.8-updates/src/netdev.c
--- e1000e-1.2.8/src/netdev.c 2010-06-11 11:58:34.000000000 -0700
+++ e1000e-1.2.8-updates/src/netdev.c 2010-07-16 09:07:08.000000000 -0700
@@ -6035,7 +6035,8 @@
}
#endif /* CONFIG_PM_SLEEP */

-#ifdef CONFIG_PM_RUNTIME
+//#ifdef CONFIG_PM_RUNTIME
+#if 0
static int e1000_runtime_suspend(struct device *dev)
{
struct pci_dev *pdev = to_pci_dev(dev);

--- end ---
 
1 members found this post helpful.
  


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
PPP Dialin server: pppd dies within a few seconds of starting KhurramF Linux - Networking 3 11-15-2007 09:19 PM
BCM4306 is loaded and my ethernet dies C-Sniper Slackware 8 01-16-2007 05:19 PM
mdv 2007 Windowmaker starts then dies within seconds (like logout and returns to kdm) Emmanuel_uk Mandriva 0 11-24-2006 01:20 AM
Windows XP dialup to Linux dies after 20 seconds BillJennings Linux - Networking 3 10-21-2004 03:42 PM
nForce3 network dies after 30 seconds in mandrake 10 antken Linux - Networking 1 10-09-2004 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:50 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