On Sun, Oct 9, 2011 at 2:19 PM, abhinav narain
<[email protected]> wrote:
>
> I am adding the following lines to the code :
> static void __exit ath9k_exit(void)
> {
>         is_ath9k_unloaded = true;
>         ath_ahb_exit();
>         ath_pci_exit();
>         ath_rate_control_unregister();
>         printk(KERN_INFO "%s: I added this Driver unloaded\n", dev_info);
>         printk(KERN_INFO "abhinav init ");
> }
> module_exit(ath9k_exit);
> I don't even get these printk(() output on dmesg !
> when i do :
> rmmod ath9k.o
> I am following exactly what you have said above.
> I am not doing package/mac80211/{clean,compile}
> after package/mac80211/update
> and loading the image on the router.
> Please help, I am out of creativity of trying anything new on this thing.

were both these line added by you ??
>         printk(KERN_INFO "%s: I added this Driver unloaded\n", dev_info);
>         printk(KERN_INFO "abhinav init ");

Try printk with KERN_CRIT instead of KERN_INFO and see if you have any success.

If you have compiled the kernel as a monolithic kernel ..
do

strings vmlinux | grep abhinav
Note: vmlinux is not vmlinuz ..

also please see my previous mail.




> Abhinav
> On Fri, Oct 7, 2011 at 4:09 PM, Adam Porter <[email protected]> wrote:
>>
>> Hi,
>>
>> I'm not sure what Jonas is referencing when he says that quilt does not
>> work in mac80211. It works fine.
>>
>> # make package/mac80211/{clean,prepare} V=99 QUILT=1
>> # cd build_dir/linux-ar71xx_generic/compat-wireless-2011-08-10/
>> # quilt push -a
>> # quilt new my_changes.patch
>> # quilt edit drivers/net/wireless/ath/ath9k/files
>> # quilt refresh
>> # cd ../../../ && make package/mac80211/update
>>
>> Your patch will be there. I've been making compat-wireless patches out of
>> Trunk all day.
>>
>> On Fri, Oct 7, 2011 at 10:58 AM, abhinav narain
>> <[email protected]> wrote:
>>>
>>> When I modify the files in the following folder and make deliberate
>>> syntax errors
>>> and then do a make
>>> $make package/mac80211/{clean,compile}  V=99
>>>  folder :
>>> openwrt/src/klatch/build_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/linux-2.6.39.4/drivers/net/wireless/ath/ath9k
>>> I don't get any compilation errors !
>>> I tried modifying and writing syntactically wrong code in other folder
>>> also, but no compilation errors,
>>>
>>> openwrt/src/klatch/build_dir/linux-ar71xx_generic/linux-2.6.39.4/drivers/net/wireless/ath/ath9k.
>>>
>>> Which source file shall i make changes to ?
>>> Does Openwrt take the files directly from dl/ folder and untars it every
>>> time it compiles ?
>>> Please help in resolving the issue
>>> Abhinav
>>> _______________________________________________
>>> openwrt-devel mailing list
>>> [email protected]
>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>>
>>
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> [email protected]
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>
>
>
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to