You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(93) |
Sep
(290) |
Oct
(203) |
Nov
|
Dec
|
---|
From: <pf...@us...> - 2006-10-28 14:03:02
|
Revision: 653 http://svn.sourceforge.net/ramdisk-rescue/?rev=653&view=rev Author: pfalcon Date: 2006-10-28 07:02:48 -0700 (Sat, 28 Oct 2006) Log Message: ----------- Tag 0.6.4 release. Added Paths: ----------- tags/0.6.4/ Copied: tags/0.6.4 (from rev 652, trunk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-28 10:16:43
|
Revision: 652 http://svn.sourceforge.net/ramdisk-rescue/?rev=652&view=rev Author: marcusbrutus Date: 2006-10-28 03:16:38 -0700 (Sat, 28 Oct 2006) Log Message: ----------- Correct order of fstab corrections to eliminate problem with hx4700 /home being mounted incorrectly. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-28 02:15:22 UTC (rev 651) +++ trunk/src/rescue_command.sh 2006-10-28 10:16:38 UTC (rev 652) @@ -1529,9 +1529,20 @@ fs_label="" if $success then + # Found in many (machine) versions of Familiar: + #+ an attempt to mount flash as root (takes ages to default) + if grep "^/dev/mtdblock[23].*jffs2" /mnt/target/etc/fstab >/dev/null 2>&1 + then + message "\nCORRECTING FSTAB FOR ROOT NODE." + sed "s%/dev/mtdblock[23]%$ext2Node%;s%jffs2%ext2%" \ + /mnt/target/etc/fstab \ + > /var/tmp/fstab + mv /var/tmp/fstab /mnt/target/etc/fstab + fi # This one found in hx4700 rootfs: #+ mounts mmc p2 as home, with strange results, #+ as p2 is probably root when card booting. + #+ This happens as a result of the step before [23] if grep "^/dev/mmcblk0p2.*/home" /mnt/target/etc/fstab >/dev/null 2>&1 then message "\nCORRECTING FSTAB FOR HOME NODE." @@ -1540,16 +1551,6 @@ > /var/tmp/fstab mv /var/tmp/fstab /mnt/target/etc/fstab fi - # Found in many (machine) versions of Familiar: - #+ an attempt to mount flash as root (takes ages to default) - if grep "^/dev/mtdblock[23].*jffs2" /mnt/target/etc/fstab >/dev/null 2>&1 - then - message "\nCORRECTING FSTAB FOR ROOT NODE." - sed "s%/dev/mtdblock[23]%$ext2Node%;s%jffs2%ext2%" \ - /mnt/target/etc/fstab \ - > /var/tmp/fstab - mv /var/tmp/fstab /mnt/target/etc/fstab - fi message "\nCREATING LABRUN FILE ( JUST FOR FUN :)" if { cat > /mnt/target/boot/labrun 2>/dev/null << LABRUN copy fs:/mnt/boot/zImage fs:/zImage This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-28 02:15:52
|
Revision: 651 http://svn.sourceforge.net/ramdisk-rescue/?rev=651&view=rev Author: marcusbrutus Date: 2006-10-27 19:15:22 -0700 (Fri, 27 Oct 2006) Log Message: ----------- Add a return after printing whirlygig so we can wipe out chars after time AND prevent from skipping the next tab. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-27 01:42:14 UTC (rev 650) +++ trunk/src/rescue_command.sh 2006-10-28 02:15:22 UTC (rev 651) @@ -562,7 +562,7 @@ let "min=count/60" "sec=count%60" [ ${#sec} -lt 2 ] && sec="0$sec" [ ${#min} -lt 2 ] && min=" $min" - echo -en "\r${eFGred}${statChar} ${eFGgrn}${min}:${sec}${eNORM} " + echo -en "\r${eFGred}${statChar} ${eFGgrn}${min}:${sec}${eNORM} \r" case $whirlygig in $refresh) # chain & background the stats cmds so count is more accurate(?) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-27 01:42:19
|
Revision: 650 http://svn.sourceforge.net/ramdisk-rescue/?rev=650&view=rev Author: marcusbrutus Date: 2006-10-26 18:42:14 -0700 (Thu, 26 Oct 2006) Log Message: ----------- assage Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-27 01:33:14 UTC (rev 649) +++ trunk/src/rescue_command.sh 2006-10-27 01:42:14 UTC (rev 650) @@ -706,10 +706,10 @@ fi message "\tCREATING INSTALL DIR $INSTALL_PATH ON $mycard" - mkdir -p /mnt/alternate/$INSTALL_PATH + mkdir -p /mnt/alternate/"$INSTALL_PATH" message "\tCOPYING NEW KERNEL TO $mycard" - if cp "/var/tmp/sources/$source_file" /mnt/alternate/$INSTALL_PATH/zImage + if cp "/var/tmp/sources/$source_file" /mnt/alternate/"$INSTALL_PATH"/zImage then message "\t* DONE *" else @@ -729,7 +729,7 @@ message "\tCREATING NEW STARTUP.TXT WITH MTYPE:${MTYPE:-unknown}" CFdelay="" [ -z "${mynode##*hda*}" ] && CFdelay="rootdelay=5" - if awk '{ print $0"\r" }' > /mnt/alternate/$INSTALL_PATH/startup.txt << STARTUPTXT + if awk '{ print $0"\r" }' > /mnt/alternate/"$INSTALL_PATH"/startup.txt << STARTUPTXT # # HaRET startup.txt for $MODEL # @@ -756,8 +756,8 @@ if ${EXPORT_LOG} then message "\tEXPORTING SYSLOG." - mkdir -p /mnt/alternate/${RR_PATH} - cat /var/log/messages | gzip > /mnt/alternate/${RR_PATH}/RR-syslog.gz + mkdir -p /mnt/alternate/"${RR_PATH}" + cat /var/log/messages | gzip > /mnt/alternate/"${RR_PATH}"/RR-syslog.gz fi echo @@ -1030,7 +1030,7 @@ if mount -t vfat $fatNode /mnt/source 1>/dev/ttyS0 2>&1 then #logread | gzip > /mnt/source/RR-syslog.gz && - cat /var/log/messages | gzip > /mnt/source/${RR_PATH}/RR-syslog.gz && + cat /var/log/messages | gzip > /mnt/source/"${RR_PATH}"/RR-syslog.gz && message "COMPRESSED LOG SAVED." || err_msg "ERROR SAVING COMPRESSED LOG" umount /mnt/source This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-27 01:33:21
|
Revision: 649 http://svn.sourceforge.net/ramdisk-rescue/?rev=649&view=rev Author: marcusbrutus Date: 2006-10-26 18:33:14 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Correct detection of haret*.exe in SELECT SOURCE. Also quoted a few paths to prevent problems with users who decide to modify things and put spaces in paths ... this needs to be checked carefully ... bound to be more. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-27 00:36:36 UTC (rev 648) +++ trunk/src/rescue_command.sh 2006-10-27 01:33:14 UTC (rev 649) @@ -1224,9 +1224,9 @@ if mount -t vfat $fatNode /mnt/source 1>/dev/ttyS0 2>&1 then message "MOUNTED FAT PARTITION." - if [ -z "$(ls /mnt/source/"${RR_PATH}"/haret*.exe 2>/dev/null)" ] + if [ -n "$(ls /mnt/source/"${RR_PATH}"/haret*.exe 2>/dev/null)" ] then - if cp /mnt/source/${RR_PATH}/haret*.exe /var/tmp/ 2>/dev/null + if cp /mnt/source/"${RR_PATH}"/haret*.exe /var/tmp/ 2>/dev/null then message "HARET.EXE COPIED TO TMPFS." else @@ -1250,7 +1250,7 @@ MTYPE="unknown" fi - if source="$(ls -d /mnt/source/${IMAGE_PATH}/*.tar* 2>/dev/null | head -1)" && + if source="$(ls -d /mnt/source/"${IMAGE_PATH}"/*.tar* 2>/dev/null | head -1)" && [ -n "$source" ] then message "VERIFYING SOURCE FILE INTEGRITY:\n\t( $(basename $source) )" @@ -1363,7 +1363,7 @@ if mount -t vfat $fatNode /mnt/source 1>/dev/ttyS0 2>&1 then message "DELETING IMAGE FROM $mycard" - if rm "$(ls -d /mnt/source/${IMAGE_PATH}/*.tar* | head -1)" + if rm "$(ls -d /mnt/source/"${IMAGE_PATH}"/*.tar* | head -1)" then message "IMAGE SUCCESSFULLY DELETED." else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pf...@us...> - 2006-10-27 00:36:42
|
Revision: 648 http://svn.sourceforge.net/ramdisk-rescue/?rev=648&view=rev Author: pfalcon Date: 2006-10-26 17:36:36 -0700 (Thu, 26 Oct 2006) Log Message: ----------- parted_1.7.1.bb: Remove DEFAULT_PREFERENCE = "-1". Modified Paths: -------------- trunk/bitbake/parted/parted_1.7.1.bb Modified: trunk/bitbake/parted/parted_1.7.1.bb =================================================================== --- trunk/bitbake/parted/parted_1.7.1.bb 2006-10-26 23:42:55 UTC (rev 647) +++ trunk/bitbake/parted/parted_1.7.1.bb 2006-10-27 00:36:36 UTC (rev 648) @@ -6,8 +6,6 @@ DEPENDS = "readline e2fsprogs-libs" PR = "r0" -DEFAULT_PREFERENCE = "-1" - SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.bz2" EXTRA_OECONF = "--disable-Werror" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 23:43:26
|
Revision: 647 http://svn.sourceforge.net/ramdisk-rescue/?rev=647&view=rev Author: marcusbrutus Date: 2006-10-26 16:42:55 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Allow to find HaRET*.exe in SELECT SOURCE so that HaRET can include version numbers. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-26 22:22:59 UTC (rev 646) +++ trunk/src/rescue_command.sh 2006-10-26 23:42:55 UTC (rev 647) @@ -1224,7 +1224,7 @@ if mount -t vfat $fatNode /mnt/source 1>/dev/ttyS0 2>&1 then message "MOUNTED FAT PARTITION." - if [ -f /mnt/source/${RR_PATH}/haret.exe ] + if [ -z "$(ls /mnt/source/"${RR_PATH}"/haret*.exe 2>/dev/null)" ] then if cp /mnt/source/${RR_PATH}/haret*.exe /var/tmp/ 2>/dev/null then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 22:23:05
|
Revision: 646 http://svn.sourceforge.net/ramdisk-rescue/?rev=646&view=rev Author: marcusbrutus Date: 2006-10-26 15:22:59 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Add note of audio bug in hx4700 to KNOWN BUGS. Modified Paths: -------------- reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt Modified: reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt =================================================================== --- reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt 2006-10-26 22:18:38 UTC (rev 645) +++ reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt 2006-10-26 22:22:59 UTC (rev 646) @@ -84,3 +84,6 @@ Assumed to be either a kernel problem, or an unsupported screen size for less/fbconsole. + - audio does not work on hx4700 using Marcus' supplied kernel. Cause is + unknown. There is a delay of a few seconds and an error message when + an attempt to play audio is made. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 22:18:48
|
Revision: 645 http://svn.sourceforge.net/ramdisk-rescue/?rev=645&view=rev Author: marcusbrutus Date: 2006-10-26 15:18:38 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Add space after time _during_ whirlygig in waitForTarJob to make sure we do not have errant chars next to counter. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-26 22:03:27 UTC (rev 644) +++ trunk/src/rescue_command.sh 2006-10-26 22:18:38 UTC (rev 645) @@ -562,7 +562,7 @@ let "min=count/60" "sec=count%60" [ ${#sec} -lt 2 ] && sec="0$sec" [ ${#min} -lt 2 ] && min=" $min" - echo -en "\r${eFGred}${statChar} ${eFGgrn}${min}:${sec}${eNORM}" + echo -en "\r${eFGred}${statChar} ${eFGgrn}${min}:${sec}${eNORM} " case $whirlygig in $refresh) # chain & background the stats cmds so count is more accurate(?) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 22:03:36
|
Revision: 644 http://svn.sourceforge.net/ramdisk-rescue/?rev=644&view=rev Author: marcusbrutus Date: 2006-10-26 15:03:27 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Add note about KNOWN BUGS to release announcement. Modified Paths: -------------- reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt Modified: reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt =================================================================== --- reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt 2006-10-26 12:49:45 UTC (rev 643) +++ reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt 2006-10-26 22:03:27 UTC (rev 644) @@ -73,4 +73,14 @@ +RELEASE ANNOUNCEMENT TO INCLUDE: +================================ +KNOWN BUGS: + - buttons on hx4700 and h4000 do not work with the supplied kernels. + When the kernels are upgraded to the standard that the h2200 follows, + these machines will automatically be supported. + - page scrolling and goto functions in VEW SYSLOG are buggy on hx4700. + Assumed to be either a kernel problem, or an unsupported screen size + for less/fbconsole. + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 13:05:13
|
Revision: 643 http://svn.sourceforge.net/ramdisk-rescue/?rev=643&view=rev Author: marcusbrutus Date: 2006-10-26 05:49:45 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Add check of filesystem prior to logical-to-primary partition. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-26 11:15:53 UTC (rev 642) +++ trunk/src/rescue_command.sh 2006-10-26 12:49:45 UTC (rev 643) @@ -350,6 +350,10 @@ err_msg "\t* LOGICAL TO PRIMARY CONVERSION FAILED *" success=false fi << PARTED_COMMANDS +CHECKING FILESYSTEM ON LOGICAL PARTITION +-s +check 5 +. SANITISING LOGICAL PARTITION -s resize 5 $startSector $endSector This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 11:16:02
|
Revision: 642 http://svn.sourceforge.net/ramdisk-rescue/?rev=642&view=rev Author: marcusbrutus Date: 2006-10-26 04:15:53 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Add mem=64M to startup command line for compatability with WM5. Modified Paths: -------------- trunk/bitbake/ramdisk-rescue/files/startup.template Modified: trunk/bitbake/ramdisk-rescue/files/startup.template =================================================================== --- trunk/bitbake/ramdisk-rescue/files/startup.template 2006-10-26 10:40:19 UTC (rev 641) +++ trunk/bitbake/ramdisk-rescue/files/startup.template 2006-10-26 11:15:53 UTC (rev 642) @@ -17,7 +17,7 @@ set KERNEL "$KERNEL" set INITRD "$INITRD" set MTYPE $MTYPE -set CMDLINE "root=/dev/ram0 ramdisk_size=$ramdisk_size console=ttyS0,115200n8 console=tty0" +set CMDLINE "root=/dev/ram0 ramdisk_size=$ramdisk_size mem=64M console=ttyS0,115200n8 console=tty0" # And the command that does all the heavy lifting This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 10:40:29
|
Revision: 641 http://svn.sourceforge.net/ramdisk-rescue/?rev=641&view=rev Author: marcusbrutus Date: 2006-10-26 03:40:19 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Tidy error message when RR files not found in RR_PATH. Modified Paths: -------------- trunk/src/ramdisk-rescue Modified: trunk/src/ramdisk-rescue =================================================================== --- trunk/src/ramdisk-rescue 2006-10-26 10:35:24 UTC (rev 640) +++ trunk/src/ramdisk-rescue 2006-10-26 10:40:19 UTC (rev 641) @@ -557,8 +557,9 @@ done if ! $rr_found; then - err_msg "UNABLE TO LOCATE RAMDISK RESCUE FILES IN RR_PATH=$RR_PATH" - err_msg "UNABLE TO CONTINUE." + err_msg "UNABLE TO LOCATE RAMDISK RESCUE FILES." + err_msg "RR_PATH=$RR_PATH" + err_msg "ABORTING." exit 1 fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 10:35:31
|
Revision: 640 http://svn.sourceforge.net/ramdisk-rescue/?rev=640&view=rev Author: marcusbrutus Date: 2006-10-26 03:35:24 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Corrected type for finding RR files in RR_PATH. Modified Paths: -------------- trunk/src/ramdisk-rescue Modified: trunk/src/ramdisk-rescue =================================================================== --- trunk/src/ramdisk-rescue 2006-10-26 08:41:11 UTC (rev 639) +++ trunk/src/ramdisk-rescue 2006-10-26 10:35:24 UTC (rev 640) @@ -503,7 +503,7 @@ then message "\tCHECKING $fatNode on $thisCard" missing_files=false - if [ ! -f "/mnt/source/$"{RR_PATH}"/startup.txt" ] + if [ ! -f "/mnt/source/"${RR_PATH}"/startup.txt" ] then err_msg "\tNOT FOUND: ${RR_PATH}/startup.txt" missing_files=true @@ -557,7 +557,8 @@ done if ! $rr_found; then - err_msg "UNABLE TO LOCATE RAMDISK RESCUE FILES IN RR_PATH=$RR_PATH\nUNABLE TO CONTINUE." + err_msg "UNABLE TO LOCATE RAMDISK RESCUE FILES IN RR_PATH=$RR_PATH" + err_msg "UNABLE TO CONTINUE." exit 1 fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 08:41:18
|
Revision: 639 http://svn.sourceforge.net/ramdisk-rescue/?rev=639&view=rev Author: marcusbrutus Date: 2006-10-26 01:41:11 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Add to testing notes. Modified Paths: -------------- reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt Modified: reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt =================================================================== --- reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt 2006-10-26 08:36:16 UTC (rev 638) +++ reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt 2006-10-26 08:41:11 UTC (rev 639) @@ -47,20 +47,30 @@ +Observations +============ - - removing Linux works in both situations where: - a card is comprised of FAT + EXT2 partitions. - a card only contains an EXT2 partition. -- does "sync" need to be enabled for CF cards? - - kernel panic while extracting to CF512 on hx4700!!!! Only happened once (the first attempt to use CF). +Questions +========= +- does "sync" need to be enabled for CF cards? +TODO +==== +- remap keys for h4000 and hx4700. Keycodes needed. + (Add TEST function to show keycodes in RR?) + + + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 08:36:26
|
Revision: 638 http://svn.sourceforge.net/ramdisk-rescue/?rev=638&view=rev Author: marcusbrutus Date: 2006-10-26 01:36:16 -0700 (Thu, 26 Oct 2006) Log Message: ----------- Add testing reports for 0.6.4 pre-release. Added Paths: ----------- reports/ reports/0.6.4/ reports/0.6.4/prerelease/ reports/0.6.4/prerelease/Function_Testing.ods reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt Added: reports/0.6.4/prerelease/Function_Testing.ods =================================================================== (Binary files differ) Property changes on: reports/0.6.4/prerelease/Function_Testing.ods ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt =================================================================== --- reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt (rev 0) +++ reports/0.6.4/prerelease/Ramdisk_Rescue_testing_notes.txt 2006-10-26 08:36:16 UTC (rev 638) @@ -0,0 +1,66 @@ +20061026 Ramdisk Rescue testing notes + + +================================================================== + +Installation tests were conducted with the following conditions: +- HaRET 0.3.8-pre +- Ramdisk Rescue 0.6.3 r629 +- Camera used to format cards was a Canon A520 + +h2200 +===== +- latest install tarball from Familiar + +hx4700 +====== +- latest rootfs tarball from Familiar +- Marcus' card-boot kernel + + + +================================================================== + +Cards used for testing were: + +Compact Flash: + 128MB Sandisk Connect Plus + 512MB Sandisk Ultra II +Secure Digital: + 256MB Sandisk Ultra II (known bad sectors) + 512MB Astone 66x (generic) + +================================================================== + + +Other notes: + +hx4700 +====== +- after booting with HaRET, a soft reset does not automatically + perform a hard reset (as with the h2200). A proper hard reset + is the only way to get the device to reboot. +- still problems with scrolling region on hx4700, last noticed + during extraction (at least whirlygig is a distraction;) +- time of extraction scrolls of the screen with hx4700 :( + + + + + + +- removing Linux works in both situations where: + - a card is comprised of FAT + EXT2 partitions. + - a card only contains an EXT2 partition. + +- does "sync" need to be enabled for CF cards? + +- kernel panic while extracting to CF512 on hx4700!!!! + Only happened once (the first attempt to use CF). + + + + + + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 06:21:13
|
Revision: 637 http://svn.sourceforge.net/ramdisk-rescue/?rev=637&view=rev Author: marcusbrutus Date: 2006-10-25 23:21:01 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Add a space to final time after waitForTarJob, jic. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-26 06:03:47 UTC (rev 636) +++ trunk/src/rescue_command.sh 2006-10-26 06:21:01 UTC (rev 637) @@ -589,7 +589,7 @@ let "count=count+update" let "min=count/60" "sec=count%60" [ ${#sec} -lt 2 ] && sec="0$sec" - echo -e "\r${eBOLD}${eFGred}~ ${eFGgrn}${min}m${sec}s${eNORM}" + echo -e "\r${eBOLD}${eFGred}~ ${eFGgrn}${min}m${sec}s ${eNORM}" } esac This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 06:03:56
|
Revision: 636 http://svn.sourceforge.net/ramdisk-rescue/?rev=636&view=rev Author: marcusbrutus Date: 2006-10-25 23:03:47 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Colourise install steps for readability. Modified Paths: -------------- trunk/src/ramdisk-rescue Modified: trunk/src/ramdisk-rescue =================================================================== --- trunk/src/ramdisk-rescue 2006-10-26 05:55:39 UTC (rev 635) +++ trunk/src/ramdisk-rescue 2006-10-26 06:03:47 UTC (rev 636) @@ -758,18 +758,18 @@ CREATE A SINGLE PARTITION ON A CARD AND FORMAT IT WITH THE SPECIFIED FILESYSTEM. #-#-#-#-#-#-#-#-#-#-#-#-# -4:#${eBOLD}STEP 1: SELECT SOURCE CARD${eNORM} +4:#${eBOLD}${eFGblu}STEP 1:${eNORM}${eBOLD} SELECT SOURCE CARD${eNORM} GPE/OPIE TARBALL ON SOURCE CARD WILL BE UNPACKED TO TMPFS. -#${eBOLD}STEP 2: DELETE TARBALL FROM SOURCE${eNORM} ( OPTIONAL ) +#${eBOLD}${eFGblu}STEP 2:${eNORM}${eBOLD} DELETE TARBALL FROM SOURCE${eNORM} ${eFGred}( OPTIONAL )${eNORM} DELETE THE TARBALL TO CREATE MORE SPACE ON THE CARD. -#${eBOLD}STEP 3: SELECT TARGET CARD${eNORM} -REDUCE THE FAT PARTITION BY $INSTALL_SIZE MB AND CREATE A NEW EXT2 +#${eBOLD}${eFGblu}STEP 3:${eNORM}${eBOLD} SELECT TARGET CARD${eNORM} +REDUCE THE FAT PARTITION BY ${eFGred}$INSTALL_SIZE MB${eNORM} AND CREATE A NEW EXT2 ( LINUX ) PARTITION IN THE SLACK SPACE. THE ROOTFS WILL BE UNPACKED TO THE EXT2 PARTITION, AND KERNEL COPIED TO THE -FAT PARTITION. FILES NECESSARY FOR BOOTING FAMILIAR WILL BE -PLACED IN THE /LINUX DIRECTORY ON YOUR CARD. +FAT PARTITION. ${eFGred}FILES NECESSARY FOR BOOTING FAMILIAR WILL BE +PLACED IN THE /LINUX DIRECTORY ON YOUR CARD.${eNORM} #-#-#-#-#-#-#-#-#-#-#-#-# 96:USE ${eFGgrn}OVERWRITE${eNORM} TO EXTRACT FILES WITHOUT FORMATTING FIRST. THIS ${eBOLD}MAY${eNORM} ALLOW YOU TO RECOVER A BROKEN INSTALLATION. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 05:55:45
|
Revision: 635 http://svn.sourceforge.net/ramdisk-rescue/?rev=635&view=rev Author: marcusbrutus Date: 2006-10-25 22:55:39 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Change "ARE YOU SURE" for WIPE CARD to default to NO. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-26 05:29:57 UTC (rev 634) +++ trunk/src/rescue_command.sh 2006-10-26 05:55:39 UTC (rev 635) @@ -1082,6 +1082,7 @@ card_menu mynode mycard "SELECT A CARD TO WIPE" if [ -n "$mycard" ] then + confirm_wipe=2 confirm_menu confirm_wipe "ARE YOU SURE YOU WANT TO WIPE?" "READY TO WIPE $mycard\n\t( $mynode )" if [ $confirm_wipe -eq 1 ] then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 05:30:03
|
Revision: 634 http://svn.sourceforge.net/ramdisk-rescue/?rev=634&view=rev Author: marcusbrutus Date: 2006-10-25 22:29:57 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Update CREDITS. Modified Paths: -------------- trunk/src/ramdisk-rescue Modified: trunk/src/ramdisk-rescue =================================================================== --- trunk/src/ramdisk-rescue 2006-10-26 05:25:37 UTC (rev 633) +++ trunk/src/ramdisk-rescue 2006-10-26 05:29:57 UTC (rev 634) @@ -47,15 +47,12 @@ THE AUTHOR WOULD LIKE TO THANK THE FOLLOWING PEOPLE FOR THEIR CONTRIBUTION TO ${eFGred}${MYPROGNAME}${eNORM}: -${eFGgrn}ZACH DYKSTRA${eNORM} - DONATION OF H2210 WITH BROKEN SCREEN. +${eFGgrn}BRAD KNOWLES, ZACH DYKSTRA + RUSSELL MUETZELFELDT${eNORM} + DONATION OR LOAN OF DEVICES FOR DEVELOPMENT. ${eFGgrn}PAUL SOKOLOVSKY${eNORM} CONVERSION TO SVN, AND SUPPORT FOR H4000 DEVICES. -${eFGgrn}RUSSELL MUETZELFELDT${eNORM} - LOAN OF HX4700 FOR TESTING. ${eFGgrn}MEMBERS OF THE H2200, H4000 AND HX4700 MAILING LISTS${eNORM} ON -HANDHELDS.ORG FOR THEIR WILLINGNESS TO TRY OUT NEW VERSIONS -OF ${eFGred}${MYPROGNAME}${eNORM}. +HANDHELDS.ORG FOR THEIR WILLINGNESS TO TRY NEW VERSIONS. ${eBOLD}THANK YOU ALL!${eNORM} @@ -64,7 +61,7 @@ ${eFGblu}MARCUS BROWN${eNORM}. <mar...@us...> -${eFGred}https://sourceforge.net/users/marcusbrutus${eNORM}' +${eFGred}http://sourceforge.net/users/marcusbrutus${eNORM}' ###################### This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 05:25:46
|
Revision: 633 http://svn.sourceforge.net/ramdisk-rescue/?rev=633&view=rev Author: marcusbrutus Date: 2006-10-25 22:25:37 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Corrected logic for finding missing files. Modified Paths: -------------- trunk/src/ramdisk-rescue trunk/src/rescue_command.sh Modified: trunk/src/ramdisk-rescue =================================================================== --- trunk/src/ramdisk-rescue 2006-10-26 02:13:48 UTC (rev 632) +++ trunk/src/ramdisk-rescue 2006-10-26 05:25:37 UTC (rev 633) @@ -506,17 +506,17 @@ then message "\tCHECKING $fatNode on $thisCard" missing_files=false - if [ ! -f "/mnt/source/${RR_PATH}/startup.txt" ] + if [ ! -f "/mnt/source/$"{RR_PATH}"/startup.txt" ] then err_msg "\tNOT FOUND: ${RR_PATH}/startup.txt" missing_files=true fi - if [ ! $(ls /mnt/source/${RR_PATH}/ramdisk-rescue-*.gz 2>/dev/null) ] + if [ -z "$(ls /mnt/source/"${RR_PATH}"/ramdisk-rescue-*.gz 2>/dev/null)" ] then err_msg "\tNOT FOUND: RamdiskRescue initrd" missing_files=true fi - if [ ! $(ls /mnt/source/${RR_PATH}/haret*.exe 2>/dev/null) ] + if [ -z "$(ls /mnt/source/"${RR_PATH}"/haret*.exe 2>/dev/null)" ] then err_msg "\tNOT FOUND: HaRET" missing_files=true Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-26 02:13:48 UTC (rev 632) +++ trunk/src/rescue_command.sh 2006-10-26 05:25:37 UTC (rev 633) @@ -525,7 +525,7 @@ [ $result -ge 8 ] && { let "result=result-8"; err_msg "\tOPERATIONAL ERROR."; } [ $result -ge 4 ] && { let "result=result-4"; err_msg "\tFILE SYSTEM ERRORS LEFT UNCORRECTED."; } [ $result -ge 2 ] && { let "result=result-2"; err_msg "\tSYSTEM SHOULD BE REBOOTED."; } - [ $result -ge 1 ] && err_msg "\tFILE SYSTEM ERRORS CORRECTED." + [ $result -ge 1 ] && err_msg "\tFILE SYSTEM ERRORS." } esac This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 02:13:52
|
Revision: 632 http://svn.sourceforge.net/ramdisk-rescue/?rev=632&view=rev Author: marcusbrutus Date: 2006-10-25 19:13:48 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Change "REMOVE LINUX" logic so "REMOVAL SUCCESSFULL" is not shown on failure or cancel. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-26 01:41:20 UTC (rev 631) +++ trunk/src/rescue_command.sh 2006-10-26 02:13:48 UTC (rev 632) @@ -1697,38 +1697,42 @@ message "\t( $ext2Node )" if . $RESCUE_CMD "DELETE PARTITION" "$mynode" "$ext2Node" then - message "EXT2 ( LINUX ) PARTITION SUCCESSFULLY REMOVED." - message "LOOKING FOR FAT PARTITION." - . $RESCUE_CMD "FIND FAT PARTITION" "$mynode" fatNode && - message "\t* FOUND *" || - message "\t* NOT FOUND *" - if [ -n "$fatNode" ] - then - if . $RESCUE_CMD "GROW FAT PARTITION" "$mycard" "$mynode" "$fatNode" - then - message "FAT PARTITION SUCCESSFULLY RESIZED." - success=true - else - err_msg "ERROR RESIZING FAT PARTITION." - fi - else - err_msg "FAT PARTITION NOT FOUND TO RESIZE." - #success=true - fi + message "EXT2 ( LINUX ) PARTITION SUCCESSFULLY REMOVED." + message "LOOKING FOR FAT PARTITION." + . $RESCUE_CMD "FIND FAT PARTITION" "$mynode" fatNode && + message "\t* FOUND *" || + message "\t* NOT FOUND *" + if [ -n "$fatNode" ] + then + if . $RESCUE_CMD "GROW FAT PARTITION" "$mycard" "$mynode" "$fatNode" + then + message "FAT PARTITION SUCCESSFULLY RESIZED." + message "REMOVAL SUCCESSFULL." + success=true + else + err_msg "ERROR RESIZING FAT PARTITION." + success=false + fi + else + err_msg "FAT PARTITION NOT FOUND TO RESIZE." + success=false + fi else - err_msg "ERROR REMOVING EXT2 ( LINUX ) PARTITION." + err_msg "ERROR REMOVING EXT2 ( LINUX ) PARTITION." + success=false fi else err_msg "REMOVAL ABORTED${confirm_removal:+ ($confirm_removal)}." + success=false fi else err_msg "EXT2 PARTITION NOT FOUND." - #success=true + success=false fi else err_msg "SELECTION ABORTED." + success=false fi - $success && message "REMOVAL SUCCESSFULL." unset mycard mynode ext2Node fatNode confirm_removal echo ;; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 01:41:25
|
Revision: 631 http://svn.sourceforge.net/ramdisk-rescue/?rev=631&view=rev Author: marcusbrutus Date: 2006-10-25 18:41:20 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Change "DELETE TARBALL" so possible to delete "non-tarball" rootfs. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-26 01:36:23 UTC (rev 630) +++ trunk/src/rescue_command.sh 2006-10-26 01:41:20 UTC (rev 631) @@ -1358,7 +1358,7 @@ if mount -t vfat $fatNode /mnt/source 1>/dev/ttyS0 2>&1 then message "DELETING IMAGE FROM $mycard" - if rm "$(ls -d /mnt/source/${IMAGE_PATH}/boot*.tar | head -1)" + if rm "$(ls -d /mnt/source/${IMAGE_PATH}/*.tar* | head -1)" then message "IMAGE SUCCESSFULLY DELETED." else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-26 01:36:29
|
Revision: 630 http://svn.sourceforge.net/ramdisk-rescue/?rev=630&view=rev Author: marcusbrutus Date: 2006-10-25 18:36:23 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Recalculate fatNode after resize in case it has been moves (logical to primary). Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-25 13:17:11 UTC (rev 629) +++ trunk/src/rescue_command.sh 2006-10-26 01:36:23 UTC (rev 630) @@ -1438,6 +1438,14 @@ success=false err_msg "ERROR FINDING EXT2 PARTITION." fi + if . $RESCUE_CMD "FIND FAT PARTITION" "$mynode" fatNode + then + message "FAT ( WIN ) PARTITION STILL AVAILABLE." + success=true + else + success=false + err_msg "ERROR FINDING FAT PARTITION." + fi else success=false err_msg "ERROR CREATING EXT2 ( LINUX ) PARTITION." This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-25 13:17:24
|
Revision: 629 http://svn.sourceforge.net/ramdisk-rescue/?rev=629&view=rev Author: marcusbrutus Date: 2006-10-25 06:17:11 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Added test and message to recommend deleting tarball if target INSTALL_SIZE will not quite fit. Modified Paths: -------------- trunk/src/rescue_command.sh Modified: trunk/src/rescue_command.sh =================================================================== --- trunk/src/rescue_command.sh 2006-10-25 00:14:50 UTC (rev 628) +++ trunk/src/rescue_command.sh 2006-10-25 13:17:11 UTC (rev 629) @@ -222,31 +222,47 @@ } #disk_usage /mnt/mmc2 used avail; echo $used $avail -enough_space () -# Return true if avail space on partition -# $1=partition device node -# $2=desired space -# $3=partition type (default=auto) +check_for_enough_space () +# Return: +# 0 (true) if avail space on partition +# 1 if not enough space +# 2 if not enough space but deletion of tarball would be sufficient. +# $1 = partition device node +# $2 = desired space +# $3 = partition type (default=auto) { - local card="$1" - local availMB=0 usedMB=0 enough=true + local card="$1" desiredSpace="$2" partType="$3" + local availMB=0 usedMB=0 enough=0 + local tarballSize=0 availPlusTarball=0 mkdir -p /mnt/tmp - mount -t ${3:-auto} $1 /mnt/tmp 1>/dev/ttyS0 2>&1 + mount -t ${partType:-auto} $card /mnt/tmp 1>/dev/ttyS0 2>&1 disk_usage "$card" usedMB availMB - #availMB=$( - # df -m | grep "$card" | head -1 | - # { read node sizeMB usedMB availMB etc; echo $availMB; } - # ) + tarballSize="$( + du -shm /mnt/tmp/"${IMAGE_PATH}"/*.tar* 2>/dev/null | + sed "s/\([0-9]*\)\([[:space:]].*$\)/\1/" + )" umount /mnt/tmp 1>/dev/ttyS0 2>&1 + is_numeric "$availMB" || availMB=0 + is_numeric "$tarballSize" || tarballSize=0 + let "availPlusTarball=availMB+tarballSize" message "SPACE AVAILABLE ON $card: $availMB MB" - if [ $availMB -lt $2 ] - then - err_msg "NOT ENOUGH SPACE TO RESIZE" - err_msg "MINIMUM $2 MB FREE REQUIRED" - enough=false - fi - $enough + message "TARBALL SIZE: $tarballSize MB" + if [ $availMB -ge $desiredSpace ] + then + message "ENOUGH SPACE FOUND FOR RESIZE." + else + err_msg "NOT ENOUGH SPACE TO RESIZE." + err_msg "MINIMUM ${desiredSpace} MB FREE REQUIRED." + if [ $availPlusTarball -ge $desiredSpace ] + then + enough=2 + err_msg "TARBALL SIZE IS ${tarballSize} MB." + else + enough=1 + fi + fi + return $enough } cluster_fscked () @@ -1649,7 +1665,8 @@ echo echo -e "${eFGred}HARD-RESET THIS $COMPUTER AND RUN HARET TO BOOT LINUX.${eNORM}" fi - unset mycard mynode ext2Node fatNode overwrite + unset overwrite + #unset mycard mynode ext2Node fatNode echo ;; "REMOVE LINUX") @@ -1805,13 +1822,25 @@ # $3 = FAT PARTITION NODE # return status=true if successful success=false - if enough_space "$3" "$INSTALL_SIZE" "vfat" - then + check_for_enough_space "$3" "$INSTALL_SIZE" "vfat" + case $? in + 0) partition_shrink_and_create "$2" "$INSTALL_SIZE" && success=true - else + ;; + 2) + err_msg "EITHER:" + err_msg " - DELETE TARBALL BEFORE SELECTING TARGET" + err_msg " ( SEE OPTION 2 IN THE INSTALL MENU )." + err_msg " - REDUCE INSTALL_SIZE IN startup.txt BEFORE BOOT." + echo err_msg "ABORTING." - fi + ;; + *) + echo + err_msg "ABORTING." + ;; + esac shift; shift; shift ;; "DELETE PARTITION") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |