Return-path: Received: from mail-gy0-f174.google.com ([209.85.160.174]:42780 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651Ab1LOOyG (ORCPT ); Thu, 15 Dec 2011 09:54:06 -0500 Received: by ghbz12 with SMTP id z12so1554341ghb.19 for ; Thu, 15 Dec 2011 06:54:04 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 15 Dec 2011 20:24:04 +0530 Message-ID: (sfid-20111215_155422_590423_D5B9DADF) Subject: Re: wierless hardware using ath9k driver on AP mode leads to kernel panic From: Ashwin Mendonca To: Mohammed Shafi 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: Now I am recompiling against linux-3.0.0.14. Also I will remove /lib/modules/3.0.0-14-generic/kernel/drivers/net/wireless/ath and reinstall compat-wireless binaries and I will let you know. On 12/15/11, Mohammed Shafi wrote: > On Thu, Dec 15, 2011 at 8:05 PM, Ashwin Mendonca > wrote: >> Kernel panic happened after compiling and installing from the patched >> sources. I applied the patch, and it said "main.c was patched". I >> compiled ath9k drivers with this command: > > are you sure ?, can you please apply the patch with the compat > wireless package and recompile/install it. i just tested with this > patch for few mins. i will re-check it > >> >> checkinstall make KLIB=/lib/modules/3.1.5-custom install=no >> >> It created a deb file. I installed the deb file. Booted into >> linux-3.1.5 kernel. And ran may AP mode script. First client got >> authenticated. And soon the freeze occurred. >> >> If you want me to do further tests just let me know. >> >> On 12/15/11, Mohammed Shafi wrote: >>> On Thu, Dec 15, 2011 at 3:55 PM, Mohammed Shafi >>> wrote: >>>> On Thu, Dec 15, 2011 at 2:36 PM, Mohammed Shafi >>>> wrote: >>>>> On Thu, Dec 15, 2011 at 1:24 PM, Mohammed Shafi >>>>> wrote: >>>>>> 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: >>>> >>>> hi Ashwin, >>>> >>>> can you please try the attached patch and it seems to work for me. >>>> please go to your compat directory >>>> cd compat... >>>> then do patch -p1 < ./fix-ar2427-ap-mode-panic.patch >>> >>> this might fix the panic, but i need to verify whether everything else >>> is properly handled for AP ps >>> >>>> >>>> -- >>>> shafi >>> >>> >>> >>> -- >>> shafi >>> > > > > -- > shafi >