gutsy: libdevmapper 1.02.20 and kernel driver incompatible

Bug #178889 reported by earthforce_1
8
Affects Status Importance Assigned to Milestone
devmapper (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: kernel-patch-device-mapper

I am using the sparc64 build on an Ultra 5. All packages are fully up to date as of Dec. 26/2007

When setting up cryptmount, I encounter the following error(s):

gary@zack:/etc/cryptmount$ sudo cryptmount --prepare secret
enter password for target "secret":
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.20 (2007-06-15)(compat) and kernel driver
failed to initialize device-mapper task
device-mapper target-creation failed for "secret"

Revision history for this message
earthforce_1 (earthforce1) wrote :

Hmm, saw what looks like it could have been a fix in http://ubuntuforums.org/showthread.php?p=4038422#post4038422 that apparently worked for somebody. When I tried the patch the result was:

sudo cryptmount --prepare secret
[sudo] password for gary:
enter password for target "secret":
device-mapper: reload ioctl failed: Invalid argument
device-mapper task failed
device-mapper target-creation failed for "secret"

The forum thread mentioned a connection to https://bugs.launchpad.net/ubuntu/+source/devmapper/+bug/106696 although it does not solve my problem, it just changes the error messages.

Revision history for this message
Marco Rodrigues (gothicx) wrote :

Hi!

What version of Ubuntu are you usiing? Hardy?

Thanks

Revision history for this message
Albert Wong (awong-public) wrote :

I'm had the same problem. It seems like dm_mod isn't getting autoloaded and if it's not loaded, then cryptsetup reports an incompatible libdevmaper.

Trying doing "modprobe dm_mod" first and see if hte problem doesn't go away?

Revision history for this message
Pau Garcia Quiles (pgquiles) wrote :

I had the same problem and 'modprobe dm_mod' fixed it

Revision history for this message
Alessandro Ghersi (alessandro-ghersi) wrote :

Same issue in Hardy amd64

Daniel T Chen (crimsun)
Changed in devmapper:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
didwah (petercdee) wrote :

Hi

I just experienced the same issue. Had to run modprobe dm_mod to resolve.

# cat /proc/version

Linux version 2.6.24-16-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:23:42 UTC 2008

# cat /etc/issue
Ubuntu 8.04.2 \n \l

Hope this info helps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.