mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* missing asm-x86_64 detection
@ 2008-01-31 23:13 Reinaldo Carvalho
  2008-02-01  4:50 ` H. Peter Anvin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Reinaldo Carvalho @ 2008-01-31 23:13 UTC (permalink / raw)
  To: Linux Kernel Mailing List

:/# uname -a
Linux devil 2.6.22.16-amd64 #15 SMP Sat Jan 19 13:58:02 BRT 2008
x86_64 GNU/Linux

:/# cd /usr/src/linux-2.6.22
:/# patch -p1 -R < ../patch-2.6.22.16
:/# patch -p1 < ../patch-2.6.23
:/# patch -p1 < ../patch-2.6.24
:/# cd /usr/src/ ; mv linux-2.6.22 linux-2.6.24; cd linux-2.6.24
:/usr/src/linux-2.6.24# make oldconfig
:/usr/src/linux-2.6.24# make all
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
ERROR: the symlink include/asm points to asm-x86_64 but asm-x86 was expected
       set ARCH or save .config and run 'make mrproper' to fix it
make: ** [include/asm] Erro 1

:/usr/src/linux-2.6.24# cp .config ../config-2.6.24
:/usr/src/linux-2.6.24# make mrproper
  CLEAN   scripts/basic
  CLEAN   scripts/genksyms
  CLEAN   scripts/kconfig
  CLEAN   scripts/mod
  CLEAN   scripts
  CLEAN   include/config
  CLEAN   .config .config.old include/asm .version
include/linux/autoconf.h include/linux/version.h
include/linux/utsrelease.h Module.symvers
devil:/usr/src/linux-2.6.24# cp ../config-2.6.24 .config
devil:/usr/src/linux-2.6.24# make oldconfig
devil:/usr/src/linux-2.6.24# make all
scripts/kconfig/conf -s arch/x86/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/asm-x86/asm-offsets.h
...

system is x86_64!

:/# grep model\ name /proc/cpuinfo
model name      : AMD Turion(tm) 64 X2
model name      : AMD Turion(tm) 64 X2

:/# uname -a
Linux devil 2.6.22.16-amd64 #15 SMP Sat Jan 19 13:58:02 BRT 2008
x86_64 GNU/Linux


-- 
Reinaldo Carvalho

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

* Re: missing asm-x86_64 detection
  2008-01-31 23:13 missing asm-x86_64 detection Reinaldo Carvalho
@ 2008-02-01  4:50 ` H. Peter Anvin
  2008-02-01  4:53 ` Lee Revell
  2008-02-01  5:29 ` Nish Aravamudan
  2 siblings, 0 replies; 4+ messages in thread
From: H. Peter Anvin @ 2008-02-01  4:50 UTC (permalink / raw)
  To: Reinaldo Carvalho; +Cc: Linux Kernel Mailing List

Reinaldo Carvalho wrote:
> :/# uname -a
> Linux devil 2.6.22.16-amd64 #15 SMP Sat Jan 19 13:58:02 BRT 2008
> x86_64 GNU/Linux
> 
> :/# cd /usr/src/linux-2.6.22
> :/# patch -p1 -R < ../patch-2.6.22.16
> :/# patch -p1 < ../patch-2.6.23
> :/# patch -p1 < ../patch-2.6.24
> :/# cd /usr/src/ ; mv linux-2.6.22 linux-2.6.24; cd linux-2.6.24
> :/usr/src/linux-2.6.24# make oldconfig
> :/usr/src/linux-2.6.24# make all
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
> ERROR: the symlink include/asm points to asm-x86_64 but asm-x86 was expected
>        set ARCH or save .config and run 'make mrproper' to fix it
> make: ** [include/asm] Erro 1
> 

"make mrproper" please.

	-hpa

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

* Re: missing asm-x86_64 detection
  2008-01-31 23:13 missing asm-x86_64 detection Reinaldo Carvalho
  2008-02-01  4:50 ` H. Peter Anvin
@ 2008-02-01  4:53 ` Lee Revell
  2008-02-01  5:29 ` Nish Aravamudan
  2 siblings, 0 replies; 4+ messages in thread
From: Lee Revell @ 2008-02-01  4:53 UTC (permalink / raw)
  To: Reinaldo Carvalho; +Cc: Linux Kernel Mailing List

On Jan 31, 2008 6:13 PM, Reinaldo Carvalho <reinaldow@gmail.com> wrote:
> system is x86_64!
>
> :/# grep model\ name /proc/cpuinfo
> model name      : AMD Turion(tm) 64 X2
> model name      : AMD Turion(tm) 64 X2

What does "head -20 /usr/src/config-2.6.24" say?

Lee

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

* Re: missing asm-x86_64 detection
  2008-01-31 23:13 missing asm-x86_64 detection Reinaldo Carvalho
  2008-02-01  4:50 ` H. Peter Anvin
  2008-02-01  4:53 ` Lee Revell
@ 2008-02-01  5:29 ` Nish Aravamudan
  2 siblings, 0 replies; 4+ messages in thread
From: Nish Aravamudan @ 2008-02-01  5:29 UTC (permalink / raw)
  To: Reinaldo Carvalho; +Cc: Linux Kernel Mailing List

On 1/31/08, Reinaldo Carvalho <reinaldow@gmail.com> wrote:
> :/# uname -a
> Linux devil 2.6.22.16-amd64 #15 SMP Sat Jan 19 13:58:02 BRT 2008
> x86_64 GNU/Linux
>
> :/# cd /usr/src/linux-2.6.22
> :/# patch -p1 -R < ../patch-2.6.22.16
> :/# patch -p1 < ../patch-2.6.23
> :/# patch -p1 < ../patch-2.6.24
> :/# cd /usr/src/ ; mv linux-2.6.22 linux-2.6.24; cd linux-2.6.24
> :/usr/src/linux-2.6.24# make oldconfig
> :/usr/src/linux-2.6.24# make all
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
> ERROR: the symlink include/asm points to asm-x86_64 but asm-x86 was expected
>        set ARCH or save .config and run 'make mrproper' to fix it
> make: ** [include/asm] Erro 1
>
> :/usr/src/linux-2.6.24# cp .config ../config-2.6.24
> :/usr/src/linux-2.6.24# make mrproper
>   CLEAN   scripts/basic
>   CLEAN   scripts/genksyms
>   CLEAN   scripts/kconfig
>   CLEAN   scripts/mod
>   CLEAN   scripts
>   CLEAN   include/config
>   CLEAN   .config .config.old include/asm .version
> include/linux/autoconf.h include/linux/version.h
> include/linux/utsrelease.h Module.symvers
> devil:/usr/src/linux-2.6.24# cp ../config-2.6.24 .config
> devil:/usr/src/linux-2.6.24# make oldconfig
> devil:/usr/src/linux-2.6.24# make all
> scripts/kconfig/conf -s arch/x86/Kconfig
>   CHK     include/linux/version.h
>   UPD     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   UPD     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-x86
>   CC      arch/x86/kernel/asm-offsets.s
>   GEN     include/asm-x86/asm-offsets.h
> ...
>
> system is x86_64!

And your point? The archs are being merged into just x86 (instead of
x86_32 and x86_64 being separate). That's why the asm-x86_64 symlink
was complained about above.

There is no error. Check your config that CONFIG_64BIT and
CONFIG_X86_64 are set.

Thanks,
Nish

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

end of thread, other threads:[~2008-02-01  5:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-31 23:13 missing asm-x86_64 detection Reinaldo Carvalho
2008-02-01  4:50 ` H. Peter Anvin
2008-02-01  4:53 ` Lee Revell
2008-02-01  5:29 ` Nish Aravamudan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®