hi, we've to build a few kernel modules for rhel/centos which is not included in the distro (or not working yet, like RTL8101E: http://wiki.centos.org/HardwareList/RealTekRTL8101). currently there are three ways for this: - the obsoleted fedora way http://fedoraproject.org/wiki/Obsolete/KernelModules - dkms - akmod. livna development start to use akmod for all new modules, but there is not any kind of docs about it (or at least i can't find it). i'd like to hear a few pros and cons about each of these and why should we use the "good" one?:-) what's centos teams plan for the future? and why livna switch from the obsoleted fedora way to akmod instead of dkms? thank you for your help in advance. yours.
Farkas Levente wrote:
currently there are three ways for this:
- the obsoleted fedora way http://fedoraproject.org/wiki/Obsolete/KernelModules
you seem to be confused, this isnt Fedora-devel and Kmod's are not obsoleted in the distro.
You also have the wrong list really. The only thing we are working with are kmod's at the moment and that is unlikely to change for a long time still.
- KB
Karanbir Singh wrote:
Farkas Levente wrote:
currently there are three ways for this:
- the obsoleted fedora way http://fedoraproject.org/wiki/Obsolete/KernelModules
you seem to be confused, this isnt Fedora-devel and Kmod's are not obsoleted in the distro.
You also have the wrong list really. The only thing we are working with are kmod's at the moment and that is unlikely to change for a long time still.
kmod's are not in the upstream distro even:-( the only problem with everybody has to face of is that you have to recompile all kmods all the time when a new kernel released. for you it'd have to be much more work since you've to do it for all platform and for centosplus kernels etc. but i'm sure 95% of the time you just made an rpmbuild --rebuild ...src.rpm. and it's always happened later than the kernel released (even if you're very fast). and that's why many people looking other solution. so that's why i assumed that may be centos will change it's kernel module building.
but i understand that centos won't switch from kmod to any others in the near future.
Farkas Levente wrote:
kmod's are not in the upstream distro even:-(
you should look, the only reason we are using / doing kmod's is because thats all that is in the upstream distro.
the only problem with everybody has to face of is that you have to recompile all kmods all the time when a new kernel released.
again, you are confused. Look at week-updates, I've not really rebuilt any .ko once its in production.
Thats one reason why dkms is almost a total waste of time on CentOS
- KB
On Wed, Apr 30, 2008 at 1:18 PM, Karanbir Singh mail-lists@karan.org wrote:
again, you are confused. Look at week-updates, I've not really rebuilt any .ko once its in production.
s/week-updates/weak-updates/ *cough*
There have been a number of kernels for 5.1, so it probably does seem like a weekly update......
Jim Perrin wrote:
On Wed, Apr 30, 2008 at 1:18 PM, Karanbir Singh mail-lists@karan.org wrote:
again, you are confused. Look at week-updates, I've not really rebuilt any .ko once its in production.
s/week-updates/weak-updates/ *cough*
bah!
On Wed, Apr 30, 2008 at 10:18 AM, Karanbir Singh mail-lists@karan.org wrote:
Farkas Levente wrote:
kmod's are not in the upstream distro even:-(
you should look, the only reason we are using / doing kmod's is because thats all that is in the upstream distro.
the only problem with everybody has to face of is that you have to
recompile all kmods all the time when a new kernel released.
again, you are confused. Look at week-updates, I've not really rebuilt any .ko once its in production.
And you said you would write a wiki for *weak-updates*. Should I post our conversation on IRC as evidence?
Akemi
- KB
Akemi Yagi wrote:
On Wed, Apr 30, 2008 at 10:18 AM, Karanbir Singh mail-lists@karan.org wrote:
Farkas Levente wrote:
kmod's are not in the upstream distro even:-(
you should look, the only reason we are using / doing kmod's is because thats all that is in the upstream distro.
the only problem with everybody has to face of is that you have to
recompile all kmods all the time when a new kernel released. again, you are confused. Look at week-updates, I've not really rebuilt any .ko once its in production.
And you said you would write a wiki for *weak-updates*. Should I post our conversation on IRC as evidence?
i'd like!
Farkas Levente wrote:
hi, we've to build a few kernel modules for rhel/centos which is not included in the distro (or not working yet, like RTL8101E: http://wiki.centos.org/HardwareList/RealTekRTL8101). currently there are three ways for this:
- the obsoleted fedora way http://fedoraproject.org/wiki/Obsolete/KernelModules
- dkms
- akmod. livna development start to use akmod for all new
modules, but there is not any kind of docs about it (or at least i can't find it). i'd like to hear a few pros and cons about each of these and why should we use the "good" one?:-) what's centos teams plan for the future? and why livna switch from the obsoleted fedora way to akmod instead of dkms? thank you for your help in advance. yours.
You should ask livna why they chose akmod.
As for third party kernel modules, I prefer dkms here, but we're a Dell shop anyways so I suppose we are biased.
dkms works well, and it's included in epel.
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.