Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-04 Thread Miklos Szeredi
> > This is the one: uml-runtime-detection-of-host-vmsplit-on-i386.patch
> > 
> > The relevant log line (both for successful and failed boots):
> > 
> > Locating the top of the address space ... 0xffc0
> 
> Thanks for narrowing it down.  It turns out I can reproduce it with a
> defconfig, but it reproduces much more easily with your config for
> some reason.
> 
> Anyhow, try the patch below.

Thanks, works for me.

Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-04 Thread Jeff Dike
On Thu, Jan 03, 2008 at 01:55:57PM +0100, Miklos Szeredi wrote:
> This is the one: uml-runtime-detection-of-host-vmsplit-on-i386.patch
> 
> The relevant log line (both for successful and failed boots):
> 
> Locating the top of the address space ... 0xffc0

Thanks for narrowing it down.  It turns out I can reproduce it with a
defconfig, but it reproduces much more easily with your config for
some reason.

Anyhow, try the patch below.

Jeff

-- 
Work email - jdike at linux dot intel dot com

Index: linux-2.6.22/arch/um/include/as-layout.h
===
--- linux-2.6.22.orig/arch/um/include/as-layout.h   2008-01-01 
17:32:04.0 -0500
+++ linux-2.6.22/arch/um/include/as-layout.h2008-01-04 12:27:21.0 
-0500
@@ -57,6 +57,8 @@ extern unsigned long _stext, _etext, _sd
 extern unsigned long _unprotected_end;
 extern unsigned long brk_start;
 
+extern unsigned long host_task_size;
+
 extern int linux_main(int argc, char **argv);
 
 extern void (*sig_info[])(int, struct uml_pt_regs *);
Index: linux-2.6.22/arch/um/kernel/exec.c
===
--- linux-2.6.22.orig/arch/um/kernel/exec.c 2008-01-04 12:12:32.0 
-0500
+++ linux-2.6.22/arch/um/kernel/exec.c  2008-01-04 12:27:48.0 -0500
@@ -25,7 +25,7 @@ void flush_thread(void)
 
ret = unmap(>mm->context.id, 0, STUB_START, 0, );
ret = ret || unmap(>mm->context.id, STUB_END,
-  TASK_SIZE - STUB_END, 1, );
+  host_task_size - STUB_END, 1, );
if (ret) {
printk(KERN_ERR "flush_thread - clearing address space failed, "
   "err = %d\n", ret);
Index: linux-2.6.22/arch/um/kernel/um_arch.c
===
--- linux-2.6.22.orig/arch/um/kernel/um_arch.c  2008-01-04 12:11:33.0 
-0500
+++ linux-2.6.22/arch/um/kernel/um_arch.c   2008-01-04 12:53:53.0 
-0500
@@ -244,6 +244,8 @@ static struct notifier_block panic_exit_
 unsigned long task_size;
 EXPORT_SYMBOL(task_size);
 
+unsigned long host_task_size;
+
 unsigned long brk_start;
 unsigned long end_iomem;
 EXPORT_SYMBOL(end_iomem);
@@ -270,11 +272,12 @@ int __init linux_main(int argc, char **a
if (have_root == 0)
add_arg(DEFAULT_COMMAND_LINE);
 
+   host_task_size = os_get_task_size();
/*
 * TASK_SIZE needs to be PGDIR_SIZE aligned or else exit_mmap craps
 * out
 */
-   task_size = os_get_task_size(PGDIR_SHIFT);
+   task_size = host_task_size & PGDIR_MASK;
 
/* OS sanity checks that need to happen before the kernel runs */
os_early_checks();
Index: linux-2.6.22/arch/um/os-Linux/sys-i386/task_size.c
===
--- linux-2.6.22.orig/arch/um/os-Linux/sys-i386/task_size.c 2008-01-01 
17:32:04.0 -0500
+++ linux-2.6.22/arch/um/os-Linux/sys-i386/task_size.c  2008-01-04 
12:56:20.0 -0500
@@ -49,7 +49,7 @@ static int page_ok(unsigned long page)
ok = 1;
goto out;
} else if (mprotect(address, UM_KERN_PAGE_SIZE,
- PROT_READ | PROT_WRITE) != 0)
+   PROT_READ | PROT_WRITE) != 0)
goto out;
 
if (setjmp(buf) == 0) {
@@ -63,13 +63,20 @@ static int page_ok(unsigned long page)
return ok;
 }
 
-unsigned long os_get_task_size(int shift)
+unsigned long os_get_task_size(void)
 {
struct sigaction sa, old;
-   unsigned long bottom = 0 >> shift;
-   unsigned long top = ~0UL >> shift;
+   unsigned long bottom = 0;
+   /*
+* A 32-bit UML on a 64-bit host gets confused about the VDSO at
+* 0xe000.  It is mapped, is readable, can be reprotected writeable
+* and written.  However, exec discovers later that it can't be
+* unmapped.  So, just set the highest address to be checked to just
+* below it.  This might waste some address space on 4G/4G 32-bit
+* hosts, but shouldn't hurt otherwise.
+*/
+   unsigned long top = 0xd000 >> UM_KERN_PAGE_SHIFT;
unsigned long test;
-   int to_page = shift - UM_KERN_PAGE_SHIFT;
 
printf("Locating the top of the address space ... ");
fflush(stdout);
@@ -83,18 +90,19 @@ unsigned long os_get_task_size(int shift
sa.sa_flags = SA_NODEFER;
sigaction(SIGSEGV, , );
 
-   if (!page_ok(bottom << to_page)) {
-   fprintf(stderr, "Address 0x%x no good?\n", bottom << shift);
+   if (!page_ok(bottom)) {
+   fprintf(stderr, "Address 0x%x no good?\n",
+   bottom << UM_KERN_PAGE_SHIFT);
exit(1);
}
 
/* This could happen with a 4G/4G split */
-   if (page_ok(top << to_page))
+   if 

Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-04 Thread Jeff Dike
On Thu, Jan 03, 2008 at 01:55:57PM +0100, Miklos Szeredi wrote:
 This is the one: uml-runtime-detection-of-host-vmsplit-on-i386.patch
 
 The relevant log line (both for successful and failed boots):
 
 Locating the top of the address space ... 0xffc0

Thanks for narrowing it down.  It turns out I can reproduce it with a
defconfig, but it reproduces much more easily with your config for
some reason.

Anyhow, try the patch below.

Jeff

-- 
Work email - jdike at linux dot intel dot com

Index: linux-2.6.22/arch/um/include/as-layout.h
===
--- linux-2.6.22.orig/arch/um/include/as-layout.h   2008-01-01 
17:32:04.0 -0500
+++ linux-2.6.22/arch/um/include/as-layout.h2008-01-04 12:27:21.0 
-0500
@@ -57,6 +57,8 @@ extern unsigned long _stext, _etext, _sd
 extern unsigned long _unprotected_end;
 extern unsigned long brk_start;
 
+extern unsigned long host_task_size;
+
 extern int linux_main(int argc, char **argv);
 
 extern void (*sig_info[])(int, struct uml_pt_regs *);
Index: linux-2.6.22/arch/um/kernel/exec.c
===
--- linux-2.6.22.orig/arch/um/kernel/exec.c 2008-01-04 12:12:32.0 
-0500
+++ linux-2.6.22/arch/um/kernel/exec.c  2008-01-04 12:27:48.0 -0500
@@ -25,7 +25,7 @@ void flush_thread(void)
 
ret = unmap(current-mm-context.id, 0, STUB_START, 0, data);
ret = ret || unmap(current-mm-context.id, STUB_END,
-  TASK_SIZE - STUB_END, 1, data);
+  host_task_size - STUB_END, 1, data);
if (ret) {
printk(KERN_ERR flush_thread - clearing address space failed, 
   err = %d\n, ret);
Index: linux-2.6.22/arch/um/kernel/um_arch.c
===
--- linux-2.6.22.orig/arch/um/kernel/um_arch.c  2008-01-04 12:11:33.0 
-0500
+++ linux-2.6.22/arch/um/kernel/um_arch.c   2008-01-04 12:53:53.0 
-0500
@@ -244,6 +244,8 @@ static struct notifier_block panic_exit_
 unsigned long task_size;
 EXPORT_SYMBOL(task_size);
 
+unsigned long host_task_size;
+
 unsigned long brk_start;
 unsigned long end_iomem;
 EXPORT_SYMBOL(end_iomem);
@@ -270,11 +272,12 @@ int __init linux_main(int argc, char **a
if (have_root == 0)
add_arg(DEFAULT_COMMAND_LINE);
 
+   host_task_size = os_get_task_size();
/*
 * TASK_SIZE needs to be PGDIR_SIZE aligned or else exit_mmap craps
 * out
 */
-   task_size = os_get_task_size(PGDIR_SHIFT);
+   task_size = host_task_size  PGDIR_MASK;
 
/* OS sanity checks that need to happen before the kernel runs */
os_early_checks();
Index: linux-2.6.22/arch/um/os-Linux/sys-i386/task_size.c
===
--- linux-2.6.22.orig/arch/um/os-Linux/sys-i386/task_size.c 2008-01-01 
17:32:04.0 -0500
+++ linux-2.6.22/arch/um/os-Linux/sys-i386/task_size.c  2008-01-04 
12:56:20.0 -0500
@@ -49,7 +49,7 @@ static int page_ok(unsigned long page)
ok = 1;
goto out;
} else if (mprotect(address, UM_KERN_PAGE_SIZE,
- PROT_READ | PROT_WRITE) != 0)
+   PROT_READ | PROT_WRITE) != 0)
goto out;
 
if (setjmp(buf) == 0) {
@@ -63,13 +63,20 @@ static int page_ok(unsigned long page)
return ok;
 }
 
-unsigned long os_get_task_size(int shift)
+unsigned long os_get_task_size(void)
 {
struct sigaction sa, old;
-   unsigned long bottom = 0  shift;
-   unsigned long top = ~0UL  shift;
+   unsigned long bottom = 0;
+   /*
+* A 32-bit UML on a 64-bit host gets confused about the VDSO at
+* 0xe000.  It is mapped, is readable, can be reprotected writeable
+* and written.  However, exec discovers later that it can't be
+* unmapped.  So, just set the highest address to be checked to just
+* below it.  This might waste some address space on 4G/4G 32-bit
+* hosts, but shouldn't hurt otherwise.
+*/
+   unsigned long top = 0xd000  UM_KERN_PAGE_SHIFT;
unsigned long test;
-   int to_page = shift - UM_KERN_PAGE_SHIFT;
 
printf(Locating the top of the address space ... );
fflush(stdout);
@@ -83,18 +90,19 @@ unsigned long os_get_task_size(int shift
sa.sa_flags = SA_NODEFER;
sigaction(SIGSEGV, sa, old);
 
-   if (!page_ok(bottom  to_page)) {
-   fprintf(stderr, Address 0x%x no good?\n, bottom  shift);
+   if (!page_ok(bottom)) {
+   fprintf(stderr, Address 0x%x no good?\n,
+   bottom  UM_KERN_PAGE_SHIFT);
exit(1);
}
 
/* This could happen with a 4G/4G split */
-   if (page_ok(top  to_page))
+   if (page_ok(top))

Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-04 Thread Miklos Szeredi
  This is the one: uml-runtime-detection-of-host-vmsplit-on-i386.patch
  
  The relevant log line (both for successful and failed boots):
  
  Locating the top of the address space ... 0xffc0
 
 Thanks for narrowing it down.  It turns out I can reproduce it with a
 defconfig, but it reproduces much more easily with your config for
 some reason.
 
 Anyhow, try the patch below.

Thanks, works for me.

Miklos
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-03 Thread Miklos Szeredi
> > 32bit UML, 64bit host, config attached.
> 
> Hadn't tried that, but that works here too.
> 
> I'll see if your config reproduces it.
> 
> > Can't reproduce with plain -rc6.
> 
> Feel like bisecting -mm1?

This is the one: uml-runtime-detection-of-host-vmsplit-on-i386.patch

The relevant log line (both for successful and failed boots):

Locating the top of the address space ... 0xffc0

Miklos

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-03 Thread Miklos Szeredi
  32bit UML, 64bit host, config attached.
 
 Hadn't tried that, but that works here too.
 
 I'll see if your config reproduces it.
 
  Can't reproduce with plain -rc6.
 
 Feel like bisecting -mm1?

This is the one: uml-runtime-detection-of-host-vmsplit-on-i386.patch

The relevant log line (both for successful and failed boots):

Locating the top of the address space ... 0xffc0

Miklos

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-02 Thread Jeff Dike
On Wed, Jan 02, 2008 at 09:52:41PM +0100, Miklos Szeredi wrote:
> 32bit UML, 64bit host, config attached.

Hadn't tried that, but that works here too.

I'll see if your config reproduces it.

> Can't reproduce with plain -rc6.

Feel like bisecting -mm1?

Jeff

-- 
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-02 Thread Miklos Szeredi
> On Wed, Jan 02, 2008 at 06:53:00PM +0100, Miklos Szeredi wrote:
> > The below patch was needed to make UML compile in latest -mm.
> 
> ACK on that - I've got the same patch on its way.
> 
> > But sometimes it doesn't boot and does weird things (this is a sample
> > with init=/bin/bash):
> 
> > (none):/# ls
> > Segmentation fault
> > (none):/# ls -l
> > : : No such file or directory
> 
> Huh.  No problems here - I've got rc6-mm1 happily doing kernel builds.
> 
> Is this 32 or 64-bit?

32bit UML, 64bit host, config attached.

> Can you double-check that you have a clean pool and a clean build, etc?

Double checked with fresh build from pristine sources.  Sometimes it
boots normally, sometimes not, it's all rather strange.

Can't reproduce with plain -rc6.

Miklos



#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.24-rc6-mm1
# Wed Jan  2 18:31:36 2008
#
CONFIG_DEFCONFIG_LIST="arch/$ARCH/defconfig"
CONFIG_GENERIC_HARDIRQS=y
CONFIG_UML=y
CONFIG_MMU=y
CONFIG_NO_IOMEM=y
# CONFIG_TRACE_IRQFLAGS_SUPPORT is not set
CONFIG_LOCKDEP_SUPPORT=y
# CONFIG_STACKTRACE_SUPPORT is not set
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_IRQ_RELEASE_METHOD=y

#
# UML-specific options
#
# CONFIG_STATIC_LINK is not set

#
# Host processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
CONFIG_MK8=y
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_GENERIC_CPU is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_XADD=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_X86_MINIMUM_CPU_FAMILY=4
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_UML_X86=y
CONFIG_X86_32=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_64BIT is not set
CONFIG_SEMAPHORE_SLEEPERS=y
# CONFIG_3_LEVEL_PGTABLES is not set
CONFIG_ARCH_HAS_SC_SIGNALS=y
CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_VIRT_TO_BUS=y
# CONFIG_TICK_ONESHOT is not set
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_LD_SCRIPT_DYN=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_HOSTFS=y
# CONFIG_HPPFS is not set
CONFIG_MCONSOLE=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_HIGHMEM is not set
CONFIG_KERNEL_STACK_ORDER=3
CONFIG_HZ=100

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=128
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
# CONFIG_SYSVIPC is not set
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_FAIR_USER_SCHED=y
# CONFIG_FAIR_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROC_PAGE_MONITOR=y
# CONFIG_PROFILING is not set
# CONFIG_MARKERS is not set
# CONFIG_HAVE_OPROFILE is not set
# CONFIG_HAVE_KPROBES is not set
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not 

Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-02 Thread Jeff Dike
On Wed, Jan 02, 2008 at 06:53:00PM +0100, Miklos Szeredi wrote:
> The below patch was needed to make UML compile in latest -mm.

ACK on that - I've got the same patch on its way.

> But sometimes it doesn't boot and does weird things (this is a sample
> with init=/bin/bash):

> (none):/# ls
> Segmentation fault
> (none):/# ls -l
> : : No such file or directory

Huh.  No problems here - I've got rc6-mm1 happily doing kernel builds.

Is this 32 or 64-bit?

Can you double-check that you have a clean pool and a clean build, etc?

Jeff

-- 
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-02 Thread Miklos Szeredi
 On Wed, Jan 02, 2008 at 06:53:00PM +0100, Miklos Szeredi wrote:
  The below patch was needed to make UML compile in latest -mm.
 
 ACK on that - I've got the same patch on its way.
 
  But sometimes it doesn't boot and does weird things (this is a sample
  with init=/bin/bash):
 
  (none):/# ls
  Segmentation fault
  (none):/# ls -l
  : : No such file or directory
 
 Huh.  No problems here - I've got rc6-mm1 happily doing kernel builds.
 
 Is this 32 or 64-bit?

32bit UML, 64bit host, config attached.

 Can you double-check that you have a clean pool and a clean build, etc?

Double checked with fresh build from pristine sources.  Sometimes it
boots normally, sometimes not, it's all rather strange.

Can't reproduce with plain -rc6.

Miklos



#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.24-rc6-mm1
# Wed Jan  2 18:31:36 2008
#
CONFIG_DEFCONFIG_LIST=arch/$ARCH/defconfig
CONFIG_GENERIC_HARDIRQS=y
CONFIG_UML=y
CONFIG_MMU=y
CONFIG_NO_IOMEM=y
# CONFIG_TRACE_IRQFLAGS_SUPPORT is not set
CONFIG_LOCKDEP_SUPPORT=y
# CONFIG_STACKTRACE_SUPPORT is not set
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_IRQ_RELEASE_METHOD=y

#
# UML-specific options
#
# CONFIG_STATIC_LINK is not set

#
# Host processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
CONFIG_MK8=y
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_GENERIC_CPU is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_XADD=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_X86_MINIMUM_CPU_FAMILY=4
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_UML_X86=y
CONFIG_X86_32=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_64BIT is not set
CONFIG_SEMAPHORE_SLEEPERS=y
# CONFIG_3_LEVEL_PGTABLES is not set
CONFIG_ARCH_HAS_SC_SIGNALS=y
CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_VIRT_TO_BUS=y
# CONFIG_TICK_ONESHOT is not set
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_LD_SCRIPT_DYN=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_HOSTFS=y
# CONFIG_HPPFS is not set
CONFIG_MCONSOLE=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_HIGHMEM is not set
CONFIG_KERNEL_STACK_ORDER=3
CONFIG_HZ=100

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=128
CONFIG_LOCALVERSION=
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
# CONFIG_SYSVIPC is not set
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_FAIR_USER_SCHED=y
# CONFIG_FAIR_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROC_PAGE_MONITOR=y
# CONFIG_PROFILING is not set
# CONFIG_MARKERS is not set
# CONFIG_HAVE_OPROFILE is not set
# CONFIG_HAVE_KPROBES is not set
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_KMOD is not set

Re: [uml-devel] UML woes in 2.6.24-rc6-mm1

2008-01-02 Thread Jeff Dike
On Wed, Jan 02, 2008 at 09:52:41PM +0100, Miklos Szeredi wrote:
 32bit UML, 64bit host, config attached.

Hadn't tried that, but that works here too.

I'll see if your config reproduces it.

 Can't reproduce with plain -rc6.

Feel like bisecting -mm1?

Jeff

-- 
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/