Bug 451520

Summary: 32bit applications do not run on x86_64 xen guest
Product: [Fedora] Fedora Reporter: Bjørn Tore Sund <bjorn.sund>
Component: xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: berrange
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-15 12:39:02 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Bjørn Tore Sund 2008-06-15 06:42:53 EDT
Description of problem:
Any attempt to execute a 32bit compiled application on an x86_64 Fedora 9 xen
guest fails, both Fedora-supplied applications and 3rd party applications. 
Crashes with "cannot execute binary file", strace dumps "write(3, "strace: exec:
Exec format error\n", 32strace: exec: Exec format error) = 32" very quickly.

Version-Release number of selected component (if applicable):
Running Fedora 9 guest on RHEL 5.2 host, both x86_64 and fully patched, Fedora 9
guest with kernel

How reproducible:
100% reproducible.  Happens every time.  Problem not visible on identical x86_64
bit installation on desktop machine, problem also not visible on Fedora 8 or 7
x86_64 guest installations.

Steps to Reproduce:
1. On 64bit host, try executing for instance /usr/bin/mbchk from
grub-0.97-33.fc9.x86_64 - but any 32bit application will do.
Actual results:
It crashes.

Expected results:
It doesn't crash. :)

Additional info:
The only difference between the xen guest and a normal installation should be
the kernel, so I suspect there's a parameter in there not set?
Comment 1 Eduardo Habkost 2008-06-15 12:39:02 EDT
IA 32 emulation wasn't supported on kernel-xen It was
added on kernel-xen-2.6-

*** This bug has been marked as a duplicate of 437358 ***