On Tue, Nov 04, 2003 at 10:43:14AM +0800, Holden Hao wrote: > Is it possible to just compile a kernel module? How is it done? Or do > you really need to recompile the kernel since you were not able to > specify support (said N) for that module?
It depends, but you will almost definitely need the kernel sources used to build your running kernel. If your kernel has not been built with version symbols for modules it may be necessary to do a full recompile with the appropriate patches. A third-party module will usually have instructions on what you're supposed to do in order to get it running, and in my experience they vary from applying a patch to kernel sources and doing the full rebuild (e.g. the Qlogic QLA2x00 series of Fibre Channel host bus adapters) to merely having the complete kernel sources with the correct configuration installed (e.g. the Broadcom BCM5700 Gigabit Ethernet drivers). The last example I actually built using a source RPM provided by HP/Compaq, using the normal method for source RPM build. -- 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
