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   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-15 16:39:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bjørn Tore Sund 2008-06-15 10:42:53 UTC
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 2.6.25.3-1.fc9.x86_64.xen.

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 16:39:02 UTC
IA 32 emulation wasn't supported on kernel-xen 2.6.25.3-1.fc9.x86_64.xen. It was
added on kernel-xen-2.6-2.6.25.3-2.fc9.

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