Troubleshooting the same issue with a user on #ubuntu-virt indicates that the problem does disappear after a reboot. This seems to confirm my suspicion that libdevmapper does not load its module when installed.
** Also affects: devmapper (Ubuntu) Importance: Undecided Status: New ** Summary changed: - vmbuilder crashed with device mapper prerequisites not met in create() + libdevmapper does not load its kernel modules upon install ** Description changed: + libdevmapper needs a reboot after being installed for its modules to get + loaded, causing the following problem until a reboot does occur. Would + it be possible to have it insmod its module in postinst? + 2008-10-03 10:30:35,387 INFO Creating disk image: /tmp/vmbuilderLcJmhr/disk0.img 2008-10-03 10:30:35,418 INFO Adding partition table to disk image: /tmp/vmbuilderLcJmhr/disk0.img 2008-10-03 10:30:35,463 INFO Adding type 1 partition to disk image: /tmp/vmbuilderLcJmhr/disk0.img 2008-10-03 10:30:35,469 INFO Adding type 3 partition to disk image: /tmp/vmbuilderLcJmhr/disk0.img 2008-10-03 10:30:35,475 INFO Creating loop devices corresponding to the created partitions 2008-10-03 10:30:35,480 INFO /proc/misc: No entry for device-mapper found 2008-10-03 10:30:35,481 INFO Is device-mapper driver missing from kernel? 2008-10-03 10:30:35,481 INFO Failure to communicate with kernel device-mapper driver. 2008-10-03 10:30:35,481 INFO /proc/misc: No entry for device-mapper found 2008-10-03 10:30:35,481 INFO Is device-mapper driver missing from kernel? 2008-10-03 10:30:35,481 INFO Failure to communicate with kernel device-mapper driver. 2008-10-03 10:30:35,481 INFO Incompatible libdevmapper 1.02.27 (2008-06-25)(compat) and kernel driver 2008-10-03 10:30:35,481 INFO device mapper prerequisites not met 2008-10-03 10:30:35,482 CRITICAL Oh, dear, an exception occurred 2008-10-03 10:30:35,482 INFO Cleaning up Traceback (most recent call last): File "/usr/bin/vmbuilder", line 29, in <module> VMBuilder.run() File "/usr/lib/python2.5/site-packages/VMBuilder/__init__.py", line 66, in run frontend.run() File "/usr/lib/python2.5/site-packages/VMBuilder/plugins/cli/__init__.py", line 52, in run vm.create() File "/usr/lib/python2.5/site-packages/VMBuilder/vm.py", line 419, in create raise e VMBuilder.exception.VMBuilderException: Process (['kpartx', '-av', '/tmp/vmbuilderLcJmhr/disk0.img']) returned 1. stdout: , stderr: /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.27 (2008-06-25)(compat) and kernel driver device mapper prerequisites not met ProblemType: Crash Architecture: amd64 DistroRelease: Ubuntu 8.10 ExecutablePath: /usr/bin/vmbuilder InterpreterPath: /usr/bin/python2.5 NonfreeKernelModules: nvidia Package: python-vm-builder 0.9-0ubuntu1 PackageArchitecture: all ProcAttrCurrent: unconfined ProcCmdline: /usr/bin/python /usr/bin/vmbuilder vmw6 ubuntu --suite intrepid --flavour virtual --arch i386 -o --libvirt qemu:///system --part vmbuilder.partition --user jbunting --name Jared\ Bunting --pass password --addpkg build-essential --addpkg openssh-server --mirror http://hostname:9999/ubuntu --tmpfs --firstboot boot.sh --addpkg acpid --addpkg man ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin LANG=en_US.UTF-8 SHELL=/bin/bash PythonArgs: ['/usr/bin/vmbuilder', 'vmw6', 'ubuntu', '--suite', 'intrepid', '--flavour', 'virtual', '--arch', 'i386', '-o', '--libvirt', 'qemu:///system', '--part', 'vmbuilder.partition', '--user', 'jbunting', '--name', 'Jared Bunting', '--pass', 'password', '--addpkg', 'build-essential', '--addpkg', 'openssh-server', '--mirror', 'http://hostname:9999/ubuntu', '--tmpfs', '--firstboot', 'boot.sh', '--addpkg', 'acpid', '--addpkg', 'man'] SourcePackage: vm-builder Title: vmbuilder crashed with device mapper prerequisites not met in create() Uname: Linux 2.6.27-4-generic x86_64 UserGroups: ** Changed in: vmbuilder Status: Incomplete => Confirmed ** Changed in: vm-builder (Ubuntu) Importance: Undecided => Medium Status: Incomplete => Confirmed -- libdevmapper does not load its kernel modules upon install https://bugs.launchpad.net/bugs/277648 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs