Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: jur on August 13, 2010, 07:27:11 PM
-
After loading util-linux-ng, I can't load any more apps - I get
mount: could not find any free loop device
-
Workaround is mentioned here:
http://forum.tinycorelinux.net/index.php?topic=6926.0
-
But also running TC 3.0 final should fix this, as in the changelog:
* Updated tce-load to specifically call busybox mount to support unlimited loops.
-
Definitely still a problem in 3.0.
-
Can't reproduce. Booted TC 3.0, loaded util-linux-ng and 7 other extensions, extension loading still worked fine.
-
OK, did some more tests:
Booting into base norestore, seemingly no problem.
Removing all my onboot entries, problem again.
Booting with
kernel /boot/bzImage quiet tce=sda6 home=sda5 tz=EST-10EST,M10.1.0,M4.1.0/3 noutc base norestore
it manages to load some more extensions before running out of loop mounts.
So there seems to be some degree problem here.
Is there anything I can post to help you trace the problem?
-
NMI.
Are you using your custom tce-load ?
Are you using auto-generated ondemand scripts?
-
My custom tce-load is merely a wrapper for tce-load, to remove the tedious typing of the full path. tce-load -i gives the same result.
I am not using the auto ondemand scripts at this stage. All I'm doing so far is tce-load -i
Stand by while I do some more tests... I will boot into base norestore and see how many loops can be mounted after util-linux-ng.
-
FYI, a full path is not needed with the default tce-load.
-
Ah, didn't know that, thanks.
I did some tests and found the problem only seems to happen when my home partition is mounted. I didn't mount all the extensions with home not mounted but stopped testing at roughly 20 or 30. I could write a quick script to mount everything in tce/optional to see the count after loading util-linux-ng...?
My home partition has all the .wine files in it, plus a swag of other stuff accumulated over the months - would that have an influence?
-
Repeated the test with another home directory on another partition with just a small number of items in it, still same problem. So it has to do with the mounted /home.
With mounted home, I could only load a total of 8 loops after util-linux-ng.
-
I normally run a mounted /home that gets used extensively, and I have not experienced the loop issues you are seeing.
-
What should I look out for to trace the problem?
-
I found the problem - it wasn't util-linux-ng, but a loader script left over from some experiments.