In article <[EMAIL PROTECTED]>,
Tony Nugent <[EMAIL PROTECTED]> wrote:
>Warning: this works for kerneld with 2.0.x kernels, and I have yet to
>find the time to start playing around with the new 2.2.x kernels.
There are only two changes to the kernel module subsystem in 2.2 (well,
at the end-user level, anyway...obviously there are major binary and
source incompatibilities for module developers ;-).
2.0: The kernel sends a message via sendmsg() to the kerneld program, which
must be running to receive the message in order for modules to be dynamically
loaded. kerneld then invokes '/sbin/modprobe -k <name of module>'. It's
actually a lot uglier than it looks from the description.
2.2: The kernel executes '/sbin/modprobe -k <name of module>' directly.
If your modprobe is not in /sbin, then do
'echo /full/path/to/modprobe > /proc/sys/kernel/modprobe'
In both cases modprobe then reads /etc/conf.modules and
/lib/modules/<version>/modules.dep and then does a bunch of insmod's.
The other major difference between 2.0 and 2.2 is the naming of some
of the modules. For example, in 2.0 the _entire_ sound subsystem
was loaded by 'char-major-14' but in 2.2 it is now 'sound-slot-0'
and 'sound-service-0' for the first soundcard, 'sound-slot-1' and
'sound-service-1' for the second soundcard, etc.
--
Zygo Blaxell, Linux Engineer, Corel Corporation, [EMAIL PROTECTED] (work),
[EMAIL PROTECTED] (play). It's my opinion, I tell you! Mine! All MINE!
Size of 'diff -Nurw [...] winehq corel' as of Thu Feb 18 10:14:00 EST 1999
Lines/files: In 3905 / 14, Out 33034 / 418, Both 36705 / 421