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] why are deep cstates disabled?

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] why are deep cstates disabled?
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Mon, 19 Oct 2009 11:55:45 -0700 (PDT)
Cc:
Delivery-date: Mon, 19 Oct 2009 11:56:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C7025FDC.17E8D%keir.fraser@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/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
> > My D630 has no HPET... or at least there is no indication
> > in the BIOS menu that there is an HPET.
> 
> I think you do, since cpuidle_disable_deep_cstate() is called from
> handle_rtc_once(), which gets set up as a hook by 
> hpet_broadcast_init(),
> which only gets that far If it has managed to initialise an HPET.
> 
> > I tried setting "hpetbroadcast" and dom0 boot fails.
> 
> Err.. What happens?

Transcribing from the console...

INIT: version 2.86 booting
      Welcome to ....
      Press 'I' to enter ...
Real Time Clock Driver v1.12ac
select() to /dev/rtc to wait for clock tick timed out
Setting clock (utc): xxx [OK]
Starting udev:           [OK]
Loading default keymap (us) [OK]
Setting hostname localhost.localdomain [OK]
Setting up Logical Volume Management.... [DOM0 FREEZES HERE]

I suspect some timeout is being ignored?

The boot continues fine if I do not specify hpetbroadcast.

> > Is there any way to get C3 working on my box or am
> > I out of luck?
> 
> You could try commenting out function disable_pit_irq() and 
> its __initcall()
> invocation. This should cause fallback to pit_broadcast mode. It's a
> completely different non-HPET-related approach that you could try.

I tried this and got the same dom0 boot failure as above
EXCEPT no line beginning with "select() to /dev/rtc..."
(Same failure with and without hpetbroadcast option.)

Dan

P.S. This is with tip (c/s 20341) but NOT latest dom0.

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