User Tools

Site Tools


en:users:drivers:iwlwifi:debugging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:users:drivers:iwlwifi:debugging [2019/10/10 05:44]
Luca Coelho [Prints] updated line number of debug bitmap
en:users:drivers:iwlwifi:debugging [2022/03/31 09:45]
Georg Müller [Tracing] Option is called IWLWIFI_DEVICE_TRACING, not IWLWIFI_TRACING
Line 15: Line 15:
  
 ===== How to report? ===== ===== How to report? =====
-Issues can be filed in [[http://​bugzilla.kernel.org|kernel'​s bugzilla]]. Make sure to add [[mailto:linuxwifi@intel.com|linuxwifi@intel.com]] to the bug.+Issues can be filed in [[http://​bugzilla.kernel.org|kernel'​s bugzilla]]. 
 + 
 +Make sure to set  
 + 
 +  * ProductDrivers 
 +  * Component: network-wireless-intel 
 Always attach the kernel log to your reports: Always attach the kernel log to your reports:
 <​code>​dmesg > dmesg.log</​code>​ and attach dmesg.log to the bug. <​code>​dmesg > dmesg.log</​code>​ and attach dmesg.log to the bug.
Line 36: Line 42:
  
 <​code>​sudo trace-cmd record -e iwlwifi -e mac80211 -e cfg80211 -e iwlwifi_msg</​code>​ <​code>​sudo trace-cmd record -e iwlwifi -e mac80211 -e cfg80211 -e iwlwifi_msg</​code>​
-This records all the data that goes from and to the firmware. The output is a file: trace.dat which you can compress prior to sending. To enable tracing, [[https://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​stable/​linux.git/​tree/​drivers/​net/​wireless/​intel/​iwlwifi/​Kconfig#​n139|CONFIG_IWLWIFI_TRACING]] must be set.+This records all the data that goes from and to the firmware. The output is a file: trace.dat which you can compress prior to sending. To enable tracing, [[https://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​stable/​linux.git/​tree/​drivers/​net/​wireless/​intel/​iwlwifi/​Kconfig#​n139|CONFIG_IWLWIFI_DEVICE_TRACING]] must be set.
  
 **//Note: you must not remove the iwlwifi kernel module while tracing is running. You need to stop the tracing first!//** **//Note: you must not remove the iwlwifi kernel module while tracing is running. You need to stop the tracing first!//**
Line 70: Line 76:
 Getting data from the firmware can often provide a lot of information,​ especially when the traffic is being stalled, latency is high, queues are stuck etc.. Here is how to do so. This is working starting kernel 3.19. Getting data from the firmware can often provide a lot of information,​ especially when the traffic is being stalled, latency is high, queues are stuck etc.. Here is how to do so. This is working starting kernel 3.19.
  
-First you'll need to allow DEV_COREDUMP by setting CONFIG_ALLOW_DEV_COREDUMP to Y.+You'll need to allow DEV_COREDUMP by setting CONFIG_ALLOW_DEV_COREDUMP to Y.
 Then, you'll need to create a core dump. This can be done by: Then, you'll need to create a core dump. This can be done by:
  
en/users/drivers/iwlwifi/debugging.txt · Last modified: 2022/05/30 08:07 by Johannes Berg