[Bug 1540660] [NEW] kpartx fails to add device mappings

Ben Howard ben.howard at canonical.com
Mon Feb 1 22:52:52 UTC 2016


Public bug reported:

kpartx no longer adds device mappings on Xenial. As a result cloud-
images can't be built.

ubuntu at daily-xenial:~$ sudo kpartx -s -v -a disk.raw 
device-mapper: reload ioctl on loop0p1 failed: No such device
create/reload failed on loop0p1
add map loop0p1 (0:0): 0 4192256 linear 0:0 2048
ubuntu at daily-xenial:~$ dmesg | tail -n5
[38760.357385] device-mapper: ioctl: error adding target to table
[38785.021028] device-mapper: table: 252:0: linear: dm-linear: Device lookup failed
[38785.029424] device-mapper: ioctl: error adding target to table
[38902.641279] device-mapper: table: 252:0: linear: dm-linear: Device lookup failed
[38902.649726] device-mapper: ioctl: error adding target to table

ubuntu at daily-xenial:~$ dpkg-query -W kpartx
kpartx	0.5.0-7ubuntu10

** Affects: multipath-tools (Ubuntu)
     Importance: High
         Status: New

** Changed in: multipath-tools (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1540660

Title:
  kpartx fails to add device mappings

Status in multipath-tools package in Ubuntu:
  New

Bug description:
  kpartx no longer adds device mappings on Xenial. As a result cloud-
  images can't be built.

  ubuntu at daily-xenial:~$ sudo kpartx -s -v -a disk.raw 
  device-mapper: reload ioctl on loop0p1 failed: No such device
  create/reload failed on loop0p1
  add map loop0p1 (0:0): 0 4192256 linear 0:0 2048
  ubuntu at daily-xenial:~$ dmesg | tail -n5
  [38760.357385] device-mapper: ioctl: error adding target to table
  [38785.021028] device-mapper: table: 252:0: linear: dm-linear: Device lookup failed
  [38785.029424] device-mapper: ioctl: error adding target to table
  [38902.641279] device-mapper: table: 252:0: linear: dm-linear: Device lookup failed
  [38902.649726] device-mapper: ioctl: error adding target to table

  ubuntu at daily-xenial:~$ dpkg-query -W kpartx
  kpartx	0.5.0-7ubuntu10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540660/+subscriptions



More information about the foundations-bugs mailing list