Click to See Complete Forum and Search --> : Some success w/kernel recompile but need help


urinal cake
02-02-2002, 07:29 AM
OK. I started with my /boot/config-2.4.8-26mdk and modified it to kill stuff I don't need supported. I did:

make dep && make clean make bzImage && make modules

After it compiled, I did:

make modules_install && make install

I moved the bzImage to /boot, added the entry in lilo. I did:

lilo
lilo -q

I rebooted and tried selecting my ORIGINAL KERNEL and got "unresolved symbol" messages all over the place. X wouldn't start, either. I rebooted into the new kernel, and it booted OK into level 3. I had to edit my NVIdia drivers out of XF86Config-4 to get X to start. I tried to reinstall the NVidias from .tar.gz, and got uresolved symbols again, from things in /lib/modules/2.4.8-26mdk/alsa and /lib/modules/2.4.8-26mdk/pcmcia. I moved all the error generating files out of their directories, and then the NVidia's installed fine. I want to understand why these modules were giving me "unresolved symbol" errors. Did I remove some dependencies when I reconfigured my kernel? Why didn't the "make modules" and "make modules_install" get them working? I think I prolly didn't really solve this in the best way, and I want to understand what's happening here. Also, why is my original kernel screwed now? The HOWTO I followed indicated my original kernel would be fine.

[ 02 February 2002: Message edited by: urinal cake ]

mdwatts
02-02-2002, 08:11 AM
I just got a nVidia tnt2 at work recently and the first time I compiled a new kernel, I found I had to reinstall the nVidia drivers after I booted the new kernel.

I'm not really sure what your problem is though as I would need to know the exact steps you followed while compiling and also preparing for the new kernel.

One thing you can try is,

cd /lib/modules/<new kernel version>

depmod -a <new kernel version>