Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After rebuilding my kernel, I'm getting the following error message @ boot:
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Here's what I'm working with:
[swammi@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.17-1.2187_FC5 #1 Mon Sep 11 01:17:06 EDT 2006 i686 athlon i386 GNU/Linux
I configured the kernel and saved .config using xconfig.
then...
[root@localhost linux-2.6.17.i686]# make clean
[root@localhost linux-2.6.17.i686]# make bzImage
[root@localhost linux-2.6.17.i686]# make modules
[root@localhost linux-2.6.17.i686]# make modules_install
I'm pretty much ignorant in everything else. I didn't make a new initrd b/c I figured the .img that's booting with my old kernel (the working one I'm using now) is operational.
Where is this device-mapper in the xconfig menu? Why is this module loading with the old kernel and not with the recompiled kernel? Can I make a different initrd to load this module with the new kernel? How?
Thanks. Surely I've left some necessary info out. Please let me know what you need as I'm fairly new to linux.
OK, I was following a online rebuild guide and there was never a make install command.
So...
[root@localhost linux-2.6.17.i686]# make install
sh /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/arch/i386/boot/install.sh 2.6.17-prep arch/i386/boot/bzImage System.map "/boot"
B/c the guide I was following never included a make install and instead forced me to copy the rebuild, make all the symlinks and edit my grub.lst manually. This was much easier and it now makes sense why the previous rebuild couldn't find any modules. Thanks so much for your help!
Swammi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.