I tried the first patch, got the following error:

Kernel panic - not syncing: copy_context_skas0 : failed to wait for SIGUSR1/SIGTRAP, pid = 7182, n = 7182, errno = 0, status = 0xb7f

I got the same error even after applying the second patch.

My run command is the following:

linux stderr=1 ubd0=../../root_fs.rh-7.2-full.pristine.20020312

From: Blaisorblade <[EMAIL PROTECTED]>
To: user-mode-linux-devel@lists.sourceforge.net
CC: Jeff Dike <[EMAIL PROTECTED]>, LKML <linux-kernel@vger.kernel.org>, "Kai Tan" <[EMAIL PROTECTED]>
Subject: Re: [uml-devel] Uml left showstopper bugs for 2.6.14
Date: Sun, 9 Oct 2005 21:42:32 +0200

Kai - go to the end, there are patches for your SKAS0 problem.

On Sunday 09 October 2005 21:18, Blaisorblade wrote:
> Here's a short and updated list of showstoppers for 2.6.14 release, from
> the UML point of view.

> 2) Someone broke endianness of COW driver macros in a header cleanup. I
> have fixes.
Just sent them.
> 3) SKAS0 is broken on amd64 hosts, when frame pointers are disabled. Jeff
> has the fix, waiting end of testing.

> 4) SKAS0 is broken with GCC 3.2.3, and potentially other GCC releases -
> look at arch/um/include/sysdep-i386/stub.h: stub_syscall*() to see how. I > have two fixes, choosing the safer one (it's all just simply reusing code
> from <asm/unistd.h>).
Jeff, I've attached patches for this. Also found another problematic piece of
code, in stub-segv (same bad idea).

The patch for that changes a bit more things that strictly needed - complain
if that's a problem for merging in 2.6.14.

Kai Tan, the order of the patches is:

uml-fix-misassembling-skas0-stub
uml-fix-misassembling-skas0-stub-segv

Note that the second is a bit less tested, so if both together cause problems,
try with only the first one.

And remember to add "skas0" to the cmd line, to force UML to run in SKAS0
mode.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


<< uml-fix-misassembling-skas0-stub >>


<< uml-fix-misassembling-skas0-stub-segv >>




-------------------------------------------------------
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-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to