Re: [lfs-support] How can I fix the following errors which happen after extracting linux 3.10.10 package (chapter 8)

2014-02-27 Thread Pierre Labastie
Le 27/02/2014 08:14, Bruce Dubbs a écrit :
 Yonas Zed wrote:
 i follow the instraction on LFS 7.4 to build my own distro using
 ubuntu 12.4,32 bits ...i run the ubuntu on vmware 9 by allocationg
 42GB space for storage and 2GB memory ...core-i7 2.20GHz
 processor...is there a different installation process for 32 and
 64 bit? or different linux 3.10.10 for 32 and 64 bits?..
 You seem to be hijacking the thread.  Your comments don't match the
 subject.  That said, if you use a 32-bit host, you will get a 32-bit
 LFS.  If you use a 64-bit host, you get a 64-bit LFS.  Running in vmware
 does not make a lot of difference outside of the kernel configuration.

Coming to the kernel configuration, There could be an explanation. I 
understand you used an Unbuntu 32 bit distribution on a virtual machine 
with 64 bit CPU. Doing that, as Bruce says, you get a 32 bit LFS. But 
the kernel configuration system may have seen the 64 bit CPU, and I 
think that is the source of the problem (from your original post):
-

kernel/bounds.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
-

Can you check that 64-bit kernel is not ticked when making the configuration 
of the kernel?
Also, if you have run make defconfig, try instead make i386_defconfig.

Regards
Pierre

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] How can I fix the following errors which happen after extracting linux 3.10.10 package (chapter 8)

2014-02-26 Thread Pierre Labastie
Le 26/02/2014 08:33, Yonas Zed a écrit :
  root:/sources/linux-3.10.10# make  make modules_install

 HOSTLD  scripts/kconfig/conf
 scripts/kconfig/conf --silentoldconfig Kconfig
SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h
HOSTCC  arch/x86/tools/relocs_32.o
HOSTCC  arch/x86/tools/relocs_64.o
HOSTCC  arch/x86/tools/relocs_common.o
HOSTLD  arch/x86/tools/relocs
WRAParch/x86/include/generated/asm/clkdev.h
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC  kernel/bounds.s

 kernel/bounds.c:1:0: error: code model 'kernel' not supported in the 32 bit 
 mode
   /*
   ^
 kernel/bounds.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
 make[1]: *** [kernel/bounds.s] Error 1
 make: *** [prepare0] Error 2
You do not say anything about configuring the kernel. What did you do 
for that?
Also, what is your hardware (processor type)?
Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] How can I fix the following errors which happen after extracting linux 3.10.10 package (chapter 8)

2014-02-26 Thread Yonas Zed
i follow the instraction on LFS 7.4 to build my own distro using
ubuntu 12.4,32 bits ...i run the ubuntu on vmware 9 by allocationg
42GB space for storage and 2GB memory ...core-i7 2.20GHz
processor...is there a different installation process for 32 and
64 bit? or different linux 3.10.10 for 32 and 64 bits?..

On 2/26/14, Pierre Labastie pierre.labas...@neuf.fr wrote:
 Le 26/02/2014 08:33, Yonas Zed a écrit :
  root:/sources/linux-3.10.10# make  make modules_install

 HOSTLD  scripts/kconfig/conf
 scripts/kconfig/conf --silentoldconfig Kconfig
SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h
HOSTCC  arch/x86/tools/relocs_32.o
HOSTCC  arch/x86/tools/relocs_64.o
HOSTCC  arch/x86/tools/relocs_common.o
HOSTLD  arch/x86/tools/relocs
WRAParch/x86/include/generated/asm/clkdev.h
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC  kernel/bounds.s

 kernel/bounds.c:1:0: error: code model 'kernel' not supported in the 32
 bit mode
   /*
   ^
 kernel/bounds.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
 make[1]: *** [kernel/bounds.s] Error 1
 make: *** [prepare0] Error 2
 You do not say anything about configuring the kernel. What did you do
 for that?
 Also, what is your hardware (processor type)?
 Pierre
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] How can I fix the following errors which happen after extracting linux 3.10.10 package (chapter 8)

2014-02-26 Thread Bruce Dubbs
Yonas Zed wrote:
 i follow the instraction on LFS 7.4 to build my own distro using
 ubuntu 12.4,32 bits ...i run the ubuntu on vmware 9 by allocationg
 42GB space for storage and 2GB memory ...core-i7 2.20GHz
 processor...is there a different installation process for 32 and
 64 bit? or different linux 3.10.10 for 32 and 64 bits?..

You seem to be hijacking the thread.  Your comments don't match the 
subject.  That said, if you use a 32-bit host, you will get a 32-bit 
LFS.  If you use a 64-bit host, you get a 64-bit LFS.  Running in vmware 
does not make a lot of difference outside of the kernel configuration.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] How can I fix the following errors which happen after extracting linux 3.10.10 package (chapter 8)

2014-02-25 Thread Yonas Zed
root:/sources/linux-3.10.10# make  make modules_install

HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  WRAParch/x86/include/generated/asm/clkdev.h
  CHK include/generated/uapi/linux/version.h
  UPD include/generated/uapi/linux/version.h
  CHK include/generated/utsrelease.h
  UPD include/generated/utsrelease.h
  CC  kernel/bounds.s

 kernel/bounds.c:1:0: error: code model 'kernel' not supported in the 32 bit 
 mode
 /*
 ^
kernel/bounds.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page