public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [kernel-abi] symbol versioning vs. out-of-tree modules.
@ 2008-09-24 15:07 Paweł Sikora
  2008-09-24 16:34 ` Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Paweł Sikora @ 2008-09-24 15:07 UTC (permalink / raw)
  To: linux-kernel

Hi All,

with out-of-tree kernel modules we (users and linux distributions)
have a problem - with every frequent kernel release we need
to rebuild them all due to vermagic and possible abi changes.
this leads to lot of useless work (bumping rpm specs releases,
preparing rpm packages and so on).

naturally we could workaround the modprobe vermagic errors
but we currently can't detect the big-bang kernel abi changes.
e.g., some kernel function changes its parameter list while
the exported function(symbol) name still staying unchanged.
finally we get a modprobe-big-bang.

in fact, we can't use a c++ symbol name mangling to avoid
such problems but kernel build system could use a linker script
to versioning symbols (like glibc/libgcc). during the abi change,
kernel developers could just bump the symbol version and
external modules could be refused during loading with
'unresolved symbol' error which is imho much better solution
that an oops.

is it acceptable and possible to introducing such solution?
thanks for comments.

BR,
pawel.

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: [kernel-abi] symbol versioning vs. out-of-tree modules.
@ 2008-09-29  6:51 Alan Young
  2008-09-29 15:42 ` Greg KH
  0 siblings, 1 reply; 19+ messages in thread
From: Alan Young @ 2008-09-29  6:51 UTC (permalink / raw)
  To: linux-kernel, Greg KH

On Thu, 25 Sep 2008 at 05:10:07 +0200, Greg KH wrote:

> What kernel modules do you currently use/rely on that are not in the
> main kernel tree?  Do you have links to them?  I'd be glad to add them.

I still use the ES56-PI modem driver @ http://tx.technion.ac.il/~raindel.
It has a 2.6 port up to 2.6.24, but it's not more current than that due to
serial/tty interface changes.  And there's a challenge that it uses a binary
blob. :-(  Best case would be to see if the vendor could open up like
Atheros (Thanks! Yea!) did.  If not, I wonder if the blob could be minimalized
to the bare modem functions and the serial interfaces be brought out into open code.

Alan

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

end of thread, other threads:[~2008-09-29 15:51 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24 15:07 [kernel-abi] symbol versioning vs. out-of-tree modules Paweł Sikora
2008-09-24 16:34 ` Christoph Hellwig
2008-09-26  9:50   ` Tilman Schmidt
2008-09-24 19:36 ` Alexey Dobriyan
2008-09-24 21:05 ` Arjan van de Ven
2008-09-25  2:48 ` Greg KH
2008-09-25  6:29   ` Paweł Sikora
2008-09-25  7:49     ` Sitsofe Wheeler
2008-09-25  8:26       ` Sitsofe Wheeler
2008-09-25  8:52     ` el es
2008-09-25 12:54     ` Greg KH
2008-09-25 13:48       ` Paweł Sikora
2008-09-25 13:54         ` Greg KH
2008-09-26 11:25       ` Tilman Schmidt
2008-09-26 15:36         ` Greg KH
2008-09-26 17:19           ` Arkadiusz Miskiewicz
2008-09-26 20:09             ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2008-09-29  6:51 Alan Young
2008-09-29 15:42 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox