Modprobe errors after rebuilding the kernel (mounting, sound, etc.)
I've recompiled my kernel to include a module for PPP. However, now several items are no longer working. I'm using RedHat 7.3, dual booting with win2k.
Here's a summary of what I did:
1. make xconfig: chose to enable PPP via module.
2. make dep; make clean; make bzImage: zImage was too big. bzImage warned me about being too big for standalone boot from floppy, but it fits on the floppy just fine.
3. make modules
4. moved my existing modules from /lib/modules/2.4.18-3 to /lib/modules/2.4.18-3-old
5. make modules_install: this put the new modules in /lib/modules/2.4.18-3custom
6. copied over bzImage to both /boot and the floppy (does it need to be in both places?). copied over the new System.map file to /boot. altered the syslinux.cfg file on the floppy so it loads bzImage.
The system still boots ok, but several features don't work. I can't mount /mnt/cdrom or floppy (even though my fstab file never changed), and sound no longer works. There could be other things I haven't noticed as well. Here are the errors I get while booting:
a) modprobe: Can't locate module char-major-10-135
b) insmod: insmod ext3 failed
c) mount: fs type ext3 not supported
And when I shutdown:
d) insmod: /lib/modules/2.4.18-3custom/kernel/drivers/soundcore.o: no such file or directory.
e) insmod: sound-slot-0 failed
f) modprobe: Can't locate module sound-service-0
g) modprobe: Can't locate module chat-major-10-135
Under /lib/modules I have two folders:
/lib/modules/2.4.18-3custom << the newly built modules
/lib/modules/2.4.18-3-old << the old ones
I'm not sure if the "custom" folder has all of the modules, or only the new ones (i.e. PPP). If it only has the PPP module, does the system know to look in the "old" folder for the modules that didn't change?
Any advice would be appreciated...