Comment 4 for bug 605436

Revision history for this message
Malte S. Stretz (mss) wrote :

Looks like this is still an issue in Precise (see below). You can find the most recent version of that image at http://m0n0.ch/wall/downloads.php (get the generic-pc-1.33.img). I can't judge about Quantal.

----8<----
root@slpn-nb-mss:~/Work/m0n0# kpartx -d -v generic-pc-1.33.img
loop deleted : /dev/loop0
root@slpn-nb-mss:~/Work/m0n0# kpartx -a -v generic-pc-1.33.img
device-mapper: resume ioctl failed: Invalid argument
create/reload failed on loop0p4
add map loop0p4 (0:0): 0 50000 linear /dev/loop0 0
root@slpn-nb-mss:~/Work/m0n0# dmesg | grep loop0
[ 3041.671498] device-mapper: table: 252:9: loop0 too small for target: start=0, len=50000, dev_size=20480
----8<----