Bug 218766 - e1000e: One core of cpu reach 100% usage, after connecting ethernet.
Summary: e1000e: One core of cpu reach 100% usage, after connecting ethernet.
Status: RESOLVED DUPLICATE of bug 218740
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P3 high
Assignee: drivers_network@kernel-bugs.osdl.org
URL:
Keywords: trivial
: 218761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-23 16:50 UTC by rafal200725
Modified: 2024-04-27 10:55 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
sudo dmesg -wH --color=always --level=emerg,crit,err,warn > "dmesg log.txt" (12.80 KB, text/plain)
2024-04-24 15:23 UTC, rafal200725
Details
sudo dmesg -wH > dmesg.txt (86.35 KB, text/plain)
2024-04-26 11:46 UTC, rafal200725
Details

Description rafal200725 2024-04-23 16:50:32 UTC
When I connect ethernet to my laptop after it booted, one core of cpu reach 100%, and system start being unusable, command stop working.

On kernel 5.15 LTS, theres no issue, only on highest.

Bug appear for me in 6.8.7 stable and 6.6.28 LTS. (but may also on anothers, that only I tested). It may be ralated to new commits from about 2 weeks ago, that changes something in this driver.

Output from "lspci -k | grep -iA3 Ethernet":
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
	Subsystem: Lenovo Device 225d
	Kernel driver in use: e1000e
	Kernel modules: e1000e

In advance sorry for my English I'm still learning this language.

If you need more info, just tell. I'm newbie so you need to guide me, to get some logs etc.
Comment 1 Artem S. Tashkinov 2024-04-24 12:27:28 UTC
1. What process is consuming 100% of CPU?

2. Please post the output of:

sudo dmesg --color=always --level=emerg,crit,err,warn
Comment 2 rafal200725 2024-04-24 15:23:36 UTC
Created attachment 306206 [details]
sudo dmesg -wH --color=always --level=emerg,crit,err,warn > "dmesg log.txt"
Comment 3 rafal200725 2024-04-24 15:31:17 UTC
1. IDK, probably kernel, because htop don't see any process consuming 100% core (not whole CPU, others cores not working barely) and system starting being unusable, I can run commands or even safe turn on my laptop
2. I need modyfy your command to: 
sudo dmesg -wH --color=always --level=emerg,crit,err,warn > "dmesg log.txt"
because of unusable of system then issue appers.
I uploaded "dmesg log.txt" up here.

In fact issue appers only, if I plug ethernet when device is booted, working etc.
If it turn off, plug ethernet, and when power on laptop, theres no issue.
Comment 4 rafal200725 2024-04-24 15:33:02 UTC
(In reply to rafal200725 from comment #3)
> 1. IDK, probably kernel, because htop don't see any process consuming 100%
> core (not whole CPU, others cores not working barely) and system starting
> being unusable, I can run commands or even safe turn on my laptop
> 2. I need modyfy your command to: 
> sudo dmesg -wH --color=always --level=emerg,crit,err,warn > "dmesg log.txt"
> because of unusable of system then issue appers.
> I uploaded "dmesg log.txt" up here.
> 
> In fact issue appers only, if I plug ethernet when device is booted, working
> etc.
> If it turn off, plug ethernet, and when power on laptop, theres no issue.

can replace to can't, sorry for mistake
Comment 5 Artem S. Tashkinov 2024-04-26 09:45:35 UTC
Something weird is going on on your side considering two logged oopses.

Please reboot and once this happens upload the full dmesg (just `sudo dmesg > /tmp/dmesg.txt`). Thank you.
Comment 6 Artem S. Tashkinov 2024-04-26 09:46:14 UTC
*** Bug 218761 has been marked as a duplicate of this bug. ***
Comment 7 rafal200725 2024-04-26 11:46:20 UTC
Created attachment 306216 [details]
sudo dmesg -wH > dmesg.txt
Comment 8 rafal200725 2024-04-26 11:46:36 UTC
I uploaded output of `sudo dmesg -wH > dmesg.txt` (just working in loop), because I can't start any new process after issue appears.
Comment 9 rafal200725 2024-04-26 12:05:37 UTC
After I change maximum port speed on my switch from Auto (1000 Full Duplex) to 100 Full Duplex, the issue appears just on boot, I can't start XFCE.
Comment 10 Artem S. Tashkinov 2024-04-26 16:14:05 UTC
This fixes it:

https://lore.kernel.org/lkml/dff8729b-3ab6-4b54-a3b0-60fabf031d62@intel.com/

*** This bug has been marked as a duplicate of bug 218740 ***
Comment 11 rafal200725 2024-04-26 17:07:24 UTC
Thanks for your time, but last question. How long takes 
on the whole to add this patch to upstream kernel?
Comment 12 Artem S. Tashkinov 2024-04-27 10:55:38 UTC
Hopefully it will be available in 6.8.8 or at most in 6.8.9.

Keep an eye on: https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-6.8

Note You need to log in before you can comment on or make changes to this bug.