All of lore.kernel.org
 help / color / mirror / Atom feed
* ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1
@ 2011-07-01 13:35 Forest Bond
  2011-07-01 14:01 ` Mohammed Shafi
  0 siblings, 1 reply; 21+ messages in thread
From: Forest Bond @ 2011-07-01 13:35 UTC (permalink / raw)
  To: linux-wireless
  Cc: Luis R. Rodriguez, Jouni Malinen, Vasanthakumar Thiagarajan,
	Senthil Balasubramanian

[-- Attachment #1: Type: text/plain, Size: 2350 bytes --]

Hi,

I am running compat-wireless 3.0-rc4-1 on an Ubuntu 8.04 (Hardy) system with
Ubuntu kernel version 2.6.24-21-generic.  Yes, I know this kernel version is
ancient, but that's what c-w is for, right? ;)

First, I should mention that had to apply this patch for c-w to build:

  http://permalink.gmane.org/gmane.linux.kernel.wireless.general/72402

I also ran into problems because the c-w Makefile installs the udev
compat_firmware rules file into /lib/udev/rules.d, which is not a supported
location on Hardy.  Moving the rules file to /etc/udev/rules.d solved that.

Now the module loads fine and appears to load the firmware correctly, but the
interface never comes up.  Here's what happens when I insert the device:

[  206.270348] usb 5-7: new high speed USB device using ehci_hcd and address 5
[  206.422393] usb 5-7: configuration #1 chosen from 1 choice
[  206.657723] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
[  206.657732] Backport based on linux-2.6-allstable.git v3.0-rc4
[  206.864667] Calling CRDA to update world regulatory domain
[  207.714633] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
[  207.861037] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits

At this point the interface is not visible in the output of ifconfig.  Something
has gone wrong with USB, because lsusb hangs until I unplug the device, at which
point I see the following in dmesg:

[  225.464212] usb 5-7: USB disconnect, address 5
[  225.592282] ath: Reading Magic # failed
[  225.592310] ath: no band has been marked as supported in EEPROM
[  225.592315] ath: Unable to initialize hardware; initialization status: -22
[  225.592321] ath: Unable to initialize hardware; initialization status: -22
[  225.592336] Failed to initialize the device
[  225.592400] ath9k_htc: probe of 5-7:1.0 failed with error -22
[  225.712249] usbcore: registered new interface driver ath9k_htc

There are several variations on this depending on how long I leave the device
plugged in.  Eventually lsusb runs fine in some cases, and I have seen the
interface come up once, but I did not test functionality and I haven't been able
to easily repeat that scenario.

What can I do to debug?

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2011-07-11 15:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-01 13:35 ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1 Forest Bond
2011-07-01 14:01 ` Mohammed Shafi
     [not found]   ` <BANLkTimUs65_Sw=pwF-J8gPjyrNcs2qnOw@mail.gmail.com>
2011-07-01 17:32     ` Forest Bond
2011-07-04  5:24       ` Rajkumar Manoharan
2011-07-04  9:53         ` Rajkumar Manoharan
2011-07-05 12:49           ` Forest Bond
2011-07-05 13:29             ` Mohammed Shafi
2011-07-05 14:30               ` Forest Bond
2011-07-05 14:47                 ` Mohammed Shafi
2011-07-05 17:20                   ` Forest Bond
2011-07-06  2:39                     ` Rajkumar Manoharan
2011-07-06  7:58                       ` Mohammed Shafi
2011-07-06 18:29                         ` Forest Bond
2011-07-07  5:12                           ` Mohammed Shafi
2011-07-07  6:19                             ` Mohammed Shafi
2011-07-07  7:23                               ` Mohammed Shafi
2011-07-07 22:53                                 ` Forest Bond
2011-07-08 13:24                                   ` Mohammed Shafi
2011-07-11  5:31                                     ` Mohammed Shafi
2011-07-11 15:04                                       ` Forest Bond
2011-07-11 15:33                                         ` Mohammed Shafi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.