linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* UML/x86_64 broke on debian etch
@ 2006-06-21 20:47 Christoph Lameter
  2006-06-21 21:55 ` Jeff Dike
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Lameter @ 2006-06-21 20:47 UTC (permalink / raw)
  To: Jeff Dike; +Cc: linux-kernel

Tried to use UML to do the page migration testing for x86_64 but ....

christoph@graphe:/usr/src/linux-2.6.17-uml$ make clean
  CLEAN   .tmp_versions
christoph@graphe:/usr/src/linux-2.6.17-uml$ make all ARCH=um
  SYMLINK arch/um/include/kern_constants.h
  SYMLINK arch/um/include/sysdep
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/um/Kconfig
#
# using defaults found in .config
#
  CHK     arch/um/include/uml-config.h
  UPD     arch/um/include/uml-config.h
  CC      arch/um/sys-x86_64/user-offsets.s
  CHK     arch/um/include/user_constants.h
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/um/kernel/asm-offsets.s
In file included from include/asm/timex.h:14,
                 from include/linux/timex.h:61,
                 from include/linux/sched.h:11,
                 from arch/um/include/sysdep/kernel-offsets.h:3,
                 from arch/um/kernel/asm-offsets.c:1:
include/asm/processor.h:74: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared 
here (not in a function)
include/asm/processor.h:74: error: requested alignment is not a constant
include/asm/processor.h:229: error: requested alignment is not a constant
In file included from include/linux/sched.h:12,
                 from arch/um/include/sysdep/kernel-offsets.h:3,
                 from arch/um/kernel/asm-offsets.c:1:
include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:33:3: error: #error You lose.
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: error: division by zero in #if
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: error: division by zero in #if
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: error: division by zero in #if
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: error: division by zero in #if
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:210:31: error: division by zero in #if

....


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: UML/x86_64 broke on debian etch
  2006-06-21 20:47 UML/x86_64 broke on debian etch Christoph Lameter
@ 2006-06-21 21:55 ` Jeff Dike
  2006-06-21 21:56   ` Christoph Lameter
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dike @ 2006-06-21 21:55 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: linux-kernel

On Wed, Jun 21, 2006 at 01:47:45PM -0700, Christoph Lameter wrote:
> Tried to use UML to do the page migration testing for x86_64 but ....

>   CC      arch/um/kernel/asm-offsets.s
> In file included from include/asm/timex.h:14,
>                  from include/linux/timex.h:61,
>                  from include/linux/sched.h:11,
>                  from arch/um/include/sysdep/kernel-offsets.h:3,
>                  from arch/um/kernel/asm-offsets.c:1:
> include/asm/processor.h:74: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared 
> here (not in a function)
> include/asm/processor.h:74: error: requested alignment is not a constant
> include/asm/processor.h:229: error: requested alignment is not a constant

Did you start with a defconfig?

This is what the corresponding part of my x86_64 build looks like
(2.6.17.1):

  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/bin2c
  CC      arch/um/kernel/asm-offsets.s
  GEN     include/asm-um/asm-offsets.h
  CC      init/main.o

				Jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: UML/x86_64 broke on debian etch
  2006-06-21 21:55 ` Jeff Dike
@ 2006-06-21 21:56   ` Christoph Lameter
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Lameter @ 2006-06-21 21:56 UTC (permalink / raw)
  To: Jeff Dike; +Cc: linux-kernel

On Wed, 21 Jun 2006, Jeff Dike wrote:

> Did you start with a defconfig?

No I did "make mrproper" and then "make menuconfig ARCH=um"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-21 21:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-21 20:47 UML/x86_64 broke on debian etch Christoph Lameter
2006-06-21 21:55 ` Jeff Dike
2006-06-21 21:56   ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).