diff options
author | Frodo Looijaard <frodol@dds.nl> | 2000-01-04 21:37:30 +0000 |
---|---|---|
committer | Frodo Looijaard <frodol@dds.nl> | 2000-01-04 21:37:30 +0000 |
commit | bbbcc3ec2d736005f8dcd068f72c223b6c14bae4 (patch) | |
tree | d09b502b85df32b152c955350fdfdb9218585162 /INSTALL | |
parent | 9fd2dc740e71bc066e8cc016965b7bdcad476257 (diff) | |
download | lm-sensors-git-bbbcc3ec2d736005f8dcd068f72c223b6c14bae4.tar.gz |
Better INSTALL instructions about compiling the package when
you have already patched your kernel.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@683 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 31 |
1 files changed, 30 insertions, 1 deletions
@@ -17,7 +17,8 @@ Each of these ways will be described below in detail. NOTE: OPTION 2 WILL CURRENTLY NOT WORK FOR 2.0 AND OLDER 2.1 KERNELS! NOTE: IN EACH CASE, YOU WILL HAVE TO GET AND INSTALL THE I2C PACKAGE FIRST! - SET COMPILE_KERNEL TO 0 IN THE MAIN MAKEFILE FOR OPTION 2! + SET COMPILE_KERNEL TO 0 IN THE MAIN MAKEFILE FOR OPTION 2, UNLESS + YOU NEED ALPHA OR BETA DRIVERS (SEE BELOW) NOTE: PLEASE READ THE DOCUMENTATION IN THE DOC SUBDIRECTORY IF YOU GET STUCK! @@ -55,6 +56,34 @@ files in /usr/local/include, this will probably go wrong. See below on how to fix this. +Mixing old and new, and using beta drivers (compilation option 1) +================================================================= + +It is possible that you are running a previously patched kernel, or +a very new kernel which already has limited or full i2c or lm_sensors +support, but you want to use newer versions of the drivers. This is +possible, but there are some pitfalls. + +If had compiled all i2c and lm_sensors drivers as modules, you are +in luck. You can simply compile the newest versions of i2c and +lm_sensors and install them. Just make sure the right modules are +loaded (best bet: remove the old ones first). + +If you have a certain driver compiled into your kernel, you may +encounter bad problems. We do not guarantee to keep internal kernel +interfaces unchanged. In plain language, this means that an older driver +may not work together with a newer driver, and your kernel may crash. +On the other hand, if you know what you are doing, compilation will +be smart. Drivers that are compiled right into your kernel will not +be compiled as a module again. You could do nothing with them anyway. + +Sometimes, you want to patch your kernel, but find that certain alpha +or beta drivers are not included in the patch. This is on purpose: we +do not want to polute the kernel tree with things of which we are not +confident they work. In this case, patch the kernel, compile it, and +then compile lm_sensors with COMPILE_KERNEL set to 1. + + Having a proper kernel tree (compilation option 1) ================================================== |