I have been struggling to find a solution for loading module ath9k into the kernel and I have met a dead end.
The kernel is 3.17.1 taken from kernel.org and I am compiling it in Ubuntu Trusty (14.04) 64-bit. The target ARCH is x86_64
After make all command is issued, I copy the bzImage & initrd (custom made..mounts proc ,sys, dev and exec busybox sh) to /boot directory and it boots up fine.
Whenever I type
I get the no module found error and so I head over to the ath9k folder ( in lib) and run insmod ath9k.ko, it gives an error elf file not for this architecture
But my .config file elf enabled by default (make x86_64_defconfig and I personally made sure)
the output for uname -a is: Linux (none) 3.17.1 #1 SMP x86_64 unknown