WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: loading certain extensions  (Read 10498 times)

Offline jackarius86

  • Newbie
  • *
  • Posts: 31
loading certain extensions
« on: March 23, 2013, 01:45:00 PM »
on trying to load certain extensions, I get these kinds of errors:

mount: mounting /dev/loop72 on /tmp/tcloop/freetype_base-dev failed: Invalid argument
mount: mounting /dev/loop73 on /tmp/tcloop/imlib2_base-dev failed: Invalid argument

I am running TC on a laptop with no HD from USB persistently and have no problems with loading the majority of extensions.

Can anyone explain whats going on here or where I might be going wrong?

thanks in advance

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: loading certain extensions
« Reply #1 on: March 23, 2013, 01:50:59 PM »
I have no problem loading either of those extensions.
What version of Core are you running?
How much RAM do you have?
What is the output of  'df /' ?
What is the output of  'df -i /' ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: loading certain extensions
« Reply #2 on: March 23, 2013, 02:38:33 PM »
Hi jackarius86
Did you use the  Apps  utility to install your extensions?
Quote
on trying to load certain extensions, I get these kinds of errors:

mount: mounting /dev/loop72 on /tmp/tcloop/freetype_base-dev failed: Invalid argument
mount: mounting /dev/loop73 on /tmp/tcloop/imlib2_base-dev failed: Invalid argument
Which extension were you trying to load that caused that error? Was it  compiletc.tcz?

Offline jackarius86

  • Newbie
  • *
  • Posts: 31
Re: loading certain extensions
« Reply #3 on: March 23, 2013, 03:08:19 PM »
Wow, thanks for the prompt response!

Yes I was using Apps to load these extensions to begin with but now I have moved on to a script-like method of tce-load and yes it was compiletc but now I'm just doing it all individually, still have a problem with those files though, and others (which i cant remember right now).

What version of Core are you running?
4.7.5

How much RAM do you have?
about 250Mb, my 'mem' tab in system stats looks like:
MemTotal:         253516 kB
MemFree:          150992 kB
Buffers:           15320 kB
Cached:            52016 kB
SwapCached:            0 kB
Active:            31060 kB
Inactive:          51100 kB
Active(anon):      22376 kB
Inactive(anon):     8968 kB
Active(file):       8684 kB
Inactive(file):    42132 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         253516 kB
LowFree:          150992 kB
SwapTotal:       1115592 kB
SwapFree:        1115592 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         14812 kB
Mapped:             5336 kB
Shmem:             16520 kB
Slab:              14784 kB
SReclaimable:       6288 kB
SUnreclaim:         8496 kB
KernelStack:         728 kB
PageTables:          348 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1242348 kB
Committed_AS:      45084 kB
VmallocTotal:     770040 kB
VmallocUsed:        3408 kB
VmallocChunk:     766500 kB
AnonHugePages:         0 kB
DirectMap4k:       24576 kB
DirectMap4M:      237568 kB

What is the output of 'df /' ?
What is the output of 'df -i /' ?

tc@box:~$ df /
Filesystem                Size      Used Available Use% Mounted on
rootfs                  222.8M     16.3M    206.5M   7% /
tc@box:~$ df -i /
Filesystem              Inodes      Used Available Use% Mounted on
rootfs                   30.3K      5.0K     25.2K  17% /



Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: loading certain extensions
« Reply #4 on: March 23, 2013, 03:19:10 PM »
Hi jackarius86
I'm guessing that the  freetype  and  imlib2  developement packages are not installed, both of which are dependencies
of  compiletc, or maybe they were corrupted during download.
Quote
... but now I have moved on to a script-like method of tce-load ...
By any chance, is that when you started experiencing problems?

Offline jackarius86

  • Newbie
  • *
  • Posts: 31
Re: loading certain extensions
« Reply #5 on: March 23, 2013, 03:31:32 PM »
Hey Rich

By any chance, is that when you started experiencing problems?

Yes partly because of that, and partly because I am trying to build a package and am trying to figure out all of the extensions i need for it and apps isnt really the best way for me to deal with that, especially as my USB stick unmounts when it is over loaded and i find it tempormental - to that end, a quick script to get me back to where i need to be is the easiest way to deal with it as I dont want to load EVERYTHING, EVERY time i boot up as most of the time im just browsing etc..

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: loading certain extensions
« Reply #6 on: March 23, 2013, 03:46:51 PM »
Hi jackarius86
Quote
... as I dont want to load EVERYTHING, EVERY time i boot up as most of the time im just browsing etc..
I believe the   lst=   boot code allows you to specify an alternative to   onboot.lst

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: loading certain extensions
« Reply #7 on: March 23, 2013, 03:49:11 PM »
It sounds to me like a failing USB stick.  Perhaps those files are damaged.
The USB stick should not be umounting itself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: loading certain extensions
« Reply #8 on: March 23, 2013, 03:56:02 PM »
Hi gerald_clark
Quote
The USB stick should not be umounting itself.
Could it be getting remounted RO because an error was encountered, and the OP didn't realize it?

Offline jackarius86

  • Newbie
  • *
  • Posts: 31
Re: loading certain extensions
« Reply #9 on: March 23, 2013, 04:11:40 PM »
Hi Rich

I believe the   lst=   boot code allows you to specify an alternative to   onboot.lst

I knew about that option but I feel that it is easier for me to just pick it up without rebooting when i think I'm ready to try something different, it also helps me to keep things in a set order without having to try and remember every little package to be loaded for it.

Hi Gerald_Clark,

I believe it is an ongoing issue with flash drives being overworked, I dont know if it is actually unmounting or what happens when the fail occurs. I just know that things will stop working and I will get messages like 'cannot write: read only filesystem' or something similar.

Havent got any other flash drives about but i guess if i delete the tcz and then download it again it should work - as the rest of the tcz do work..? What are your feelings on that logic?

Rich, It isn't remounting, it is just binning out, but it is not these failures which are causing this, it seems to be caused whenever i try and run firefox or too much at once..

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: loading certain extensions
« Reply #10 on: March 23, 2013, 04:38:49 PM »
There is no"ongoing issue with flash drives" that I am aware of.
Since you only have one flash drive, perhaps it is an ongoing issue with your flash drive.
Since you are having i/o issues with your flash drive, you cannot trust anything on that drive.

Offline jackarius86

  • Newbie
  • *
  • Posts: 31
Re: loading certain extensions
« Reply #11 on: March 23, 2013, 04:46:29 PM »
As it happens, I checked out the .tcz's, one of them said 0kb and the other seemed of normal size, I deleted them, re-downloaded and then loaded them, worked like a charm.

Maybe it is just the USB being a bit naff, either way its up and running now, thanks alot guys youv been very helpful :-)



Oh I've done my homework on it, there is an issue with flash drives, not specific to TC.. Think your right about this one though!

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: loading certain extensions
« Reply #12 on: March 23, 2013, 04:52:42 PM »
Best to do a thorough fsck ASAP (unmounted!)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jackarius86

  • Newbie
  • *
  • Posts: 31
Re: loading certain extensions
« Reply #13 on: March 23, 2013, 05:03:27 PM »
Best to do a thorough fsck ASAP (unmounted!)

i dont know anything about fsck, why do it unmounted?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: loading certain extensions
« Reply #14 on: March 23, 2013, 05:57:34 PM »
Which filesystem types does drive in question feature?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)