All of lore.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] kmod 2
       [not found] <CAMOw1v5r8CqO3zWdw9YzhjJVcU7QntwLEeJECbgcU-f3ATWUSQ@mail.gmail.com>
@ 2011-12-21  2:35   ` Lucas De Marchi
  0 siblings, 0 replies; 4+ messages in thread
From: Lucas De Marchi @ 2011-12-21  2:35 UTC (permalink / raw)
  To: linux-modules, LKML

Hi all,

http://packages.profusion.mobi/kmod/kmod-2.tar.xz


I'm glad to announce the second version of kmod. I'm sorry for not
sending the announcement on this mailing list for the first version.
For those who didn't see the first announcement can check at
http://lwn.net/Articles/472354/.

I thank very much the feedback received for the first version and that
now Jon Masters, the maintainer of module-init-tools, is helping us
with kmod and already announced that kmod will replace
module-init-tools in future
(http://www.jonmasters.org/blog/2011/12/20/libkmod-replaces-module-init-tools/).

I'd like to especially thank Tom Gundersen, Dave Reisner, Marco
d'Itri, Jon Masters, Luis Felipe, Jan Engelhardt and Kay Sievers who
have been extensively testing kmod and helping with compatibility with
previous tools. Right now kmod is tested in i686, x86_64, sparcv9,
powepc64, s390 and ARM. More testers are greatly appreciated,
especially for architectures not mentioned here.

News for this version are (copying from NEWS file):

Some bugs fixed: the worst of them was with an infinite loop when an alias
matched more than one module.

- New APIs in libkmod to:
� � � �- Get soft dependencies
� � � �- Get info from module files parsing ELF
� � � �- Get modversions from files parsing ELF
- Support to load gzipped kernel modules: kmod can be compiled with support to
�gzipped modules by giving the --enable-zlib flag
- Support to forcefully load modules, both vermagic and modversion
- Support to force and nowait removal flags
- Configuration files are parsed in the same order as modprobe: files are
�sorted alphabetically (independently of their dir) and files with the same
�name obey a precedence order
- New tool: kmod-modinfo
- kmod-modprobe gained several features to be a 1:1 replacement for modprobe.
�The only missing things are the options '--showconfig' and '-t / -l'. These
�last ones have been deprecated long ago and they will be removed from
�modprobe. A lot of effort has been put on kmod-modprobe to ensure it
�maintains compabitility with modprobe.
- linux-modules@vger.kernel.org became the official mailing list for kmod

For the next version, we plan to migrate our git repository to
kernel.org. Meanwhile, git repository can be found at
http://git.profusion.mobi/cgit.cgi/kmod.git/ and packages at
http://packages.profusion.mobi/kmod/

Shortlog for kmod 2 is below.

Cristian Rodr�guez (2):
� � �Library must use O_CLOEXEC whenever it opens file descriptors
� � �Open more file descriptors with O_CLOEXEC

Gustavo Sverzut Barbieri (22):
� � �implement zlib module loading.
� � �fix error handling path.
� � �implement softdeps.
� � �fix kmod_list_prev().
� � �introduce kmod_list_last()
� � �introduce kmod_list_foreach_reverse().
� � �kmod-modprobe: implement softdeps.
� � �compatibility: match commands using fnmatch() instead of strcmp().
� � �TODO: add idea about single file with all compressed modules.
� � �ELF: initial support for modinfo and strip of modversions and vermagic.
� � �kmod-modprobe: implement --dump-modversions
� � �kmod-modprobe: improve --help output.
� � �elf: fix minimum file size calculation.
� � �Introduce kmod-modinfo.
� � �kmod-modinfo: add missing short options.
� � �kmod-modinfo: fix typo and output format.
� � �elf: do not output empty strings.
� � �kmod-modinfo: -p (-F parm) shows also parmtype in Debian
expected formatting.
� � �elf: fix typo that resulted in invalid uint reads for big-endian
platforms.
� � �elf: skip leading symbol dot in modversion.
� � �kmod_module_new_*: improve debugging.
� � �configure: disable static zlib build.

Jan Engelhardt (3):
� � �libkmod: use C99 __func__ over GNU-specific __FUNCTION__
� � �gitignore: only ignore build system files in the top directory
� � �build: use dist-xz

Kay Sievers (1):
� � �introduce --with-rootprefix=DIR

Lucas De Marchi (33):
� � �TODO: add new tasks and notes to future development
� � �tools: fix kmod-modprobe -R trying to insert module
� � �Add address of mailing list
� � �kmod_module: do not find more than the first command
� � �Lookup for commands in kmod_module_new_from_lookup()
� � �Use tab instead of spaces
� � �Fix leak of kmod_module
� � �Fix wrong name len when converting path to modname
� � �kmod_modprobe: fix handling of remove commands
� � �kmod_modprobe: properly handle install/remove commands
� � �Fix debug message formatting
� � �build-sys: remove unneeded _SOURCES vars
� � �Reduce ident by continuing early
� � �Terminate strv with NULL
� � �Put blank lines where it's due
� � �Remove unneeded reference to last string
� � �Optimize kmod_elf_get_strings() by reducing calls to memcpy
� � �Make section size constant since it's always the same
� � �Cache the offset of crc
� � �elf: fix regression with empty strings
� � �Fix check for opened indexes
� � �kmod_modprobe: Fix regression when inserting module
� � �kmod_config: fix kcmd line parser with dots after =
� � �Use sorted configuration files in precedence order
� � �kmod_modprobe: fix description of -C flag
� � �build-sys: default to "" as rootprefix
� � �build-sys: remove remaining _SOURCES var
� � �Move symbols introduced in libkmod2 to the right place
� � �Removing comments saying flags are not implemented
� � �build-sys: do not use some compile flags by default
� � �Update doc to reflect function behavior
� � �Change error message to reflect reality
� � �kmod 2

Luis Felipe Strano Moraes (2):
� � �Removing warnings when compiling on i686 platform.
� � �Testing for return of alias_normalize.

Ulisses Furquim (1):
� � �trivial: fix typo causing an infinite loop




Lucas De Marchi

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

* [ANNOUNCE] kmod 2
@ 2011-12-21  2:35   ` Lucas De Marchi
  0 siblings, 0 replies; 4+ messages in thread
From: Lucas De Marchi @ 2011-12-21  2:35 UTC (permalink / raw)
  To: linux-modules, LKML

Hi all,

http://packages.profusion.mobi/kmod/kmod-2.tar.xz


I'm glad to announce the second version of kmod. I'm sorry for not
sending the announcement on this mailing list for the first version.
For those who didn't see the first announcement can check at
http://lwn.net/Articles/472354/.

I thank very much the feedback received for the first version and that
now Jon Masters, the maintainer of module-init-tools, is helping us
with kmod and already announced that kmod will replace
module-init-tools in future
(http://www.jonmasters.org/blog/2011/12/20/libkmod-replaces-module-init-tools/).

I'd like to especially thank Tom Gundersen, Dave Reisner, Marco
d'Itri, Jon Masters, Luis Felipe, Jan Engelhardt and Kay Sievers who
have been extensively testing kmod and helping with compatibility with
previous tools. Right now kmod is tested in i686, x86_64, sparcv9,
powepc64, s390 and ARM. More testers are greatly appreciated,
especially for architectures not mentioned here.

News for this version are (copying from NEWS file):

Some bugs fixed: the worst of them was with an infinite loop when an alias
matched more than one module.

- New APIs in libkmod to:
       - Get soft dependencies
       - Get info from module files parsing ELF
       - Get modversions from files parsing ELF
- Support to load gzipped kernel modules: kmod can be compiled with support to
 gzipped modules by giving the --enable-zlib flag
- Support to forcefully load modules, both vermagic and modversion
- Support to force and nowait removal flags
- Configuration files are parsed in the same order as modprobe: files are
 sorted alphabetically (independently of their dir) and files with the same
 name obey a precedence order
- New tool: kmod-modinfo
- kmod-modprobe gained several features to be a 1:1 replacement for modprobe.
 The only missing things are the options '--showconfig' and '-t / -l'. These
 last ones have been deprecated long ago and they will be removed from
 modprobe. A lot of effort has been put on kmod-modprobe to ensure it
 maintains compabitility with modprobe.
- linux-modules@vger.kernel.org became the official mailing list for kmod

For the next version, we plan to migrate our git repository to
kernel.org. Meanwhile, git repository can be found at
http://git.profusion.mobi/cgit.cgi/kmod.git/ and packages at
http://packages.profusion.mobi/kmod/

Shortlog for kmod 2 is below.

Cristian Rodríguez (2):
     Library must use O_CLOEXEC whenever it opens file descriptors
     Open more file descriptors with O_CLOEXEC

Gustavo Sverzut Barbieri (22):
     implement zlib module loading.
     fix error handling path.
     implement softdeps.
     fix kmod_list_prev().
     introduce kmod_list_last()
     introduce kmod_list_foreach_reverse().
     kmod-modprobe: implement softdeps.
     compatibility: match commands using fnmatch() instead of strcmp().
     TODO: add idea about single file with all compressed modules.
     ELF: initial support for modinfo and strip of modversions and vermagic.
     kmod-modprobe: implement --dump-modversions
     kmod-modprobe: improve --help output.
     elf: fix minimum file size calculation.
     Introduce kmod-modinfo.
     kmod-modinfo: add missing short options.
     kmod-modinfo: fix typo and output format.
     elf: do not output empty strings.
     kmod-modinfo: -p (-F parm) shows also parmtype in Debian
expected formatting.
     elf: fix typo that resulted in invalid uint reads for big-endian
platforms.
     elf: skip leading symbol dot in modversion.
     kmod_module_new_*: improve debugging.
     configure: disable static zlib build.

Jan Engelhardt (3):
     libkmod: use C99 __func__ over GNU-specific __FUNCTION__
     gitignore: only ignore build system files in the top directory
     build: use dist-xz

Kay Sievers (1):
     introduce --with-rootprefix=DIR

Lucas De Marchi (33):
     TODO: add new tasks and notes to future development
     tools: fix kmod-modprobe -R trying to insert module
     Add address of mailing list
     kmod_module: do not find more than the first command
     Lookup for commands in kmod_module_new_from_lookup()
     Use tab instead of spaces
     Fix leak of kmod_module
     Fix wrong name len when converting path to modname
     kmod_modprobe: fix handling of remove commands
     kmod_modprobe: properly handle install/remove commands
     Fix debug message formatting
     build-sys: remove unneeded _SOURCES vars
     Reduce ident by continuing early
     Terminate strv with NULL
     Put blank lines where it's due
     Remove unneeded reference to last string
     Optimize kmod_elf_get_strings() by reducing calls to memcpy
     Make section size constant since it's always the same
     Cache the offset of crc
     elf: fix regression with empty strings
     Fix check for opened indexes
     kmod_modprobe: Fix regression when inserting module
     kmod_config: fix kcmd line parser with dots after =
     Use sorted configuration files in precedence order
     kmod_modprobe: fix description of -C flag
     build-sys: default to "" as rootprefix
     build-sys: remove remaining _SOURCES var
     Move symbols introduced in libkmod2 to the right place
     Removing comments saying flags are not implemented
     build-sys: do not use some compile flags by default
     Update doc to reflect function behavior
     Change error message to reflect reality
     kmod 2

Luis Felipe Strano Moraes (2):
     Removing warnings when compiling on i686 platform.
     Testing for return of alias_normalize.

Ulisses Furquim (1):
     trivial: fix typo causing an infinite loop




Lucas De Marchi

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

* Fedora package for kmod [WAS: Re: [ANNOUNCE] kmod 2]
  2011-12-21  2:35   ` Lucas De Marchi
  (?)
@ 2011-12-22 12:20   ` Jon Masters
  2011-12-23 18:16     ` Jon Masters
  -1 siblings, 1 reply; 4+ messages in thread
From: Jon Masters @ 2011-12-22 12:20 UTC (permalink / raw)
  To: Lucas De Marchi; +Cc: linux-modules, LKML, Martin Sivak

On Wed, 2011-12-21 at 00:35 -0200, Lucas De Marchi wrote:

> http://packages.profusion.mobi/kmod/kmod-2.tar.xz

> I'm glad to announce the second version of kmod. I'm sorry for not
> sending the announcement on this mailing list for the first version.
> For those who didn't see the first announcement can check at
> http://lwn.net/Articles/472354/.

Hello everyone,

I have taken the liberty of packaging kmod for use with Fedora. I have
not yet done a lot of testing, so the usual disclaimers apply, etc. If
you don't want to read the below and just want to try it, consider
placing the following content into /etc/yum.repos.d/kmod.repo:

[kmod]
name=kmod test packages
failovermethod=priority
baseurl=http://jcm.fedorapeople.org/kmod/packages/$releasever/
enabled=1
gpgcheck=0

(currently works for F16 and rawhide on x86_64, more coming)

Then you just need to do:

$ yum install kmod

After that, you will find new binaries with kmod- prefixes:

$ kmod-lsmod
$ kmod-modprobe
$ ...

That's enough if you just want to try it out. I'll keep these packages
up to date in collaboration with Martin when new kmod releases are done,
so you can leave that repo installed and get updates if you like, etc. 

More detailed stuff
-------------------

I have tried to generally follow the latest and greatest Fedora
packaging guidelines, but this is not ready for official review, there
are things I need to fix, and I need to test the pkgconfig and make sure
the devel package actually works (did not get there yet tonight - but
that stuff is next on the list). If you want to help with that, an
interim repo for the SPEC used to stash this packaging stuff is in the
following location just for the moment, and fixes are very welcome:

$ git clone git://fedorapeople.org/~jcm/kmod/kmod-rpm.git

(look for "TODO" lines in the SPEC to see things that need poking at)

The goal with this packaging is to work with Martin Sivak and a few
others on the Fedora end to get the kmod package into a shape and tested
to a level in which it can relatively soon and transparently replace the
existing module-init-tools package. Initially, the binaries have the
kmod- prefix for easy parallel testing (just link or copy the files,
etc.) but we will of course rename them later. At that time, the old
package can be obsoleted and replaced with three new (sub)packages.

As far as testing goes, I'm going to be poking further at x86_64 and
ARM, and I will also kick off some RHEL6 builds for ppc64 and s390x for
fun, because I don't yet have an up-to-date Fedora install on my POWER
box at home. I will ping other secondary arch folks and ask them to also
take a look because I am keen that some good Big Endian testing be done
to offset all that x86. Obviously, the weirder the setup, the better.

NOTE: For now, I have caused the binaries to be installed into /sbin,
and the library into /lib(64) in the spirit of the existing locations. I
am aware of the general intentions in Fedora around changing filesystem
layouts but just in the first cut, I'm keeping life simple(ish).

Thanks everyone! (and Happy Holidays!)

Jon.



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

* Re: Fedora package for kmod [WAS: Re: [ANNOUNCE] kmod 2]
  2011-12-22 12:20   ` Fedora package for kmod [WAS: Re: [ANNOUNCE] kmod 2] Jon Masters
@ 2011-12-23 18:16     ` Jon Masters
  0 siblings, 0 replies; 4+ messages in thread
From: Jon Masters @ 2011-12-23 18:16 UTC (permalink / raw)
  To: Lucas De Marchi; +Cc: linux-modules, LKML, Martin Sivak

On Thu, 2011-12-22 at 07:20 -0500, Jon Masters wrote:

> I have taken the liberty of packaging kmod for use with Fedora. I have
> not yet done a lot of testing, so the usual disclaimers apply, etc.

Just one last update on this. Rawhide packages using the parallel
install approach (initially) will be available in distro tomorrow. If
you're using Fedora and you can't bring yourself to wait until then:

http://koji.fedoraproject.org/koji/buildinfo?buildID=280056

Merry holidays!

Jon.



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

end of thread, other threads:[~2011-12-23 18:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAMOw1v5r8CqO3zWdw9YzhjJVcU7QntwLEeJECbgcU-f3ATWUSQ@mail.gmail.com>
2011-12-21  2:35 ` [ANNOUNCE] kmod 2 Lucas De Marchi
2011-12-21  2:35   ` Lucas De Marchi
2011-12-22 12:20   ` Fedora package for kmod [WAS: Re: [ANNOUNCE] kmod 2] Jon Masters
2011-12-23 18:16     ` Jon Masters

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.