mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Special place for tird-party modules.
@ 2004-04-28 16:14 Goran Cengic
       [not found] ` <200404281835.24836.bzolnier@elka.pw.edu.pl>
  2004-04-28 19:18 ` Valdis.Kletnieks
  0 siblings, 2 replies; 5+ messages in thread
From: Goran Cengic @ 2004-04-28 16:14 UTC (permalink / raw)
  To: linux-kernel

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 :)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-29  8:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-28 16:14 Special place for tird-party modules Goran Cengic
     [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

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®