Return-path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38452 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756907Ab2IUCwR (ORCPT ); Thu, 20 Sep 2012 22:52:17 -0400 Message-Id: <1348195935.21813.140661130714053.0302A2E4@webmail.messagingengine.com> (sfid-20120921_045223_424965_B0635A0D) From: Luiz Carlos Ramos To: Sujith Manoharan , lramos.prof@yahoo.com.br Cc: linux-wireless@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain In-Reply-To: <207925.414c4261696d4941414f4f6255467379697735635131766f663355@popretr.messagingengine.com> References: <1348073684.14711.140661130028433.035E90DC@webmail.messagingengine.com> <207925.414c4261696d4941414f4f6255467379697735635131766f663355@popretr.messagingengine.com> <20571.12875.594812.396218@gargle.gargle.HOWL> Subject: Re: Atheros AR9485 receiving error -5 in init Date: Thu, 20 Sep 2012 23:52:15 -0300 Sender: linux-wireless-owner@vger.kernel.org List-ID: OK, here it goes! I opted to attach only the part which refers to the AR9485. If you'd need the rest, feel free to ask me. As the adapter seems to be a PCI (or PCI-e) device, I omitted the lsusb -v output. It is also provided the output of lshw, which shows some information about I/O space. In fact, I don't know if that information is accurate or relevant, but it is not shown in lspci -vvv. Hope it can help. Thanks, Luiz --- lspci -vvv -s 04:00.0 ---------------------------------- 04:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01) Subsystem: Samsung Electronics Co Ltd Device 4105 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Luiz Ramos wrote: > > Hello, > > > > Recently I changed the laptop, and there's something wrong with the new > > Wifi adapter, which is an Atheros AR9485. Now, when I do modprobe ath9k, > > a message like this is registered in dmesg: > > > > ath9k: probe of 0000:04:00.0 failed with error -5 > > > > The OS installed in that machine is a Slackware 13.37 with the stock > > kernel. I've tried, following some google research, using the > > compatibility backport kit. I've downloaded some versions, but now I > > stick with compat-wireless-3.5.3-2-sn in order to eliminate variables. > > > > After some turns, I've put some printk() in > > drivers/net/wireless/ath/ath9k/hw.c, and my final conclusion is that the > > time is running out in the routine ath_hw_wait() when waiting for the > > register 0x7044 have some value, like showed by one message raised by > > one of the printk() inserted in the code: > > > > ath9k_hw_wait(): ret=0(timeout (100000 us) on reg 0x7044: 0xffffffff & > > 0x0000000f != 0x00000002) > > Can you attach the output of lspci -vv and lsusb -v ? > > Sujith > -- Luiz Carlos Ramos luizzramos@imap.cc