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