Changeset 216

Show
Ignore:
Timestamp:
02/12/99 06:38:23 (10 years ago)
Author:
frodo
Message:

Documented cdrom.o bug and fix.

Files:

Legend:

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

    r188 r216  
    22true bugs too. If you experience any problems, do not hesitate to mail 
    33lm78@stimpy.netroedge.com. But read the documentation first, please! 
     4 
     5Pre-2.1.58 /proc directory Oops 
     6=============================== 
    47 
    58There is a problem in pre 2.1.58 kernels that can make the kernel Oops. You 
     
    1619will be in 2.0.37. Until then, be careful when you unload modules. 
    1720 
    18 Module cdrom.o in all 2.2 kernels conflicts with our sensors.o module. Patches 
    19 to correct this are being created. At this moment, make sure cdrom.o never 
    20 gets unloaded, or you will almost certainly receive an Oops! 
     21 
     222.2.x cdrom.o Oops 
     23================== 
     24 
     25Module cdrom.o in all 2.2 kernels conflicts with our sensors.o module. 
     26You can get an Oops if cdrom.o is unloaded after sensors.o was loaded. 
     27Below is a small diff that you can apply to the kernel to correct this. 
     28Another solution is to make sure cdrom.o is never unloaded, or to make 
     29sure it is not a module but compiled into the kernel proper. 
     30 
     31The diff corrects a long-standing /proc bug. It will go into kernel 2.2.2 
     32or later in a somewhat modified form. It was written by Jens Axboe  
     33<axboe@image.dk>. 
     34 
     35-----cut here----- 
     36--- virgin/kernel/sysctl.c      Sat Jan  9 07:54:16 1999 
     37+++ linux/kernel/sysctl.c       Mon Feb  1 23:44:58 1999 
     38@@ -559,12 +559,12 @@ 
     39                        unregister_proc_table(table->child, de); 
     40                } 
     41                /* Don't unregister proc directories which still have 
     42-                  entries... */ 
     43-               if (!((de->mode & S_IFDIR) && de->subdir)) { 
     44+                  entries or are still being used... */ 
     45+               if (!((de->mode & S_IFDIR) && de->subdir) && !de->count) 
     46
     47                        proc_unregister(root, de->low_ino); 
     48                        table->de = NULL; 
     49                        kfree(de); 
     50-               }  
     51+               } 
     52        } 
     53 } 
     54-----cut here----- 
     55 
     56 
     57Kernel i2c conflict 
     58=================== 
     59 
     60An older version of the i2c modules is distributed in 2.2 and late 2.1 
     61kernels. If you try to use it at the same moment as our i2c modules, you 
     62may get into trouble. There is no nice solution for this yet. 
  • lm-sensors/trunk/INSTALL

    r215 r216  
    22will safe you many headaches. Installation is not really difficult, but there 
    33are a few pitfalls. 
     4 
     5ALWAYS READ THE `BUGS' FILE! This file contains a list of known  
     6incompatibilities with this package. Most are highly kernel-dependent and 
     7usually not fatal, but still. 
    48 
    59COMPILATION AND INSTALLATION