From: Frans Pop <elendil@planet.nl>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: 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, 2 Apr 2008 18:20:03 +0200 [thread overview]
Message-ID: <200804021820.04610.elendil@planet.nl> (raw)
In-Reply-To: <20080402154636.GH24237@csclub.uwaterloo.ca>
On Wednesday 02 April 2008, Lennart Sorensen wrote:
> I am sure the debian installer used to always load ide-generic after
> trying everything else. There was probably a reason for that. You
> never have been able to detect isa devices releably (even after pnp was
> invented).
Well, what the installer used to do for Sarge and Etch was basically to load
_all_ drivers (including ide-generic) manually by default, which is totally
useless as most devices are perfectly autodetected nowadays. It also wastes
memory as you'd end up having a lot of unused drivers in memory.
Post-etch we decided to change that and currently drivers are only loaded if
autodetected (with some exceptions, such as for sparc sbus and hppa bus).
We were aware that this could cause some regressions, but so far this is the
first real report.
Another change in Debian since Etch is that initramfs-tools no longer loads
ide-generic by default, which IMO is also a good thing. We can easily make
it load ide-generic when needed, but for that again we first have to know
that it _is_ needed.
> > But to have the installer itself automatically load ide-generic for the
> > user, we'd still have to somehow recognize that we need the driver.
> > Any ideas/suggestions what to look for?
>
> If you can't see any other disks, load it.
Yes, that could be one way to implement it: load it and then check if that
added any devices.
> Heck load it last no matter
> what since any supported IDE ports should have already had their driver
> loaded, so worst case it does nothing in which case the autoclean of
> unneeded kernel modules could remove it again, and best case it finds an
> old isa/vlb style IDE controller on the standard port numbers and works
> with it.
That would still leave us with the problem of not knowing whether it needs
to be added for initramfs-tools or not.
If there are no other suggestions, I guess we'll go with a "load and check"
implementation. Thanks a lot for your input.
Anybody know how other distributions deal with this?
Cheers,
FJP
next prev parent reply other threads:[~2008-04-02 16:20 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 [this message]
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
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=200804021820.04610.elendil@planet.nl \
--to=elendil@planet.nl \
--cc=bzolnier@gmail.com \
--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).