LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2021, 10:00 AM   #1
G65434-2
LQ Newbie
 
Registered: Jul 2020
Posts: 4

Rep: Reputation: Disabled
Question Debugging e1000e kernel module


I have connection issues with my Intel based network-controller on a pretty new DELL laptop.
The driver uses the e1000e kernel module.
I'm on stable Debian 11, with all patches and UEFI and firmwareupdates.

I also know it's not an ordinary network issue because I tried different USB Ethernet adapters, they all work. Also DHCP server is working fine with everything else.

To solve the issue I would like to enable the parameter "Debug" for the e1000e kernel module.

I have tried the following but I can't get the "Debug" parameter to work.
The system refuses to create the file /sys/module/e1000e/parameters/debug

Does not work:
sudo modprobe e1000e debug=16

Does not work:
/etc/default/grub
GRUB_CMDLINE_LINUX="e1000e.debug=16"
update-grub2


Does not work:
/etc/modprobe.d/e1000e.conf
options e1000e debug=16
update-initramfs -u -k all


Curiously this does work:
There is a file:
/sys/module/e1000e/parameters/copybreak
It has the default value of "256".
Using GRUB with the following parameter successfully changes the copybreak value in /sys/module/e1000e/parameters/copybreak
GRUB_CMDLINE_LINUX="e1000e.copybreak=128"

Any idea what else I could do to debug the NIC?
 
Old 12-01-2021, 10:39 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,153

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
e1000e has a debug parameter, but the line:

Code:
module_param(debug, int, 0);
creates it with permissions of 0, which means to not show in sysfs. I think you would need to rebuild the module to make it changeable (usually 0644).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Intel e1000e against new 2.6.27 kernel TheDude05 Linux - Hardware 1 12-03-2008 02:57 AM
CentOS 5.2 Linux Kernel 2.6.18-92.1.10.el5 - Cannot Load e1000e driver jreige Linux - Hardware 1 09-18-2008 12:57 PM
Help on Inserting New NIC module e1000e into boot.iso for Kickstart sathyanandk Linux - Hardware 2 08-04-2008 12:48 AM
Difference between kernel - debugging and application debugging topworld Linux - Software 2 03-30-2006 12:50 AM
Visual Debugging and Linux Kernel Debugging Igor007 Programming 0 09-30-2005 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration