From: "Justin T. Gibbs" <gibbs@scsiguy.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: mason@suse.com, linux-kernel@vger.kernel.org
Subject: Re: BUG at smp.c:481, 2.4.8-pre2
Date: Mon, 30 Jul 2001 13:29:05 -0600 [thread overview]
Message-ID: <200107301929.f6UJT5I20640@aslan.scsiguy.com> (raw)
In-Reply-To: Your message of "Mon, 30 Jul 2001 10:33:08 PDT." <200107301733.f6UHX8H01494@penguin.transmeta.com>
>In article <296370000.996508500@tiny> you write:
>>
>>Ok, During boot on 2.4.8-pre2 I'm getting this oops just as it starts to
>>probe my aic7890 card. Andrea is cc'd because I'm guessing it is due to
>>one of his patches ;-)
>
>It's a sanity check, which I removed (because it's worse to panic in a
>2.4.x kernel than it is to have the sanity problem). But the sanity
>check does show that there is some problem in ahc_pci_map_registers():
>it calls "ioremap()" with interrupts disabled, which is rather broken.
>
>I don't know that driver well enough to understand why the heck it would
>keep interrupts disabled over apparently a _long_ stretch of time during
>probing. The irq disable code seems to be somewhere else..
>
>Justin?
At least in 6.2.0, interrupts are not disabled at all during the probe.
In fact the driver doesn't explicitly disable interrupts ever other
than by way of taking a spinlock. No spinlocks are held during this
portion of the probe. Instead, we disable the interrupt line on the card,
and don't enable it until the probe is complete. I haven't yet checked in
6.1.13, but this hasn't changed in a long time. I'd be surprised if the
behavior is any different. Perhaps interrupts are disabled higher in
the food chain?
--
Justin
next prev parent reply other threads:[~2001-07-30 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-30 15:55 Chris Mason
2001-07-30 17:33 ` Linus Torvalds
2001-07-30 19:29 ` Justin T. Gibbs [this message]
2001-07-31 1:16 ` Keith Owens
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=200107301929.f6UJT5I20640@aslan.scsiguy.com \
--to=gibbs@scsiguy.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mason@suse.com \
--cc=torvalds@transmeta.com \
/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®