Bug 717216

Summary: i386 PV DomU crash while running over the 5.3.z xen hypervisor
Product: Red Hat Enterprise Linux 5 Reporter: Qixiang Wan <qwan>
Component: kernel-xenAssignee: Phillip Lougher <plougher>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.3.zCC: bsarathy, drjones, leiwang, lersek, sforsber, xen-maint
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-10 15:46:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 616827    
Bug Blocks:    

Description Qixiang Wan 2011-06-28 11:50:42 UTC
Description of problem:
RHEL6 i386 PV DomU crash while running over the 5.3.z xen hypervisor (xen.gz-2.6.18-128.32.1.el5), Dom0 kernel is RHEL5.6. The crash can't be reproduced with 5.6 xen hypervisor (xen.gz-2.6.18-238.el5xen). Guest kernel is 2.6.32-131.0.15.el6.i686 or newer. 

(XEN) Unhandled page fault in domain 9 on VCPU 0 (ec=0000)
(XEN) Pagetable walk from 0000000007676048:
(XEN)  L4[0x000] = 000000479d813027 0000000000002d78
(XEN)  L3[0x000] = 0000000000000000 ffffffffffffffff
(XEN) domain_crash_sync called from entry.S
(XEN) Domain 9 (vcpu#0) crashed on cpu#63:
(XEN) ----[ Xen-3.1.2-128.32.1.el5  x86_64  debug=n  Not tainted ]----
(XEN) CPU:    63
(XEN) RIP:    e019:[<00000000c0a62600>]
(XEN) RFLAGS: 0000000000000246   CONTEXT: guest
(XEN) rax: 0000000000000000   rbx: 00000000c2d78000   rcx: 0000000000000047
(XEN) rdx: 000000000479d812   rsi: 00000000c2d75000   rdi: 00000000c0a01064
(XEN) rbp: 0000000000000000   rsp: 00000000c09f3f8c   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 000000008005003b   cr4: 00000000000026b0
(XEN) cr3: 00000047b35ef000   cr2: 0000000007676048
(XEN) ds: e021   es: e021   fs: 00d8   gs: 00e0   ss: e021   cs: e019
(XEN) Guest stack trace from esp=c09f3f8c:
(XEN)   00000000 c0a62600 0001e019 00010046 00000000 00000ad8 00000100 c09f3f90
(XEN)   c09f3fd2 07e6eab3 c09f3f94 c0ad9000 c0a01064 00040000 c2d78000 c2d78000
(XEN)   c2d75000 c0a01064 00000000 c0a61916 c09f3ff4 00000018 c04090ae 000206e6
(XEN)   77200800 00bce3b5 9fab8171 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000


Version-Release number of selected component (if applicable):
Host: Intel,  xen.gz-2.6.18-128.32.1.el5 + 238 Dom0 kernel
Guest: RHEL6.1 i386 PV guest (GA kernel).

How reproducible:
100%

Steps to Reproduce:
1. boot up the RHEL6.1 i386 pv DomU (memory or vcpus configuration won't make difference) over the RHEL5.3.z hypervisor
  
Actual results:
Guest crashed immediately after creat

Expected results:
Guest run well

Additional info:

Comment 1 Qixiang Wan 2011-06-28 12:34:55 UTC
It can be reproduced with RHEL5.6 and RHEL6.0 i386 PV DomU on the same host (Dell R910 Intel X7550 cpu).

And I can't reproduce this with other 2 hosts (AMD 1220 and Intel Q9400).

Comment 9 Phillip Lougher 2011-09-02 19:17:04 UTC
in kernel-2.6.18-128.34.1.el5

Revert of xen-correct-bitsize-calculation-for-32-on-64.patch