View Single Post
Posts: 111 | Thanked: 23 times | Joined on Sep 2008 @ Singapore
#58
Originally Posted by penguinbait View Post
Can you run these until they hang or complete, and send me the output,

export PATH=/root/.bin:$PATH
scan.sh

#mkfs script
sh -x /root/.bin/mkall.sh 2> output

#clone script
sh -x /root/.bin/clone.sh 2> output2
I ran mkfs script for 4min (hang) and terminated it (cpu show idle).
contents of output:
+ export PATH=/root/.bin:/root/.bin:/home/user/apps:/usr/bin:/bin
+ scan.sh
+ dialog --infobox Checking for unformated FS \n\n Please be patient!!! 5 40
+ new.sh


contents of output2:
+ umount /SRC
+ umount /TRG
+ sclone.sh
+ cat /tmp/choice.tmp
+ export SOURCE=
Can't make sub-window at (8,3), size (1,43).
+ test -z Can't make sub-window at (8,3), size (1,43).
sh: make: unknown operand
+ tclone.sh
grep: make: No such file or directory
grep: sub-window: No such file or directory
grep: at: No such file or directory
grep: (8,3),: No such file or directory
grep: size: No such file or directory
grep: (1,43).: No such file or directory
sh: jff: unknown operand
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Usage: grep [-HhrilLnqvsoeFEABC] PATTERN [FILEs...]

sh: ext: unknown operand
+ cat /tmp/choice.tmp
+ export TARGET=
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options.
+ test -z Error: Expected at least 7 tokens for --radiolist, have 4. Use --help to list options.
sh: Expected: unknown operand
+ rm -rf /tmp/choice.tmp
+ dialog --extra-button --yesno You have selected to clone all data on
Can't make sub-window at (8,3), size (1,43). to
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options. \n \n Is this Correct?? \n \n Selecting yes will remove all data on
Error: Expected at least 7 tokens for --radiolist, have 4.
Use --help to list options. 15 40
+ EX=0
+ test 0 = 3
+ test 0 = 0
+ mkdir /SRC
+ mkdir /TRG
+ test Can't make sub-window at (8,3), size (1,43). = /dev/mtdblock4
sh: make: unknown operand
+ mount Can't make sub-window at (8,3), size (1,43). /SRC
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Usage: mount [flags] DEVICE NODE [-o options,more-options]

+ dialog --msgbox Mounting
Can't make sub-window at (8,3), size (1,43). FAILED, perhaps there is a problem with previous mounting? Try rebooting and running again? 11 60
+ umount /SRC
+ umount /TRG
+ pbmenu