I put the patch by hand and replaced VCPU_SIGNALL with VCPU_SIGNAL:

       if (vcpu_data.event == VCPU_SIGNAL) {
               non_fatal("clownix: vcpu returned with signal %d\n",
                         vcpu_data.siginfo.si_signo);
               goto bad;
       }
        if (vcpu_data.event != VCPU_SYSCALL) {
               

Here is the result:


bulk$ ./linux root_fs 
Locating the top of the address space ... 0xc0000000
Core dump limits :
        soft - 1024000000
        hard - NONE
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /root/tmp/...OK
Checking for SKAS4 support in the host:
        /proc/self/mm ... OK
        new_mm ... OK
        switching over ... switched back ... OK
        PTRACE_SWITCH_MM ... OK
        Full CPU fault information in siginfo_t ... OK
        Full CPU fault information in PTRACE_GETSIGINFO ... OK
        vcpu ... Host TLS support detected
Detected host type: i386
 (GDT indexes 6 to 9)
clownix: vcpu returned with signal 19
Failed
Checking for the skas3 patch in the host:
  - /proc/mm...not found: No such file or directory
  - PTRACE_FAULTINFO...
[1]+  Stopped                 ./linux root_fs


On Thu, 2008-05-22 at 12:22 -0400, Jeff Dike wrote:
> On Wed, May 21, 2008 at 11:52:16PM +0200, vincent-perrier wrote:
> > vcpu returned with event = 1
> > Failed
> > Checking for the skas3 patch in the host:
> >   - /proc/mm...not found: No such file or directory
> >   - PTRACE_FAULTINFO...
> > [1]+  Stopped                 ./linux root_fs
> > bulk$ 
> 
> That's different.  Can you try the patch (to UML) below to see if
> provides any useful information?
> 
>                       Jeff
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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