Re: [uml-user] stop and go results in a "Not stopped" error

2008-05-22 Thread Benedict Verheyen
Jeff Dike wrote: > On Thu, May 22, 2008 at 07:02:49PM +0200, Benedict Verheyen wrote: >> I tried and i got this error when starting the UML: >> arch_switch_tls failed, errno = EINVAL >> PTRACE_SET_THREAD_AREA failed, err = -22, index = 0 >> PTRACE_SET_THREAD_AREA failed, err = -22, index = 0 >> arc

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] stop and go results in a "Not stopped" error

2008-05-22 Thread Jeff Dike
On Thu, May 22, 2008 at 07:02:49PM +0200, Benedict Verheyen wrote: > I tried and i got this error when starting the UML: > arch_switch_tls failed, errno = EINVAL > PTRACE_SET_THREAD_AREA failed, err = -22, index = 0 > PTRACE_SET_THREAD_AREA failed, err = -22, index = 0 > arch_switch_tls failed, err

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] stop and go results in a "Not stopped" error

2008-05-22 Thread Benedict Verheyen
Jeff Dike wrote: > On Thu, May 22, 2008 at 11:27:28AM +0200, Benedict Verheyen wrote: >> I'm using Debian 4.0 stable (etch) with a vanilla kernel 2.6.24.3 on the >> host and the guest. > > Try upgrading the guest to 2.6.25 (the fix I'm looking at - > 7b5cc6ee6cf9001775c348bac09814a45f1276b7

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] stop and go results in a "Not stopped" error

2008-05-22 Thread Jeff Dike
On Thu, May 22, 2008 at 11:27:28AM +0200, Benedict Verheyen wrote: > I'm using Debian 4.0 stable (etch) with a vanilla kernel 2.6.24.3 on the > host and the guest. Try upgrading the guest to 2.6.25 (the fix I'm looking at - 7b5cc6ee6cf9001775c348bac09814a45f1276b7 was in 2.6.25-rc1). > S

Re: [uml-user] stop and go results in a "Not stopped" error

2008-05-22 Thread Benedict Verheyen
Jeff Dike wrote: > On Tue, May 20, 2008 at 05:40:00PM +0200, Benedict Verheyen wrote: >> whenever i try to stop an uml to take backups >> and afterwards want to start it again with the "go" command, i always >> get the error "Not stopped". > > What version? There were some somewhat recent fixes h