On 10/06/2014 07:40 PM, Karel Zak wrote: > On Mon, Oct 06, 2014 at 06:35:20PM +0200, Francis Moreau wrote: >> One last details is that the system uses pretty old stuff: kernel >> 3.4.50, util-linux 2.21.1. > > $ git log --oneline v2.21.. -- lib/loopdev.c sys-utils/losetup.c | wc -l > 62 > >> Could anybody give me some help ? > > update, this is upstream mailing list I have doubts anyone is ready > to help you with code released 2 years ago. well it looks like more a kernel issue since the sequence of syscalls done by losetup looks correct. Maybe someone here already encountered this... I just found that loop module was loaded with max_part=16 and CONFIG_BLK_DEV_LOOP_MIN_COUNT=8. If max_part is set to 0 then the issue is gone :-/ -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html