Wifi not connecting after rebuilding the kernel on Jetson xavier AGX

hello i use jetson xavier AGX - ubuntu 18.04 - Intel Corporation Wireless-AC 9260 - Jetpack 4.5 with a matching L4T source.

At first everything seems to be working fine. After that i needed some configurations enabled. so i rebuild the kernel.

It came out sucessful but wifi stoped working. WHen i tried to backport , it gives the following error message.

cluster2-worker2@cluster2worker2-desktop:~/projects/backport-iwlwifi$ sudo make defconfig-iwlwifi-public
/--------------
| Your kernel headers are incomplete/not installed.
| Please install kernel headers, including a .config
| file or use the KLIB/KLIB_BUILD make variables to
| set the kernel to build against, e.g.
| make KLIB=/lib/modules/3.1.7/
| to compile/install for the installed kernel 3.1.7
| (that isn’t currently running.)
--
Makefile:40: recipe for target ‘defconfig-iwlwifi-public’ failed
make: *** [defconfig-iwlwifi-public] Error 1

cluster2-worker2@cluster2worker2-desktop:~$ dpkg --get-selections | grep linux-headers
linux-headers-4.15.0-153 install
linux-headers-4.15.0-153-generic install
linux-headers-generic install

cluster2-worker2@cluster2worker2-desktop:~$ sudo apt install linux-headers-$(uname -r)
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package linux-headers-4.9.201
E: Couldn’t find any package by glob ‘linux-headers-4.9.201’
E: Couldn’t find any package by regex ‘linux-headers-4.9.201’

cluster2-worker2@cluster2worker2-desktop:/usr/src$ ll
total 36
drwxr-xr-x 9 root root 4096 8월 10 20:31 ./
drwxr-xr-x 12 root root 4096 8월 10 18:02 …/
drwxr-xr-x 6 root root 4096 8월 10 17:57 cudnn_samples_v8/
drwxr-xr-x 7 root root 4096 8월 10 18:07 jetson_multimedia_api/
drwxr-xr-x 25 root root 4096 8월 10 20:31 linux-headers-4.15.0-153/
drwxr-xr-x 7 root root 4096 8월 10 20:31 linux-headers-4.15.0-153-generic/
drwxr-xr-x 5 root root 4096 8월 6 16:35 linux-headers-4.9.201-tegra-ubuntu18.04_aarch64/
drwxr-xr-x 3 root root 4096 8월 6 16:35 nvidia/
drwxr-xr-x 5 root root 4096 8월 10 18:00 tensorrt/

cluster2-worker2@cluster2worker2-desktop:/usr/src$ uname -a
Linux cluster2worker2-desktop 4.9.201 #1 SMP PREEMPT Tue Aug 10 22:46:25 KST 2021 aarch64 aarch64 aarch64 GNU/Linux

HOw should i proceed with?. Could you please help
THanks in advance

Hello,

The apt source does not provide a header that tegra is using.

Thus, you can directly download the kernel source from our website, which will contain the header file.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.