all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* remote tramp hangs
@ 2009-12-01 11:03 Raphaël Berbain
  2009-12-01 18:16 ` Andreas Politz
                   ` (7 more replies)
  0 siblings, 8 replies; 26+ messages in thread
From: Raphaël Berbain @ 2009-12-01 11:03 UTC (permalink / raw
  To: help-gnu-emacs

Hi,

I am having problems making tramp work.  In a nutshell, "/remotehost:"
works, but "/root@remotehost:" doesn't work, though I can passwordlessly
ssh/scp root@remotehost.  It hangs with the message "Tramp: Found remote
shell prompt on `remotehost'".

Data that may or may not help: miaou=localhost is ubuntu 9.10,
harry=remotehost is openbsd 4.5.  emacs is compiled from
http://bzr.savannah.gnu.org/r/emacs/trunk, revno 98852.  M-x version
says "GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu) of 2009-11-30 on
miaou", M-x tramp-version says "2.1.18-pre".  I get the same results
with emacs23* / emacs-snapshot* ubuntu packages and/or tramp cvs,
though.  I also tried a bunch of different tramp methods (ssh, sshx,
scpc, ...) and always get the same behaviour.

What I am doing:

rgb@miaou:~$ emacs -Q
M-: (require 'tramp) RET
M-: (setq debug-on-quit t tramp-verbose 10) RET
C-x C-f /root@harry: RET

then I wait for some time, and when it appears hung interrupt with C-g.

Messages:

("emacs")
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading tramp... [3 times]
compiling byte-compile-normal-call...done
compiling byte-compile-form...done
compiling byte-compile-body...done
compiling byte-compile-top-level...done
compiling byte-compile-out-toplevel...done
compiling byte-compile-constant...done
compiling byte-compile-variable-ref...done
compiling byte-optimize-form...done
compiling byte-optimize-body...done
compiling byte-optimize-predicate...done
compiling byte-optimize-binary-predicate...done
compiling byte-optimize-form-code-walker...done
compiling byte-optimize-lapcode...done
tramp
10 (#o12, #xa)
Tramp: Opening connection for root@harry using scp...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `ssh harry -l root  -q -e none && exit || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Found remote shell prompt on `harry'
Entering debugger...

Backtrace:

Debugger entered--Lisp error: (quit)
  accept-process-output(#<process *tramp/scp root@harry*> 1 nil)
  (progn (accept-process-output proc timeout timeout-msecs))
  (setq with-timeout-value (progn (accept-process-output proc timeout timeout-msecs)))
  (progn (setq with-timeout-timer (run-with-timer ... nil ... with-timeout-tag)) (push with-timeout-timer with-timeout-timers) (setq with-timeout-value (progn ...)) nil)
  (catch with-timeout-tag (progn (setq with-timeout-timer ...) (push with-timeout-timer with-timeout-timers) (setq with-timeout-value ...) nil))
  (if (catch with-timeout-tag (progn ... ... ... nil)) (progn) (cancel-timer with-timeout-timer) with-timeout-value)
  (let ((with-timeout-tag ...) with-timeout-value with-timeout-timer (with-timeout-timers with-timeout-timers)) (if (catch with-timeout-tag ...) (progn) (cancel-timer with-timeout-timer) with-timeout-value))
  (with-timeout ((or timeout 1)) (accept-process-output proc timeout timeout-msecs))
  (let (buffer-read-only last-coding-system-used) (with-timeout (...) (accept-process-output proc timeout timeout-msecs)))
  (save-current-buffer (set-buffer (process-buffer proc)) (tramp-message proc 10 "%s %s" proc (process-status proc)) (let (buffer-read-only last-coding-system-used) (with-timeout ... ...)) (tramp-message proc 10 "\n%s" (buffer-string)))
  (with-current-buffer (process-buffer proc) (tramp-message proc 10 "%s %s" proc (process-status proc)) (let (buffer-read-only last-coding-system-used) (with-timeout ... ...)) (tramp-message proc 10 "\n%s" (buffer-string)))
  tramp-accept-process-output(#<process *tramp/scp root@harry*> 1)
  (while (not found) (tramp-accept-process-output proc 1) (unless (memq ... ...) (tramp-error-with-buffer nil proc ... "Process has died")) (setq found (tramp-check-for-regexp proc regexp)))
  (cond (timeout (while ... ...)) (t (while ... ... ... ...)))
  (let ((found ...) (start-time ...)) (cond (timeout ...) (t ...)) (tramp-message proc 6 "\n%s" (buffer-string)) (when (not found) (if timeout ... ...)) found)
  (save-current-buffer (set-buffer (process-buffer proc)) (let (... ...) (cond ... ...) (tramp-message proc 6 "\n%s" ...) (when ... ...) found))
  (with-current-buffer (process-buffer proc) (let (... ...) (cond ... ...) (tramp-message proc 6 "\n%s" ...) (when ... ...) found))
  tramp-wait-for-regexp(#<process *tramp/scp root@harry*> nil "\\(^\\|

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2009-12-15 21:17 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 11:03 remote tramp hangs Raphaël Berbain
2009-12-01 18:16 ` Andreas Politz
2009-12-01 19:04 ` Peter Dyballa
2009-12-01 19:47 ` Harry Putnam
2009-12-01 20:12 ` Michael Albinus
     [not found] ` <mailman.11972.1259694305.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:46   ` Raphaël Berbain
     [not found] ` <mailman.11976.1259697012.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:54   ` Raphaël Berbain
     [not found] ` <mailman.11977.1259698390.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:55   ` Raphaël Berbain
2009-12-02  9:23     ` Michael Albinus
     [not found]     ` <mailman.12019.1259745826.2239.help-gnu-emacs@gnu.org>
2009-12-02  9:56       ` Raphaël Berbain
2009-12-02 10:15         ` Tim X
2009-12-02 13:56           ` Raphaël Berbain
2009-12-02 13:01         ` Michael Albinus
2009-12-02 17:02           ` Andreas Politz
     [not found]         ` <mailman.12025.1259758918.2239.help-gnu-emacs@gnu.org>
2009-12-02 13:56           ` Raphaël Berbain
2009-12-02 21:33             ` Michael Albinus
     [not found]             ` <mailman.12053.1259789634.2239.help-gnu-emacs@gnu.org>
2009-12-03  9:35               ` Raphaël Berbain
2009-12-03 11:22                 ` Raphaël Berbain
2009-12-03 20:58                   ` Michael Albinus
     [not found]                   ` <mailman.12120.1259873928.2239.help-gnu-emacs@gnu.org>
2009-12-03 22:50                     ` Raphaël Berbain
2009-12-07  6:43                       ` Michael Albinus
     [not found]                       ` <mailman.12409.1260168197.2239.help-gnu-emacs@gnu.org>
2009-12-14 14:20                         ` Raphaël Berbain
2009-12-15  6:27                           ` Michael Albinus
     [not found]                           ` <mailman.12991.1260858434.2239.help-gnu-emacs@gnu.org>
2009-12-15  8:14                             ` Raphaël Berbain
2009-12-15 21:17                               ` Michael Albinus
2009-12-02 22:03 ` notbob

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.