mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Jim Deas <jdeas0648@jadsystems.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel disables interrupts
Date: Thu, 26 Feb 2004 14:18:31 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.53.0402261415160.4239@chaos> (raw)
In-Reply-To: <200402261025.AA3240886544@jadsystems.com>

On Thu, 26 Feb 2004, Jim Deas wrote:

> I am trouble shooting a new driver and have found a new
> kernel item that makes trouble shooting a bit harder.
> When I unload my test driver and before I can reload it
> (reseting the interrut controls)the Kernerl disables
> the chattering interrupt.
> Once the kernel has disable a spurious interrupt is there
> a way to get it back?
>
> JD

Linux version 2.4.24 doesn't "disable" a spurious interrupt!
When you unload the driver, you deallocate the interrupt you
are using (I sure hope so). When you load the driver again,
you reallocate the interrupt. If you FAILED to release the
IRQ when you unloaded the module, guess what? It's still
allocated and you can't have it anymore. That's probably
what's happening.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
            Note 96.31% of all statistics are fiction.



  parent reply	other threads:[~2004-02-26 19:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-26 18:25 Jim Deas
2004-02-26 18:48 ` Ben Collins
2004-02-26 19:18 ` Richard B. Johnson [this message]
2004-02-26 19:25 ` Zwane Mwaikambo

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=Pine.LNX.4.53.0402261415160.4239@chaos \
    --to=root@chaos.analogic.com \
    --cc=jdeas0648@jadsystems.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®