From: Jouni Malinen <j@w1.fi>
To: Thomas Kunze <thommycheck@gmx.de>
Cc: linux-wireless@vger.kernel.org
Subject: Re: hostap oops
Date: Fri, 30 May 2008 20:05:36 +0300 [thread overview]
Message-ID: <20080530170535.GA9786@jm.kir.nu> (raw)
In-Reply-To: <4837FD8D.2010000@gmx.de>
On Sat, May 24, 2008 at 01:35:41PM +0200, Thomas Kunze wrote:
> Some logs:
Thanks!
> hostap_cs: Registered netdevice wifi0
> Unable to handle kernel NULL pointer dereference at virtual address 00000028
> pgd = c0004000
> [00000028] *pgd=00000000
> PC is at prism2_interrupt+0x64/0x8ec
It does indeed look like the interrupt handler is not prepared for
something at this point. However, I cannot reproduce this in my tests on
x86 for some reason.. I have even test code that ends up calling the
interrupt handler at the point when it is registered, i.e., when a real
interrupt could actually hit it. prism2_interrupt does not crash in this
case and I see no problems there. The interrupt handler is installed
only after the data structures have been initialized, so the pointers
should be valid at this point.
Unfortunately, I do not have an ARM-based system for testing something
closer to your configuration. It would be useful to figure out what
exactly is NULL in the case where this crash happens. Based on that PC
location, I would assume it is something that is being used close to the
beginning of prism2_interrupt(), but since I don't have the object file
used here, I cannot be sure. I would appreciate it if you could either
take a look at the hostap_cs code and see if you can find this location
or alternatively add some printk calls in the beginning of
prism2_interrupt() to figure out which pointer is NULL.
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2008-05-30 17:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-23 23:11 hostap oops Thomas Kunze
2008-05-23 23:16 ` Stefanik Gábor
2008-05-23 23:20 ` Thomas Kunze
2008-05-24 0:18 ` Andrés Ambrois
2008-05-24 6:16 ` Jouni Malinen
2008-05-24 11:35 ` Thomas Kunze
2008-05-30 17:05 ` Jouni Malinen [this message]
2008-05-29 19:11 ` Thomas Kunze
[not found] ` <69e28c910805291240k306f1a43j8b3b844ea42b7683@mail.gmail.com>
2008-05-29 20:24 ` Thomas Kunze
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=20080530170535.GA9786@jm.kir.nu \
--to=j@w1.fi \
--cc=linux-wireless@vger.kernel.org \
--cc=thommycheck@gmx.de \
/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).