Ian Keith Setford <[EMAIL PROTECTED]> writes: | > Hmm, did you run 'make modules' and 'make modules_install' after building | > the kernel? When you ran 'depmod -a' did it give any errors? depmod is the | > prog that builds the modules.dep file in /lib/modules/2.0.34/ (On a Deb | > system, depmod should be run at every boot). On my 2.0.34 system (Creative | > SB 16 PnP), sound.o has *no* dependencies on it (it is standalone), so it | > almost sounds like sound.o was built wrong (or sound.o isn't in the | > modules.dep file). | > When do you get this error? At boot-up? When running modprobe? | | Yes, I have compiled 4 times. I have run, make dep;make clean; make zlilo | then, make modules; make modules_install. The kernel and module builds | gave no errors. I see the dependency error when I try to use a sound | device. If I try to run xmix, for instance, I get the dependency error. | When I run depmod -a, I get a listing of all my modules, all with | unresolved symbols. Do you suspect it is the build? I could try to build | 2.0.33 or 2.0.32 I guess. On my 2 other machines I have Sounblaster 16 | PnP running with no problems.
My suggestion, and, I believe, the official Debian suggestion as well, is to start using the make-kpkg utility (part of the kernel-package in dselect). IMHO it makes the whole kernel building/module building/kernel installation/module installation process a lot easier. With it you produce a kernel*.deb file which, when you install it, does everything you need, PLUS it runs lilo-config for you, PLUS it sets up your system to run the necessary "depmod -a" for you on the next reboot. Here's all it takes to get everything going: cd /usr/src/linux make <xconfig|menuconfig|config> make-kpkg --revision mysys.1 kernel_image make-kpkg --revision mysys.1 modules_image cd /usr/src dpkg -i kernel-image-2.0.3x_mysys.1_i386.deb (I think it runs lilo-config here) dpkg -i <whatever>-modules-2.0.3x+mysys.1_i386.deb (Here it warns you that you need to reboot to get the module dependencies right) DONE! The second "make-kpkg" and "dpkg -i" are only necessary, *I believe*, if you have some extra modules. In my case it was the PCMCIA modules. The modules that are part of the kernel are in the kernel-image*.deb file. But read the make-kpkg documentation to find out what you really need to do. Good Luck! Gary -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null