On Sat, 2005-06-18 at 15:44 -0500, Mercury Morris wrote: > Fedora Discussion mailing-list doesn't seem to be the most > appropriate place for this question, but I don't know where > to ask it. > > Should the out-of-tree method for building kernel modules > still apply to the 2.6.12 kernel ? Yes, though in FC4 the kernel-devel or kernel-smp-devel package will be necessary. > I am running FC3, but built the 2.6.12-rc6 kernel to take > advantage of DVB support for the HD-3000 video capture card. > The results are good, DVB support works well. > > Now, I again want to update ati_remote.c to make the ATI Remote > Wonder a little more user-friendly. But when I tried the out-of-tree > method to build ati_remote.ko, and ran "depmod -a" followed by > "modinfo ati_remote", the results indicate that the original ati_remote.ko > will be loaded when "modprobe ati_remote" is issued. > > It appears that the module was successfully compiled and ati_remote.ko > was installed in /lib/modules/2.6.12-rc6/extra. > > Why won't the version of the module in"/extra" be recognized as the > one to be loaded ? If there are multiple versions of a module in the /lib/modules/kernelversion tree, I *think* it's a case of pot luck which one you'll get when you do a modprobe (it'll depend on the order it finds them in). If you want to be sure it's your "extra" module, you'd be best off moving the original module out of the way, say to ~/oldmodules/kernelversion, and then depmod/modprobe won't have any choice which one to pick. Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>