Coder Social home page Coder Social logo

Comments (11)

alfaro96 avatar alfaro96 commented on August 17, 2024 1

@alfaro96 - thanks for this information. That environment will likely be a bit easier for us to replicate than the exact arch Linux one.

I'll be able to take a deeper look into this tomorrow.

Thank you @dtrudg for the quick response!

I have granted access to the loop devices and the problem has been solved. That is why I deleted the original comment, to avoid disturbance in this issue.

from singularity.

dtrudg avatar dtrudg commented on August 17, 2024 1

If you have an issue with loop device creation, that is not solved by updating to the current version of SingularityCE, then please open a new issue for it - providing as much information as you can. It is likely to have a different cause than old issues reported with older versions of Singularity and the kernel.

from singularity.

dtrudg avatar dtrudg commented on August 17, 2024

Thanks for the information there - it's not yet clear exactly what is going on.

When you say it used to work, but now doesn't - did 3.7.3 work previously, or was it an older version that works?

Has your kernel recently been upgraded? Could you give output of uname -a just in case that's related? Also check in dmesg output for any errors that might look relevant. Thanks.

from singularity.

dtrudg avatar dtrudg commented on August 17, 2024

@alfaro96 - thanks for this information. That environment will likely be a bit easier for us to replicate than the exact arch Linux one.

I'll be able to take a deeper look into this tomorrow.

from singularity.

a-ludi avatar a-ludi commented on August 17, 2024

Sadly, I do not know exactly which version worked for me and I cannot try it out because the release tarballs on GitHub are not available anymore - it likely was v3.5.2.

Yes, my kernel has been updated. It is continuously being updated, that's part of Arch linux.

There are no message in dmesg when I try to run the container.

Here is the system info:

$ uname -a
Linux *** 5.12.3-arch1-1 #1 SMP PREEMPT Wed, 12 May 2021 17:54:18 +0000 x86_64 GNU/Linux

from singularity.

dtrudg avatar dtrudg commented on August 17, 2024

Hi @a-ludi - I haven't been able to replicate yet, in a simple arch VM I have. This is going to need a bit more effort when I have an afternoon, as we don't routinely test on Arch Linux, and I cannot reproduce under Fedora which I regularly use and is tracking new kernels.

Sadly, I do not know exactly which version worked for me and I cannot try it out because the release tarballs on GitHub are not available anymore - it likely was v3.5.2.

Please see: #68

The older releases can be found at github.com/hpcng/singularity/releases

This location is a fork from SingularityCE 3.8.0 onward. Unfortunately it was previously a redirect to the hpcng/singularity address and many were not aware of the prior move to that hpcng/singularity location.

from singularity.

a-ludi avatar a-ludi commented on August 17, 2024

Quick update: 3.5.2 works. (Thanks for the pointer to hpcng for some reason I did not find it there earlier.)

I will try to determine the latest working version and report back.

from singularity.

a-ludi avatar a-ludi commented on August 17, 2024

Weirdly, after trying different version, 3.7.3 now works just fine - the error is gone. Maybe the error arose because build files from older release were kept and reused for the 3.7.3 build. Thanks for your support anyway!

from singularity.

dtrudg avatar dtrudg commented on August 17, 2024

Thanks for updating us!

from singularity.

richelbilderbeek avatar richelbilderbeek commented on August 17, 2024

@alfaro96 I have exactly the same problem and you seem to have found a solution. I quote:

I have granted access to the loop devices and the problem has been solved.

How did you do this?

Would be great to find en even better solution here :-)

from singularity.

hiiiyilingzhang avatar hiiiyilingzhang commented on August 17, 2024

I've encountered the issue after reboot server. It worked totally fine for v3.10.2 before reboot, but it shows the following errors now:

FATAL:   container creation failed: mount /proc/self/fd/3->/usr/local/var/singularity/mnt/session/rootfs error: while mounting image /proc/self/fd/3: failed to find loop device: could not attach image file to loop device: no loop devices available

Then I update to v3.11.4 since I notice v3.11.2 patch release fix the bug by using /dev/loop-control for loop device creation. But it issue still exits.

Same with the issue author, there are enough loop devices available:

$ ls /dev/loop*
/dev/loop0    /dev/loop121  /dev/loop145  /dev/loop169  /dev/loop192  /dev/loop255  (and more...)
$ mount | grep loop
(empty output)

Here's system info:

uname -a
Linux xxx-ubuntu 5.15.0-78-generic #85~20.04.1-Ubuntu SMP Mon Jul 17 09:42:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Looking forward to your replies.

from singularity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.