Wireless
Participate in insightful discussions regarding issues related to Intel® Wireless Adapters and technologies
7892 Discussions

AX210 start slowly when system boot up

WilsonASRI
Novice
2,031 Views

Hi Intel,

 

I'm using AX210 on Ubuntu 18.04, Kernel 5.10.

I install backport-iwlwifi driver from https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git

The wifi works fine but start slowly when system boot.

I trace the code. It didn't find iwl-dbg-cfg.ini and wait 1 minute then time out.

 

  • drivers/net/wireless/intel/iwlwifi/iwl-drv.c

圖片1.png

  • drivers/net/wireless/intel/iwlwifi/iwl-dbg-cfg.c

圖片2.png

 

1. What does CPTCFG_IWLWIFI_SUPPORT_DEBUG_OVERRIDES do. Can I and how can I undefine it?

2. What dose the iwl-dbg-cfg.ini file do? Is it important?

0 Kudos
8 Replies
Alberto_R_Intel
Employee
1,993 Views

WilsonASRI, Thank you for posting in the Intel® Communities Support.

 

We will be more than glad to assist you with this matter. 

 

In order for us to answer your inquiries and provide the most accurate assistance on this scenario, we just wanted to confirm a few details about your system:

Is this a new computer?

Was the AX210 working fine before on this specific machine without showing the slow start on boot problem that you are describing?

If yes, when did the issue start?

Did you make any recent hardware/software changes that might cause this problem?

The wireless card, did you purchase it separately or did it come installed on the computer?

Does the problem happen at home or in the work environment?

Please attach the SSU report so we can verify further details about the components in your platform, check all the options in the report including the one that says "3rd party software logs":

https://www.intel.com/content/www/us/en/download/18895/26735/intel-system-support-utility-for-the-linux-operating-system.html?countrylabel=Asia%2520Pacific

 

Please try the following WiFi troubleshooting steps:

 

Step 1: Check whether the kernel version supports this device:

The reference table of Wireless adapters and corresponding kernel versions is available by the link: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi

The latest FWs are available by the following link:​ ​https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/

If the kernel version corresponds to the Wireless adapter, proceed with step 2.

 

Step 2: Check whether the Wireless adapter is connected correctly:

Type the following command to the terminal: # lspci​ 

Verify that the Intel network controller ​is identified, as on a picture below. If not, then the system doesn't identify the Intel network adapter and you will need to make sure it's properly integrated. You may need to request help from the system manufacturer. If the wireless adapter is properly identified - proceed with the step 3.

Alberto_R_Intel_0-1698176413746.png

 

 

Step 3: Check whether this is an iwlwifi issue:

Type the following command to the terminal: # modinfo iwlwifi​ (example of the command output is on the picture below). If there is no output, then the module isn’t installed this is the distribution installation issue.

 

Alberto_R_Intel_1-1698176448582.png

 

Please type: # lsmod | grep iwlwifi​   

Alberto_R_Intel_2-1698176470402.png

 

 

If the result is empty, the driver hasn't been loaded. Most likely to be a distribution issue.

To verify, please type: # dmesg | grep iwlwifi​   

Alberto_R_Intel_3-1698176498896.png

 

If the result is empty, the driver wasn’t initialized and this is a distribution issue. If the result is populated as on the above picture, proceeed with the step 4.

 

Step 4: Check whether the suitable firmware is installed:

Please type: # dmesg | grep “no suitable firmware found!”​

 

Alberto_R_Intel_4-1698176534338.png

 

If the result is not empty, it means you don't have a suitable FW (api mentioned in the dmesg).

Please visit here​ h​ttps://wireless.wiki.kernel.org/en/users/drivers/iwlwifi for supported FW, or here​ ​https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ for the latest versions.

 

 

Step 5: If the issue persists:

Please type: # dmesg | grep ASSERT​ 

If the output is empty, please follow this wiki: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging to extract dmesg and trace-cmd.

If the output has value, please collect from the wiki FW dump too.

 

Any questions, please let me know.

 

Regards,

Albert R.

 

Intel Customer Support Technician

 

 

0 Kudos
WilsonASRI
Novice
1,969 Views

Hi Alberto,

 

It's our custom arm base computer.

The wifi is working fine. Just the iwlwifi driver start loading slowly when system boot.

I trace the code and it didn't find iwl-dbg-cfg.ini and wait 1 minute then time out.

 

1. What does CPTCFG_IWLWIFI_SUPPORT_DEBUG_OVERRIDES do. Can I and how can I undefine it?

2. What dose the iwl-dbg-cfg.ini file do? Is it important?

 

0 Kudos
Alberto_R_Intel
Employee
1,958 Views

Hi WilsonASRI, Thank you very much for confirming those details.


In reference to both of your inquiries, in order to provide the most accurate response, I will do further research on this topic to confirm that information. As soon as I get any updates, I will post all of them on this thread.


Regards,

Albert R.


Intel Customer Support Technician


0 Kudos
Alberto_R_Intel
Employee
1,898 Views

Hello WilsonASRI, I just received an update on this matter.


After reviewing the case, we would like to let you know, that the kernel version 5.10 being used is much older to work with the AX210 card. 


Based on that, we recommend to install the latest and stable version of the mainline kernel, 6.5, from kernel.org, which includes the latest wireless firmware for the Intel® AX210 card, version 83. Additionally, we also suggest to use iwlwifi/iwlmvm driver in native v6.5 kernel, not the backport-iwlwifi drivers:

https://kernel.org/


Regards,

Albert R.


Intel Customer Support Technician


0 Kudos
WilsonASRI
Novice
1,837 Views

Hi Alberto,

 

In our case, we must to keep kernel in 5.10 and can't update it to 6.5.

When I comment the iwl_dbg_cfg_load_ini function or undefined the CPTCFG_IWLWIFI_SUPPORT_DEBUG_OVERRIDES,

the wifi starts fast and works fine.

I just want to know. Does it have some side effect if I comment of undefine the functions.

0 Kudos
Alberto_R_Intel
Employee
1,825 Views

Hi WilsonASRI, Thank you very much for letting us know that information.


We completely understand. In that case, I will double-check if on your question, if there are any side effects if you comment of undefine the functions, and I will provide a response as soon as possible on this thread.


Regards,

Albert R.


Intel Customer Support Technician


0 Kudos
Alberto_R_Intel
Employee
1,794 Views

Hello WilsonASRI, I just received an update on this matter.


We would like to let you know, after further research, that we determined this is actually an issue related to the Operating System itself. Based on that, what we recommend to do next will be to get in contact directly with your Linux Distro for further assistance on this matter:

https://www.intel.com/content/www/us/en/support/topics/linux-osv.html


Regards,

Albert R.


Intel Customer Support Technician


0 Kudos
Kevin-Liao1
Beginner
1,487 Views

Hi Intel Team

 

I have same issue. When I boot up it need to wait 60sec to load AX210FW.

It run iwl_dbg_cfg_load_ini function,but can not find iwl-dbg-cfg.ini file and timeout .

KevinLiao1_0-1706172377851.png

 

Can i disable "CPTCFG_IWLWIFI_SUPPORT_DEBUG_OVERRIDES" function ? 

 

My environment

ubuntu: 22.04

Kernel:  5.15

backport-driver-version :core81

AX210 FW:ty-a0-gf-a0-81.ucode

0 Kudos
Reply