I saw the problem recurring.
Surprisingly when I changed the location of the linux exceutable it ran as expected.

under /bin/linux it froze, but under /usr/bin/linux it ran OK.

Also when I tried to `strace -f /usr/bin/linux` it froze as well.

I checked the starce output.

From what I gathered, I see that the process is spawning a child. As the
child exists SIGCHLD is called. It seems that the last lines of the
strace are printed from the SIGCHLD handler. So maybe something is
wrong in the signal handle.
Perhaps it tries to run/open something and due to the different path it runs/opens the worng thing?

I tried to look at the code but lost my way.

As a workaroud try placing linux in a different location (/usr/bin/linux?).

Any help/guide to fix the problem?

Hayim.

On Fri, 28 Oct 2005, Blaisorblade wrote:

On Thursday 27 October 2005 17:53, Eyal Noach wrote:
I'm running Fedora 4 and the UML version is 2.6.13.3.

What I'm getting when running the linux process is:
----------------------------------------------------------
Checking for /proc/mm...not found
Checking for the skas3 patch in the host...not found
UML running in SKAS0 mode
Checking PROT_EXEC mmap in /tmp...OK
Adding 16183296 bytes to physical memory to account for exec-shield gap
------------------------------------------------------------------------

What I'm getting when looking at the trace of the linux process is:
--------------------------------------------------------------------
rt_sigprocmask(SIG_UNBLOCK, [ALRM VTALRM], [ALRM VTALRM IO], 8) = 0
rt_sigprocmask(SIG_BLOCK, [IO], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [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_SETMASK, NULL, [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, [ALRM VTALRM IO], NULL, 8) = 0
---------------------------------------------------------------------

Any clue why it is not running/stuck ?
Try adding stderr=1 to the cmd line and seeing if it becomes more verbose...



-------------------------------------------------------
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