On Mon, Sep 26, 2005 at 09:13:15PM -0400, Jeff Dike wrote:
> On Mon, Sep 26, 2005 at 05:24:30PM -0700, Robin Lee Powell wrote:
> > However, as soon as I run sshd by any means, the guest hangs.  I
> > have no idea what to do about this.  Help?
> 
> Are you sure the guest hangs?  I.e. you can't ping it any more,
> consoles freeze, etc?

Exactly that, yes.  I've never let it go more than a few minutes.

> If so, then information like the version and a stack trace would
> be good.

Debian unstable; 2.4.26-3um-1

Started with the Debian-3.0r2.ext2 image, which I haven't done much
with.  I can post my exact procedure if you like.

Full strace at http://teddyb.org/~rlpowell/media/big/uml.strace.gz, but without
-f (it wouldn't work for some reason; said "ptrace: Operation not permitted"
even when run as root).

During the hang, the end of the file says:

ptrace(PTRACE_CONT, 8924, 0, SIGUSR2)   = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], WUNTRACED) = 8924
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1,

After I run pkill, the following is added:

0xbffff608, WUNTRACED)      = ? ERESTARTSYS (To be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---
rt_sigaction(SIGINT, {SIG_DFL}, {0xa000f1b0, [], 
SA_RESTORER|SA_NOMASK|SA_ONESHOT, 0xa0201ad8}, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGTERM, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {SIG_DFL}, {0xa000f1b0, [], 
SA_RESTORER|SA_NOMASK|SA_ONESHOT, 0xa0201ad8}, 8) = 0
getpid()                                = 8473
kill(8504, SIGKILL)                     = 0
kill(8483, SIGKILL)                     = 0
kill(8485, SIGKILL)                     = 0
kill(8487, SIGKILL)                     = 0
kill(8489, SIGKILL)                     = 0
kill(8491, SIGKILL)                     = 0
kill(8493, SIGKILL)                     = 0
kill(8495, SIGKILL)                     = 0
kill(8497, SIGKILL)                     = 0
kill(8502, SIGKILL)                     = 0
kill(8887, SIGKILL)                     = 0
kill(8897, SIGKILL)                     = 0
kill(8920, SIGKILL)                     = 0
kill(8924, SIGKILL)                     = -1 ESRCH (No such process)
kill(8478, SIGKILL)                     = 0
kill(8499, SIGKILL)                     = -1 ESRCH (No such process)
waitpid(8499, NULL, 0)                  = -1 ECHILD (No child processes)
close(34)                               = -1 EBADF (Bad file descriptor)
close(33)                               = -1 EBADF (Bad file descriptor)
rt_sigprocmask(SIG_UNBLOCK, [], [IO], 8) = 0
rt_sigprocmask(SIG_BLOCK, [ALRM VTALRM IO], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ALRM VTALRM], [ALRM VTALRM IO], 8) = 0
rt_sigprocmask(SIG_BLOCK, [IO], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [], [IO], 8) = 0
rt_sigprocmask(SIG_BLOCK, [ALRM VTALRM IO], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ALRM VTALRM], [ALRM VTALRM IO], 8) = 0
rt_sigprocmask(SIG_BLOCK, [IO], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [], [IO], 8) = 0
rt_sigprocmask(SIG_BLOCK, [ALRM VTALRM IO], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ALRM VTALRM], [ALRM VTALRM IO], 8) = 0
rt_sigprocmask(SIG_BLOCK, [IO], NULL, 8) = 0
kill(8498, SIGKILL)                     = -1 ESRCH (No such process)
waitpid(8498, NULL, 0)                  = -1 ECHILD (No child processes)
getpid()                                = 8473
kill(8500, SIGKILL)                     = 0
waitpid(8500, NULL, 0)                  = -1 ECHILD (No child processes)
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a 
directory)
open("/home/mooix/.uml/240", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 33
fstat64(33, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(33, F_SETFD, FD_CLOEXEC)        = 0
getdents64(33, /* 4 entries */, 4096)   = 104
unlink("/home/mooix/.uml/240/pid")      = 0
unlink("/home/mooix/.uml/240/mconsole") = 0
getdents64(33, /* 0 entries */, 4096)   = 0
rmdir("/home/mooix/.uml/240")           = 0
munmap(0x40000000, 4096)                = 0
exit_group(1)                           = ?

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
Reason #237 To Learn Lojban: "Homonyms: Their Grate!"
Proud Supporter of the Singularity Institute - http://singinst.org/


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to