From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Walker Date: Fri, 18 Dec 2009 22:05:33 -0500 Subject: [ath9k-devel] trouble with DWA-552 and ath9k In-Reply-To: <19243.2224.974537.876295@gargle.gargle.HOWL> References: <4B2A5FA8.8060905@charter.net> <19242.62265.487757.695747@gargle.gargle.HOWL> <4B2AFC5D.1060001@charter.net> <19243.2224.974537.876295@gargle.gargle.HOWL> Message-ID: <4B2C42FD.6000303@charter.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org I've recompiled compat-wireless-2009-12-11 with "CONFIG_ATH_DEBUG=y" and "CONFIG_ATH9K_DEBUGFS=y" in config.mk (and did make and then make install), added "options ath9k debug=0x600" to the file /etc/modprobe.d/local.conf (I am running Fedora 11) and rebooted. After rebooting, I did "mount -t debugfs none /sys/kernel/debug/". Indeed, there is now a /sys/kernel/debug/ath9k directory. Am I looking for anything in particular? The directory /sys/kernel/debug/ath9k/phy0/ has the files: dma interrupt rcstat wiphy xmit I'm attaching the output of dmesg right after booting. Couple of other observations... If I rmmod ath9k and then try to modprobe/insmod it again, I get an error that ath9k "failed to initialize device" and "PCI INT A disabled". Sometimes after rebooting and trying to use wlan0 the entire system just locks up. The most recent time this happened, I had just booted up and issued the command "ifconfig wlan0 up". I was going to next issue the command "iwlist wlan0 scan", but the system had already locked up. The only way to recover is to hit the reset button. Brian On 12/17/2009 11:44 PM, Sujith wrote: > Brian Walker wrote: > >> Hi. In config.mk I find no option named CONFIG_ATH9K_DEBUG, but there is >> one named CONFIG_ATH9K_DEBUGFS. Also, as I tried to include in a >> followup to my original post, the output from lspci -vnn is: >> > Indeed, the option is missing. > Adding the line "CONFIG_ATH_DEBUG=y" and "CONFIG_ATH9K_DEBUGFS=y" to config.mk > and recompiling should do it. > > >> 00:0a.0 Network controller [0280]: Atheros Communications Inc. AR922X >> Wireless Network Adapter [168c:0029] (rev 01) >> Subsystem: D-Link System Inc Device [1186:3a7a] >> Flags: 66MHz, medium devsel, IRQ 5 >> [virtual] Memory at f8040000 (32-bit, non-prefetchable) [size=64K] >> Capabilities: [44] Power Management version 2 >> Kernel driver in use: ath9k >> Kernel modules: ath9k >> >> The 168c:0029 seems pretty standard for an Atheros wireless N adapter, >> but I wonder if the 1186:3a7a is a new revision of this card and is >> perhaps not 100% supported yet? >> > That can be determined by looking at the kernel log on loading the driver > with 'debug=0x600'. > > Sujith > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dmesg.txt Url: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20091218/c6f06892/attachment-0001.txt