This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:users:drivers:iwlwifi:debugging [2021/01/21 07:32] Golan Ben Ami [Firmware Debugging] |
en:users:drivers:iwlwifi:debugging [2021/06/08 17:55] Golan Ben Ami [Firmware Debugging] |
||
---|---|---|---|
Line 76: | 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 need to add the debug configuration. Open the debug file: | + | You'll need to allow DEV_COREDUMP by setting CONFIG_ALLOW_DEV_COREDUMP to Y. |
- | <code> /lib/firmware/iwl-dbg-cfg.ini </code> | + | |
- | And add this text: | + | |
- | <code> | + | |
- | [IWL DEBUG CONFIG DATA] | + | |
- | FW_DBG_PRESET=1 | + | |
- | </code> | + | |
- | + | ||
- | Then, 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: | ||