Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] CSSU Testing thread

    Reply
    Page 55 of 189 | Prev | 45   53     54   55   56     57   65 | Next | Last
    larsoy | # 541 | 2012-04-08, 18:11 | Report

    Originally Posted by cy8aer View Post
    can someone create a md5sum for the /etc/init.d/ke-recv please? I copied one from another n900 pre 3.1 cssu and reinstalled ke-recv. Now I have:

    f2a5b084122e40da19f8223505ca4434 /etc/init.d/ke-recv

    Is this the actual version?
    It's the same version as I have with 3.1 cssu.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to larsoy For This Useful Post:
    cy8aer, joerg_rw, Sourav.dubey

     
    greenstorm | # 542 | 2012-04-08, 18:34 | Report

    Experiencing the same problem as everybody else, being just as unsuccessfull as everybody else.

    Reinstalled mp-community-pr-thingy and ke-recv, updated stuff - nothing did help so far.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Kaamp | # 543 | 2012-04-08, 18:46 | Report

    Originally Posted by pali View Post
    Problem with ke-recv is because MAG did not used correct fremantle dpkg & debhleper version and created bad ke-recv package.

    Everyone who has problem try to use new merlin version:
    http://cdnm.at/~christian/maemo/ke-r...9-14_armel.deb

    Next problem is that MAG's version in CSSU-T repo creating invalid symlink /etc/init.d/ke-recv. So before installing new version bad symlink must be deleted.

    Code:
    $ wget http://cdnm.at/~christian/maemo/ke-recv_3.19-14_armel.deb
    $ rm -f /etc/init.d/ke-recv
    $ dpkg -i ke-recv_3.19-14_armel.deb

    This worked for my.
    Big thank you!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    joerg_rw | # 544 | 2012-04-08, 19:07 | Report

    some generic thoughts:
    do you all use root account for apt-get and to meddle with files in /etc/init.d/* ?
    Who of you has a uSD installed? who not? You know uSD inserted changes names of mmcblk* (age old problem that still shows up in some locations of kernel, while in others the latter rename by udev "fixes" stuff)

    PRE(!)_any_update:
    Code:
    IroN900:~# ls -l /etc/init.d/ke*
    -rwxr-xr-x 1 root root 3629 2009-08-28 14:52 /etc/init.d/ke-recv
    Code:
    IroN900:~# cat /etc/init.d/ke-recv                              
    #!/bin/sh                                                       
    #                                                               
    # ke-recv       HAL-based automatic mounting etc.               
    #                                                               
    # Copyright (C) 2004-2009 Nokia Corporation. All rights reserved.
    #                                                                
    # This program is free software; you can redistribute it and/or  
    # modify it under the terms of the GNU General Public License    
    # version 2 as published by the Free Software Foundation.        
    #                                                                
    # This program is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of         
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  
    # General Public License for more details.                           
    #                                                                    
    # You should have received a copy of the GNU General Public License  
    # along with this program; if not, write to the Free Software        
    # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA          
    # 02110-1301 USA                                                     
    
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    DAEMON=/usr/sbin/ke-recv                                         
    NAME=ke-recv                                                     
    DESC="ke-recv"                                                   
    USER=root                                                        
    DTOOL=/usr/sbin/dsmetool                                         
    PARAMS=''                                                        
    
    test -x $DAEMON || exit 0
    
    # create place for ke-recv's GConf keys to RAM disk and make a symbolic
    # link to it for keys that do not need to be permanent                 
    mkdir -p /tmp/gconf-dir/system/osso/af                                 
    chmod ugo+rwx -R /tmp/gconf-dir                                        
    if [ -d /etc/osso-af-init/gconf-dir/system/osso/af ]; then             
      rm -rf /etc/osso-af-init/gconf-dir/system/osso/af                    
    fi                                                                     
    if [ ! -e /etc/osso-af-init/gconf-dir/system/osso/af ]; then           
      ln -s /tmp/gconf-dir/system/osso/af \                                
            /etc/osso-af-init/gconf-dir/system/osso/af                     
    fi                                                                     
    
    source /etc/osso-af-init/af-defines.sh
    
    # FIXME: these should come from startup scripts
    export MMC_MOUNTPOINT='/media/mmc1'            
    export INTERNAL_MMC_MOUNTPOINT='/home/user/MyDocs'
    
    /sbin/lsmod | grep "\(g_ether\)" > /dev/null
    if [ $? = 0 ]; then                         
      echo "$DESC: USB networking enabled, ignoring USB cable"
      export OSSO_KE_RECV_IGNORE_CABLE=1                      
    fi                                                        
    
    case "$1" in
      start)    
            modprobe omap_hsmmc
            modprobe sd_mod    
    
            # Start daemons
            echo -n "Starting $DESC: "
    
            # check if this is the first boot
            if [ -e /home/user/first-boot-flag ]; then
                    export FIRST_BOOT=1               
            fi                                        
    
            # check if this is TA image
            if [ -x /usr/bin/sysinfo-tool ]; then
                    sysinfo-tool -g /device/sw-release-ver | grep -q _TA_
                    if [ $? = 0 ]; then                                  
                            export TA_IMAGE=1                            
                            # modprobe g_nokia automatically in TA images
                            /usr/sbin/pcsuite-enable.sh                  
                    fi                                                   
            fi                                                           
    
            if [ "x$TA_IMAGE" = "x" ]; then
                    if [ -e /var/lib/ke-recv/usb_phonet_mode ]; then
                            /sbin/modprobe g_nokia                  
                            rm -f /var/lib/ke-recv/usb_phonet_mode  
                            sync                                    
                    else                                            
                            # g_file_storage is loaded as the default
                            /sbin/modprobe g_file_storage stall=0 luns=2 removable
                    fi                                                            
            fi                                                                    
    
            if [ -x $DTOOL ]; then
                    $DTOOL -U $USER -n -1 -t $DAEMON
            else
                    start-stop-daemon -b --start --quiet --user $USER \
                            --exec $DAEMON -- $PARAMS
            fi
            echo "$NAME."
            ;;
      stop)
            echo -n "Stopping $DESC: "
    
            if [ -x $DTOOL ]; then
                    $DTOOL -k $DAEMON
            else
                    start-stop-daemon --stop --quiet --oknodo --user $USER \
                            --exec $DAEMON -- $PARAMS
            fi
    
            echo "$NAME."
            ;;
      reload|restart|force-reload)
            #
            #       If the "reload" option is implemented, move the "force-reload"
            #       option to the "reload" entry above. If not, "force-reload" is
            #       just the same as "restart".
            #
            "$0" stop
            "$0" start
            ;;
      *)
            N=/etc/init.d/$NAME
            # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
            echo "Usage: $N {start|stop|restart|force-reload}" >&2
            exit 1
            ;;
    esac
    
    exit 0
    IroN900:~#

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by joerg_rw; 2012-04-08 at 20:06.
    The Following 4 Users Say Thank You to joerg_rw For This Useful Post:
    awroax, Bahador, shanttu, Sourav.dubey

     
    pusak gaoq | # 545 | 2012-04-08, 19:11 | Report

    Just updated my device to the latest version of CSSU testing...so far not having trouble like other member have regarding MyDocs & ext2....look like member who converted their MyDocs & ext2 partition on their SD will have a major error on latest Testing version....

    anyway...thank you for this latest update CSSU team...i'm going to test it & will update if i found a bug later on...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to pusak gaoq For This Useful Post:
    Santhan, Sourav.dubey

     
    scoobydoo | # 546 | 2012-04-08, 19:23 | Report

    this is what worked for me when i lost access to MyDocs and mmc
    as root

    Apt-get update
    apt-get upgrade
    apt-get install --reinstall ke-recv
    chmod +rwx /etc/init.d/ke-recv

    one after the other and not as a single copy and paste

    following advice from StocChr

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to scoobydoo For This Useful Post:
    Sourav.dubey

     
    awroax | # 547 | 2012-04-08, 20:07 | Report

    Now I got MyDocs working by coping this :

    Originally Posted by joerg_rw View Post
    Code:
                               
    #!/bin/sh                                                       
    #                                                               
    # ke-recv       HAL-based automatic mounting etc.               
    #                                                               
    # Copyright (C) 2004-2009 Nokia Corporation. All rights reserved.
    #                                                                
    # This program is free software; you can redistribute it and/or  
    # modify it under the terms of the GNU General Public License    
    # version 2 as published by the Free Software Foundation.        
    #                                                                
    # This program is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of         
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  
    # General Public License for more details.                           
    #                                                                    
    # You should have received a copy of the GNU General Public License  
    # along with this program; if not, write to the Free Software        
    # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA          
    # 02110-1301 USA                                                     
    
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    DAEMON=/usr/sbin/ke-recv                                         
    NAME=ke-recv                                                     
    DESC="ke-recv"                                                   
    USER=root                                                        
    DTOOL=/usr/sbin/dsmetool                                         
    PARAMS=''                                                        
    
    test -x $DAEMON || exit 0
    
    # create place for ke-recv's GConf keys to RAM disk and make a symbolic
    # link to it for keys that do not need to be permanent                 
    mkdir -p /tmp/gconf-dir/system/osso/af                                 
    chmod ugo+rwx -R /tmp/gconf-dir                                        
    if [ -d /etc/osso-af-init/gconf-dir/system/osso/af ]; then             
      rm -rf /etc/osso-af-init/gconf-dir/system/osso/af                    
    fi                                                                     
    if [ ! -e /etc/osso-af-init/gconf-dir/system/osso/af ]; then           
      ln -s /tmp/gconf-dir/system/osso/af \                                
            /etc/osso-af-init/gconf-dir/system/osso/af                     
    fi                                                                     
    
    source /etc/osso-af-init/af-defines.sh
    
    # FIXME: these should come from startup scripts
    export MMC_MOUNTPOINT='/media/mmc1'            
    export INTERNAL_MMC_MOUNTPOINT='/home/user/MyDocs'
    
    /sbin/lsmod | grep "\(g_ether\)" > /dev/null
    if [ $? = 0 ]; then                         
      echo "$DESC: USB networking enabled, ignoring USB cable"
      export OSSO_KE_RECV_IGNORE_CABLE=1                      
    fi                                                        
    
    case "$1" in
      start)    
            modprobe omap_hsmmc
            modprobe sd_mod    
    
            # Start daemons
            echo -n "Starting $DESC: "
    
            # check if this is the first boot
            if [ -e /home/user/first-boot-flag ]; then
                    export FIRST_BOOT=1               
            fi                                        
    
            # check if this is TA image
            if [ -x /usr/bin/sysinfo-tool ]; then
                    sysinfo-tool -g /device/sw-release-ver | grep -q _TA_
                    if [ $? = 0 ]; then                                  
                            export TA_IMAGE=1                            
                            # modprobe g_nokia automatically in TA images
                            /usr/sbin/pcsuite-enable.sh                  
                    fi                                                   
            fi                                                           
    
            if [ "x$TA_IMAGE" = "x" ]; then
                    if [ -e /var/lib/ke-recv/usb_phonet_mode ]; then
                            /sbin/modprobe g_nokia                  
                            rm -f /var/lib/ke-recv/usb_phonet_mode  
                            sync                                    
                    else                                            
                            # g_file_storage is loaded as the default
                            /sbin/modprobe g_file_storage stall=0 luns=2 removable
                    fi                                                            
            fi                                                                    
    
            if [ -x $DTOOL ]; then
                    $DTOOL -U $USER -n -1 -t $DAEMON
            else
                    start-stop-daemon -b --start --quiet --user $USER \
                            --exec $DAEMON -- $PARAMS
            fi
            echo "$NAME."
            ;;
      stop)
            echo -n "Stopping $DESC: "
    
            if [ -x $DTOOL ]; then
                    $DTOOL -k $DAEMON
            else
                    start-stop-daemon --stop --quiet --oknodo --user $USER \
                            --exec $DAEMON -- $PARAMS
            fi
    
            echo "$NAME."
            ;;
      reload|restart|force-reload)
            #
            #       If the "reload" option is implemented, move the "force-reload"
            #       option to the "reload" entry above. If not, "force-reload" is
            #       just the same as "restart".
            #
            "$0" stop
            "$0" start
            ;;
      *)
            N=/etc/init.d/$NAME
            # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
            echo "Usage: $N {start|stop|restart|force-reload}" >&2
            exit 1
            ;;
    esac
    
    exit 0
    as /etc/init.d/ke-recv and then running chmod +rwx /etc/init.d/ke-recv

    Problem is still the ext2 partition of SD card, which is giving "not recognized" error. It might be caused by the modifications I have previously done to files /usr/sbin/osso-mmc-mount.sh & /usr/sbin/mmc-mount according to this wiki http://wiki.maemo.org/Ext2_on_microSD_card .
    So if someone could post the current versions of those files that might fix it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    joerg_rw | # 548 | 2012-04-08, 20:07 | Report

    Originally Posted by scoobydoo View Post
    this is what worked for me when i lost access to MyDocs and mmc
    as root

    Apt-get update
    apt-get upgrade
    apt-get install --reinstall ke-recv
    chmod +rwx /etc/init.d/ke-recv

    one after the other and not as a single copy and paste

    following advice from StocChr
    NEVER DO apt-get upgrade! [/quote origin=common-sense]

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to joerg_rw For This Useful Post:
    Sourav.dubey

     
    merlin1991 | # 549 | 2012-04-08, 20:41 | Report

    Okay to clear this once and for all, here is the official cssu way™ to recover from this situation:

    If you're still on cssu <= 2.1 (21.2011.38-1Tmaemo2.1) just update to 3.1 nothing bad will happen

    If you're still on cssu 3 (21.2011.38-1Tmaemo3) run as root:
    Code:
    rm /etc/init.d/ke-recv
    apt-get update
    apt-get install mp-fremantle-community-pr
    dsmetool -b
    If you're on cssu 3.1 (21.2011.38-1Tmaemo3.1) and still experience the problems (thus had version 3 installed before) run this as root:
    Code:
    dpkg --purge --force-all ke-recv
    apt-get install ke-recv
    dsmetool -b
    If you experience the problems even after following the above advice, please join #maemo-ssu on freenode and ping me

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by merlin1991; 2012-04-09 at 11:37. Reason: messed up version numbers
    The Following 17 Users Say Thank You to merlin1991 For This Useful Post:
    Amboss, Bahador, Estel, fw190, int_ua, ivgalvez, joerg_rw, Joseph9560, juz, kent_autistic, Laza, mrsellout, pusak gaoq, Santhan, sbock, shanttu, Sourav.dubey

     
    scoobydoo | # 550 | 2012-04-08, 22:12 | Report

    Originally Posted by joerg_rw View Post
    NEVER DO apt-get upgrade! [/quote origin=common-sense]
    normally i would'nt but all else failed and those were the steps that got me out of trouble

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 55 of 189 | Prev | 45   53     54   55   56     57   65 | Next | Last
vBulletin® Version 3.8.8
Normal Logout