linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jack Lau <jackelectronics@hotmail.com>
To: <linux-wireless@vger.kernel.org>
Subject: RE: kernel panic ieee80211_agg_splice_packets+0x3d/0xc0 [mac80211]
Date: Tue, 28 Jul 2009 21:21:23 +0000	[thread overview]
Message-ID: <BAY0-DP3-241EC0B1A0E15935251FCBBD150@phx.gbl> (raw)
In-Reply-To: <1248640816.32168.42.camel@mj>




----------------------------------------
> From: jackelectronics@hotmail.com
> To: proski@gnu.org
> Subject: RE: kernel panic ieee80211_agg_splice_packets+0x3d/0xc0 [mac80211]
> Date: Tue, 28 Jul 2009 20:34:07 +0000
>
>
> Dear Pavel
>
> I have tried your suggestion and I am getting absolutely nowhere with it.
>
> I have enabled debugging in config.mk and installed it. The kernel already has debugging enabled as I have examined the source from Ubuntu.
>
> When I load the gdb command, I just get no debugging symbols found and with the l command I just get no symbol file now.
>
> I know this may sound really simple to you but I have so little experience with programming and please don't leave me on my own to try and sort the problem out.
>
> Remember, I only install and configure Linux because it is free and lots to learn from but I really don't do programming.
>
> Regards
>
>
> Jack
>
> ----------------------------------------
>> Subject: Re: kernel panic ieee80211_agg_splice_packets+0x3d/0xc0 [mac80211]
>> From: proski@gnu.org
>> To: jackelectronics@hotmail.com
>> CC: linux-wireless@vger.kernel.org
>> Date: Sun, 26 Jul 2009 16:40:16 -0400
>>
>> On Sun, 2009-07-26 at 17:35 +0000, Jack Lau wrote:
>>>
>>> This is my very first post on a public mailing list where I am not
>>> into programming. I just set up and configure Linux but have very
>>> little experience with programing except BASIC and shell scripting.
>>>
>>> I have recently assembled a Linux server and router (no GUI) where I
>>> am using an Atheros AR9160 controller (Sparklan WMIA-268N) as an
>>> access point. I am using Ubuntu 9.04 jaunty release but using hostapd
>>> 0.69 from the upcoming 9.10 karmic release because the one that comes
>>> with jaunty does not support nl80211.
>>>
>>> The problem is that I am constantly getting kernel panics, each time
>>> of the same error kernel panic ieee80211_agg_splice_packets+0x3d/0xc0
>>> [mac80211]
>>
>> You can find where it happens if you kernel is compiled with the debug
>> information (CONFIG_DEBUG_INFO in .config). Load the mac80211 module in
>> gdb:
>>
>> gdb /lib/modules/`uname -r`/kernel/net/mac80211/mac80211.ko
>>
>> On the gdb prompt, run:
>>
>> l *(ieee80211_agg_splice_packets+0x3d)
>>
>> Actually, ieee80211_agg_splice_packets is a short function. Perhaps you
>> could add debug print statements to find possible errors. For instance,
>> local->hw is used. It would crash if local is NULL. So you add before
>> that place:
>>
>> printk("local = %p\n", local);
>>
>> Likewise, check sta, sta->ampdu_mlme.tid_tx[tid] and local->pending. Or
>> just print the line numbers. You will see which printk is run last
>> before the crash.
>>
>>> I enclose screenshots of 3 occurrences, the last occurrence with the
>>> options nosmp noacpi acpi=off noapic just to see if it solves the
>>> problem but it didn't. Most frustratingly, I hate it when I am the
>>> only person experiencing it because searching Google yields nothing
>>> with this error.
>>
>> Chances are it's because 802.11n is not used much with ath9k in AP mode.
>>
>> --
>> Regards,
>> Pavel Roskin
> _________________________________________________________________
> With Windows Live, you can organise, edit, and share your photos.
> http://clk.atdmt.com/UKM/go/134665338/direct/01/
_________________________________________________________________
Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/

  reply	other threads:[~2009-07-28 21:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-26 17:35 kernel panic ieee80211_agg_splice_packets+0x3d/0xc0 [mac80211] Jack Lau
2009-07-26 20:40 ` Pavel Roskin
2009-07-28 21:21   ` Jack Lau [this message]
2009-07-28 22:48     ` Pavel Roskin
2009-07-30 22:48       ` Jack Lau
2009-07-31 14:26       ` Jack Lau
     [not found]       ` <SNT102-W3823D5AFC70CB052684837BD110@phx.gbl>
2009-08-02  4:18         ` Pavel Roskin
2009-08-02 12:55       ` Jack Lau
2009-08-02 12:57       ` Jack Lau
2009-08-05 19:23       ` Jack Lau
2009-08-02 17:26   ` Jack Lau

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=BAY0-DP3-241EC0B1A0E15935251FCBBD150@phx.gbl \
    --to=jackelectronics@hotmail.com \
    --cc=linux-wireless@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).