linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jouni Malinen <j@w1.fi>
To: Thomas Kunze <thommycheck@gmx.de>
Cc: linux-wireless@vger.kernel.org
Subject: Re: hostap oops
Date: Sat, 24 May 2008 09:16:28 +0300	[thread overview]
Message-ID: <20080524061628.GE4932@jm.kir.nu> (raw)
In-Reply-To: <48374F39.40904@gmx.de>

On Sat, May 24, 2008 at 01:11:53AM +0200, Thomas Kunze wrote:

> the hostap driver produces an oops at boot time for me. I use a prism2 compact flash card. 

Thanks for reporting this. Would there be any chance of getting the oops
message with function backtrace? I would like to know what exactly is
crashing and fix that instead of trying to hide the problem with the
patch you used. Which other devices are using the same interrupt line
(cat /proc/interrupts)?

> Its seems that this is because the driver receives irqs before it is ready to do so. 
> 
> I found a patch that solve the problem, but it looks more like a hack.

Yes, that change may resolve the issue for you, but it does not look
reasonable as a generic fix. prism2_interrupt() should not really claim
that it handled the interrupt if it did not since the interrupt could
have been for another device.

> Any suggestions how to solve this in a better way?

I think the better way would be to identify the location that causes the
oops and fix that area to handle being called at this early during
initialization or alternatively, reorder initialization to avoid having
to register the interrupt handler before having completed some
additional setup.

-- 
Jouni Malinen                                            PGP id EFC895FA

  parent reply	other threads:[~2008-05-24  6:17 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 [this message]
2008-05-24 11:35   ` Thomas Kunze
2008-05-30 17:05     ` Jouni Malinen
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=20080524061628.GE4932@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).