From: Tejun Heo <htejun@gmail.com>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Frans Pop <elendil@planet.nl>,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: Re: No IDE drivers loaded for Toshiba Satellite 320 CDS
Date: Wed, 16 Apr 2008 08:31:29 +0900 [thread overview]
Message-ID: <48053AD1.8010007@gmail.com> (raw)
In-Reply-To: <20080415144748.GO7385@csclub.uwaterloo.ca>
Hi,
Lennart Sorensen wrote:
> Yes. After all you would quickly see a problem if you built a kernel
> with all the IDE drivers built in, which some people do. In that case
> ide generic is always activated last and anything bad that would happen
> with loading a module would happen built in too.
Yeah, pick the right configuration. You can make it malfunction.
> I think it is the wrong place to worry about problems. If a native
> driver takes control of a chip, it is that drivers responsibility to
> reserve any relevant ports on that chip sufficiently to prevent another
> driver from messing with it that doesn't know anything about that chip.
> If the native driver doesn't load at all, then ide-generic ought to try
> and drive the chip if it has legacy ports.
I'm not too sure whether that will be always possible and I'm less sure
we'll get enough test coverage over this kind of stuff.
> So my opinion is that making life easy to those machines with legacy ide
> ports is a good thing, while trying to be overly paranoid about one
> driver potentially hitting a bug in another driver is just silly. Why
> couldn't two native ide drivers potentially go looking for the same
> ports too? Are you sure no native driver uses the legacy IDE port
> numbers to control a chip in native mode? Finding bugs is good since
> then they can be fixed. Trying to prevent hitting bugs (which shouldn't
> be there in the first place) doesn't seem useful.
Yeah, theoretically, you're right. The problem is that what breaks when
things go wrong. If you don't probe generic ports by default, harddisks
won't be detected on some legacy systems but you can always prompt the
user about loading the generic driver. If you probe generic ports by
default, when things go wrong, you break modern machines in an
unrecoverable (w/o reset) way. I'd rather choose bothering the user on
legacy machines.
thanks.
--
tejun
next prev parent reply other threads:[~2008-04-15 23:31 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-02 13:24 No IDE drivers loaded for Toshiba Satellite 320 CDS Frans Pop
2008-04-02 13:27 ` Frans Pop
2008-04-02 13:57 ` Lennart Sorensen
2008-04-02 14:29 ` Frans Pop
2008-04-02 15:46 ` Lennart Sorensen
2008-04-02 16:20 ` Frans Pop
2008-04-02 19:49 ` Lennart Sorensen
2008-04-03 17:47 ` Frans Pop
2008-04-03 19:31 ` Lennart Sorensen
2008-04-04 6:59 ` Frans Pop
2008-04-13 2:39 ` Tejun Heo
2008-04-13 13:59 ` Frans Pop
2008-04-14 13:52 ` Lennart Sorensen
2008-04-14 13:56 ` Alan Cox
2008-04-14 15:29 ` Frans Pop
2008-04-14 15:48 ` Frans Pop
2008-04-14 13:47 ` Lennart Sorensen
2008-04-14 13:53 ` Alan Cox
2008-04-15 2:37 ` Tejun Heo
2008-04-15 10:04 ` Alan Cox
2008-04-15 23:25 ` Tejun Heo
2008-04-15 14:47 ` Lennart Sorensen
2008-04-15 23:31 ` Tejun Heo [this message]
2008-04-16 18:08 ` Frans Pop
2008-04-16 22:12 ` Tejun Heo
2008-04-17 14:05 ` Lennart Sorensen
2008-04-24 3:48 ` Tejun Heo
2008-04-16 23:24 ` Alan Cox
2008-04-02 16:33 ` Ondrej Zary
2008-04-02 20:05 ` Lennart Sorensen
2008-04-02 20:10 ` Ondrej Zary
2008-04-02 20:22 ` Lennart Sorensen
2008-04-02 20:34 ` Ondrej Zary
2008-04-03 17:50 ` Alan Cox
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=48053AD1.8010007@gmail.com \
--to=htejun@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bzolnier@gmail.com \
--cc=elendil@planet.nl \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lsorense@csclub.uwaterloo.ca \
/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).