From: "Philip A. Prindeville" <philipp_subx@redfish-solutions.com>
To: Kalle Valo <kalle.valo@iki.fi>
Cc: Johannes Berg <johannes@sipsolutions.net>,
Pavel Roskin <proski@gnu.org>, Markus Baier <markus_baier@web.de>,
linux-wireless@vger.kernel.org
Subject: Re: Starting hostapd causes kernel panic
Date: Sun, 24 Jan 2010 00:14:43 -0800 [thread overview]
Message-ID: <4B5C0173.9080100@redfish-solutions.com> (raw)
In-Reply-To: <87aaw4oxh0.fsf@purkki.valot.fi>
On 01/23/2010 09:58 PM, Kalle Valo wrote:
> "Philip A. Prindeville" <philipp_subx@redfish-solutions.com> writes:
>
>>>> Whatever you prefer. Either way, the panic is fixed now!
>>>>
>>> Great, and sorry about that! I'll send a patch to insert the else too.
>>>
>>> johannes
>>>
>>
>> Did you send that patch? I'd like to apply it. Please copy me when
>> you send it out.
>
> Johannes was busy and I sent the patch instead. It's here:
>
> http://marc.info/?l=linux-wireless&m=126427124317427&w=2
>
I just applied it to compat-wireless-2010-01-20 and ran it on an AR5413 but it still panics:
BUG: unable to handle kernel NULL pointer dereference at 0000019f
IP: [<e0993e7f>] :mac80211:invoke_tx_handlers+0x5be/0xe6a
*pde = 00000000
Oops: 0000 [#1] PREEMPT
Modules linked in: aes_i586 aes_generic pc87360 hwmon_vid hwmon bridge stp llc dummy ath5k mac80211 ath cfg80211 rfkill_backport compat dahdi_dummy dahdi sha512_generic sha256_generic deflate zlib_deflate arc4 ecb sha1_generic blowfish des_generic cbc cryptosoft cryptodev(P) ocf(P) geodewdt geode_rng geode_aes crypto_blkcipher via_rhine rtc cs5535_gpio
Pid: 1652, comm: hostapd Tainted: P (2.6.27.42-astlinux #1)
EIP: 0060:[<e0993e7f>] EFLAGS: 00010246 CPU: 0
EIP is at invoke_tx_handlers+0x5be/0xe6a [mac80211]
EAX: 00000000 EBX: df0b7cac ECX: 00000000 EDX: df0b7cac
ESI: df22dce0 EDI: df22dcc0 EBP: df22dce0 ESP: df0b7c10
DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
Process hostapd (pid: 1652, ti=df0b6000 task=dfa43be0 task.ti=df0b6000)
Stack: df032920 00000000 dfa43be0 df0b7cac df22dcc0 df22dce0 df5658dc dfa75640
dfaa5b60 df22dce0 df0b7cac e099362e df0b7cac df0b7c5c df27a45e df204260
dfa43be0 c0112426 00100100 df27a450 0000000e 0000000f df27a45c 00000012
Call Trace:
[<e099362e>] ieee80211_tx_prepare+0x2ed/0x327 [mac80211]
[<c0112426>] default_wake_function+0x0/0x8
[<e0994904>] ieee80211_tx+0x94/0x21b [mac80211]
[<c02511cd>] pskb_expand_head+0xe7/0x14d
[<e0994bfd>] ieee80211_xmit+0x172/0x196 [mac80211]
[<e0994f3e>] ieee80211_monitor_start_xmit+0x8e/0xa0 [mac80211]
[<c02559d0>] dev_hard_start_xmit+0x196/0x1ef
[<c02611a8>] __qdisc_run+0xa1/0x183
[<c0257aee>] dev_queue_xmit+0x161/0x283
[<c0252311>] memcpy_fromiovec+0x28/0x4b
[<c02a3efc>] packet_sendmsg+0x1ba/0x200
[<c024c174>] sock_sendmsg+0xb7/0xd0
[<c0123bde>] autoremove_wake_function+0x0/0x2b
[<c0123bde>] autoremove_wake_function+0x0/0x2b
[<c015abe6>] core_sys_select+0x260/0x285
[<c0252579>] verify_iovec+0x3e/0x6d
[<c024c31a>] sys_sendmsg+0x18d/0x1f0
[<c013c232>] mark_page_accessed+0x18/0x27
[<c013778a>] filemap_fault+0x202/0x364
[<c01b7abc>] unionfs_fault+0x50/0x58
[<c0140071>] __do_fault+0x2b7/0x2e9
[<c01411fb>] handle_mm_fault+0x219/0x4a3
[<c024d209>] sys_socketcall+0x15b/0x193
[<c02ad674>] do_page_fault+0x0/0x60d
[<c01037e6>] syscall_call+0x7/0xb
[<c02a0000>] unix_dgram_disconnected+0x39/0x4e
=======================
Code: 00 00 10 74 1f 0f b7 03 a8 0c 0f 84 52 08 00 00 eb 12 0f b7 03 a8 0c 74 0b 8b 4c 24 0c c7 41 10 00 00 00 00 8b 5c 24 0c 8b 43 10 <f6> 80 9f 01 00 00 01 0f 84 2a 08 00 00 05 98 01 00 00 89 45 1c
EIP: [<e0993e7f>] invoke_tx_handlers+0x5be/0xe6a [mac80211] SS:ESP 0068:df0b7c10
Kernel panic - not syncing: Fatal exception in interrupt
Slightly different from Markus's trace.
next prev parent reply other threads:[~2010-01-24 8:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 20:14 Starting hostapd causes kernel panic Markus Baier
2010-01-22 20:23 ` pat-lkml
2010-01-22 20:59 ` Markus Baier
2010-01-22 20:28 ` Johannes Berg
2010-01-22 22:45 ` Markus Baier
2010-01-22 20:53 ` Johannes Berg
2010-01-22 21:42 ` Pavel Roskin
2010-01-22 21:50 ` Markus Baier
2010-01-22 21:53 ` Johannes Berg
2010-01-22 22:06 ` Pavel Roskin
2010-01-23 12:59 ` Johannes Berg
2010-01-23 21:53 ` Philip A. Prindeville
2010-01-24 5:58 ` Kalle Valo
2010-01-24 8:14 ` Philip A. Prindeville [this message]
2010-01-24 8:27 ` Kalle Valo
2010-01-24 11:42 ` Johannes Berg
2010-01-24 21:07 ` Philip A. Prindeville
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=4B5C0173.9080100@redfish-solutions.com \
--to=philipp_subx@redfish-solutions.com \
--cc=johannes@sipsolutions.net \
--cc=kalle.valo@iki.fi \
--cc=linux-wireless@vger.kernel.org \
--cc=markus_baier@web.de \
--cc=proski@gnu.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).