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] Debugging a weird hardware fault.

To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Subject: Re: [Xen-devel] Debugging a weird hardware fault.
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 02 Aug 2011 07:26:08 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, winston.l.wang@xxxxxxxxx, gang.wei@xxxxxxxxx
Delivery-date: Tue, 02 Aug 2011 07:26:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=TpXlAMifywgi4jqbX0jMXXaWneFCimDECO7YbnQj/jE=; b=gmFd6s8uK+eRrrFqcDT08IgJIXBFzQtBUlnaAHUlOC/3Jt1QDsfB6QM0eV5L34aWB6 9bvpuyM+1g/ROJ5kiL3Vf7FFLjY8MBPd+/fJsZvmV8rS8g8eA1TxKC6tlhL+vZodU3Y/ ZVAbL+pJQLhwbqY2CsjtA8UjAcf4zALBaC3Jg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E38063D.2030103@xxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxRIB6J0LgsfgOepkOR63RDQrhdVw==
Thread-topic: [Xen-devel] Debugging a weird hardware fault.
User-agent: Microsoft-Entourage/12.30.0.110427
On 02/08/2011 07:14, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx> wrote:

> Just for information, this turned out to be a BIOS bug.  It was setting
> a 6 second timer when executing _PTS, which hit the system reset if
> PM1{a,b} had not been hit when the timer expired.  As Xen does all of
> its shutdown after the call to _PTS and before PM1{a,b}, there is a
> significant time gap, which was falling fowl of the timer in most cases.

Six seconds though, that's quite a long time! Is it a big box?

> In this case, it seems likely that a BIOS fix can be done, as Supermicro
> do provide a custom BIOS for the NetScalar box in question.
> 
> However, If anyone else comes across this issue, we did make a software
> solution.  You can replace /etc/init.d/halt (or equivalent for your
> chosen dom0 distro) to KEXEC reboot into a native kernel which listens
> for a special command line parameter and calls pm_power_off_prepare()
> and pm_power_off() after the ACPI module has initialized[1].
> 
> This issue does however show that Xen itself is in breach of the ACPI
> spec, which is a dangerous situation to be in given the fragility of
> APCI at the best of times.  In due course, I will put my mind to solving
> the dom0-Xen ACPI interaction problems if the question is still open.

Yes, this is ultimately the issue. It's going to be a pain to fix properly,
unfortunately.

 -- Keir



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

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