Changeset 683

Show
Ignore:
Timestamp:
01/04/00 22:37:30 (9 years ago)
Author:
frodo
Message:

Better INSTALL instructions about compiling the package when

you have already patched your kernel.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/INSTALL

    r673 r683  
    1818 
    1919NOTE: IN EACH CASE, YOU WILL HAVE TO GET AND INSTALL THE I2C PACKAGE FIRST! 
    20       SET COMPILE_KERNEL TO 0 IN THE MAIN MAKEFILE FOR OPTION 2! 
     20      SET COMPILE_KERNEL TO 0 IN THE MAIN MAKEFILE FOR OPTION 2, UNLESS 
     21      YOU NEED ALPHA OR BETA DRIVERS (SEE BELOW) 
    2122 
    2223NOTE: PLEASE READ THE DOCUMENTATION IN THE DOC SUBDIRECTORY IF YOU GET STUCK! 
     
    5455files in /usr/local/include, this will probably go wrong. See below on 
    5556how to fix this. 
     57 
     58 
     59Mixing old and new, and using beta drivers (compilation option 1) 
     60================================================================= 
     61 
     62It is possible that you are running a previously patched kernel, or 
     63a very new kernel which already has limited or full i2c or lm_sensors 
     64support, but you want to use newer versions of the drivers. This is 
     65possible, but there are some pitfalls. 
     66 
     67If had compiled all i2c and lm_sensors drivers as modules, you are  
     68in luck. You can simply compile the newest versions of i2c and 
     69lm_sensors and install them. Just make sure the right modules are 
     70loaded (best bet: remove the old ones first). 
     71 
     72If you have a certain driver compiled into your kernel, you may 
     73encounter bad problems. We do not guarantee to keep internal kernel 
     74interfaces unchanged. In plain language, this means that an older driver 
     75may not work together with a newer driver, and your kernel may crash.  
     76On the other hand, if you know what you are doing, compilation will  
     77be smart. Drivers that are compiled right into your kernel will not  
     78be compiled as a module again.  You could do nothing with them anyway. 
     79 
     80Sometimes, you want to patch your kernel, but find that certain alpha 
     81or beta drivers are not included in the patch. This is on purpose: we 
     82do not want to polute the kernel tree with things of which we are not 
     83confident they work. In this case, patch the kernel, compile it, and 
     84then compile lm_sensors with COMPILE_KERNEL set to 1. 
    5685 
    5786