Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:58388 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037Ab1LOHyL convert rfc822-to-8bit (ORCPT ); Thu, 15 Dec 2011 02:54:11 -0500 Received: by vbbfc26 with SMTP id fc26so1298462vbb.19 for ; Wed, 14 Dec 2011 23:54:10 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 15 Dec 2011 13:24:10 +0530 Message-ID: (sfid-20111215_085414_582886_C102CE3F) Subject: Re: wierless hardware using ath9k driver on AP mode leads to kernel panic From: Mohammed Shafi To: Ashwin Mendonca Cc: linux-wireless@vger.kernel.org, ath9k-devel Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Dec 15, 2011 at 12:55 PM, Ashwin Mendonca wrote: > I tried the bleeding edge build of compat-wireless > (compat-wireless-2011-12-14 build) on Linux-3.1.5. It still leads to kernel > panic. I manually got the AP up with these steps: > > 1. Removed ip from eth0 > 2. Created a bridge with brctl > 3. Added eth0 to br0 > 4. Ran hostapd with my con file. And it showed this error: > ??? l2_packet_receive - recvfrom: Network is down > 5. Tried to connect my client devices. None were getting authenticated. > 6. I assigned an ip to br0. Client got authenticated. System on AP mode > froze. > > My hostapd.conf: > > ################################################ > interface=wlan0 > bridge=br0 > driver=nl80211 > logger_syslog=-1 > logger_syslog_level=2 > logger_stdout=-1 > logger_stdout_level=2 > dump_file=/tmp/hostapd.dump > ctrl_interface=/var/run/hostapd > ctrl_interface_group=0 > ssid=test > hw_mode=g > channel=1 > beacon_int=100 > dtim_period=2 > max_num_sta=255 > rts_threshold=2347 > fragm_threshold=2346 > macaddr_acl=0 > auth_algs=1 > ignore_broadcast_ssid=0 > wmm_enabled=1 > wmm_ac_bk_cwmin=4 > wmm_ac_bk_cwmax=10 > wmm_ac_bk_aifs=7 > wmm_ac_bk_txop_limit=0 > wmm_ac_bk_acm=0 > wmm_ac_be_aifs=3 > wmm_ac_be_cwmin=4 > wmm_ac_be_cwmax=10 > wmm_ac_be_txop_limit=0 > wmm_ac_be_acm=0 > wmm_ac_vi_aifs=2 > wmm_ac_vi_cwmin=3 > wmm_ac_vi_cwmax=4 > wmm_ac_vi_txop_limit=94 > wmm_ac_vi_acm=0 > wmm_ac_vo_aifs=2 > wmm_ac_vo_cwmin=2 > wmm_ac_vo_cwmax=3 > wmm_ac_vo_txop_limit=47 > wmm_ac_vo_acm=0 > eapol_key_index_workaround=0 > eap_server=0 > own_ip_addr=127.0.0.1 > wpa=3 > wpa_passphrase=ashwinalwyn > wpa_key_mgmt=WPA-PSK > wpa_pairwise=TKIP > rsn_pairwise=CCMP > with this config file i had a freeze! with 3.2.rc1 compat wireless.let me analyze with latest build