[uml-devel] Re: [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n

2006-01-06 Thread Jeff Dike
On Fri, Jan 06, 2006 at 01:44:38PM +0100, Adrian Bunk wrote: > > I tried. The best I managed was to get *config to moan about circular > > dependencies. > > The patch below implements this in Kconfig. Acked-by: Jeff Dike <[EMAIL PROTECTED]> -

[uml-devel] Re: [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n

2006-01-06 Thread Jeff Dike
On Fri, Jan 06, 2006 at 05:18:31PM +0100, Adrian Bunk wrote: > That is already implemented in my patch: > > MODE_TT=n forces MODE_SKAS=y. > MODE_TT=y allows any setting of MODE_SKAS. > > MODE_SKAS=n is therefore impossible if MODE_TT=n. Right you are. Jeff

[uml-devel] Re: [PATCH 4/4] Consolidate asm/futex.h

2006-01-06 Thread Andrew Morton
Jeff Dike <[EMAIL PROTECTED]> wrote: > > Most of the architectures have the same asm/futex.h. This > consolidates them into asm-generic, with the arches including it > from their own asm/futex.h. > > In the case of UML, this reverts the old broken futex.h and goes back > to using the same one

Re: [uml-devel] Re: [PATCH 4/9] UML - Better diagnostics for broken configs

2006-01-06 Thread Jeff Dike
On Fri, Jan 06, 2006 at 06:01:13PM -0600, Rob Landley wrote: > Unfortunately, stock kernels don't let you just discard a system call, so you > have to pass _something_ on to the underlying OS before you can resume from > the ptrace. But you can change all the information both on the way in and on

Re: [uml-devel] Re: [PATCH 4/9] UML - Better diagnostics for broken configs

2006-01-06 Thread Rob Landley
On Thursday 05 January 2006 15:59, Jan Engelhardt wrote: > config MODE_TT > bool "Tracing thread support" > default y > help > This option controls whether tracing thread support is compiled > into UML. Normally, this should be set to Y. If you intend to >

[uml-devel] Re: [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n

2006-01-06 Thread Adrian Bunk
On Fri, Jan 06, 2006 at 11:39:48AM -0500, Jeff Dike wrote: > On Fri, Jan 06, 2006 at 01:44:38PM +0100, Adrian Bunk wrote: > > If MODE_TT=n, MODE_SKAS must be y. > > > > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > Great. Now, how do you simultaneously implement > If MODE_SKAS=n

[uml-devel] Re: [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n

2006-01-06 Thread Jeff Dike
On Fri, Jan 06, 2006 at 01:44:38PM +0100, Adrian Bunk wrote: > If MODE_TT=n, MODE_SKAS must be y. > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Great. Now, how do you simultaneously implement If MODE_SKAS=n, MODE_TT must be y. Jeff

[uml-devel] [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n

2006-01-06 Thread Adrian Bunk
On Wed, Jan 04, 2006 at 09:21:29PM -0500, Jeff Dike wrote: > On Wed, Jan 04, 2006 at 03:24:33PM -0800, Andrew Morton wrote: > > Jeff Dike <[EMAIL PROTECTED]> wrote: > > > > > > Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled. > > Is there no sane way to prevent this situatio

[uml-devel] iomem mmaper problem

2006-01-06 Thread wang lianwei
hi,     I test the uml kernel iomem functions, and found that if the iomem file size is greater than 2M, the uml kernel will panic. the output is:     Checking for the skas3 patch in the host...not foundChecking for /proc/mm...not foundChecking PROT_EXEC mmap in /tmp...OK tracing thread pid = 9425L