Ok, I move the two missing functions to the ath5k code (temporary )
ieee80211_channel_to_frequency() compat_is_pcie() So now I can insmod without any issues, the problem is when I have the wireless device: lspci 00:02.0 Class 0200: Unknown device 168c:001b (rev 01) Atheros I get the following: insmod ath5k.ko PCI: Enabling device 0000:00:02.0 (0000 -> 0002) ath5k_pci 0000:00:02.0: registered as '<NULL>' CPU 0 Unable to handle kernel paging request at virtual address 0000007c, epc == c003b2e8, ra == c003b2e0 Oops[#1]: Cpu 0 $ 0 : 00000000 10008400 00000000 00000002 $ 4 : 80250d20 00000001 00000001 00000000 $ 8 : 80250d20 0000000a ffffffff 80340000 $12 : 80330000 00000000 00200200 00100100 $16 : 8105c048 8105c0ec 80020000 8105c0ec $20 : c003c194 00000000 8105c000 81564180 $24 : 00000018 8000c5cc $28 : 81c04000 81c05d28 00000184 c003b2e0 Hi : 00000000 Lo : 00000000 epc : c003b2e8 Not tainted ra : c003b2e0 Status: 10008403 KERNEL EXL IE Cause : 1080000c BadVA : 0000007c PrId : 0001800b Modules linked in: ath5k Process insmod (pid: 316, threadinfo=81c04000, task=81c0e108) Stack : 0000a1ff c0038be8 8105c0ec 000000bc 00000000 800a7e08 8109e88c 80250000 81c05d08 800a8268 81c17dd4 00000000 8105c0b0 800d2a58 8109e88c 81c05d80 800a9df8 800a9de8 8105c000 800faaf8 00000000 b1400000 c0039250 8105c000 00000000 8105c0ec c0019230 00000000 c0000000 c00393ac 00000184 800e6444 8105af74 c003928c 800a8940 800a8920 8105c048 8105c048 c0039280 800fda7c ... Call Trace:[<800a7e08>][<800a8268>][<800d2a58>][<800a9df8>][<800a9de8>][<800faaf8>][<800e6444>][<800a8940>][<800a8920>][<800f] Code: 02203021 8ee20038 24030002 <ac50007c> 24020182 aee20048 8ef30044 24021388 aee3004c Segmentation fault Please advise. Louay Pavel Roskin wrote: > On Fri, 2008-06-27 at 12:36 -0400, Louay Sakka wrote: >> Sorry Pavel, >> >> This was me dumping all info needed to Luis who ask for, >> >> Any way my kernel Makefile have all this setup already, here is a snapshot: >> >> >> ARCH ?= mips >> CROSS_COMPILE ?=/bin/mipsel-linux- >> # Architecture as present in compile.h >> UTS_MACHINE := $(ARCH) > > OK. > >> but when I do insmod for the ath5k module it show >> >> insmod: cannot insert 'ath5k.ko': Unknown symbol in module (-1): No such >> file or directory > > Now use the "dmesg" command to see why the kernel doesn't accept that > module. > > Just in case, please run "file ath5k.ko" to make sure the module was > built for the right your architecture. > _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel