WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] HVM hangs with screen_info patch applied

To: kvm-ia64@xxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] HVM hangs with screen_info patch applied
From: Jes Sorensen <jes@xxxxxxx>
Date: Mon, 05 May 2008 17:33:23 +0200
Cc: Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 05 May 2008 08:33:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080226)
Hi,

Having had a ton of problems booting my self-compiled recent kernels
under KVM, I started tracking down the patch causing the issues. It
looks like it's patch e087db510cd96a75a614f6f6fcd5499ab21cb087 which
simply changes the packing attributes to struct screen_info. Given that
we on ia64 don't have to match the struct to anything passed in by the
boot loader, this really shouldn't matter, but it seems like it does.

I mentioned this on #ia64 and it shows up Alex Williamson hit a similar
problem with HVM emulation under Xen some time ago. However, the problem
went away by itself. Ie. it looks like this could be either a compiler,
qemu or some of the hypervisor code shared by Xen and KVM that causes
the problem. I doubt it's gcc related, given that the code works fine on
real hardware.

The other things I noticed is that the hangs go away if I compile my
guest kernel with gcc 3.4.3, whereas it fails using gcc-4.1.2 and 4.0.2.

Anyway, not a fix, but I wanted to let everyone know that if you are
seeing boot hangs of HVM guests it could be the same problem you are
facing.

Cheers,
Jes



commit e087db510cd96a75a614f6f6fcd5499ab21cb087
Author: H. Peter Anvin <hpa@xxxxxxxxx>
Date:   Wed Jul 11 12:18:31 2007 -0700

    Clean up struct screen_info (<linux/screen_info.h>)

    struct screen_info has unaligned members, it needs to be packed.
    In the process, fix the naming of some of the members, which don't
    belong in this structure but are part of it anyway.

    Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>