LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-13-2006, 09:48 PM   #1
jmike1
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Rep: Reputation: 0
trying to install/boot 2.6.15 kernel - device mapper error


I am having trouble trying to install version 2.6.15 of the linux kernel onto a machine that is currently running 2.6.9 version of the kernel. I am using the 2.6.9 configuration file and running make install successfully. When I try to boot the new kernel, I get
the following:
No entry for device mapper found Is device mapper driver missing from kernel?
Failure to communicate with kernel
mount: error 19 mounting ext3
mount: error 2 mounting none

Apparently the device mapper is being used on the current kernel and does exist in the direcotory /sys/misc. What do I need to do to get my new kernel to recognize it? According to what I've read, every kernel since 2.6.9 should have it in the source.
I checked the .config file and couldn't find anything called device
mapper. There was an entry for an IOMAPPER associated with a certain
scsi device that was commented out, but I have no idea what to put
after =. I couldn't find a comparable entry using make menuconfig. Any help would be greatly appreciated.

Mike
 
Old 03-14-2006, 03:41 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Probably the reason you couldn't find it is that it's a sub-entry (requires a specific parent to be enabled before it becomes chooseable).

The setting you're looking for is:

Device Drivers=> Multi-device support (RAID and LVM) (this must be selected)=> Device mapper support.

If you choose to make device mapper support a module rather than statically compiled ("M" instead of "*", don't forget to make sure that the module (dm-mod) is loading properly during the course of boot.

Hope this helps.
 
Old 03-15-2006, 09:49 PM   #3
jmike1
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
one more newbie question

How do you make sure that the dm-mod is loading properly during the boot? I tried recompiling everything use make oldconfig. Device mapper is enabled as M, but I still get the same error message.

Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom kernel - lilo complains device-mapper missing donni Linux - Software 3 07-26-2010 12:47 PM
how to install source of Device Mapper in Debian? kulmis Debian 1 03-01-2006 12:35 PM
installing device-mapper aaronj Linux - Software 1 10-02-2004 02:00 AM
Help please to mount windows partitions - device-mapper: error adding target to table Indian_bee Linux - General 3 07-06-2004 07:12 PM
lvm 2 device-mapper Kroenecker Linux - Newbie 4 12-29-2003 11:19 AM


All times are GMT -5. The time now is 06:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration