If you are using the kernel source of the kernel that is currently loaded, and you are just adding functionality to it by adding drivers FROM THE SAME kernel source, then I'm positive that adding just the module needed will work... (disclaimer: this was just done on USB, IDE, and PCI drivers)...
EXAMPLE: when you create a proprietary driver and you insmod (insert module) it, if your driver is bug free (normally from module versions), it will always work. The same principle applies to the drivers that are included on the kernel source tree. So, we can just compile the module and load it. For drivers from different kernel source, try compiling the module using the headers of the running kernel source tree, if it compiles successfully, most likely the module will work. If it doesnt, and you really need to install the module, POST THE RESULTS HERE, maybe the gurus can help... ;) hehehehe... Regards! Rodel -----Original Message----- From: Bopolissimus Platypus [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 1:11 AM To: Philippine Linux Users Group Mailing List Subject: Re: [plug] Compiling kernel modules On Thursday 06 November 2003 00:29, Holden Hao wrote: > Okey, so the answer for now is it depends. It may or may not work. I > would appreciate if you can relate to us what you find our after some > research. first configure. add the items you need. then make dep then make modules then make modules_install at that point, either the modules work or they don't :). my quick test to see if they will *probably* work (not certain, but pretty good probability) is then to do a make bzImage if the bzImage is rebuilt, then you probably need to copy it over, and reboot. something changed in the kernel, hooks and such. if it isn't rebuilt, then modprobe <modulename> <params> will probably work well enough. tiger -- Gerald Timothy Quimpo gquimpo*hotmail.com tiger*sni*ph http://bopolissimus.sni.ph Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" A girl's conscience doesnt' really keep her from doing anything wrong -- it merely keeps her from enjoying it. -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
