lm_sensors/i2c 2.8.2
Hi Axel,
Sorry for the late answer, I was away from home for a few days.
Quoted 3 lines
I just saw that there is 2.8.2 available for some weeks now. (BTW could you put me on the developer's mailing list, so I catch that up sooner? :)
Request sent, as you will have noticed.
Quoted 5 lines
I'd like to freshen the kernels, kernel modules and user land tools for the Red Hat Linux (and FC) series. I see 2.8.2 i2c patches for 2.4.22 and 23, but RH 9/8.0/7.3 are based on 2.4.20 plus some parts of 2.4.21. Is it much trouble to backport it to the Red Hat Linux 2.4.20 sources?
Shouldn't be too much trouble. Drivers tend to be added, not removed, so all you'll have to do is not apply patches for drivers that did not exist in 2.4.20 yet (which is what I did myself when building the 2.8.0 patch for kernel 2.4.21, so you can just pick the list here). Also, I guess that the i2c core patch won't apply cleanly, but you can always regenerate it using the mkpatch.pl script. So it seems to be feasable.
And in fact I could even update my 2.4.21 patch from 2.8.0 to 2.8.2. I though nobody would be interested in it, but obviously you, at least, are. I want to have a new patch for 2.4.24-preX anyway, so I'll some work on the web page and files soon.
That said, please note that there is not much change between 2.8.1 and 2.8.2 and that lm_sensors 2.8.2 will work with i2c 2.8.1. So if you already have a kernel with 2.8.1 working, you could consider skipping i2c 2.8.2 completely.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Hi Jean,
Quoted 5 lines · Jean Delvare
Quoted 3 lines
I just saw that there is 2.8.2 available for some weeks now. (BTW could you put me on the developer's mailing list, so I catch that up sooner? :)
Request sent, as you will have noticed.
Thanks!
Quoted 13 lines
Quoted 5 lines
I'd like to freshen the kernels, kernel modules and user land tools for the Red Hat Linux (and FC) series. I see 2.8.2 i2c patches for 2.4.22 and 23, but RH 9/8.0/7.3 are based on 2.4.20 plus some parts of 2.4.21. Is it much trouble to backport it to the Red Hat Linux 2.4.20 sources?
Shouldn't be too much trouble. Drivers tend to be added, not removed, so all you'll have to do is not apply patches for drivers that did not exist in 2.4.20 yet (which is what I did myself when building the 2.8.0 patch for kernel 2.4.21, so you can just pick the list here). Also, I guess that the i2c core patch won't apply cleanly, but you can always regenerate it using the mkpatch.pl script. So it seems to be feasable.
Quoted 4 lines
And in fact I could even update my 2.4.21 patch from 2.8.0 to 2.8.2. I though nobody would be interested in it, but obviously you, at least, are. I want to have a new patch for 2.4.24-preX anyway, so I'll some work on the web page and files soon.
OK, I'll wait for the 2.4.21 patch, that should apply better to RH's 2.4.20. FC1 is not the preferred distro for serious and stable server monitoring that lm_sensors targets, so most people would like to see it in RH9/RH7.3 (which is 2.4.20 with some 21-pre patches applied).
Quoted 4 lines
That said, please note that there is not much change between 2.8.1 and 2.8.2 and that
lm_sensors2.8.2 will work with i2c 2.8.1. So if you already have a kernel with 2.8.1 working, you could consider skipping i2c 2.8.2 completely.
The RHL series I have patched are 2.8.0 currently, I'd gladly upgrade them.
I managed to get 2.8.2 (both i2c and lm_sensors) built in my newest FC1 kernel. I also build all lm_sensors modules on top of that to get a package with the more experimental modules, not included in the kernel patch. I am still in testing phase, though.
Also if 2.8.3/2.9.0 keep i2c 2.8.2 compatibility, I will be able to supply new kernel module rpms for lm_sensors/i2c w/o rebuilding the kernel. :)
Signature · 8 lines
[email protected] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040104/31625662/attachment.bin
Quoted 9 lines
Quoted 4 lines
And in fact I could even update my 2.4.21 patch from 2.8.0 to 2.8.2. I though nobody would be interested in it, but obviously you, at least, are. I want to have a new patch for 2.4.24-preX anyway, so I'll some work on the web page and files soon.
OK, I'll wait for the 2.4.21 patch, that should apply better to RH's 2.4.20. FC1 is not the preferred distro for serious and stable server monitoring that
lm_sensorstargets, so most people would like to see it in RH9/RH7.3 (which is 2.4.20 with some 21-pre patches applied).
Done! Please give it a try and tell me how it goes.
Quoted 3 lines
Also if 2.8.3/2.9.0 keep i2c 2.8.2 compatibility, I will be able to supply new kernel module rpms for lm_sensors/i2c w/o rebuilding the kernel. :)
Yes, it should be compatible. It should be released as 2.8.3 at the time Linux 2.6.1 is released.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 13 lines
I tried to build kernels with i2c/lm_sensors 2.8.2 patched in, and I think I found a bug: The mkpatch generated patch requires
lm75.h, but does not include it:
../qlogicfas.c: In function `qlogicfas_detect':../qlogicfas.c:650: warning: passing arg 1 ofscsi_unregister_Rsmp_1e4cecd6' from incompatible pointer type lm75.c:28:18: lm75.h: No such file or directory lm75.c: In functionlm75_temp': lm75.c:286: warning: implicit declaration of functionLM75_TEMP_FROM_REG' lm75.c:292: warning: implicit declaration of functionLM75_TEMP_TO_REG' make[2]: *** [lm75.o] Error 1 make[1]: *** [_modsubdir_sensors] Error 2
Quoted 2 lines
I will add
include/linux/lm75.has an extra patch to the kernel I am preparing.
Thanks for reporting. This was already fixed in CVS on December 18, 2003. All you have to do is add the relevant line in mkpatch/FILES. Patch follows:
Index: FILES
=================================RCS file: /home/cvs/lm_sensors2/mkpatch/FILES,v retrieving revision 1.22
retrieving revision 1.23
FILES +1 -0
@@ -31,6 +31,7 @@ kernel/chips/gl518sm.c drivers/sensors/gl518sm.c kernel/chips/gl520sm.c drivers/sensors/gl520sm.c kernel/chips/it87.c drivers/sensors/it87.c +kernel/chips/lm75.h drivers/sensors/lm75.h kernel/chips/lm75.c drivers/sensors/lm75.c kernel/chips/lm78.c drivers/sensors/lm78.c kernel/chips/lm80.c drivers/sensors/lm80.c
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 11 lines · Jean Delvare
Quoted 9 lines
Quoted 4 lines
And in fact I could even update my 2.4.21 patch from 2.8.0 to 2.8.2. I though nobody would be interested in it, but obviously you, at least, are. I want to have a new patch for 2.4.24-preX anyway, so I'll some work on the web page and files soon.
OK, I'll wait for the 2.4.21 patch, that should apply better to RH's 2.4.20. FC1 is not the preferred distro for serious and stable server monitoring that
lm_sensorstargets, so most people would like to see it in RH9/RH7.3 (which is 2.4.20 with some 21-pre patches applied).Done! Please give it a try and tell me how it goes.
Looks good, I had to massage 7 chunks, but it applied and built well.
But just after finishing the RH9 kernels, I read the mremap() security announcement, so I'll have to update the kernels again :(
I hope to have <= RH9 kernels, kernel modules and userland components within the next days. I had already uploaded the FC1 equivalents, I need to investigate whether the (latest) FC1 kernel I used had already the mremap fix applied.
Quoted 6 lines
Quoted 3 lines
Also if 2.8.3/2.9.0 keep i2c 2.8.2 compatibility, I will be able to supply new kernel module rpms for lm_sensors/i2c w/o rebuilding the kernel. :)
Yes, it should be compatible. It should be released as 2.8.3 at the time Linux 2.6.1 is released.
Great!
Signature · 8 lines
[email protected] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040105/49aa98dc/attachment.bin