Active Topics

 


Reply
Thread Tools
Posts: 37 | Thanked: 200 times | Joined on Dec 2009 @ Norway
#541
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.
 

The Following 3 Users Say Thank You to larsoy For This Useful Post:
Posts: 53 | Thanked: 9 times | Joined on Apr 2012
#542
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.
 
Posts: 29 | Thanked: 15 times | Joined on Jun 2010 @ Twente, NL
#543
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!!
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#544
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:~#
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

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:
pusak gaoq's Avatar
Posts: 723 | Thanked: 519 times | Joined on Nov 2010 @ Kuching:Malaysia
#545
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...
__________________
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro
 

The Following 2 Users Say Thank You to pusak gaoq For This Useful Post:
Posts: 101 | Thanked: 47 times | Joined on Aug 2010 @ somerset
#546
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
 

The Following User Says Thank You to scoobydoo For This Useful Post:
Posts: 14 | Thanked: 9 times | Joined on Aug 2011
#547
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.
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#548
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]
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following User Says Thank You to joerg_rw For This Useful Post:
merlin1991's Avatar
Posts: 125 | Thanked: 1,142 times | Joined on Feb 2010 @ Austria
#549
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
__________________
"Fog is neither water nor air, it's something between." Merlin

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:
Posts: 101 | Thanked: 47 times | Joined on Aug 2010 @ somerset
#550
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
 
Reply

Tags
cssu testing


 
Forum Jump


All times are GMT. The time now is 22:30.