View unanswered posts | View active topics It is currently Mon Dec 10, 2018 7:11 am



Reply to topic  [ 84 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next
 Utilite eth1 intel igb Detected Tx Unit Hang 
Author Message

Joined: Thu Feb 06, 2014 10:59 pm
Posts: 25
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
Kernel 4.1.5 + GrSec + Pax
Quote:
<3>[2749441.674931] igb 0000:01:00.0: Detected Tx Unit Hang
Tx Queue <0>
TDH <a>
TDT <a>
next_to_use <a>
next_to_clean <0>
buffer_info[next_to_clean]
time_stamp <10634b32>
next_to_watch <f1517010>
jiffies <10634c7c>
desc.status <218200>

_________________
Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger


Last edited by alpha_one_x86 on Fri Sep 18, 2015 3:55 pm, edited 1 time in total.



Fri Sep 18, 2015 10:58 am
Profile

Joined: Sat Jan 18, 2014 8:59 pm
Posts: 187
Location: Hamburg, Germany
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
I'm not sure which kernel version you are using currently, but this one looks quite promising.


Fri Sep 18, 2015 3:17 pm
Profile

Joined: Thu Feb 06, 2014 10:59 pm
Posts: 25
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
Kernel 4.1.5 + GrSec + Pax
Wrong with https://github.com/OpenBricks/linux-fslc/
SMP PREEMPT

_________________
Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger


Fri Sep 18, 2015 3:56 pm
Profile

Joined: Mon Jul 02, 2018 5:31 am
Posts: 5
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
I know this is a very old thread, but in the off chance there is still interest in this issue, here is a workaround:

add 'pci=nomsi' to your kernel command line.

It appears on newer kernels, the igb driver will try to use MSI-X interrupts, whereas in the old 3.0.35 kernel it would use legacy interrupts. The pci=nomsi option forces the newer driver to use legacy mode and this appears to fix the issue.


Mon Jul 02, 2018 5:40 am
Profile

Joined: Thu Feb 06, 2014 10:59 pm
Posts: 25
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
This should have very bad performance impact. no?

_________________
Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger


Mon Jul 02, 2018 11:06 am
Profile

Joined: Mon Jul 02, 2018 5:31 am
Posts: 5
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
I'm not seeing any significant performance issues.

I ran a couple of tests using iperf:

4.18 kernel with pci=nomsi:
outbound: 938 Mbit/s
inbound: 326 Mbit/s

3.0.35 kernel:
outbound: 941 Mbit/s
inbound: 487 Mbit/s

So outbound bandwidth is similar, incoming does appear to be slower but still acceptable for most purposes.


Tue Jul 03, 2018 12:03 am
Profile

Joined: Thu Feb 06, 2014 10:59 pm
Posts: 25
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
-33%, the using of this device target the 1000Mbps... :?

_________________
Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger


Tue Jul 03, 2018 12:17 am
Profile

Joined: Tue Jan 07, 2014 12:07 am
Posts: 138
Location: Edinburgh, Scotland
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
I'm surprised that you're still seeing this issue. I never tried igb under the older kernels and I've never seen the issue. I just checked and I do have CONFIG_PCI_MSI enabled in my kernel. I'm currently on 4.17 and must have pushed at least 1TB through it so far. I have it as a dedicated (point-to-point) link to my desktop and use an MTU of 4000 (jumbo frames) to boost the performance.


Fri Jul 06, 2018 3:07 pm
Profile

Joined: Mon Jul 02, 2018 5:31 am
Posts: 5
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
Chewi can you verify that your igb driver is actually using MSI-X interrrupts.
Look at the igb lines in the boot log:

Code:
[    2.468709] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    2.475826] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.482069] igb 0000:01:00.0: enabling device (0140 -> 0142)
[    2.732026] igb 0000:01:00.0: added PHC on eth1
[    2.736664] igb 0000:01:00.0: Intel(R) Gigabit Ethernet Network Connection
[    2.743616] igb 0000:01:00.0: eth1: (PCIe:2.5Gb/s:Width x1) 00:01:c0:18:de:48
[    2.750779] igb 0000:01:00.0: eth1: PBA No: FFFFFF-0FF
[    2.755987] igb 0000:01:00.0: Using MSI-X interrupts. 1 rx queue(s), 1 tx queue(s)


Note last line "Using MSI-X interrupts .."

If so, I'll repeat the test on some other units to see if I get varying results.


Sat Jul 07, 2018 9:00 am
Profile

Joined: Tue Jan 07, 2014 12:07 am
Posts: 138
Location: Edinburgh, Scotland
Post Re: Utilite eth1 intel igb Detected Tx Unit Hang
I get the same output except mine says:

Code:
igb 0000:01:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)


No idea why! My kernel is vanilla save for a few unrelated commits.


Sat Jul 07, 2018 4:02 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 84 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.