| 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 | |
|---|
| | 22 | 2.2.x cdrom.o Oops |
|---|
| | 23 | ================== |
|---|
| | 24 | |
|---|
| | 25 | Module cdrom.o in all 2.2 kernels conflicts with our sensors.o module. |
|---|
| | 26 | You can get an Oops if cdrom.o is unloaded after sensors.o was loaded. |
|---|
| | 27 | Below is a small diff that you can apply to the kernel to correct this. |
|---|
| | 28 | Another solution is to make sure cdrom.o is never unloaded, or to make |
|---|
| | 29 | sure it is not a module but compiled into the kernel proper. |
|---|
| | 30 | |
|---|
| | 31 | The diff corrects a long-standing /proc bug. It will go into kernel 2.2.2 |
|---|
| | 32 | or 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 | |
|---|
| | 57 | Kernel i2c conflict |
|---|
| | 58 | =================== |
|---|
| | 59 | |
|---|
| | 60 | An older version of the i2c modules is distributed in 2.2 and late 2.1 |
|---|
| | 61 | kernels. If you try to use it at the same moment as our i2c modules, you |
|---|
| | 62 | may get into trouble. There is no nice solution for this yet. |
|---|