From mboxrd@z Thu Jan 1 00:00:00 1970 From: wendy_life Date: Wed, 19 Oct 2011 09:30:05 +0800 Subject: [ath9k-devel] error:Segmentation fault after compiling and move ath9k Message-ID: <201110190930040316025@yeah.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi shafi ! Recently,I got a stupid mistake that kept puzzling me for long time.Help! Things are like those as follow: OS:Openwrt backfire Compile target:ath9k(compat-wireless-2011-06-22) Platform target:UBNT RouterStation I chose ath9k at the time of "make menuconfig",and then I got the ko files as follow Kmo-ath: ath.ko Kmod-ath9k: ath9k.ko Kmod-ath9k_common: ath9k_hw.ko ath9k_common.ko Kmod-cfg80211: cfg80211.ko compat_firmware_class.ko compat.ko Kmod-mac80211: mac80211.ko When I replace thess .ko files to target platform ,reboot and wifi(wireless start command ), I got this error prompt: Segmentation fault At the same time , I also got .ipk files after compiling as followkmod-ath9k-common_2.6.32.27+2011-06-22-2_ar71xx.ipk kmod-ath9k_2.6.32.27+2011-06-22-2_ar71xx.ipk kmod-ath_2.6.32.27+2011-06-22-2_ar71xx.ipk kmod-cfg80211_2.6.32.27+2011-06-22-2_ar71xx.ipk kmod-mac80211_2.6.32.27+2011-06-22-2_ar71xx.ipk I try to remove original modules and setup these new .ipk files,reboot and wifi. I got the same me error prompt:Segmentation fault At both processes,I have not changed any code since downloading source code of OpenWrt Backfire(including compat-wireless 2011-06-22),just compiled one time. What is the problem? what is the right process of modifying ath9k driver code and taking compiled modules effect on target platform? 2011-10-19 Best Wishes~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20111019/93a8cc33/attachment.htm