* [dm-crypt] device-mapper problem @ 2010-06-10 9:31 Ali Reza Sajedi 2010-06-10 9:46 ` Milan Broz 0 siblings, 1 reply; 7+ messages in thread From: Ali Reza Sajedi @ 2010-06-10 9:31 UTC (permalink / raw) To: dm-crypt [-- Attachment #1: Type: text/plain, Size: 575 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 1716 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dm-crypt] device-mapper problem 2010-06-10 9:31 [dm-crypt] device-mapper problem Ali Reza Sajedi @ 2010-06-10 9:46 ` Milan Broz 2010-06-10 10:42 ` Ali Reza Sajedi 0 siblings, 1 reply; 7+ messages in thread From: Milan Broz @ 2010-06-10 9:46 UTC (permalink / raw) To: Ali Reza Sajedi; +Cc: dm-crypt On 06/10/2010 11:31 AM, Ali Reza Sajedi wrote: > 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. The dm_mod module must be loaded before using DM devices, so probably this is missing from initramdisk init? Depends on distro. Milan ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dm-crypt] device-mapper problem 2010-06-10 9:46 ` Milan Broz @ 2010-06-10 10:42 ` Ali Reza Sajedi 2010-06-10 12:15 ` Milan Broz 0 siblings, 1 reply; 7+ messages in thread From: Ali Reza Sajedi @ 2010-06-10 10:42 UTC (permalink / raw) To: Milan Broz; +Cc: dm-crypt 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" <mbroz@redhat.com> To: "Ali Reza Sajedi" <arsajedi@khanehjou.com> Cc: <dm-crypt@saout.de> Sent: Thursday, June 10, 2010 11:46 AM Subject: Re: [dm-crypt] device-mapper problem > On 06/10/2010 11:31 AM, Ali Reza Sajedi wrote: >> 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. > > 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 > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dm-crypt] device-mapper problem 2010-06-10 10:42 ` Ali Reza Sajedi @ 2010-06-10 12:15 ` Milan Broz 2010-06-10 12:27 ` Ali Reza Sajedi 0 siblings, 1 reply; 7+ messages in thread From: Milan Broz @ 2010-06-10 12:15 UTC (permalink / raw) To: Ali Reza Sajedi; +Cc: dm-crypt On 06/10/2010 12:42 PM, Ali Reza Sajedi wrote: > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dm-crypt] device-mapper problem 2010-06-10 12:15 ` Milan Broz @ 2010-06-10 12:27 ` Ali Reza Sajedi 2010-06-10 19:17 ` Arno Wagner 0 siblings, 1 reply; 7+ messages in thread From: Ali Reza Sajedi @ 2010-06-10 12:27 UTC (permalink / raw) To: Milan Broz; +Cc: dm-crypt 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" <mbroz@redhat.com> To: "Ali Reza Sajedi" <arsajedi@khanehjou.com> Cc: "dm-crypt" <dm-crypt@saout.de> Sent: Thursday, June 10, 2010 2:15 PM Subject: Re: [dm-crypt] device-mapper problem > On 06/10/2010 12:42 PM, Ali Reza Sajedi wrote: >> 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dm-crypt] device-mapper problem 2010-06-10 12:27 ` Ali Reza Sajedi @ 2010-06-10 19:17 ` Arno Wagner 2010-06-10 22:28 ` Ali Reza Sajedi 0 siblings, 1 reply; 7+ messages in thread From: Arno Wagner @ 2010-06-10 19:17 UTC (permalink / raw) To: dm-crypt 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 On Thu, Jun 10, 2010 at 02:27:29PM +0200, Ali Reza Sajedi wrote: > 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" <mbroz@redhat.com> > To: "Ali Reza Sajedi" <arsajedi@khanehjou.com> > Cc: "dm-crypt" <dm-crypt@saout.de> > Sent: Thursday, June 10, 2010 2:15 PM > Subject: Re: [dm-crypt] device-mapper problem > > >> On 06/10/2010 12:42 PM, Ali Reza Sajedi wrote: >>> 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 > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt > -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dm-crypt] device-mapper problem 2010-06-10 19:17 ` Arno Wagner @ 2010-06-10 22:28 ` Ali Reza Sajedi 0 siblings, 0 replies; 7+ messages in thread From: Ali Reza Sajedi @ 2010-06-10 22:28 UTC (permalink / raw) To: Arno Wagner, dm-crypt 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" <arno@wagner.name> To: <dm-crypt@saout.de> Sent: Thursday, June 10, 2010 9:17 PM Subject: Re: [dm-crypt] device-mapper problem > 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 > > On Thu, Jun 10, 2010 at 02:27:29PM +0200, Ali Reza Sajedi wrote: >> 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" <mbroz@redhat.com> >> To: "Ali Reza Sajedi" <arsajedi@khanehjou.com> >> Cc: "dm-crypt" <dm-crypt@saout.de> >> Sent: Thursday, June 10, 2010 2:15 PM >> Subject: Re: [dm-crypt] device-mapper problem >> >> >>> On 06/10/2010 12:42 PM, Ali Reza Sajedi wrote: >>>> 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 >> _______________________________________________ >> dm-crypt mailing list >> dm-crypt@saout.de >> http://www.saout.de/mailman/listinfo/dm-crypt >> > > -- > Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: > arno@wagner.name > 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 > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-06-11 2:06 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-06-10 9:31 [dm-crypt] device-mapper problem Ali Reza Sajedi 2010-06-10 9:46 ` Milan Broz 2010-06-10 10:42 ` Ali Reza Sajedi 2010-06-10 12:15 ` Milan Broz 2010-06-10 12:27 ` Ali Reza Sajedi 2010-06-10 19:17 ` Arno Wagner 2010-06-10 22:28 ` Ali Reza Sajedi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox