[repo-coord] kernel module versioning

Bent Terp Bent.Terp at biosci.ki.se
Thu May 6 14:21:56 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 06 May 2004 13:40, Axel Thimm wrote:
> > For the confused (which includes me!) - Is the "broken versioning
> > scheme" the one Panu talks about here?
>
> No, that's the sane one, i.e. one that contains the kernel
> version/release in the name tag of the rpm.

Are you 100% on this? Here's what I got from a cuztomized query on my box:

[bent at latte bent]$ rpmquery --queryformat="Name: %{NAME}\n\tversion: 
%{VERSION}\n\trelease: %{RELEASE}\n\towner:  %{PACKAGER}\n\tbuildhost: 
%{BUILDHOST}\n" kernel kernel-module-alsa kernel-module-ndiswrapper 
autofs4-kmdl-2.4.22-1.2188.nptl

Name: kernel
        version: 2.4.22
        release: 1.2188.nptl
        owner:  Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
        buildhost: daffy.perf.redhat.com
Name: kernel-module-alsa
        version: 1.0.4
        release: 1_2.4.22_1.2188.nptl
        owner:  Matthias Saou <matthias.saou at est.une.marmotte.net>
        buildhost: python2.freshrpms.net
Name: kernel-module-ndiswrapper
        version: 0.7
        release: 1_2.4.22_1.2188.nptl.rhfc1.dag
        owner:  Dag Wieers <dag at wieers.com>
        buildhost: lisse.bertem.wieers.com
Name: autofs4-kmdl-2.4.22-1.2188.nptl
        version: 4.1.0
        release: 3.20031201.rhfc1.at
        owner:  ATrpms <http://ATrpms.net/>
        buildhost: bach-rhfc1.atrpms.net

When I see the filenames involved, I tend to get confused as to which of all 
the dashes separate N-V-R, thus the custom query.

What I did with my new lappy was
- - "apt-get install kernel", got lotsa suggestions back
- - "apt-get install kernel#what-looks-newest", reboot to new kernel
- - "apt-get install kernel-module-alsa kernel-module-ndiswrapper", and voila 
time to modprobe.

Next, I did
- - "apt-get install autofs4-kmdl", got some suggestions
- - "apt-get install autofs4-kmdl-what-seems-to-fit-my-kernel", discovered I 
needed a userspace package as well
- - "apt-get install autofs"

For now, both ways of naming seems to work, but from what I've understood so 
far (or MISunderstood, mayhaps?), the packages with %{NAME} = 
"kernel-module-alsa" and "kernel-module-ndiswrapper" upgrade alongside the 
package with %{NAME} = "kernel".

How does that work for %{NAME} = "autofs4-kmdl-2.4.22-1.2188.nptl"

Is that where the "lua magic" comes in? If so, it's archmage-level stuff and 
not for mere apprentice wizards like me ;-)

> The kmdl vs kernel-module, or module name before or after these is
> a purely non-technical issue.

Yes, that's just flavour I understood that much, some prefer chocolate and 
some vanilla - I eat both, especially when they're free :-D

/Benty
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAmi3krk3mZbvwRogRArdZAJ0QJ2JqFXjcuz9otV0PIMEdK/t8YQCfUDyb
36MJpg4gYz+E2vZBpO/0XTE=
=8VII
-----END PGP SIGNATURE-----



More information about the repo-coord mailing list