Beta Pnd_Run.sh


sebt3 said:
peelie said:
hi

not sure if this already reported but i still have problems autostarting Conky and Wbar; i.e sometimes they autostart and sometimes they don't, or one autostarts and the other doesn't

cheers
This havent been repported yet. Do you have more info I could use to start debugging ?

hi wbar failed to autostart:

Code:
----
=======================================================================================
[ START ]--- Mount the PND ----------
losetup: /dev/loop0: device is busy
Mounting : mount -t squashfs "/dev/loop0" "/mnt/utmp/wbar"
mount: /dev/loop0 already mounted or /mnt/utmp/wbar busy
mount: according to mtab, /dev/loop0 is mounted on /mnt/utmp/Conky
WARNING : mount faild, re-tring
mount: /dev/loop0 already mounted or /mnt/utmp/wbar busy
mount: according to mtab, /dev/loop0 is mounted on /mnt/utmp/Conky
ERROR The PND File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b309]:91 (/media/PANDORA1/pandora/menu/apps/Conky.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/Conky type squashfs (ro)
For these Union :
none on /mnt/utmp/Conky type aufs (rw,si=6667fc37,noplink)
ERROR: The Union File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b309]:91 (/media/PANDORA1/pandora/menu/apps/Conky.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/Conky type squashfs (ro)
For these Union :
none on /mnt/utmp/Conky type aufs (rw,si=6667fc37,noplink)
[ FAILED]--- Mount the PND ----------
=======================================================================================
Return code is : 6=======================================================================================
[ START ]--- Mount the PND ----------
losetup: /dev/loop0: device is busy
Mounting : mount -t squashfs "/dev/loop0" "/mnt/utmp/wbar"
mount: /dev/loop0 already mounted or /mnt/utmp/wbar busy
mount: according to mtab, /dev/loop0 is mounted on /mnt/utmp/Conky
WARNING : mount faild, re-tring
mount: /dev/loop0 already mounted or /mnt/utmp/wbar busy
mount: according to mtab, /dev/loop0 is mounted on /mnt/utmp/Conky
ERROR The PND File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b309]:91 (/media/PANDORA1/pandora/menu/apps/Conky.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/Conky type squashfs (ro)
For these Union :
none on /mnt/utmp/Conky type aufs (rw,si=6667fc37,noplink)
ERROR: The Union File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b309]:91 (/media/PANDORA1/pandora/menu/apps/Conky.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/Conky type squashfs (ro)
For these Union :
none on /mnt/utmp/Conky type aufs (rw,si=6667fc37,noplink)
[ FAILED]--- Mount the PND ----------
=======================================================================================
Return code is : 6

=======================================================================================

=======================================================================================

=======================================================================================

and then when conky fails to autostart:

=======================================================================================
[ START ]--- Mount the PND ----------
mkdir: cannot create directory `/mnt/pnd/Conky': File exists
losetup: /dev/loop0: device is busy
Mounting : mount -t squashfs "/dev/loop0" "/mnt/utmp/Conky"
mount: /dev/loop0 already mounted or /mnt/utmp/Conky busy
mount: according to mtab, /dev/loop0 is mounted on /mnt/utmp/wbar
WARNING : mount faild, re-tring
mount: /dev/loop0 already mounted or /mnt/utmp/Conky busy
mount: according to mtab, /dev/loop0 is mounted on /mnt/utmp/wbar
ERROR The PND File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b309]:72 (/media/PANDORA1/pandora/menu/apps/wbar.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/wbar type squashfs (ro)
For these Union :
none on /mnt/utmp/wbar type aufs (rw,si=67300177,noplink)
ERROR: The Union File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b309]:72 (/media/PANDORA1/pandora/menu/apps/wbar.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/wbar type squashfs (ro)
For these Union :
none on /mnt/utmp/wbar type aufs (rw,si=67300177,noplink)
[ FAILED]--- Mount the PND ----------
=======================================================================================
Return code is : 6
 
Last edited by a moderator:
After my Pandora had been on for a long time, Links2 failed to start. I only had Midori running, so it shouldn't have been because of not enough memory... maybe some PNDs are still staying in memory after I have quit them? I notice that gpSP is mentioned below, but I had closed it already for a few minutes. Here's the .out file:

Code:
=======================================================================================
PND             : /media/mmcblk0p1/pandora/menu/links.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/mmcblk0p1/pandora/appdata/links
APPDD_FSTYPE    : vfat
PND_CPUSPEED    : <unset>
EXENAME         : ./start.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Found a loop (/dev/loop2), using it
WARNING /dev/loop2 already mounted on /mnt/utmp/gpspwiz /mnt/utmp/gpspwiz /mnt/utmp/midori /mnt/utmp/midori skipping losetup - putting link to old mount
ln: target `/mnt/utmp/links' is not a directory
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/mmcblk0p1/pandora/appdata/links=rw+nolwh":"/mnt/pnd/links=rr" none "/mnt/utmp/links"
/sbin/mount.aufs:mount.aufs.c:194: /mnt/utmp/links: No such file or directory
WARNING : mount faild, re-tring
/sbin/mount.aufs:mount.aufs.c:194: /mnt/utmp/links: No such file or directory
ERROR: The Union File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b301]:3613 (/media/mmcblk0p1/pandora/menu/gpSP.pnd)
/dev/loop1: [b301]:1210 (/media/mmcblk0p1/pandora/menu/midori-0.3.6-flashfix.pnd)
/dev/loop2: [b301]:856 (/media/mmcblk0p1/pandora/menu/links.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/gpspwiz type squashfs (ro)
/dev/loop1 on /mnt/utmp/midori type squashfs (ro)
For these Union :
none on /mnt/utmp/gpspwiz type aufs (rw,si=66ef2377,noplink)
none on /mnt/utmp/midori type aufs (rw,si=6003c937,noplink)
ERROR: The Union File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b301]:3613 (/media/mmcblk0p1/pandora/menu/gpSP.pnd)
/dev/loop1: [b301]:1210 (/media/mmcblk0p1/pandora/menu/midori-0.3.6-flashfix.pnd)
/dev/loop2: [b301]:856 (/media/mmcblk0p1/pandora/menu/links.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/gpspwiz type squashfs (ro)
/dev/loop1 on /mnt/utmp/midori type squashfs (ro)
For these Union :
none on /mnt/utmp/gpspwiz type aufs (rw,si=66ef2377,noplink)
none on /mnt/utmp/midori type aufs (rw,si=6003c937,noplink)
[ FAILED]--- Mount the PND ----------
=======================================================================================
Return code is : 8

EDIT: Also, a while later, the CPU change script failed to start, again while I only had Midori running.

Code:
=======================================================================================
PND             : /usr/pandora/apps/op_cpuspeed.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : //pandora/appdata/op_cpuspeed
APPDD_FSTYPE    : rootfs ubifs
PND_CPUSPEED    : <unset>
EXENAME         : op_cpuspeed.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Found a loop (/dev/loop1), using it
WARNING /dev/loop1 already mounted on /mnt/utmp/gpspwiz /mnt/utmp/gpspwiz /mnt/utmp/midori /mnt/utmp/midori skipping losetup - putting link to old mount
ln: target `/mnt/utmp/op_cpuspeed' is not a directory
Mounting the Union FS : mount -t aufs -o exec,dirs="//pandora/appdata/op_cpuspeed=rw+nolwh":"/mnt/pnd/op_cpuspeed=rr" none "/mnt/utmp/op_cpuspeed"
/sbin/mount.aufs:mount.aufs.c:194: /mnt/utmp/op_cpuspeed: No such file or directory
WARNING : mount faild, re-tring
/sbin/mount.aufs:mount.aufs.c:194: /mnt/utmp/op_cpuspeed: No such file or directory
ERROR: The Union File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b301]:3613 (/media/mmcblk0p1/pandora/menu/gpSP.pnd)
/dev/loop1: [000b]:73603 (/usr/pandora/apps/op_cpuspeed.pnd)
/dev/loop2: [b301]:1210 (/media/mmcblk0p1/pandora/menu/midori-0.3.6-flashfix.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/gpspwiz type squashfs (ro)
/dev/loop2 on /mnt/utmp/midori type squashfs (ro)
For these Union :
none on /mnt/utmp/gpspwiz type aufs (rw,si=66ef2377,noplink)
none on /mnt/utmp/midori type aufs (rw,si=67182c37,noplink)
ERROR: The Union File-system is not mounted !
+++++++
Loopback devices :
/dev/loop0: [b301]:3613 (/media/mmcblk0p1/pandora/menu/gpSP.pnd)
/dev/loop1: [000b]:73603 (/usr/pandora/apps/op_cpuspeed.pnd)
/dev/loop2: [b301]:1210 (/media/mmcblk0p1/pandora/menu/midori-0.3.6-flashfix.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/gpspwiz type squashfs (ro)
/dev/loop2 on /mnt/utmp/midori type squashfs (ro)
For these Union :
none on /mnt/utmp/gpspwiz type aufs (rw,si=66ef2377,noplink)
none on /mnt/utmp/midori type aufs (rw,si=67182c37,noplink)
[ FAILED]--- Mount the PND ----------
=======================================================================================
Return code is : 8
 
@peelie & @Esn :

Your issues are related to an other I got repported some days ago on irc.
The new pnd_run_installer should fix these issues.
 
Whenever I try to uninstall, it gives me this "mv: target `/usr/pandora/scripts/pnd_run.sh' is not a directory"

The same error others are getting. I don't want to reflash, how do I uninstall this?
 
lobski said:
Whenever I try to uninstall, it gives me this "mv: target `/usr/pandora/scripts/pnd_run.sh' is not a directory"
There is no uninstall script :(

The installer make a backup of the original script, in the terminal look for them :
Code:
ls -l /usr/pandora/scripts/pnd_run.sh.*
look for the first of them (in case you installed this more than once) and then copy it back to :
Code:
sudo cp /usr/pandora/scripts/pnd_run.sh.201xxxxx_xxxxxx /usr/pandora/scripts/pnd_run.sh

that's it, that's all ;)
 
Last edited by a moderator:
Back
Top