From: David Hinds <dhinds@sonic.net>
To: "Hmamouche, Youssef" <youssef@ece.utexas.edu>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
Jeff Garzik <jgarzik@pobox.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PROBLEM] xircom CBE2-100(faulty) hangs kernel 2.4.{21, 22-pre8} (fwd)
Date: Wed, 6 Aug 2003 16:35:27 -0700 [thread overview]
Message-ID: <20030806163527.A27113@sonic.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0308061514470.2297-100000@linux08.ece.utexas.edu>
On Wed, Aug 06, 2003 at 03:55:02PM -0500, Hmamouche, Youssef wrote:
>
> I'm a user. When I insert a card "into my laptop" I'd like it to
> work as advertised. If it doesn't work as advertised(because of some
> hardware failure in this case), I'd like the kernel to more or less
> let me know that something went wrong so I can return it. I wouldn't
> expect the kernel to freeze.
I accept this...
> Faulty hardware is very common in the PC era. I agree that it is
> hard to pin down hardware malfunctions when you don't know what to
> check for. However, There should be concern when it takes your whole
> system down.
I'd agree, that drivers should be made to not screw up when an
unexpected condition arises, where that's possible. Like, not
crashing the OS if a device returns an unexpected value.
This particular problem (what seems to be an unacknowledged interrupt,
but that could be a symptom of something else) is troublesome and
likely impossible for the driver to detect and handle sanely. Because
PCI interrupts are shared, and a driver cannot assume that its device
was responsible for any particular interrupt.
I believe that the 2.6 kernel provides a general central mechanism for
detecting and throttling unacknowledged interrupts, if that really is
the problem. That's where this particular fix belongs, not in the
driver (and every other driver).
-- Dave
prev parent reply other threads:[~2003-08-06 23:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44.0308061438400.4859-400000@logos.cnet>
2003-08-06 19:47 ` [PROBLEM] xircom CBE2-100(faulty) hangs kernel 2.4.{21, 22-pre8} (fwd) David Hinds
2003-08-06 20:55 ` Hmamouche, Youssef
2003-08-06 23:35 ` David Hinds [this message]
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=20030806163527.A27113@sonic.net \
--to=dhinds@sonic.net \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=youssef@ece.utexas.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.