Public bug reported:

Binary package hint: multipath-tools

Under certain conditions kpartx fails to map partitions.  You can try it
with the image available here <http://m0n0.ch/wall/download.php?file
=generic-pc-1.32.img>:

----8<----
r...@otherland:~/Work/m0n0# mv generic-pc-1.32.img generic-pc-1.32.img.gz
r...@otherland:~/Work/m0n0# gunzip generic-pc-1.32.img.gz

gzip: generic-pc-1.32.img.gz: decompression OK, trailing garbage ignored
r...@otherland:~/Work/m0n0# sfdisk -l generic-pc-1.32.img
Disk generic-pc-1.32.img: cannot get geometry

Disk generic-pc-1.32.img: 1 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
generic-pc-1.32.img1          0       -       0          0    0  Empty
generic-pc-1.32.img2          0       -       0          0    0  Empty
generic-pc-1.32.img3          0       -       0          0    0  Empty
generic-pc-1.32.img4   *      0       3-      4-     25000   a5  FreeBSD
                end: (c,h,s) expected (3,28,41) found (1023,254,63)
generic-pc-1.32.img5          0+      1-      2-     10232
r...@otherland:~/Work/m0n0# kpartx -v -a generic-pc-1.32.img
device-mapper: resume ioctl failed: Invalid argument
add map loop0p4 (0:0): 0 50000 linear /dev/loop0 0
----8<----

dmesg says:
device-mapper: table: 252:9: loop0 too small for target: start=0, len=50000, 
dev_size=20480

It seems like this is debian bug 586104 and fixed in newer versions of
multipath-tools.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: kpartx 0.4.8-14ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic x86_64
Architecture: amd64
Date: Wed Jul 14 16:06:53 2010
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: multipath-tools

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

** Affects: multipath-tools (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: amd64 apport-bug lucid

-- 
kpartx fails to map partitions (device-mapper: resume ioctl failed: Invalid 
argument)
https://bugs.launchpad.net/bugs/605436
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to