Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:60460 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753982Ab1CCP6L (ORCPT ); Thu, 3 Mar 2011 10:58:11 -0500 Received: by bwz15 with SMTP id 15so1267595bwz.19 for ; Thu, 03 Mar 2011 07:58:10 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20110303143151.03dbe76b@toddler> References: <20110224182022.57e32862@toddler> <20110224200203.GB17412@elie> <20110225144718.63550601@realh.co.uk> <20110225165745.4860afe0@realh.co.uk> <20110226183542.75bc1786@realh.co.uk> <20110302163051.425d1419@toddler> <20110303143151.03dbe76b@toddler> Date: Thu, 3 Mar 2011 21:27:32 +0530 Message-ID: Subject: Re: [ath9k-devel] ath9k causes lockups since kernel 2.6.35 From: Mohammed Shafi To: Tony Houghton Cc: Balasubramanian , linux-wireless , Jouni Malinen , Jonathan Nieder , ath9k-devel@lists.ath9k.org, Vasanthakumar Thiagarajan , Senthil@venema.h4ckr.net, Vivek Natarajan Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Mar 3, 2011 at 8:01 PM, Tony Houghton wrote: > On Thu, 3 Mar 2011 10:51:15 +0530 > Mohammed Shafi wrote: > >> On Wed, Mar 2, 2011 at 10:00 PM, Tony Houghton wrote: >> > >> > Is this still not reproducible? I'd like to do more to help trace >> > the problem but I'm a bit stuck. Is there something I can do to >> > make sure all the debug/log messages from ath9k appear on the >> > console? >> >> sudo dmesg -n 8? > > AFAICT that will just make sure the debug messages get logged, but not > make them appear anywhere the other messages aren't appearing eg on a > console or net console. I could try tail -f /dev/xconsole. > > The ath9k module has a "debug" parameter. It just says it's a mask and I > don't know how to use it. Do I set bits to enable or disable levels? > What value to log "everything"? > Please make sure of the following things CONFIG_ATH_COMMON=m CONFIG_ATH_DEBUG=y CONFIG_ATH9K_HW=m CONFIG_ATH9K_COMMON=m CONFIG_ATH9K=m CONFIG_ATH9K_DEBUGFS=y CONFIG_ATH9K_RATE_CONTROL=y CONFIG_ATH9K_HTC=m CONFIG_ATH9K_HTC_DEBUGFS=y sudo modprobe ath9k debug=0xffffffff you will get lot of messages from the debug log.