Re: [E1000-devel] bug I219 - e1000e on VLAN network - Detected Hardware Unit Hang - kernel 5.15.44

2022-06-28 Thread Fujinaka, Todd
I think this issue has been finally fixed recently after several attempts. The 
patches haven't hit the mainline kernel yet but should have been fixed in the 
intel-wired-lan kernel:
85988cbc0f22 ("e1000e: Enable GPT clock before sending message to CSME", 
2022-06-27)

There's a commit following that as well reverting one of the previous attempts 
to fix things:
46d6a94581e8 ("Revert "e1000e: Fix possible HW unit hang after an s0ix exit"", 
2022-06-27)

The intel-wired-lan kernel can be found at:
https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git/

Todd Fujinaka
Software Application Engineer
Ethernet Products Group
Intel Corporation
todd.fujin...@intel.com

-Original Message-
From: Martin Kratochvíl via E1000-devel  
Sent: Friday, June 17, 2022 10:49 PM
To: e1000-de...@lists.sf.net
Subject: [E1000-devel] bug I219 - e1000e on VLAN network - Detected Hardware 
Unit Hang - kernel 5.15.44

Hello,
i try 3 pieces of Gigabyte Technology Co., Ltd. H410M H V3/H410M H V3, BIOS FC 
03/25/2022 with integrated intel ethernet card I219_V14

The problem is, that card is working only few second, than stop for few second 
and repeating infinitely.
It happen on busy network with vlan. Syslog at bottom

Problem detected on vanilla kernel 5.15.44. I could test newer kernel, but 
there is no e1000e changes yet.

Hardware:
00:1f.6 Ethernet controller: Intel Corporation Device 15fa (rev 11)
     Subsystem: Gigabyte Technology Co., Ltd Device e000
     Flags: bus master, fast devsel, latency 0, IRQ 123
     Memory at 5130 (32-bit, non-prefetchable) [size=128K]
     Capabilities: [c8] Power Management version 3
     Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
     Kernel driver in use: e1000e
     Kernel modules: e1000e


User solution to avoid this problem is disabling tx and rx checksumming on card.
#ethtool -K eth0 tx off rx off

But the problem is in the driver (e1000e) for this network card. For another 
intel card this driver works fine. Another network module  works fine too.
Is it possible, at first, make something to disable checksumming when module is 
loaded for this I219_V14?

I try download and compile latest e1000e version 3.8.7 against kernel
5.15.44 but its incompatible.


Syslog with problem when enabled checksumming on card

   100.781868] e1000e :00:1f.6 eth0: Detected Hardware Unit Hang:
  TDH  
  TDT  <28>
  next_to_use  <28>
  next_to_clean    
    buffer_info[next_to_clean]:
  time_stamp   
  next_to_watch    
  jiffies  
  next_to_watch.status <0>
    MAC Status <40080083>
    PHY Status <796d>
    PHY 1000BASE-T Status  <3800>
    PHY Extended Status    <3000>
    PCI Status <10>
[  102.765865] e1000e :00:1f.6 eth0: Detected Hardware Unit Hang:
  TDH  
  TDT  <28>
  next_to_use  <28>
  next_to_clean    
    buffer_info[next_to_clean]:
  time_stamp   
  next_to_watch    
  jiffies  
  next_to_watch.status <0>
    MAC Status <40080083>
    PHY Status <796d>
    PHY 1000BASE-T Status  <3800>
    PHY Extended Status    <3000>
    PCI Status <10>
[  104.813867] e1000e :00:1f.6 eth0: Detected Hardware Unit Hang:
  TDH  
  TDT  <28>
  next_to_use  <28>
  next_to_clean    
    buffer_info[next_to_clean]:
  time_stamp   
  next_to_watch    
  jiffies  
  next_to_watch.status <0>
    MAC Status <40080083>
    PHY Status <796d>
    PHY 1000BASE-T Status  <3800>
    PHY Extended Status    <3000>
    PCI Status <10>


-- 
*Bc. Martin Kratochvíl*
jednatel Altnet s.r.o.  facebook icon <https://www.facebook.com/skvely.net>
Logo*telefon:*
*mobil:*
*kancelář:*
*e-mail:*
*web:*
+420317471483
+420776882228
+420317471471
martin.kratoch...@altnet.cz
*www.skvely.net* <http://www.skvely.net>




___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listi

[E1000-devel] bug I219 - e1000e on VLAN network - Detected Hardware Unit Hang - kernel 5.15.44

2022-06-20 Thread Martin Kratochvíl via E1000-devel

Hello,
i try 3 pieces of Gigabyte Technology Co., Ltd. H410M H V3/H410M H V3, 
BIOS FC 03/25/2022

with integrated intel ethernet card I219_V14

The problem is, that card is working only few second, than stop for few 
second and repeating infinitely.

It happen on busy network with vlan. Syslog at bottom

Problem detected on vanilla kernel 5.15.44. I could test newer kernel, 
but there is no e1000e changes yet.


Hardware:
00:1f.6 Ethernet controller: Intel Corporation Device 15fa (rev 11)
    Subsystem: Gigabyte Technology Co., Ltd Device e000
    Flags: bus master, fast devsel, latency 0, IRQ 123
    Memory at 5130 (32-bit, non-prefetchable) [size=128K]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Kernel driver in use: e1000e
    Kernel modules: e1000e


User solution to avoid this problem is disabling tx and rx checksumming 
on card.

#ethtool -K eth0 tx off rx off

But the problem is in the driver (e1000e) for this network card. For 
another intel card this driver works fine. Another network module  works 
fine too.
Is it possible, at first, make something to disable checksumming when 
module is loaded for this I219_V14?


I try download and compile latest e1000e version 3.8.7 against kernel 
5.15.44 but its incompatible.



Syslog with problem when enabled checksumming on card

  100.781868] e1000e :00:1f.6 eth0: Detected Hardware Unit Hang:
 TDH  
 TDT  <28>
 next_to_use  <28>
 next_to_clean    
   buffer_info[next_to_clean]:
 time_stamp   
 next_to_watch    
 jiffies  
 next_to_watch.status <0>
   MAC Status <40080083>
   PHY Status <796d>
   PHY 1000BASE-T Status  <3800>
   PHY Extended Status    <3000>
   PCI Status <10>
[  102.765865] e1000e :00:1f.6 eth0: Detected Hardware Unit Hang:
 TDH  
 TDT  <28>
 next_to_use  <28>
 next_to_clean    
   buffer_info[next_to_clean]:
 time_stamp   
 next_to_watch    
 jiffies  
 next_to_watch.status <0>
   MAC Status <40080083>
   PHY Status <796d>
   PHY 1000BASE-T Status  <3800>
   PHY Extended Status    <3000>
   PCI Status <10>
[  104.813867] e1000e :00:1f.6 eth0: Detected Hardware Unit Hang:
 TDH  
 TDT  <28>
 next_to_use  <28>
 next_to_clean    
   buffer_info[next_to_clean]:
 time_stamp   
 next_to_watch    
 jiffies  
 next_to_watch.status <0>
   MAC Status <40080083>
   PHY Status <796d>
   PHY 1000BASE-T Status  <3800>
   PHY Extended Status    <3000>
   PCI Status <10>


--
*Bc. Martin Kratochvíl*
jednatel Altnet s.r.o.  facebook icon 
Logo*telefon:*
*mobil:*
*kancelář:*
*e-mail:*
*web:*
+420317471483
+420776882228
+420317471471
martin.kratoch...@altnet.cz
*www.skvely.net* 




___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit 
https://forums.intel.com/s/topic/0TO0P0018NbWAI/intel-ethernet