WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: util-linux-ng causes subsequent loop mount errors [SOLVED]  (Read 3186 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
util-linux-ng causes subsequent loop mount errors [SOLVED]
« on: August 13, 2010, 07:27:11 PM »
After loading util-linux-ng, I can't load any more apps - I get
Code: [Select]
mount: could not find any free loop device
« Last Edit: August 19, 2010, 11:07:01 AM by jur »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: util-linux-ng causes subsequent loop mount errors
« Reply #1 on: August 13, 2010, 08:23:04 PM »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: util-linux-ng causes subsequent loop mount errors
« Reply #2 on: August 13, 2010, 09:09:34 PM »
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.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: util-linux-ng causes subsequent loop mount errors
« Reply #3 on: August 15, 2010, 08:43:23 PM »
Definitely still a problem in 3.0.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: util-linux-ng causes subsequent loop mount errors
« Reply #4 on: August 16, 2010, 03:56:55 AM »
Can't reproduce. Booted TC 3.0, loaded util-linux-ng and 7 other extensions, extension loading still worked fine.
The only barriers that can stop you are the ones you create yourself.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: util-linux-ng causes subsequent loop mount errors
« Reply #5 on: August 16, 2010, 06:06:07 AM »
OK, did some more tests:

Booting into base norestore, seemingly no problem.
Removing all my onboot entries, problem again.
Booting with
Code: [Select]
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?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: util-linux-ng causes subsequent loop mount errors
« Reply #6 on: August 18, 2010, 12:44:36 AM »
NMI.
Are you using your custom tce-load ?
Are you using auto-generated ondemand scripts?
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: util-linux-ng causes subsequent loop mount errors
« Reply #7 on: August 18, 2010, 09:42:27 AM »
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.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: util-linux-ng causes subsequent loop mount errors
« Reply #8 on: August 18, 2010, 09:49:43 AM »
FYI, a full path is not needed with the default tce-load.
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: util-linux-ng causes subsequent loop mount errors
« Reply #9 on: August 18, 2010, 10:23:20 AM »
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?

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: util-linux-ng causes subsequent loop mount errors
« Reply #10 on: August 18, 2010, 11:02:01 AM »
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.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: util-linux-ng causes subsequent loop mount errors
« Reply #11 on: August 18, 2010, 10:39:03 PM »
I normally run a mounted /home that gets used extensively, and I have not experienced the loop issues you are seeing.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: util-linux-ng causes subsequent loop mount errors
« Reply #12 on: August 18, 2010, 11:34:18 PM »
What should I look out for to trace the problem?

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: util-linux-ng causes subsequent loop mount errors
« Reply #13 on: August 19, 2010, 11:06:31 AM »
I found the problem - it wasn't util-linux-ng, but a loader script left over from some experiments.