mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Goran Cengic <cengic@s2.chalmers.se>
To: linux-kernel@vger.kernel.org
Subject: Special place for tird-party modules.
Date: Wed, 28 Apr 2004 18:14:24 +0200	[thread overview]
Message-ID: <200404281814.24991.cengic@s2.chalmers.se> (raw)

Hi all,

The other day I installed some newly compiled modules with "make 
modules_install" from the source three and that action removed already 
installed nvidia kernel module so I had to rebuild and install it again.

This leads to following question:

I know that kernel can be compiled so that it cant load different versions of 
the modules (it says so in the help text of the kernel configuration). How 
come then there is no special place, say /lib/modules/local, for third-party 
modules so that they can be installed just by copying them there from the 
distribution archive and doing whatever configuration needed from there on? 

This way hardware vendors could just compile the module and distribute it in 
the binary form. This would also make it easy to upgrade the kernel without 
having to reinstall all the drivers. What are arguments for and against this 
approach? Why does the nvidia driver have to be compiled for different kernel 
versions? Can't they make one module that fits all kernels?

Another question is, if there is a way to compile kernel that loads modules of 
different versions, why are the modules still installed in 
"/lib/modules/`uname -r`/*" instead of "/lib/modules/*" by default? In another 
words. Why is it necessary to upgrade modules with every kerenel release even 
though some of them might not be in the need there of?

I do understand that many developers have several kernel version installed at 
the same time but is it possible to share between the versions at least the 
modules that are not developed as the part of the kernel?

If I'm missing something cruical please point it out to me.

Thanks in advance.

/Goran

mailto:cengic@s2.chalmers.se
Have a nice day :)

             reply	other threads:[~2004-04-28 16:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28 16:14 Goran Cengic [this message]
     [not found] ` <200404281835.24836.bzolnier@elka.pw.edu.pl>
2004-04-28 17:05   ` Goran Cengic
2004-04-28 21:18     ` Valdis.Kletnieks
2004-04-28 19:18 ` Valdis.Kletnieks
2004-04-29  8:15   ` Goran Cengic

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=200404281814.24991.cengic@s2.chalmers.se \
    --to=cengic@s2.chalmers.se \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®