linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitri <dmitri@users.sourceforge.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Automatic download and installation of drivers.
Date: Thu, 18 Oct 2001 00:07:32 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-100336365824068@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-100319421829170@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 2879 bytes --]

Quoting Greg KH <greg@kroah.com>:

> On Thu, Oct 18, 2001 at 01:31:17AM +0200, Tim Jansen wrote:
> > 
> > You wouldn't need this in the kernel for automatic downloads. Actually the 
> > idea of automatic downloadable drivers is to provide drivers that are NOT in 
> > the kernel. If the user connects a new device and the system doesn't find a 
> > driver for it it would request one from some server. This server could either 
> > provide a driver itself, based the device's vendor and model id, or forward 
> > the system to the vendor's server which would then try to find one for the 
> > model.
> 
> But how do you resolve all of the previous points I raised about
> compilers,

Just yesterday I had to replace gcc 3.0.1 with old but working
egcs-2.91.66. The C download was just 1.5 MBytes, and C++ was
only 1.5 MBytes more - though you wouldn't need C++ for the kernel.

This means that gcc is just another dependency that the script will
resolve before even trying to fetch and compile the driver. The
size of the required download is acceptable even for modem users,
and that has to be done only once.

Of course, distributions can make the gcc (suitable for kernel
compilations) a required (base) package.

> .config files,

I think they are available in "kernel-devel" package or something
like that. They easily can be shipped as part of the kernel RPM.
The kernel-devel package is already available in RH, for example.

Of course, the kernel itself can contain a copy of its own .config
file and export it through /proc fs, along with all compiler options,
that would be neat :-) and only requires an optional module.

> in kernel apis,

That's not something new. APIs change all the time, everywhere, not
only in OSes. Programmers just need to use #if ... #endif and maybe
the driver should be marked as "suitable" or "tested" on some range
of kernel releases.

> and security with regards to "automatic downloads"?

Linus already signs his kernel releases. There is no reason why
driver maintainers can't join the web of trust. Then GPG will
cheerfully accept signatures of partially trusted signers. It is
very easy to do, publishers only need to get their public key
signed by many other publishers, and the threshold for the sufficient
trust can be hardcoded to be fairly high.

/***/

It is clear to me that Linux needs a mechanism for fetching and
installing 3rd party drivers. The proposed technology seems to
be quite simple, and requires very little development because
all components are already here. I think, a single script can
definitely accomplish searching, downloading, compiling (kbuild?)
and installing the driver. This project is all about organizing
software and people to do it right.

Thanks,
Dmitri

-- 
panic("esp: penguin status phase.");
(Panic message in the kernel.)

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  parent reply	other threads:[~2001-10-18  0:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-16  0:02 Automatic download and installation of drivers Stamatis Mitrofanis
2001-10-16  5:29 ` Greg KH
2001-10-16  7:35 ` David Brownell
2001-10-16  7:58 ` Tim Jansen
2001-10-16 11:38 ` Keith Owens
2001-10-16 16:52 ` Greg KH
2001-10-16 18:44 ` Tim Jansen
2001-10-16 18:58 ` Tim Jansen
2001-10-16 19:19 ` Greg KH
2001-10-17  2:01 ` David Brownell
2001-10-17  2:03 ` David Brownell
2001-10-17 18:47 ` Tim Jansen
2001-10-17 19:24 ` David Brownell
2001-10-17 23:31 ` Tim Jansen
2001-10-17 23:32 ` Greg KH
2001-10-18  0:07 ` Dmitri [this message]
2001-10-18  0:19 ` Stamatis Mitrofanis
2001-10-18  0:47 ` Tim Jansen
2001-10-18  2:17 ` Keith Owens
2001-10-18  2:35 ` Dmitri
2001-10-29 21:53 ` Greg KH
2001-10-30  8:26 ` Tim Jansen
2001-10-30 17:21 ` Greg KH
2001-10-30 21:24 ` Tim Jansen
2001-10-30 21:51 ` Dmitri
2001-10-31 12:36 ` Keith Owens
2001-10-31 20:49 ` Greg KH

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=marc-linux-hotplug-100336365824068@msgid-missing \
    --to=dmitri@users.sourceforge.net \
    --cc=linux-hotplug@vger.kernel.org \
    /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).