Hi,
I built the kernel for the Xavier from source with the ath9k driver enabled. But when I tried loading the driver I get the following error.
modprobe: ERROR: could not insert 'ath9k': Unknown symbol in module, or unknown parameter (see dmesg)
and got the following in dmesg
[ 47.863250] ath9k_common: Unknown symbol relay_open (err 0)
[ 47.863575] ath9k_common: Unknown symbol relay_buf_full (err 0)
[ 47.863760] ath9k_common: Unknown symbol relay_close (err 0)
[ 47.863898] ath9k_common: Unknown symbol relay_switch_subbuf (err 0)
[ 47.864103] ath9k_common: Unknown symbol relay_file_operations (err 0)
I was able to properly install the driver on a TX2 without any issues. So, I think the issue from the ath9k driver itself. Perhaps there is a bug in it. Was anyone able to load the driver?
I don’t have a x86 but I do have a few x64 desktops and a few TX2s with the driver working. Its just the vanilla ath9k driver. I didn’t make any modification. I have some desktops with k4.1.10, >k4.15.0 and they worked fine.
I am using an AR9380 NIC. But then again it shows up from lspci and I am not able to load the driver itself. So, I guess it does not matter which NIC I use for now. And do you want the whole dmesg output?
Oh, well yes I used menuconfig to build ath9k as a module with all the options in Atheros 802.11n wireless cards support enabled. I didn’t enable any other atheros related drivers.
Ok, I started with a fresh install L4T, got the kernel sources, copied the /proc/config.gz, updated the kernel-4.9/arch/arm64/configs/tegra_defconfig by adding the following
I see that the ath9k module was built. The Kconfig file in ath9k enables ATH9K_COMMON when ATH9K is built and ATH9K selects RELAY. So, it should be built. I see the RELAY.c and RELAY.o after building the kernel. But I don’t see them in /usr/src/linux-headers… folder. So, is RELAY being built but not installed?
@carolyuu That worked. I was using Jetpack on ubuntu 18 to flash L4T and was building on the Xavier. Not sure what I was doing wrong before but, it works now. Switched to Ubuntu 16 and followed your instructions. Thank you.