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-devel

Re: [Xen-devel] Soft lockup/Time went backwards in latest unstable

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Soft lockup/Time went backwards in latest unstable
From: Derek Murray <Derek.Murray@xxxxxxxxxxxx>
Date: Wed, 28 Feb 2007 11:25:28 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Feb 2007 03:24:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2088F92.A1C9%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C2088F92.A1C9%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 26 Feb 2007, at 13:22, Keir Fraser wrote:

There were big changes to Linux's time handling between
2.6.16 and 2.6.18 so bugs may hav ebeen introduced while porting out own timer code. It might be worth diffing the file time-xen.c from working and non-working Linux kernels. It's weird that the failure mode is bad on the T60p yet noone else has reported this bug, nor has our testing reproduced
it. :-(

Some more information on the bug hunt in progress, in case anyone with more experience has any ideas:

* Changeset 13508 (i.e. the last one before the transition to a 2.6.17 kernel) fails in the same way as the current unstable, but it uses a 2.6.16.33 kernel. * Changeset 13213 (which introduced the idle=poll option in the kernel when running on Xen) also fails with a 2.6.16.33 kernel. * Changeset 13216 fails to boot at all (or, at least, locks up for >= 30 seconds on boot). * Changeset 13217 ("Make sure we always have a sensible idle function; this fixed problems") fails with time going backwards.
* Changeset 13212, however, works.

The only relevant changes between changesets 13212 and 13213 apply to the file linux-2.6-xen-sparse/arch/i386/kernel/process-xen.c (and the corresponding x86_64 file), to which a poll_idle() function has been added. I don't quite understand the significance of this, but could it be responsible for the bug that I'm seeing?

Regards,

Derek Murray.

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