Subject: Re: bug#13390: tramp-adb hanging forever

From: Thierry Volpiatto <[email-masked]>
Date: Mon, 18 Feb 2013 17:14:45 +0100

Hi Michael, here the backtrace from emacs -Q, with minimal settings:

--8<---------------cut here---------------start------------->8---
(when (require 'tramp)
  (add-to-list 'tramp-connection-properties
	       (list (regexp-quote "192.168.0.24") "remote-shell" "/system/bin/sh"))
  (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
  (add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME/tmp"))

(setq tramp-verbose 6)
--8<---------------cut here---------------end--------------->8---

The server on device is dropbear server.

> I will send you a trace from emacs -Q soon, but looks like errors are
> the same.

--8<---------------cut here---------------start------------->8---
;; GNU Emacs: 24.3.50.1 Tramp: 2.2.7-pre -*- mode: outline; -*-
17:07:08.497841 tramp-maybe-open-connection (3) # Opening connection for 192.168.0.24#2222 using ssh...
17:07:08.500636 tramp-maybe-open-connection (6) # /bin/sh -i
17:07:08.501796 tramp-wait-for-regexp (6) # 
#$ 
17:07:08.527589 tramp-maybe-open-connection (3) # Sending command `exec ssh  -p 2222 -o ControlPath=/tmp/tramp.1666_uw.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24'
17:07:08.527840 tramp-send-command (6) # exec ssh  -p 2222 -o ControlPath=/tmp/tramp.1666_uw.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24
17:07:08.528293 tramp-process-actions (3) # Waiting for prompts from remote shell
17:07:09.529669 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:09.530158 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:09.530605 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:09.531057 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:09.531526 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:09.532153 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:09.532846 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:09.533244 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:09.533535 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:09.533814 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:10.535549 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:10.536202 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:10.536646 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:10.537072 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:10.537466 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:10.537766 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:10.538054 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:10.538336 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:10.538608 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:10.538882 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:11.539863 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:11.540546 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:11.540990 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:11.541423 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:11.541800 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:11.542182 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:11.542609 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:11.542955 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:11.543232 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:11.543510 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:12.544432 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:12.544906 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:12.545326 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:12.545745 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:12.546134 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:12.546508 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:12.546886 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:12.547274 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:12.547774 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:12.548116 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:13.438306 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:13.438896 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:13.439345 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:13.439893 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:13.440228 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:13.440536 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:13.440820 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:13.441110 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:13.441381 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:13.441658 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:13.831108 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:13.831881 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:13.832332 tramp-process-one-action (5) # Call `tramp-action-password'
17:07:13.833135 tramp-action-password (3) # Sending password
17:07:13.836913 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:13.837327 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:13.837630 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:13.837943 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:13.838251 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:13.838551 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:13.838839 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:13.839126 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:13.839939 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:13.840255 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:13.840581 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:13.840900 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:13.841185 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:13.841470 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:13.841764 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:13.842047 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:13.842325 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:13.842604 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:14.462229 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:14.462839 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:14.463159 tramp-process-one-action (5) # Call `tramp-action-password'
17:07:14.463806 tramp-action-password (3) # Sending password
17:07:20.568808 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:20.569304 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:20.569625 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:20.569937 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:20.570260 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:20.570564 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:20.570854 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:20.571144 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:20.572183 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:20.572630 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:20.572978 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:20.573299 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:20.573588 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:20.573880 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:20.574168 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:20.574462 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:20.574740 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:20.575017 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:21.575909 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:21.576442 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:21.577051 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:21.577407 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:21.577694 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:21.577983 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:21.578273 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:21.578559 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:21.578834 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:21.579117 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:22.088978 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:22.089483 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:22.089951 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:22.090401 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:22.090804 tramp-process-one-action (5) # Call `tramp-action-succeed'
17:07:22.091185 tramp-process-actions (6) # 
Welcome to DropBear SSH Server II!
[email-masked]'s password: 
Permission denied, please try again.
[email-masked]'s password: 
-sh-3.2# 
17:07:22.092617 tramp-maybe-open-connection (3) # Found remote shell prompt on `192.168.0.24'
17:07:22.092941 tramp-open-shell (5) # Opening remote shell `/system/bin/sh'...
17:07:22.093423 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /system/bin/sh 
17:07:22.482268 tramp-wait-for-regexp (6) # 
#$ 
17:07:22.483025 tramp-send-command (6) # PS1=\#\$\ 
17:07:22.875139 tramp-wait-for-regexp (6) # 
#$ 
17:07:22.875585 tramp-send-command (6) # PS2=''
17:07:23.268152 tramp-wait-for-regexp (6) # 
#$ 
17:07:23.268727 tramp-send-command (6) # PS3=''
17:07:23.661381 tramp-wait-for-regexp (6) # 
#$ 
17:07:23.662027 tramp-send-command (6) # PROMPT_COMMAND=''
17:07:24.054676 tramp-wait-for-regexp (6) # 
#$ 
17:07:24.077590 tramp-open-shell (5) # Opening remote shell `/system/bin/sh'...done
17:07:24.077712 tramp-open-connection-setup-interactive-shell (5) # Setting up remote shell environment
17:07:24.077833 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H'
17:07:24.644143 tramp-wait-for-regexp (6) # 
#$ 
17:07:24.644445 tramp-send-command (6) # echo foo
17:07:25.037586 tramp-wait-for-regexp (6) # 
foo
#$ 
17:07:25.037792 tramp-open-connection-setup-interactive-shell (5) # Setting shell prompt
17:07:25.038018 tramp-send-command (6) # PS1=///9438227436be04d7188a7bf65fe79808\#\$
17:07:25.405679 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:25.405942 tramp-send-command (6) # PS2=''
17:07:25.824131 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:25.824949 tramp-send-command (6) # PS3=''
17:07:26.217500 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:26.218347 tramp-send-command (6) # PROMPT_COMMAND=''
17:07:26.610431 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:26.611036 tramp-open-connection-setup-interactive-shell (5) # Determining coding system
17:07:26.611499 tramp-send-command (6) # echo foo ; echo bar
17:07:27.004187 tramp-wait-for-regexp (6) # 
foo
bar
///9438227436be04d7188a7bf65fe79808#$
17:07:27.004738 tramp-open-connection-setup-interactive-shell (5) # Setting coding system to `utf-8-unix' and `utf-8-unix'
17:07:27.005085 tramp-send-command (6) # set +o vi +o emacs
17:07:27.397292 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:27.397901 tramp-open-connection-setup-interactive-shell (5) # Checking system information
17:07:27.398604 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $?
17:07:27.790441 tramp-wait-for-regexp (6) # 
"Linux 2.6.35.7-perf+"
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:27.791313 tramp-open-connection-setup-interactive-shell (5) # Checking remote host type for `send-process-string' bug
17:07:27.791829 tramp-set-remote-path (5) # Setting $PATH environment variable
17:07:27.792489 tramp-send-command (6) # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo tramp_exit_status $?
17:07:28.380391 tramp-wait-for-regexp (6) # 
""
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:28.381524 tramp-send-command (6) # echo \"$PATH\" 2>/dev/null; echo tramp_exit_status $?
17:07:28.773665 tramp-wait-for-regexp (6) # 
"/sbin:/system/sbin:/system/bin:/system/xbin"
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:28.776118 tramp-get-test-command (5) # Finding a suitable `test' command
17:07:28.776676 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $?
17:07:29.362955 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:29.364205 tramp-send-command (6) # test -d /sbin 2>/dev/null; echo tramp_exit_status $?
17:07:29.756463 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:29.759033 tramp-send-command (6) # test -d /system/sbin 2>/dev/null; echo tramp_exit_status $?
17:07:30.345961 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:30.348629 tramp-send-command (6) # test -d /system/bin 2>/dev/null; echo tramp_exit_status $?
17:07:30.935684 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:30.937790 tramp-send-command (6) # test -d /system/xbin 2>/dev/null; echo tramp_exit_status $?
17:07:31.329264 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:31.331407 tramp-send-command (6) # test -d /bin 2>/dev/null; echo tramp_exit_status $?
17:07:31.918966 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:31.921509 tramp-send-command (6) # test -d /usr/bin 2>/dev/null; echo tramp_exit_status $?
17:07:32.508751 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:32.511369 tramp-send-command (6) # test -d /usr/sbin 2>/dev/null; echo tramp_exit_status $?
17:07:33.099085 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:33.101725 tramp-send-command (6) # test -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $?
17:07:33.688292 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:33.690803 tramp-send-command (6) # test -d /usr/local/sbin 2>/dev/null; echo tramp_exit_status $?
17:07:34.278317 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:34.280930 tramp-send-command (6) # test -d /local/bin 2>/dev/null; echo tramp_exit_status $?
17:07:34.868121 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:34.870376 tramp-send-command (6) # test -d /local/freeware/bin 2>/dev/null; echo tramp_exit_status $?
17:07:35.406252 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:35.408904 tramp-send-command (6) # test -d /local/gnu/bin 2>/dev/null; echo tramp_exit_status $?
17:07:35.851094 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:35.853813 tramp-send-command (6) # test -d /usr/freeware/bin 2>/dev/null; echo tramp_exit_status $?
17:07:36.441141 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:36.443876 tramp-send-command (6) # test -d /usr/pkg/bin 2>/dev/null; echo tramp_exit_status $?
17:07:37.030793 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:37.033460 tramp-send-command (6) # test -d /usr/contrib/bin 2>/dev/null; echo tramp_exit_status $?
17:07:37.620593 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:37.623294 tramp-send-command (6) # test -d /opt/bin 2>/dev/null; echo tramp_exit_status $?
17:07:38.209959 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:38.212158 tramp-send-command (6) # test -d /opt/sbin 2>/dev/null; echo tramp_exit_status $?
17:07:38.604255 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:38.624696 tramp-send-command (6) # test -d /opt/local/bin 2>/dev/null; echo tramp_exit_status $?
17:07:39.193656 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:39.194742 tramp-send-command (6) # PATH=/sbin:/system/bin:/system/xbin; export PATH
17:07:39.586602 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:39.587734 tramp-send-command (6) # /system/bin/sh --version
17:07:39.980098 tramp-wait-for-regexp (6) # 
GNU bash, version 3.2.0(7)-release (arm-none-linux-gnueabi)
Copyright (C) 2005 Free Software Foundation, Inc.
///9438227436be04d7188a7bf65fe79808#$
17:07:39.980860 tramp-send-command (6) # mesg n; biff n
17:07:40.373505 tramp-wait-for-regexp (6) # 
sh: biff: command not found
///9438227436be04d7188a7bf65fe79808#$
17:07:40.374488 tramp-send-command (6) # echo \"`tty`\" 2>/dev/null; echo tramp_exit_status $?
17:07:40.766859 tramp-wait-for-regexp (6) # 
sh: tty: command not found
""
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:40.767876 tramp-open-connection-setup-interactive-shell (5) # Setting default environment
17:07:40.768395 tramp-send-command (6) # TMPDIR=$HOME/tmp; export TMPDIR
17:07:41.159563 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:41.160482 tramp-send-command (6) # HISTFILE=$HOME/.tramp_history; export HISTFILE
17:07:41.552612 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:41.553326 tramp-send-command (6) # HISTSIZE=1; export HISTSIZE
17:07:41.946179 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:41.946910 tramp-send-command (6) # LC_ALL=C; export LC_ALL
17:07:42.339026 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:42.339872 tramp-send-command (6) # TERM=dumb; export TERM
17:07:42.732265 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:42.732850 tramp-send-command (6) # EMACS=t; export EMACS
17:07:43.125491 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:43.126233 tramp-send-command (6) # INSIDE_EMACS='24.3.50.1,tramp:2.2.7-pre'; export INSIDE_EMACS
17:07:43.518521 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:43.519165 tramp-send-command (6) # PAGER=""; export PAGER
17:07:43.911756 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:43.912523 tramp-send-command (6) # unset correct autocorrect MAILPATH MAILCHECK MAIL HISTORY CDPATH
17:07:44.305528 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:44.306797 tramp-maybe-open-connection (3) # Opening connection for 192.168.0.24#2222 using ssh...done
17:07:44.307222 tramp-send-command (6) # cd ~; pwd
17:07:44.698797 tramp-wait-for-regexp (6) # 
/data/local
///9438227436be04d7188a7bf65fe79808#$
17:07:44.700521 tramp-get-file-exists-command (5) # Finding command to check if file exists
17:07:44.701236 tramp-send-command (6) # test -e / 2>/dev/null; echo tramp_exit_status $?
17:07:45.288365 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:45.289428 tramp-send-command (6) # test -e /\ this\ file\ does\ not\ exist\  2>/dev/null; echo tramp_exit_status $?
17:07:45.681904 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:45.683014 tramp-send-command (6) # test -e /data/local/ 2>/dev/null; echo tramp_exit_status $?
17:07:46.074948 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:46.079164 tramp-send-command (6) # test -d /data/local 2>/dev/null; echo tramp_exit_status $?
17:07:46.664383 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:46.703476 tramp-get-ls-command-with-dired (5) # Checking, whether `ls --dired' works
17:07:46.703762 tramp-get-ls-command (5) # Finding a suitable `ls' command
17:07:46.704325 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
17:07:47.254653 tramp-wait-for-regexp (6) # 
tramp_executable /system/xbin/ls
///9438227436be04d7188a7bf65fe79808#$
17:07:47.255569 tramp-send-command (6) # /system/xbin/ls -lnd / 2>/dev/null; echo tramp_exit_status $?
17:07:47.647227 tramp-wait-for-regexp (6) # 
drwxr-xr-x   14 0        0                0 Feb 16 21:57 [1;34m/[0m
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:47.647961 tramp-send-command (6) # /system/xbin/ls --color=never -al /dev/null 2>/dev/null; echo tramp_exit_status $?
17:07:48.040953 tramp-wait-for-regexp (6) # 
crw-rw-rw-    1 0        0           1,   3 Feb 16 21:57 /dev/null
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:48.041893 tramp-send-command (6) # /system/xbin/ls --color=never --dired -al /dev/null 2>/dev/null; echo tramp_exit_status $?
17:07:48.434163 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:48.434798 tramp-sh-handle-insert-directory (4) # Inserting directory `ls -al /ssh:192.168.0.24#2222:/data/local/', wildcard no, fulldir yes
17:07:48.435380 tramp-send-command (6) # /system/xbin/ls --color=never -al /data/local/. 2>/dev/null
17:07:48.827240 tramp-wait-for-regexp (6) # 
total 3569
drwxr-xr-x    1 2000     2000          2048 Feb 18 16:07 .
drwxrwx--x    1 1000     1000          2048 Feb 16 21:57 ..
-rw-------    1 0        0             2889 Feb 18 16:07 .bash_history
-rw-------    1 0        0               58 Feb 18 16:04 .tramp_history
-rw-r--r--    1 0        0          3644484 Aug  1  2008 bootanimation.zip
-rw-r--r--    1 0        0                0 Aug  1  2008 placeholder
drwxrwx--x    1 2000     2000          2048 Feb 18 14:21 tmp
///9438227436be04d7188a7bf65fe79808#$
17:07:48.832415 tramp-get-remote-stat (5) # Finding a suitable `stat' command
17:07:48.832966 tramp-send-command (6) # which \stat | wc -w
17:07:49.417310 tramp-wait-for-regexp (6) # 
1
///9438227436be04d7188a7bf65fe79808#$
17:07:49.418095 tramp-send-command (6) # \stat -c '("%N" %s)' / 2>/dev/null; echo tramp_exit_status $?
17:07:49.810326 tramp-wait-for-regexp (6) # 
("/" 0)
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:49.811061 tramp-get-remote-perl (5) # Finding a suitable `perl' command
17:07:49.811751 tramp-send-command (6) # which \perl5 | wc -w
17:07:50.204122 tramp-wait-for-regexp (6) # 
0
///9438227436be04d7188a7bf65fe79808#$
17:07:50.204919 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/perl5 -a -f $d/perl5; then echo tramp_executable $d/perl5; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
17:07:50.597589 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:50.598463 tramp-send-command (6) # which \perl | wc -w
17:07:50.989638 tramp-wait-for-regexp (6) # 
0
///9438227436be04d7188a7bf65fe79808#$
17:07:50.990266 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/perl -a -f $d/perl; then echo tramp_executable $d/perl; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
17:07:51.383187 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:51.383772 tramp-do-file-attributes-with-ls (5) # file attributes with ls: /data/local/
17:07:51.384515 tramp-send-command (6) # (test -e /data/local/ || test -h /data/local/) && /system/xbin/ls --color=never -ildn /data/local/
17:07:51.776095 tramp-wait-for-regexp (6) # 
    273 drwxr-xr-x    1 2000     2000          2048 Feb 18 16:07 /data/local/
///9438227436be04d7188a7bf65fe79808#$
17:07:51.776615 tramp-get-remote-id (5) # Finding POSIX `id' command
17:07:51.777113 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/id -a -f $d/id; then echo tramp_executable $d/id; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
17:07:52.169826 tramp-wait-for-regexp (6) # 
tramp_executable /system/bin/id
///9438227436be04d7188a7bf65fe79808#$
17:07:52.170610 tramp-send-command (6) # /system/bin/id -u 2>/dev/null; echo tramp_exit_status $?
17:07:52.562949 tramp-wait-for-regexp (6) # 
uid=0(root) gid=0(root) groups=0(root)
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:52.563977 tramp-send-command (6) # /system/bin/id -g  2>/dev/null; echo tramp_exit_status $?
17:07:52.956359 tramp-wait-for-regexp (6) # 
uid=0(root) gid=0(root) groups=0(root)
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:52.957071 tramp-send-command-and-read (1) # File error: `/system/bin/id -g ' does not return a valid Lisp expression: `uid=0(root) gid=0(root) groups=0(root)
'--8<---------------cut here---------------end--------------->8---

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997