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 04-15-2004, 07:48 AM   #1
donni
Member
 
Registered: Aug 2003
Location: Crawley
Distribution: Debian GNU/Linux Sid
Posts: 49

Rep: Reputation: 15
Custom kernel - lilo complains device-mapper missing


Debian Unstable.

I made a custom 2.6.5 kernel with raid/lvm stuff removed, and now lilo complains as follows:

/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
Incompatible libdevmapper 1.00.15-ioctl (2004-04-07)(compat) and kernel driver

Is this important? It continues without a FATAL message.

If I don't need raid/lvm support why would I need this compiled in?

Is the answer to apt-get remove libdevmapper?
 
Old 06-12-2004, 02:33 PM   #2
donni
Member
 
Registered: Aug 2003
Location: Crawley
Distribution: Debian GNU/Linux Sid
Posts: 49

Original Poster
Rep: Reputation: 15
[ bump ]

Any ideas? I've made several custom kernels and this seems to happen with many of them. I wish everything just worked properly without complaining about things that probably aren't compulsory.

I don't use devfs, BTW.

I could post my .config if someone wants to help.

Should I forget about the extra bloat and leave it in?
 
Old 11-26-2007, 08:43 AM   #3
bjdodo
Member
 
Registered: Dec 2006
Location: Ireland
Distribution: Slackware 12, kubuntu
Posts: 35

Rep: Reputation: 16
Hi

I know this is an old thread but I had the same problem and when I found it I wished that someone had answered the question :-)

I think if the currently running kernel image does not have
Multi devices support (RAID) -> select device mapper support
turned on (can be a module) then this warning will be issued. Also, the module this option builds has to be loaded (if you build it as a module). You can check if it is loaded by running:

cat /proc/modules | grep dm_mod

If it is not in the list, but you have compiled it as a module for the running kernel, you should run

modprobe dm_mod

For me after doing so, the warning has disappeared.

Jozsi


PS: I am using Slackware 12, kernel 2.6.20.19. I am not sure if this works on other systems.

Last edited by bjdodo; 11-27-2007 at 04:46 AM.
 
Old 07-26-2010, 12:47 PM   #4
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37
Posts: 271

Rep: Reputation: 54
Exclamation

July 2010, 2.6.33.4 kernel and same problem.

In my attempts to resolve this I have found.

Device-mapper is now optional, and is found under the MD config items in menuconfig. It apparently is only needed to map logical volumne addresses to drive/sectors because of RAID and LVM, and for simple drives was not considered necessary.

The current Lilo is not coping well with device-mapper being optional.
In my opinion this is a Lilo bug.
Lilo has had the ability to cope with simple drives and seems to still have that ability, at least my boots have not failed, yet.
Just to be sure, I change back to 2.4 and reinstall lilo again, because
I do not get any error messages that way.
 
1 members found this post helpful.
  


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
installing device-mapper aaronj Linux - Software 1 10-02-2004 02:00 AM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 06:06 PM
Rollout Custom Kernel MDK 10 -- Missing a step somewhere... anti_trend Mandriva 4 04-02-2004 07:37 AM
LVM problems, device-mapper missing dworkin Linux - Newbie 3 03-22-2004 04:54 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:15 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