Re: [uml-devel] UML hang with 100% CPU

2007-02-14 Thread Jeff Dike
On Thu, Feb 08, 2007 at 09:13:36PM +0100, Miklos Szeredi wrote: > Strangely enough after continuing in gdb, UML is back to normal, and I > can't make it hang any more. It must be something timing related. Can you see if the patch below fixes it? Jeff -- Work emai

[uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Paolo 'Blaisorblade' Giarrusso
Also PTRACE_OLDSETOPTIONS should be accepted, as done by kernel/ptrace.c and forced by binary compatibility. UML/32bit breaks because of this - since it is wise enough to use PTRACE_OLDSETOPTIONS to be binary compatible with 2.4 host kernels. Until 2.6.17 (commit f0f2d6536e3515b5b1b7ae97dc8f17686

Re: [uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Jeff Dike
On Thu, Feb 15, 2007 at 03:34:23AM +0100, Paolo 'Blaisorblade' Giarrusso wrote: > Index: linux-2.6.git/arch/x86_64/ia32/ptrace32.c > === > --- linux-2.6.git.orig/arch/x86_64/ia32/ptrace32.c > +++ linux-2.6.git/arch/x86_64/ia32/ptrace32

Re: [uml-devel] Possible hostfs uml kernel data corruption with missing host directory (fc6, 2.6.20-rc5-git3 on opteron)

2007-02-14 Thread Blaisorblade
On Friday 26 January 2007 16:13, Jeff Dike wrote: > On Fri, Jan 26, 2007 at 04:07:05AM -0500, William Stearns wrote: > > After bisecting the difference between the two root filesystems, > > the critical change was a line in /etc/fstab: > > > > none/mirrorshostfs defaults,/h

Re: [uml-devel] UML/64bit is miscompiled by gcc 4.0.3 on Ubuntu 6.06 LTS

2007-02-14 Thread Blaisorblade
On Wednesday 17 January 2007 19:15, Antoine Martin wrote: > >> ptrace(PTRACE_SETREGS, 31586, 0, 0x6096dac8) = 0 > >> ptrace(PTRACE_SETFPREGS, 31586, 0, 0x6096dba0) = 0 > >> ptrace(PTRACE_SYSCALL, 31586, 0, SIG_0) = 0 > >> > >> I'll have to verify whether some code in the stubs is miscompiled. But >

Re: [uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Blaisorblade
On Thursday 15 February 2007 03:54, Jeff Dike wrote: > On Thu, Feb 15, 2007 at 03:34:23AM +0100, Paolo 'Blaisorblade' Giarrusso wrote: > > Index: linux-2.6.git/arch/x86_64/ia32/ptrace32.c > > === > > --- linux-2.6.git.orig/arch/x86_64

Re: [uml-devel] Possible hostfs uml kernel data corruption with missing host directory (fc6, 2.6.20-rc5-git3 on opteron)

2007-02-14 Thread Blaisorblade
On Thursday 15 February 2007 04:36, Blaisorblade wrote: > On Friday 26 January 2007 16:13, Jeff Dike wrote: > > On Fri, Jan 26, 2007 at 04:07:05AM -0500, William Stearns wrote: > > > After bisecting the difference between the two root filesystems, > > > the critical change was a line in /etc/fsta

Re: [uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Andrew Morton
On Thu, 15 Feb 2007 04:43:41 +0100 Blaisorblade <[EMAIL PROTECTED]> wrote: > > I sent an equivalent patch in earlier today: > Doh! Interesting this timing... > > > Index: linux-2.6/arch/x86_64/ia32/ptrace32.c > > === > > --- linux-2.