Re: [uml-user] skas4 on x86-32 -> boom at startup, and fallback failing too

2008-06-28 Thread Nix
On 25 Jun 2008, Benedict Verheyen uttered the following: > I have skas4 working on 2.6.25.4. You need to patch both the guest & > host kernel but from you said i conclude that you already knew that. Yes, they were both patched. -- `If you are having a "ua luea luea le ua le" kind of day, I can

Re: [uml-user] skas4 on x86-32 -> boom at startup, and fallback failing too

2008-06-25 Thread Benedict Verheyen
Nix wrote: > I felt unhappy recently because UML was working perfectly well and I had > no complaints (except for the absence of skas3 on 2.6.25 > hosts). Obviously this was unacceptable. > > So I tried out skas4, host+guest (the guest also has your rng patches, > time fixes, and SIGWINCH fixes ap

[uml-user] skas4 on x86-32 -> boom at startup, and fallback failing too

2008-06-15 Thread Nix
I felt unhappy recently because UML was working perfectly well and I had no complaints (except for the absence of skas3 on 2.6.25 hosts). Obviously this was unacceptable. So I tried out skas4, host+guest (the guest also has your rng patches, time fixes, and SIGWINCH fixes applied). The result: ,

[uml-user] SKAS4 for 2.6.16-r3 kernel

2008-06-13 Thread Flavio
Hi all, I would like to apply a skas4 patch to a 2.6.16-gentoo-r3 kernel. I know It's strange what I would like to do, but my situation is that my host system has a 2.6.24-gentoo-r4 and I have to use a 2.6.16-gentoo-r3 kernel for the guest OS. What are your suggestions about doing the best thing?

Re: [uml-user] skas4

2008-05-28 Thread Jeff Dike
Is this a 32-bit UML on a 64-bit host? On Sat, May 24, 2008 at 11:52:08AM +0200, vincent-perrier wrote: > Locating the top of the address space ... 0xd000 This suggests that it is... > Detected host type: i386 > (GDT indexes 6 to 9) This suggests that it isn't... As for the siginfo stuff

Re: [uml-user] skas4

2008-05-24 Thread vincent-perrier
Here is the trace, and after is the print that led to the trace: Locating the top of the address space ... 0xd000 Core dump limits : soft - 102400 hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK Checki

Re: [uml-user] skas4

2008-05-23 Thread Jeff Dike
On Fri, May 23, 2008 at 06:37:58PM +0200, vincent-perrier wrote: > Here is strace (attached file) This time, it actually sorta worked... > write(1, "\tvcpu ... ", 10vcpu ... ) = 10 > msgsnd(4294967295, {4, ptrace: umoven: Input/output error > 0x4}, 136966304, 0) = -1 ENOSYS (Funct

Re: [uml-user] skas4

2008-05-23 Thread Jeff Dike
On Thu, May 22, 2008 at 09:49:32PM +0200, vincent-perrier wrote: > si_errno and si_code are both zeros, I am sad to say. That doesn't necessarily mean there's no information. zero might mean the signal came from a process. Can you strace it? Also, send me the full siginfo? There might be somet

Re: [uml-user] skas4

2008-05-22 Thread vincent-perrier
I tried gdb, here is what I got: bulk$ gdb ./linux GNU gdb 6.3-9pclos2007 (PCLinuxOS release 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition

Re: [uml-user] skas4

2008-05-22 Thread vincent-perrier
As I said, si_errno and si_code are 0, but the uml does not diseapear properly, see the ps following, I have to use kill -9 to clean them. clownix: vcpu returned with signal 19, 0, 0 Failed Checking for the skas3 patch in the host: - /proc/mm...not found: No such file or directory - PTRACE_F

Re: [uml-user] skas4

2008-05-22 Thread Jeff Dike
On Thu, May 22, 2008 at 07:40:09PM +0200, vincent-perrier wrote: > Detected host type: i386 > (GDT indexes 6 to 9) > clownix: vcpu returned with signal 19 Odd, you're getting SIGSTOPs for some reason, which is consistent with this bit later: > - PTRACE_FAULTINFO... > [1]+ Stopped

Re: [uml-user] skas4

2008-05-22 Thread vincent-perrier
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

Re: [uml-user] skas4

2008-05-22 Thread Jeff Dike
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 diffe

Re: [uml-user] skas4

2008-05-21 Thread vincent-perrier
Hello, The skas4 patch was OK for kernel 2.6.25.4, I rebuilt my host in my usual way (I take the distrib's config from /boot and do not modify this config). My host started ok: Linux localhost 2.6.25.4 #1 SMP Wed May 21 23:31:19 CEST 2008 i686 Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz GNU/Li

Re: [uml-user] skas4

2008-05-21 Thread Jeff Dike
On Wed, May 21, 2008 at 10:21:51AM +0200, Flavio wrote: > 2008/5/21 vincent-perrier <[EMAIL PROTECTED]>: > > > > Hello, > > Can somebody remind me where the last skas4 patch is, I would > > like to give it a try and it seems not so easy to find. > > Regards > > Vincent Perrier > Hello Vincent, > >

Re: [uml-user] skas4

2008-05-21 Thread vincent-perrier
Thank-you for the info. On Wed, 2008-05-21 at 10:21 +0200, Flavio wrote: > 2008/5/21 vincent-perrier <[EMAIL PROTECTED]>: > > > > Hello, > > Can somebody remind me where the last skas4 patch is, I would > > like to give it a try and it seems not so easy to find. > > Regards > > Vincent Perrier > H

Re: [uml-user] skas4

2008-05-21 Thread Flavio
2008/5/21 vincent-perrier <[EMAIL PROTECTED]>: > Thank-you for the info. You are welcome, Flavio > > On Wed, 2008-05-21 at 10:21 +0200, Flavio wrote: >> 2008/5/21 vincent-perrier <[EMAIL PROTECTED]>: >> > >> > Hello, >> > Can somebody remind me where the last skas4 patch is, I would >> > like to

Re: [uml-user] skas4

2008-05-21 Thread Flavio
2008/5/21 vincent-perrier <[EMAIL PROTECTED]>: > > Hello, > Can somebody remind me where the last skas4 patch is, I would > like to give it a try and it seems not so easy to find. > Regards > Vincent Perrier Hello Vincent, the last skas4 patch has been sent to this mailing list from Jeff Dike, as

[uml-user] skas4

2008-05-20 Thread vincent-perrier
Hello, Can somebody remind me where the last skas4 patch is, I would like to give it a try and it seems not so easy to find. Regards Vincent Perrier - This SF.net email is sponsored by: Microsoft Defy all challenges. Microso