[elbe-devel] failed to set up loop device: Resource temporarily unavailable
Martin Petzold
martin.petzold at tavla.de
Sat Jan 11 15:51:49 CET 2020
I still have this problem with losetup in most of my builds. Sometimes
the build works, most time not. Any idea what is going wrong with losetup?
I'm running am VM with nested virtualization enabled and plain Debina
Buster installed. I'm using most recent ELBE release.
Thanks and kind regards,
Martin
Am 30.12.19 um 20:37 schrieb Martin Petzold:
> Hello all,
>
> since a while all my builds fail with. First I was not sure if it was
> about my configuration. However, even old working configurations from
> a few weeks ago now don't build anymore. It must be something about
> the build platform. I am running most recent Debian Buster with most
> recent ELBE release on the build machine (clean installation). Maybe
> about a new kernel or lib on the platform? I cannot figure it out. Do
> you have any idea?
>
> --- START CONSOLE
>
> 7437 [CMD] Project build was not successful, current status: build_failed
> 7438 mount /dev/loop0
> /var/cache/elbe/423ce6a5-2379-461f-866d-676c647838c1/imagemnt
> 7439 [CMD] cp -a
> "/var/cache/elbe/423ce6a5-2379-461f-866d-676c647838c1/filesystems/0/."
> "/var/cache/elbe/423ce6a5-2379-461f-866d-676c647838c1/imagemnt/"
> 7440 [CMD] umount /dev/loop0
> 7441 [CMD] losetup -d /dev/loop0
> 7442 [CMD] losetup -o537919488 --sizelimit 2147483648 /dev/loop0
> "/var/cache/elbe/423ce6a5-2379-461f-866d-676c647838c1/install"
> 7443 losetup:
> /var/cache/elbe/423ce6a5-2379-461f-866d-676c647838c1/install: failed
> to set up loop device: Resource temporarily unavailable
> 7444 [CMD] mv
> "/var/cache/elbe/423ce6a5-2379-461f-866d-676c647838c1/filesystems/1"/*
> "/var/cache/elbe/423ce6a5-2379-461f-866d-676c647838c1/target/"
> 7445 [ERROR] Build failed
> 7446 Traceback (most recent call last):
> 7447 File
> "/usr/lib/python2.7/dist-packages/elbepack/asyncworker.py", line 182,
> in execute
> 7448 skip_pbuild=self.skip_pbuilder)
> 7449 File
> "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 614,
> in build
> 7450 self.targetfs.part_target(self.builddir, grub_version,
> grub_fw_type)
> 7451 File
> "/usr/lib/python2.7/dist-packages/elbepack/efilesystem.py", line 364,
> in part_target
> 7452 grub_fw_type)
> 7453 File "/usr/lib/python2.7/dist-packages/elbepack/hdimg.py", line
> 487, in do_hdimg
> 7454 grub_fw_type)
> 7455 File "/usr/lib/python2.7/dist-packages/elbepack/hdimg.py", line
> 365, in do_image_hd
> 7456 create_label(disk, part, ppart, fslabel, target, grub)
> 7457 File "/usr/lib/python2.7/dist-packages/elbepack/hdimg.py", line
> 278, in create_label
> 7458 entry.losetup("loop0")
> 7459 File "/usr/lib/python2.7/dist-packages/elbepack/fstab.py", line
> 145, in losetup
> 7460 (self.offset, self.size, loopdev, self.filename))
> 7461 File
> "/usr/lib/python2.7/dist-packages/elbepack/shellhelper.py", line 115,
> in do
> 7462 raise CommandError(cmd, p.returncode)
>
> --- END
>
> Thanks and kind regards,
>
> Martin
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
More information about the elbe-devel
mailing list