All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Brown <sbrown@cortland.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] AR9260 hang during connection to AP
Date: Fri, 20 Feb 2009 11:16:47 -0500	[thread overview]
Message-ID: <499ED76F.6070204@cortland.com> (raw)
In-Reply-To: <18835.426.261949.207749@gargle.gargle.HOWL>

Sujith wrote:
> Alex Williams wrote:
>   
>> Thank you for reply!
>> Please, tell me: did you saw working card on ar9160 ever??? May be
>> with other interfaces, such as PCI or USB? Is support for ar9160
>> finished? Or it's now unusable?
>>     
>
> No idea. But I found a mini-PCI AR9160 card and it works fine here.
>
>   
>> insmod ath9k.ko debug=0x2000
>> [  121.839737] ath9k 0000:00:05.0: PCI INT A -> Link[LN_B] -> GSI 10
>> (level, low) -> IRQ 10
>> modprobe: FATAL: Could not load
>> /lib/modules/2.6.29-rc4-wl/modules.dep: No such file or directory
>> [  123.479199] cfg80211: Calling CRDA for country: US
>> [  123.507201] udev: renamed network interface wlan0 to wlan1
>> [  123.512965] Registered led device: ath9k-phy0::radio
>> [  123.546520] Registered led device: ath9k-phy0::assoc
>> [  123.589623] Registered led device: ath9k-phy0::tx
>> [  123.614561] cfg80211: Regulatory domain changed to country: US
>> [  123.620474]  (start_freq - end_freq @ bandwidth),
>> (max_antenna_gain, max_eirp)
>> [  123.628382]  (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
>> [  123.635228]  (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
>> [  123.642074]  (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
>> [  123.648921]  (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
>> [  123.655907]  (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
>> [  123.685508] Registered led device: ath9k-phy0::rx
>> [  123.727397] phy0: Atheros AR9160 MAC/BB Rev:1 AR5133 RF Rev:b0:
>> mem=0xcf520000, irq=10
>> insert ath9k.ko
>> [  124.070622] ADDRCONF(NETDEV_UP): wlan1: link is not ready
>>     
>
> CONFIG_ATH9K_DEBUG should be enabled in your kernel .config to enable debugging.
> See: http://wireless.kernel.org/en/users/Drivers/ath9k
>
>   
>>> Are you able to at least scan, before trying to associate with an AP ?
>>> If so, then switch to a VT and try to associate and see if the kernel panics.
>>> A digital photograph of the panic (if one occurs) would be great.
>>>       
>> To perform scan, we need to "up" interface. Strange, but now, after
>> ifconfig wlan1 up - system hang deadly without any explanations! T_T
>> But sometimes it continue work after module load...
>>     
>
> Did you switch to a VT to see if a panic happens on bringing up the interface ?
>
>   
>> Really??? ^_^ It's impossible! Is there some datasheet on ar9160???
>> How about register addresses and their purpose? How can you write
>> driver for device if you do not know how it actually works? Writing
>> drivers it's like an embedded programming on microcontrolles without
>> OS - you should know every register and it's purpose. And even this
>> knowledge not guarantee errors proof... Sorry, I'm just wondering how
>> this possible... I heards that for ath9k Atheros released
>> specifications, or they writing in-house driver?.. Please, more info,
>> how it's really developing... =)
>>
>>     
>
> AR9160 is supported by ath9k, so no worries here.
>
>   
>> How to enable additional debug info? Can I use KDBG + /dev/ttyS0 to
>> search for the problem? :)
>>     
>
> Search for serial console / netconsole debugging guides on the net.
>
>   
>> Please, give me a link to git tutorial. I want to modifi some wireless
>> files, but keep ability to update them by "git pull"... Sorry, I'm
>> newbie...
>>     
>
> http://wireless.kernel.org/en/developers/Documentation/git-guide
>
> Sujith
>   
For me, the ASSERT at rc.c:745 goes off.

I instrumented it. The results are attached.

Steve



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ath9k-rc-assert.txt
Url: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090220/7549cb03/attachment-0001.txt 

  parent reply	other threads:[~2009-02-20 16:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11 14:17 [ath9k-devel] AR9260 hang during connection to AP Alex Williams
2009-02-11 14:38 ` Sujith
2009-02-11 16:05   ` Alex Williams
2009-02-11 16:49     ` Sujith
2009-02-11 21:00       ` Alex Williams
2009-02-13 12:02       ` Alex Williams
2009-02-19 19:19       ` Steve Brown
2009-02-20 16:16       ` Steve Brown [this message]
2009-02-23 15:36         ` Sujith
2009-02-24  4:42         ` Sujith
2009-02-24  7:51           ` Steve Brown
2009-02-24  9:52             ` Sujith
2009-02-24 18:41               ` Steve Brown
2009-02-25  4:13             ` Sujith
2009-02-25  8:17               ` Steve Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=499ED76F.6070204@cortland.com \
    --to=sbrown@cortland.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.