Skip to contentSkip to conversation

device-mapper problem

dm-crypt Ali Reza Sajedi 3 participants 7 messages Jun 10, 2010 – Jun 11, 2010

lore
Share & tools
lore
#0 lore raw

Hello All,

I have cryptsetup 1.1.2 installed.

Everytime after a new boot when I try to execute a cryptsetup command I get the following error:

/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel? Failaure to communicate with kernel device mapper driver.

The problem is solved after trying to load the module dm_mod with:

modprobe dm_mod

Inspite of loading the module this problem keeps coming with every system booting.

Has anyone any idea what fails in this case?

Thank you for you help.

Best regards

Ali

#1 lore raw
Quoted 11 lines · Ali Reza Sajedi

Hello All,

I have cryptsetup 1.1.2 installed.

Everytime after a new boot when I try to execute a cryptsetup command I get the following error:

/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel? Failaure to communicate with kernel device mapper driver.

Quoted 6 lines

The problem is solved after trying to load the module dm_mod with:

modprobe dm_mod

Inspite of loading the module this problem keeps coming with every system booting.

The dm_mod module must be loaded before using DM devices, so probably this is missing from initramdisk init? Depends on distro.

Milan

#2 lore raw

Dear Milan,

I use Ubuntu 8.10.

Why does the system not load the module automatically while booting.

Best regards

Ali

----- Original Message ----- From: "Milan Broz" <[email protected]>
To: "Ali Reza Sajedi" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, June 10, 2010 11:46 AM
Subject: Re: [dm-crypt] device-mapper problem

Quoted 27 lines · Ali Reza Sajedi
Quoted 11 lines

Hello All,

I have cryptsetup 1.1.2 installed.

Everytime after a new boot when I try to execute a cryptsetup command I get the following error:

/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel? Failaure to communicate with kernel device mapper driver.

Quoted 6 lines

The problem is solved after trying to load the module dm_mod with:

modprobe dm_mod

Inspite of loading the module this problem keeps coming with every system booting.

The dm_mod module must be loaded before using DM devices, so probably this is missing from initramdisk init? Depends on distro.

Milan
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt

#3 lore raw
Quoted 3 lines · Ali Reza Sajedi

I use Ubuntu 8.10.

Why does the system not load the module automatically while booting.

That's question for Ubuntu maintainers, dm_mod is probably needed be loaded during init unconditionally.

Autoloading of code dm module will eventually change with some small changes in udev and dm module, but this is not yet working.

Milan

#4 lore raw

Dear Milan,

With cryptsetup 1.0.6 I hadn't this problem.

Could that be a problem in newer cryptsetup versions?

Ali

----- Original Message ----- From: "Milan Broz" <[email protected]>
To: "Ali Reza Sajedi" <[email protected]>
Cc: "dm-crypt" <[email protected]>
Sent: Thursday, June 10, 2010 2:15 PM
Subject: Re: [dm-crypt] device-mapper problem

Quoted 12 lines · Ali Reza Sajedi
Quoted 3 lines

I use Ubuntu 8.10.

Why does the system not load the module automatically while booting.

That's question for Ubuntu maintainers, dm_mod is probably needed be loaded during init unconditionally.

Autoloading of code dm module will eventually change with some small changes in udev and dm module, but this is not yet working.

Milan

#5 lore raw

Should not be. In Debian, there is a file /etc/modules, were you can put the names of modules to be loaded automatically at startup time. Maybe just put dm_mod in there if it also exist on Ubuntu.

Arno

Quoted 32 lines · Ali Reza Sajedi

Dear Milan,

With cryptsetup 1.0.6 I hadn't this problem.

Could that be a problem in newer cryptsetup versions?

Ali

----- Original Message ----- From: "Milan Broz" <[email protected]>
To: "Ali Reza Sajedi" <[email protected]>
Cc: "dm-crypt" <[email protected]>
Sent: Thursday, June 10, 2010 2:15 PM
Subject: Re: [dm-crypt] device-mapper problem

Quoted 5 lines · Ali Reza Sajedi
Quoted 3 lines

I use Ubuntu 8.10.

Why does the system not load the module automatically while booting.

Quoted 7 lines

That's question for Ubuntu maintainers, dm_mod is probably needed be loaded during init unconditionally.

Autoloading of code dm module will eventually change with some small changes in udev and dm module, but this is not yet working.

Milan

_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt

Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 
#6 lore raw

Dear Arno,

Thank you very much für your help.

The file /etc/modules also exists on Ubuntu.

Adding the entry "dm_mod" to the file has solved the problem.

Thank you.

Best regards

Ali
----- Original Message ----- From: "Arno Wagner" <[email protected]>
To: <[email protected]>
Sent: Thursday, June 10, 2010 9:17 PM
Subject: Re: [dm-crypt] device-mapper problem

Quoted 53 lines

Should not be. In Debian, there is a file /etc/modules, were you can put the names of modules to be loaded automatically at startup time. Maybe just put dm_mod in there if it also exist on Ubuntu.

Arno

Quoted 32 lines · Ali Reza Sajedi

Dear Milan,

With cryptsetup 1.0.6 I hadn't this problem.

Could that be a problem in newer cryptsetup versions?

Ali

----- Original Message ----- From: "Milan Broz" <[email protected]>
To: "Ali Reza Sajedi" <[email protected]>
Cc: "dm-crypt" <[email protected]>
Sent: Thursday, June 10, 2010 2:15 PM
Subject: Re: [dm-crypt] device-mapper problem

Quoted 5 lines · Ali Reza Sajedi
Quoted 3 lines

I use Ubuntu 8.10.

Why does the system not load the module automatically while booting.

Quoted 7 lines

That's question for Ubuntu maintainers, dm_mod is probably needed be loaded during init unconditionally.

Autoloading of code dm module will eventually change with some small changes in udev and dm module, but this is not yet working.

Milan

_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt

Signature · 11 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected]
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of
"news" is "something that hardly ever happens." -- Bruce Schneier
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt