In certain scenarios, NICs using the ixgben
driver do not produce sufficient logs for effective troubleshooting.
By enabling debug-level logging, administrators can capture more detailed information when diagnosing NIC issues.
VMware vSphere ESXi
The ixgben
driver can generate excessive log entries when debug logging is enabled, potentially flooding the kernel log.
Therefore, it is recommended to enable debug logging only when the issue is reproducible and further details are necessary for root cause analysis.
Note: The following procedure is specific to the ixgben
driver and is not persistent after a reboot
Determine the vmnicX
identifier for the NIC interface you want to monitor. Replace vmnicX
in the commands below with the actual identifier (e.g., vmnic2
).
Use an SSH client to connect to the ESXi host where the issue is observed.
To check the current logging level for the NIC:
To enable debug logging for the selected NIC:
Once enabled, debug messages will be logged to /var/run/log/vmkernel.log
. Example log entry:
After reproducing the issue and collecting logs, disable debug logging:
Debug logs are written to: /var/run/log/vmkernel.log
and rotated logs (vmkernel.log.*
)
These settings are not persistent across reboots. Reapply them as needed after system restarts.