All Mint Editions Intel I217V Ethernet Hangs on Z87 Board

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Random12
Level 1
Level 1
Posts: 17
Joined: Mon May 28, 2012 3:44 pm

All Mint Editions Intel I217V Ethernet Hangs on Z87 Board

Post by Random12 »

This has to be an upstream kernel/driver problem, but let me post here to see if others have the problem, and if anyone know where to get help upstream or knows of workarounds.

I built a machine around an ASROCK Z87 Extreme4/TB Motherboard with an onboard I217V Ethernet port. Linux Mint 13 didn't recognize the port right away but did with an updated e1000e ethernet driver. port. Linux Mint 16RC1 initially worked right away.

However, on booting from a clean state the Ethernet port is recognized and seems to work fine.

Once I do nearly any sort of shutdown, suspend, or restart the port is hung on reboot or resume. The port remains hung even after a complete power cycle and reboot. The port remains hung after entering UEFI BIOS and reloading all UEFI defaults. Opening the case and physically clearing CMOS resets
the port to a working state.

Can anyone help? Is there any sort of linux utility that would allow me to reset the port? Opening the case every time I need to reboot is a major pain.

lspci output follows. If anyone can help, let me know what other output or information would be useful.

lspci -vvx -nn -d8086:153b
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-V [8086:153b] (rev 05)
Subsystem: ASRock Incorporation Device [1849:153b]
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 43
Region 0: Memory at dc500000 (32-bit, non-prefetchable)
Region 1: Memory at dc53d000 (32-bit, non-prefetchable)
Region 2: I/O ports at f080
Capabilities: <access denied>
Kernel driver in use: e1000e
00: 86 80 3b 15 07 04 10 00 05 00 00 02 00 00 00 00
10: 00 00 50 dc 00 d0 53 dc 81 f0 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 49 18 3b 15
30: 00 00 00 00 c8 00 00 00 00 00 00 00 0a 01 00 00
Random12
Level 1
Level 1
Posts: 17
Joined: Mon May 28, 2012 3:44 pm

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Random12 »

P.S. Fedora 20 Beta has the same problem which is what makes me fairly certain it's an upstream kernel driver/issue.

I will also say that all of Mint 13, 16, and Fedora also have problems with shutdown, suspend, and restart on this hardware. The machine is fast, so it's not that big a deal having to power cycle to reboot every now and then. It is a big deal to have to open the case and clear CMOS on every reboot.

Thanks.
A.
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

I have a Gigabyte Z87 with Mint 16 RC. I fixed my shutdown problem by switching off, disabling Wake on LAN in the BIOS. I also disabled VT-d in the BIOS. This will already be disable with one of the unlocked, "K" processors though.
User avatar
catweazel
Level 19
Level 19
Posts: 9875
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by catweazel »

Hitchhiker wrote:This will already be disable with one of the unlocked, "K" processors though.
False. Newer K processors have support for virtualised hardware.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
catweazel
Level 19
Level 19
Posts: 9875
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by catweazel »

Random12 wrote:This has to be an upstream kernel/driver problem
I have an I217V and don't have that issue, though I compile my own kernel and don't use UEFI. The correct driver is e1000e. It could well be that your NIC is stuffed. The easy way out is to buy a $10 RTL-based NIC and see how you go with that. Alternatively you can try to compile your own kernel. If you need instructions I'll be happy to post them; it's not difficult, only scary the first few times :mrgreen:
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

catweazel wrote:
Hitchhiker wrote:This will already be disable with one of the unlocked, "K" processors though.
False. Newer K processors have support for virtualised hardware.
They have some but I don't believe they have VT-d.
User avatar
catweazel
Level 19
Level 19
Posts: 9875
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by catweazel »

Hitchhiker wrote:I don't believe
It's common courtesy to fact-check your beliefs before you espouse them, sonny. Techical support has far more rigorous criteria than mere religious belief.
Intel® Virtualization Technology for Directed I/O (VT-d)
[url]http://ark.intel.com/products/75123[/url]
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

catweazel wrote:
Hitchhiker wrote:I don't believe
It's common courtesy to fact-check your beliefs before you espouse them, sonny. Techical support has far more rigorous criteria than mere religious belief.
Intel® Virtualization Technology for Directed I/O (VT-d)
[url]http://ark.intel.com/products/75123[/url]
Thanks. In your link it looks like it says, "No" for VT-d, which is way I thought I had remembered it being.
User avatar
catweazel
Level 19
Level 19
Posts: 9875
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by catweazel »

Hitchhiker wrote:"No" for VT-d
My sincere apologies. You're right. I'm wrong. It has VT-x. Don't look while I quietly slink off the thread :mrgreen:
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

My Intel I217V Ethernet is revision 4 and seems to be working properly. The Gigabyte Z87 boards have two LAN cards, one Intel and the other is Atheros. The Wi-Fi card is an Intel with Bluetooth. I disabled the VT-d because it is used to feed the PCI and PCIe directly to a virtual machine if used. Sometimes the feature can cause problems with PCI and PCIe devices.
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

Here is some mention of the shutdown and Wake on Lan issue.

http://sourceforge.net/p/e1000/bugs/377/
Random12
Level 1
Level 1
Posts: 17
Joined: Mon May 28, 2012 3:44 pm

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Random12 »

Wake on LAN is disabled and I am still having trouble.

When I do a clear CMOS on my motherboard I am able to boot and get a network connection.
After a shutdown or suspend the network connection will not come back until I clear CMOS again.

I have gone to the Intel website and followed instructions for installing the 2.5.4 version of the e1000e driver.
I can make install it and modprobe it into place, how the old version 2.3.2 seems to come back every time I reboot.
Is there a way to make 2.5.4 the default version?

I am skeptical that this will help as even after I manually modprobe 2.5.4 into place, the ethernet still does not come
back after a shutdown or suspend.

When I inspect my lspci -vvx -nn output when the network connection is not working one difference that I see is
a line that says
>Interrupt: pin A routed to IRQ 20
as opposed to
>Interrupt: pin A routed to IRQ 43
Random12
Level 1
Level 1
Posts: 17
Joined: Mon May 28, 2012 3:44 pm

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Random12 »

I am confused about what version of the e1000e driver I am using.

I went the Intel website and downloaded the latest version of the driver, 2.5.4, and followed the instructions there.

If I clear CMOS and boot my system so that I get an ethernet connection I see the following lines in dmesg
indicating I'm using verison 2.3.2.
$ dmesg | grep e1000e
[ 0.852203] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[ 0.852204] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[ 0.865428] e1000e 0000:00:19.0: setting latency timer to 64
[ 0.865487] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 0.865517] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[ 1.038506] e1000e 0000:00:19.0 eth0: registered PHC clock
[ 1.038508] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) bc:5f:f4:d7:c1:0b
[ 1.038510] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 1.038545] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
[ 8.921862] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[ 9.025688] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[ 12.608170] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control:

However modinfo indicates that I'm up to date
$ modinfo e1000e
filename: /lib/modules/3.12.1-031201-generic/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
version: 2.5.4-NAPI
license: GPL
description: Intel(R) PRO/1000 Network Driver
author: Intel Corporation, <linux.nics@intel.com>
srcversion: 14FC0D45EE1DAA1B5E0DBBA
...

Can anyone shed any light?

Thanks
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

This thread looks like a very similar issue and a possible solution.

http://forums.linuxmint.com/viewtopic.php?f=150&t=128643
Random12
Level 1
Level 1
Posts: 17
Joined: Mon May 28, 2012 3:44 pm

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Random12 »

Hitchhiker, Thank you. You pointed me to exactly what I need to make the new driver load
on boot, which is in addition to following the Intel instructions to do a
$ sudo update-initramfs -u -k all

Unfortunately the new driver does not solve my problems. The machine still suspends/shutdowns improperly.
and nothing short of opening the case and pushing clear CMOS can bring my Ehernet port back.

I tried adding acpi=off to my grub boot command, but then the machine doesn't boot at all after that.
Do newer processors/kernels/motherboards require ACPI?

This is definitely seeming more like a kernel/UEFI/BIOS issue than a driver issue per se.
Of course whatever one says about the UEFI/BIOS here, it works with Windows.

I wish there was some way to clear/reset relevant parts of CMOS state short of opening the case.
Random12
Level 1
Level 1
Posts: 17
Joined: Mon May 28, 2012 3:44 pm

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Random12 »

Anybody have any suggestions? What is etiquette here? Am I allowed to keep asking in the hopes that someone knowledgable will take an interest.

It's pretty clearly some BIOS/kernel/driver interaction. When I suspend the machine goes to a sleep state, but then reboots rather than resumes after I hit a key. Shutdown seems to work, but I can't access the Ethernet port and the e1000e driver isn't loaded when I reboot.
lspci still shows the port. If I've booted cleanly and have a working Ethernet port and select Restart from the the Shutdown menu things are fine.

Only doing a clear CMOS allows the machine to boot cleanly with a working Ethernet port. I can see from dmesg output that memory and IRQs are being mapped a bit differently in the working fresh boot case versus the no Ethernet reboot after a Shutdown/Suspend case. Bascially I'm stuck with either never shutting the machine down or having to open the case to clear CMOS.

I contat ASRock but they were worse than useless giving me bad advice to clear CMOS with the jumper rather than the switch.

I tried booting with ACPI=off but then the machine just doesn't boot at all.
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

I see that a new BIOS was just released today.

http://www.asrock.com/mb/Intel/Z87%20Extreme4TB4/?cat=Download&os=BIOS

See the link above.

Fixes,

1. Update CPU code.
2. Update Intel ME.
3. Hide Intel Turbo Boost Technology if CPU does not support this feature.
4. Improve "UEFI Tech Service" function.
5. Improve memory compatibility.
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

Here is a good explanation of Intel ME,

http://www.tomshardware.com/reviews/vpro-amt-management-kvm,3003-6.html

Intel Management Engine.

It doesn't look like a fix for your issue.
Random12
Level 1
Level 1
Posts: 17
Joined: Mon May 28, 2012 3:44 pm

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Random12 »

Hitchhiker,

Thanks again. I flashed the new UEFI, but things are the same. You were correct that the update doesn't address my issues.

Do you have any suggestions for where I might look for additional help? You seem to be up this stuff, at least more than me.

I've nosed around the e1000e driver sourceforge pages, but I'd like to report something a bit more useful than
just my ethernet driver won't start except when I boot from a clean CMOS state.

Suspend definitely doesn't work right. Shutdown does shut down, but I imagine it's not really working right either as the ethernet doesn't come back and it also seems like a reboot after a shutdown takes longer than one from a clean CMOS state. Given that, I suspect some sort of kernel/UEFI/ACPI bug/interaction issue is the root trouble more than the driver.

I don't have an installable copy of Windows 7 or 8. I suppose there's some tiny chance I have a bad board and the problem would exist with Windows as well, but I sort of doubt it. Maybe I'll borrow a copy of Windows from somewhere just to confirm that this is Linux problem and not a bad motherboard.

I did try Fedora 20 Beta 1 and it behaved just like Mint. I'm thinking maybe I post to a Fedora forum as well as somewhere upstream at Ubuntu and perhaps even to kernel folks. Again, I'd love to have more helpful diagnostics before bothering busy wizards.

I see some differences in dmesg output from a clean good boot versus a bad one. Messages show memory being mapped a little differently and IRQ's assigned differently, but I'm not enough of a wizard to know what any of it really means or what additionally diagnostics I could do.

I'm wondering if there's any way I can use the nvramtool to reset my state without having to open the case.

Regards,
A.
Hitchhiker
Level 1
Level 1
Posts: 28
Joined: Thu Nov 21, 2013 7:36 am

Re: All Mint Editions Intel I217V Ethernet Hangs on Z87 Boar

Post by Hitchhiker »

Intel donates their factory drivers to open source. So the open source Linux driver should be the factory driver. I seem to recall a couple of Linux kernels ago, that the kernel or a kernel module included, "experimental" support for the Intel network card but the newer driver is not compatible with this and what happens is the kernel tries to take over from the driver. I forget the fix, if there was one, but I think something had to be changed or blacklisted to get the driver to work.
Post Reply

Return to “Hardware Support”