[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] need to compile 32bit on x86_64 cpu

Hi Keir!

I loop mount a 32bit image and do a chroot to it. Inside it the cpu is still showing as x86_64.

So i installed setarch and use it to set it as i386 and then try a yum update/ use yum to install any package, it gives an error

Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in ?
    import yum
  File "__init__.py", line 33, in ?
  File "updates.py", line 18, in ?
  File " arch.py", line 218, in ?
  File "arch.py", line 208, in getCanonArch
  File "arch.py", line 139, in getCanonX86Arch
IOError: [Errno 2] No such file or directory: '/proc/cpuinfo'

When i try to cat /proc/cpuinfo, it seems it doesn't exist :(

Any ideas where i am going wrong ?


On 6/22/06, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx > wrote:
In Cambridge we chroot into a 32-bit filesystem to build 32-bit
binaries on 64-bit host. Works fine.


Anand Gupta
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.