From: Linus Torvalds <torvalds@osdl.org>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: ktech@wanadoo.es,
Kernel Mailing List <linux-kernel@vger.kernel.org>,
Jeff Garzik <jgarzik@pobox.com>
Subject: Re: 2.6.7-rc1 breaks forcedeth
Date: Sun, 6 Jun 2004 10:04:56 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0406060957410.7010@ppc970.osdl.org> (raw)
In-Reply-To: <40C2D780.4010009@colorfullife.com>
On Sun, 6 Jun 2004, Manfred Spraul wrote:
>
> I'll add that, but it's only a partial fix: what if ehci_hcd is loaded
> before the forcedeth driver?
Yes. We've had those kinds of problems before, and sometimes you need a
PCI quirk to disable a screaming device. See the PIIX3 USB quirk in
drivers/pci/quirks.c for example.
The good news is that it's fairly rare. Devices don't generally have
pending interrupts, since they haven't been turned on, or at least the
BIOS has finished doing whatever it was doing to them. The USB thing
happens because the BIOS leaves the USB controller active (probably for
keyboard usage) and USB normally generates interrupts whether anything
happens or not.
> Luis, could you apply the patch and boot with it? It should print
> something like
>
> forcedeth: irq line 11, Status 0x00000020, Mask 0x00000020
>
> If mask and status are really not zero, then it explains your problems.
It could be something else on the NForce thing too, of course. Including
just having ACPI get confused about the polarity of the interrupt (if the
interrupt is _off_, but we've told the irq controller the wrong polarity,
the controller will obviously think that it is _on_).
But it's usually a good thing to try to reset a device as much as possible
when you probe for it. If for no other reason than the fact that then
you'll have it in a "known state", and hopefully there won't be as many
surprises..
Linus
next prev parent reply other threads:[~2004-06-06 17:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-06 1:59 ktech
2004-06-06 3:14 ` Linus Torvalds
2004-06-06 8:36 ` Manfred Spraul
2004-06-06 17:04 ` Linus Torvalds [this message]
2004-06-06 18:13 ` Jeff Garzik
2004-06-06 18:21 ` Jeff Garzik
2004-06-06 18:32 ` Linus Torvalds
-- strict thread matches above, loose matches on Subject: below --
2004-06-16 18:40 David Mansfield
2004-06-06 13:49 jjluza
[not found] <E1BWxTh-0002dx-KR@mb06.in.mad.eresmas.com>
2004-06-06 13:31 ` Daniel Schmitt
2004-06-06 12:10 ktech
2004-06-06 12:53 ` Vincent van de Camp
2004-06-06 13:40 ` Manfred Spraul
2004-06-06 14:17 ` Manfred Spraul
2004-06-05 23:41 Luis Miguel García Mancebo
2004-06-05 23:50 ` Linus Torvalds
2004-05-31 0:29 jjluza
2004-05-30 17:54 Luis Miguel García Mancebo
2004-05-30 20:47 ` Jeff Garzik
2004-05-30 15:57 Lee Howard
2004-05-30 17:20 ` Jeff Garzik
2004-05-30 22:59 ` Lee Howard
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.58.0406060957410.7010@ppc970.osdl.org \
--to=torvalds@osdl.org \
--cc=jgarzik@pobox.com \
--cc=ktech@wanadoo.es \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.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®