Re: make modules_install problem.
Kerin Millar <[email protected]> Thu, 24 Oct 2002 13:05:57 +0000
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Organization | Recruit2Recruit.NET Ltd |
| Message-ID | <[email protected]> |
On Tue, 22 Oct 2002 22:07:00 -0500 Elam Daly <[email protected]> wrote: > Howdy all, > > I decided to rebuild my kernel. > > Everything goes fine until I issue the make modules_install: <snip> > 2.4.19-gentoo-r9; fi > depmod: *** Unresolved symbols in > /lib/modules/2.4.19-gentoo-r9/video/NVdriver > depmod: _mmx_memcpy_Rsmp_15670e2d > > I'm confused. What do my Nvidia drivers have to do installing kernel > modules? > Nothing ;-) Save your kernel configuration to an external file using the option provided in the configuration utility. Remove all running modules with the 'rmmod' command. Now (assuming you are in /usr/src/linux): make mrproper make menuconfig Load back the configuration you saved just before, because make mrproper will have destroyed it. This command also cleans up any stale object files, dependencies and puts your source tree back to a 'virgin' state. Now exit menuconfig and: mv /lib/modules/2.4.19-gentoo-r9 /lib/modules/2.4.19-gentoo-r9.orig make dep && make clean bzImage modules modules_install We rename your existing modules directory because we don't really want it getting in the way. A kernel compile will not delete any of the old modules (such as your proprietary nvidia kernel mode drivers), and I'll bet that there's still a module dependency lingering around in your old module tree. This probably explains the unresolved symbols. Your new compile/make will build a new modules directory anyway. HTH, --kerframil > Thanks, > Elam