Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: AbNoRMiS on September 28, 2012, 05:38:47 AM
-
since tc 4.6.2 i get following message during each computer booting
gtk2.scm: OK
mount: mounting /dev/loop180 on /apps/gtk2 failed: Device or resource busy
i have installed both versions gtk2.scm and gtk2.tcz on boot as dependency of lxde2.tcz
despite this message they are properly mounted in /apps/gtk2 and /tmp/tcloop/gtk2 respectively
cheksum test does not give any error, system log which i attached does not contain this message
i don't understand what this means
-
Sep 28 11:10:29 box authpriv.notice sudo: tc : TTY=console ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/busybox mount /mnt/sda1/tce/optional/gtk2.scm /apps/gtk2 -t squashfs -o loop,ro,bs=4096
Sep 28 11:10:41 box authpriv.notice sudo: tc : TTY=console ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/busybox mount /mnt/sda1/tce/optional/gtk2.scm /apps/gtk2 -t squashfs -o loop,ro,bs=4096
-
don't quite understand why double mounted
tc@box:~$ cat /mnt/sda1/tce/scmboot.lst
abiword-2.8
audacious-gtk2
audacity2
chromium-browser
dejavu-fonts-ttf
epdfview
filezilla
firefox
flash
flburn
geany
geeqie
getFlash11
gimp2-basic
gtk2
leafpad
libreoffice3.6
libreoffice3.6-uk-langpack
links2
mc
midori
midori-locale
mtpaint
opera-12
pidgin-minimal
scmqc
wget
wine
xampp-linux
xarchiver
xboard
xfe
tc@box:~$
-
Suggestion:
Boot with code "base"
Manually "tce-load -i" extensions in same order - one by one - as your onboot.lst
See what happens then...
-
seems i guessed in what reason of gtk2.scm double mount attempts
i have gtk2.scm included in scmboot.lst to enable working some scms that don't work with gtk2.tcz
since version tc 4.6.2 was dropped tcz check for dependencies and checked only scm dependencies
but if library such as gtk2.scm or other there is in scmboot.lst then this not checked for double mount
it seems will have to add additional check to avoid such incidents
-
Hi AbNoRMiS
Since gtk2.scm is not a stand alone application, but a dependency of other applications, it probably should
not be listed in scmboot.lst anyway.
-
What does
"losetup |grep gtk2"
output?
-
tc@box:~$ losetup |grep gtk2
/dev/loop105: 0 /mnt/sda1/tce/optional/gtk2-locale.tcz
/dev/loop106: 0 /mnt/sda1/tce/optional/gtk2.tcz
/dev/loop180: 0 /mnt/sda1/tce/optional/gtk2.scm
/dev/loop181: 0 /mnt/sda1/tce/optional/audacious-gtk2.scm
tc@box:~$
-
Looks okay then
-
Hi AbNoRMiS
Since gtk2.scm is not a stand alone application, but a dependency of other applications, it probably should
not be listed in scmboot.lst anyway.
after changes in version 4.6.2 this is true but as you can see it is only formally
because actually scm browser does not have any precautions to prevent this
and checking to prevent attempts of double mount also does not exist
-
As all output shows, redundancy has been prevented.
I wouldn't say this qualifies as bug.
-
One should never list dependencies in onboot.lst. Doing so will only achive slower boot times and cause system mount resource busy messages as you have noted. You should correct your configuration.
-
of course i did it
thanks
-
As all output shows, redundancy has been prevented.
I wouldn't say this qualifies as bug.
as it turns out it's really not a bug
from user's standpoint this is imperfect processing of system startup
from developer's standpoint this is incorrect settings that user made
as the saying is last laughs who shoots first :D