Bug 702652 - provide option to disable HPET
Summary: provide option to disable HPET
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen
Version: 5.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 702607 703193
Blocks: 514489 518435 773360
TreeView+ depends on / blocked
 
Reported: 2011-05-06 13:44 UTC by Paolo Bonzini
Modified: 2012-01-11 16:20 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 702607
Environment:
Last Closed: 2011-07-21 10:13:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch for hv support (2.11 KB, patch)
2011-05-09 11:48 UTC, Paolo Bonzini
no flags Details | Diff
hal timer .cpk (263.57 KB, application/octet-stream)
2011-05-16 11:14 UTC, yuping zhang
no flags Details
xm dmesg before run hal timer job (16.00 KB, text/plain)
2011-05-17 08:47 UTC, yuping zhang
no flags Details
xm dmesg after run hal timer job (16.00 KB, text/plain)
2011-05-17 08:49 UTC, yuping zhang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1065 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.7 kernel security and bug fix update 2011-07-21 09:21:37 UTC

Description Paolo Bonzini 2011-05-06 13:44:03 UTC
+++ This bug was initially created as a clone of Bug #702607 +++

Created attachment 497324 [details]
.cpk file

Description of problem:
Create VM(win2k8r2) based on Intel host,and configure SVVP environment,then run Hal timer tests job,it will fail.

Version-Release number of selected component (if applicable):
xen-3.0.3-129.el5
kernel-xen-2.6.18-257.el5
xenpv-win-1.3.4-9.el5

How reproducible:
100%

Steps to Reproduce:
1.Run the Hal timer tests job on VM based on Intel host.


Actual results:
Hal timer tests fail

Expected results:
Hal timer test job pass

Additional info:
The job passed when run on VM based on AMD host

--- Additional comment from yupzhang on 2011-05-06 06:29:48 EDT ---

Created attachment 497326 [details]
.wtl file

--- Additional comment from pbonzini on 2011-05-06 09:42:48 EDT ---

We'll disable the HPET via upstream c/s 17017.  Changing component and cloning to kernel-xen.

Comment 2 Paolo Bonzini 2011-05-09 11:48:55 UTC
Created attachment 497771 [details]
patch for hv support

Comment 3 RHEL Program Management 2011-05-09 12:09:30 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Jarod Wilson 2011-05-13 22:22:05 UTC
Patch(es) available in kernel-2.6.18-261.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5
Detailed testing feedback is always welcomed.

Comment 7 Yuyu Zhou 2011-05-16 01:22:36 UTC
Verified this bug on xen-3.0.3-131.el5, kernel-xen-2.6.18-261.el5 with RHEL5.5
hvm guest.

Steps:
1. add "hpet=0/1" in configure file and create vm
2. install pmtools package
The pmtools source can be found at:
http://www.lesswatts.org/projects/acpi/utilities.php
3. compare the output of acpidump with hpet=0 and the output with hpet=1

when hpet=1
#acpidump|grep HPET
HPET @ 0xeb240
  0000: 48 50 45 54 38 00 00 00 01 d2 58 65 6e 00 00 00  HPET8.....Xen...

when hpet=0
#acpidump|grep HPET
Actually nothing show up

According to comment 18 and comment 19 in bug 702607 and above info, change the status into VERIFIED.

Comment 8 Paolo Bonzini 2011-05-16 10:17:11 UTC
Please type the following in a Linux guest with hpet=0 and hpet=1

sudo dd if=/dev/mem bs=16 skip=$((0xea00)) count=1 | od -x

and include the output here.

Also, please ensure you're using pmtools-20071116 and attach the full acpidump output for hpet=1.  Thanks!

Comment 10 Yuyu Zhou 2011-05-16 10:52:10 UTC
(In reply to comment #8)
> Please type the following in a Linux guest with hpet=0 and hpet=1
> 
> sudo dd if=/dev/mem bs=16 skip=$((0xea00)) count=1 | od -x
> 
> and include the output here.
> 
hpet=0:
[root@localhost ~]# sudo if=/dev/mem bs=16 skip=$((0xea00)) count=1 | od -x
0000000 7375 6761 3a65 7320 6475 206f 682d 7c20
0000020 2d20 204b 207c 6b2d 7c20 2d20 204c 207c
0000040 562d 750a 6173 6567 203a 7573 6f64 2d20
0000060 2076 2d5b 6b41 536e 205d 2d5b 2070 7270
0000100 6d6f 7470 0a5d 7375 6761 3a65 7320 6475
0000120 206f 6c2d 6c5b 205d 2d5b 6b41 536e 205d
0000140 2d5b 2067 7267 756f 6e70 6d61 7c65 6723
0000160 6469 205d 2d5b 2070 7270 6d6f 7470 205d
0000200 2d5b 2055 7375 7265 616e 656d 205d 2d5b
0000220 0a75 2020 2020 2020 2020 2020 2020 7375
0000240 7265 616e 656d 237c 6975 5d64 5b20 672d
0000260 6720 6f72 7075 616e 656d 237c 6967 5d64
0000300 5b20 6f63 6d6d 6e61 5d64 750a 6173 6567
0000320 203a 7573 6f64 5b20 412d 4562 6b48 506e
0000340 5d53 5b20 722d 7220 6c6f 5d65 5b20 742d
0000360 7420 7079 5d65 5b20 432d 6620 5d64 5b20
0000400 672d 6720 6f72 7075 616e 656d 237c 6967
0000420 5d64 5b20 702d 200a 2020 2020 2020 2020
0000440 2020 7020 6f72 706d 5d74 5b20 752d 7520
0000460 6573 6e72 6d61 7c65 7523 6469 205d 2d5b
0000500 2067 7267 756f 6e70 6d61 7c65 6723 6469
0000520 205d 565b 5241 763d 6c61 6575 205d 2d5b
0000540 7c69 732d 0a5d 2020 2020 2020 2020 2020
0000560 2020 3c5b 6f63 6d6d 6e61 3e64 0a5d 7375
0000600 6761 3a65 7320 6475 206f 652d 5b20 412d
0000620 6e6b 5d53 5b20 722d 7220 6c6f 5d65 5b20
0000640 742d 7420 7079 5d65 5b20 432d 6620 5d64
0000660 5b20 672d 6720 6f72 7075 616e 656d 237c
0000700 6967 5d64 5b20 702d 200a 2020 2020 2020
0000720 2020 2020 7020 6f72 706d 5d74 5b20 752d
0000740 7520 6573 6e72 6d61 7c65 7523 6469 205d
0000760 6966 656c 2e20 2e2e 000a
0000771

hpet=1:
[root@localhost ~]# sudo dd if=/dev/mem bs=16 skip=$((0xea00)) count=1 | od -x
1+0 records in
1+0 records out
16 bytes (16 B) copied, 8.8e-05 seconds, 182 kB/s
0000000 0005 0000 0000 0000 0000 0000 0000 0000
0000020

> Also, please ensure you're using pmtools-20071116 and attach the full acpidump
> output for hpet=1.  Thanks!

yes, I am using pmtools-20071116.

full acpidump output for hpet=1:

[root@localhost acpidump]# ./acpidump
DSDT @ 0xea050
  0000: 44 53 44 54 ea 0f 00 00 02 b3 58 65 6e 00 00 00  DSDT......Xen...
  0010: 48 56 4d 00 00 00 00 00 00 00 00 00 49 4e 54 4c  HVM.........INTL
  0020: 13 04 11 20 08 50 4d 42 53 0b 00 0c 08 50 4d 4c  ... .PMBS....PML
  0030: 4e 0a 08 08 49 4f 42 31 00 08 49 4f 4c 31 00 08  N...IOB1..IOL1..
  0040: 41 50 43 42 0c 00 00 c0 fe 08 41 50 43 4c 0c 00  APCB......APCL..
  0050: 00 01 00 08 50 55 49 44 00 08 5f 53 35 5f 12 08  ....PUID.._S5_..
  0060: 04 0a 07 0a 07 00 00 08 50 49 43 44 00 14 0c 5f  ........PICD..._
  0070: 50 49 43 01 70 68 50 49 43 44 10 40 eb 5f 53 42  PIC.phPICD.@._SB
  0080: 5f 5b 80 42 49 4f 53 00 0c 00 a0 0e 00 0a 10 5b  _[.BIOS........[
  0090: 81 15 42 49 4f 53 01 55 41 52 31 01 55 41 52 32  ..BIOS.UAR1.UAR2
  00a0: 01 48 50 45 54 01 5b 82 49 04 4d 45 4d 30 08 5f  .HPET.[.I.MEM0._
  00b0: 48 49 44 0c 41 d0 0c 02 08 5f 43 52 53 11 33 0a  HID.A...._CRS.3.
  00c0: 30 8a 2b 00 00 0d 03 00 00 00 00 00 00 00 00 00  0.+.............
  00d0: 00 00 00 00 00 00 00 ff ff 09 00 00 00 00 00 00  ................
  00e0: 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 79  ...............y
  00f0: 00 5b 82 48 e3 50 43 49 30 08 5f 48 49 44 0c 41  .[.H.PCI0._HID.A
  0100: d0 0a 03 08 5f 55 49 44 00 08 5f 41 44 52 00 08  ...._UID.._ADR..
  0110: 5f 42 42 4e 00 5b 82 2a 48 50 30 5f 08 5f 48 49  _BBN.[.*HP0_._HI
  0120: 44 0c 41 d0 0c 02 08 5f 43 52 53 11 15 0a 12 47  D.A...._CRS....G
  0130: 01 c0 10 c0 10 00 03 47 01 44 b0 44 b0 00 04 79  .......G.D.D...y
  0140: 00 14 44 08 5f 43 52 53 00 08 50 52 54 30 11 42  ..D._CRS..PRT0.B
  0150: 07 0a 6e 88 0d 00 02 0f 00 00 00 00 00 ff 00 00  ..n.............
  0160: 00 00 01 47 01 f8 0c f8 0c 01 08 88 0d 00 01 0c  ...G............
  0170: 03 00 00 00 00 f7 0c 00 00 f8 0c 88 0d 00 01 0c  ................
  0180: 03 00 00 00 0d ff ff 00 00 00 f3 87 17 00 00 0c  ................
  0190: 03 00 00 00 00 00 00 0a 00 ff ff 0b 00 00 00 00  ................
  01a0: 00 00 00 02 00 87 17 00 00 0d 03 00 00 00 00 00  ................
  01b0: 00 00 f0 ff ff ff f4 00 00 00 00 00 00 00 05 79  ...............y
  01c0: 00 a4 50 52 54 30 08 42 55 46 41 11 09 0a 06 23  ..PRT0.BUFA....#
  01d0: a0 0c 18 79 00 08 42 55 46 42 11 09 0a 06 23 00  ...y..BUFB....#.
  01e0: 00 18 79 00 8b 42 55 46 42 01 49 52 51 56 5b 82  ..y..BUFB.IRQV[.
  01f0: 48 08 4c 4e 4b 41 08 5f 48 49 44 0c 41 d0 0c 0f  H.LNKA._HID.A...
  0200: 08 5f 55 49 44 01 14 1c 5f 53 54 41 00 7b 50 49  ._UID..._STA.{PI
  0210: 52 41 0a 80 60 a0 08 93 60 0a 80 a4 0a 09 a1 04  RA..`...`.......
  0220: a4 0a 0b 14 0b 5f 50 52 53 00 a4 42 55 46 41 14  ....._PRS..BUFA.
  0230: 11 5f 44 49 53 00 7d 50 49 52 41 0a 80 50 49 52  ._DIS.}PIRA..PIR
  0240: 41 14 1a 5f 43 52 53 00 7b 50 49 52 41 0a 0f 60  A.._CRS.{PIRA..`
  0250: 79 01 60 49 52 51 56 a4 42 55 46 42 14 1b 5f 53  y.`IRQV.BUFB.._S
  0260: 52 53 01 8b 68 01 49 52 51 31 82 49 52 51 31 60  RS..h.IRQ1.IRQ1`
  0270: 76 60 70 60 50 49 52 41 5b 82 49 08 4c 4e 4b 42  v`p`PIRA[.I.LNKB
  0280: 08 5f 48 49 44 0c 41 d0 0c 0f 08 5f 55 49 44 0a  ._HID.A...._UID.
  0290: 02 14 1c 5f 53 54 41 00 7b 50 49 52 42 0a 80 60  ..._STA.{PIRB..`
  02a0: a0 08 93 60 0a 80 a4 0a 09 a1 04 a4 0a 0b 14 0b  ...`............
  02b0: 5f 50 52 53 00 a4 42 55 46 41 14 11 5f 44 49 53  _PRS..BUFA.._DIS
  02c0: 00 7d 50 49 52 42 0a 80 50 49 52 42 14 1a 5f 43  .}PIRB..PIRB.._C
  02d0: 52 53 00 7b 50 49 52 42 0a 0f 60 79 01 60 49 52  RS.{PIRB..`y.`IR
  02e0: 51 56 a4 42 55 46 42 14 1b 5f 53 52 53 01 8b 68  QV.BUFB.._SRS..h
  02f0: 01 49 52 51 31 82 49 52 51 31 60 76 60 70 60 50  .IRQ1.IRQ1`v`p`P
  0300: 49 52 42 5b 82 49 08 4c 4e 4b 43 08 5f 48 49 44  IRB[.I.LNKC._HID
  0310: 0c 41 d0 0c 0f 08 5f 55 49 44 0a 03 14 1c 5f 53  .A...._UID...._S
  0320: 54 41 00 7b 50 49 52 43 0a 80 60 a0 08 93 60 0a  TA.{PIRC..`...`.
  0330: 80 a4 0a 09 a1 04 a4 0a 0b 14 0b 5f 50 52 53 00  ..........._PRS.
  0340: a4 42 55 46 41 14 11 5f 44 49 53 00 7d 50 49 52  .BUFA.._DIS.}PIR
  0350: 43 0a 80 50 49 52 43 14 1a 5f 43 52 53 00 7b 50  C..PIRC.._CRS.{P
  0360: 49 52 43 0a 0f 60 79 01 60 49 52 51 56 a4 42 55  IRC..`y.`IRQV.BU
  0370: 46 42 14 1b 5f 53 52 53 01 8b 68 01 49 52 51 31  FB.._SRS..h.IRQ1
  0380: 82 49 52 51 31 60 76 60 70 60 50 49 52 43 5b 82  .IRQ1`v`p`PIRC[.
  0390: 49 08 4c 4e 4b 44 08 5f 48 49 44 0c 41 d0 0c 0f  I.LNKD._HID.A...
  03a0: 08 5f 55 49 44 0a 04 14 1c 5f 53 54 41 00 7b 50  ._UID...._STA.{P
  03b0: 49 52 44 0a 80 60 a0 08 93 60 0a 80 a4 0a 09 a1  IRD..`...`......
  03c0: 04 a4 0a 0b 14 0b 5f 50 52 53 00 a4 42 55 46 41  ......_PRS..BUFA
  03d0: 14 11 5f 44 49 53 00 7d 50 49 52 44 0a 80 50 49  .._DIS.}PIRD..PI
  03e0: 52 44 14 1a 5f 43 52 53 00 7b 50 49 52 44 0a 0f  RD.._CRS.{PIRD..
  03f0: 60 79 01 60 49 52 51 56 a4 42 55 46 42 14 1b 5f  `y.`IRQV.BUFB.._
  0400: 53 52 53 01 8b 68 01 49 52 51 31 82 49 52 51 31  SRS..h.IRQ1.IRQ1
  0410: 60 76 60 70 60 50 49 52 44 5b 82 44 05 48 50 45  `v`p`PIRD[.D.HPE
  0420: 54 08 5f 48 49 44 0c 41 d0 01 03 08 5f 55 49 44  T._HID.A...._UID
  0430: 00 14 18 5f 53 54 41 00 a0 0c 93 5e 5e 5e 48 50  ..._STA....^^^HP
  0440: 45 54 00 a4 00 a1 04 a4 0a 0f 08 5f 43 52 53 11  ET........._CRS.
  0450: 1f 0a 1c 87 17 00 00 0d 01 00 00 00 00 00 00 d0  ................
  0460: fe ff 03 d0 fe 00 00 00 00 00 04 00 00 79 00 14  .............y..
  0470: 16 5f 50 52 54 00 a0 0a 50 49 43 44 a4 50 52 54  ._PRT...PICD.PRT
  0480: 41 a4 50 52 54 50 08 50 52 54 50 12 49 36 3c 12  A.PRTP.PRTP.I6<.
  0490: 0d 04 0c ff ff 01 00 00 4c 4e 4b 42 00 12 0d 04  ........LNKB....
  04a0: 0c ff ff 01 00 01 4c 4e 4b 43 00 12 0e 04 0c ff  ......LNKC......
  04b0: ff 01 00 0a 02 4c 4e 4b 44 00 12 0e 04 0c ff ff  .....LNKD.......
  04c0: 01 00 0a 03 4c 4e 4b 41 00 12 0d 04 0c ff ff 02  ....LNKA........
  04d0: 00 00 4c 4e 4b 43 00 12 0d 04 0c ff ff 02 00 01  ..LNKC..........
  04e0: 4c 4e 4b 44 00 12 0e 04 0c ff ff 02 00 0a 02 4c  LNKD...........L
  04f0: 4e 4b 41 00 12 0e 04 0c ff ff 02 00 0a 03 4c 4e  NKA...........LN
  0500: 4b 42 00 12 0d 04 0c ff ff 03 00 00 4c 4e 4b 44  KB..........LNKD
  0510: 00 12 0d 04 0c ff ff 03 00 01 4c 4e 4b 41 00 12  ..........LNKA..
  0520: 0e 04 0c ff ff 03 00 0a 02 4c 4e 4b 42 00 12 0e  .........LNKB...
  0530: 04 0c ff ff 03 00 0a 03 4c 4e 4b 43 00 12 0d 04  ........LNKC....
  0540: 0c ff ff 04 00 00 4c 4e 4b 41 00 12 0d 04 0c ff  ......LNKA......
  0550: ff 04 00 01 4c 4e 4b 42 00 12 0e 04 0c ff ff 04  ....LNKB........
  0560: 00 0a 02 4c 4e 4b 43 00 12 0e 04 0c ff ff 04 00  ...LNKC.........
  0570: 0a 03 4c 4e 4b 44 00 12 0d 04 0c ff ff 05 00 00  ..LNKD..........
  0580: 4c 4e 4b 42 00 12 0d 04 0c ff ff 05 00 01 4c 4e  LNKB..........LN
  0590: 4b 43 00 12 0e 04 0c ff ff 05 00 0a 02 4c 4e 4b  KC...........LNK
  05a0: 44 00 12 0e 04 0c ff ff 05 00 0a 03 4c 4e 4b 41  D...........LNKA
  05b0: 00 12 0d 04 0c ff ff 06 00 00 4c 4e 4b 43 00 12  ..........LNKC..
  05c0: 0d 04 0c ff ff 06 00 01 4c 4e 4b 44 00 12 0e 04  ........LNKD....
  05d0: 0c ff ff 06 00 0a 02 4c 4e 4b 41 00 12 0e 04 0c  .......LNKA.....
  05e0: ff ff 06 00 0a 03 4c 4e 4b 42 00 12 0d 04 0c ff  ......LNKB......
  05f0: ff 07 00 00 4c 4e 4b 44 00 12 0d 04 0c ff ff 07  ....LNKD........
  0600: 00 01 4c 4e 4b 41 00 12 0e 04 0c ff ff 07 00 0a  ..LNKA..........
  0610: 02 4c 4e 4b 42 00 12 0e 04 0c ff ff 07 00 0a 03  .LNKB...........
  0620: 4c 4e 4b 43 00 12 0d 04 0c ff ff 08 00 00 4c 4e  LNKC..........LN
  0630: 4b 41 00 12 0d 04 0c ff ff 08 00 01 4c 4e 4b 42  KA..........LNKB
  0640: 00 12 0e 04 0c ff ff 08 00 0a 02 4c 4e 4b 43 00  ...........LNKC.
  0650: 12 0e 04 0c ff ff 08 00 0a 03 4c 4e 4b 44 00 12  ..........LNKD..
  0660: 0d 04 0c ff ff 09 00 00 4c 4e 4b 42 00 12 0d 04  ........LNKB....
  0670: 0c ff ff 09 00 01 4c 4e 4b 43 00 12 0e 04 0c ff  ......LNKC......
  0680: ff 09 00 0a 02 4c 4e 4b 44 00 12 0e 04 0c ff ff  .....LNKD.......
  0690: 09 00 0a 03 4c 4e 4b 41 00 12 0d 04 0c ff ff 0a  ....LNKA........
  06a0: 00 00 4c 4e 4b 43 00 12 0d 04 0c ff ff 0a 00 01  ..LNKC..........
  06b0: 4c 4e 4b 44 00 12 0e 04 0c ff ff 0a 00 0a 02 4c  LNKD...........L
  06c0: 4e 4b 41 00 12 0e 04 0c ff ff 0a 00 0a 03 4c 4e  NKA...........LN
  06d0: 4b 42 00 12 0d 04 0c ff ff 0b 00 00 4c 4e 4b 44  KB..........LNKD
  06e0: 00 12 0d 04 0c ff ff 0b 00 01 4c 4e 4b 41 00 12  ..........LNKA..
  06f0: 0e 04 0c ff ff 0b 00 0a 02 4c 4e 4b 42 00 12 0e  .........LNKB...
  0700: 04 0c ff ff 0b 00 0a 03 4c 4e 4b 43 00 12 0d 04  ........LNKC....
  0710: 0c ff ff 0c 00 00 4c 4e 4b 41 00 12 0d 04 0c ff  ......LNKA......
  0720: ff 0c 00 01 4c 4e 4b 42 00 12 0e 04 0c ff ff 0c  ....LNKB........
  0730: 00 0a 02 4c 4e 4b 43 00 12 0e 04 0c ff ff 0c 00  ...LNKC.........
  0740: 0a 03 4c 4e 4b 44 00 12 0d 04 0c ff ff 0d 00 00  ..LNKD..........
  0750: 4c 4e 4b 42 00 12 0d 04 0c ff ff 0d 00 01 4c 4e  LNKB..........LN
  0760: 4b 43 00 12 0e 04 0c ff ff 0d 00 0a 02 4c 4e 4b  KC...........LNK
  0770: 44 00 12 0e 04 0c ff ff 0d 00 0a 03 4c 4e 4b 41  D...........LNKA
  0780: 00 12 0d 04 0c ff ff 0e 00 00 4c 4e 4b 43 00 12  ..........LNKC..
  0790: 0d 04 0c ff ff 0e 00 01 4c 4e 4b 44 00 12 0e 04  ........LNKD....
  07a0: 0c ff ff 0e 00 0a 02 4c 4e 4b 41 00 12 0e 04 0c  .......LNKA.....
  07b0: ff ff 0e 00 0a 03 4c 4e 4b 42 00 12 0d 04 0c ff  ......LNKB......
  07c0: ff 0f 00 00 4c 4e 4b 44 00 12 0d 04 0c ff ff 0f  ....LNKD........
  07d0: 00 01 4c 4e 4b 41 00 12 0e 04 0c ff ff 0f 00 0a  ..LNKA..........
  07e0: 02 4c 4e 4b 42 00 12 0e 04 0c ff ff 0f 00 0a 03  .LNKB...........
  07f0: 4c 4e 4b 43 00 08 50 52 54 41 12 41 2f 3c 12 0b  LNKC..PRTA.A/<..
  0800: 04 0c ff ff 01 00 00 00 0a 14 12 0b 04 0c ff ff  ................
  0810: 01 00 01 00 0a 15 12 0c 04 0c ff ff 01 00 0a 02  ................
  0820: 00 0a 16 12 0c 04 0c ff ff 01 00 0a 03 00 0a 17  ................
  0830: 12 0b 04 0c ff ff 02 00 00 00 0a 18 12 0b 04 0c  ................
  0840: ff ff 02 00 01 00 0a 19 12 0c 04 0c ff ff 02 00  ................
  0850: 0a 02 00 0a 1a 12 0c 04 0c ff ff 02 00 0a 03 00  ................
  0860: 0a 1b 12 0b 04 0c ff ff 03 00 00 00 0a 1c 12 0b  ................
  0870: 04 0c ff ff 03 00 01 00 0a 1d 12 0c 04 0c ff ff  ................
  0880: 03 00 0a 02 00 0a 1e 12 0c 04 0c ff ff 03 00 0a  ................
  0890: 03 00 0a 1f 12 0b 04 0c ff ff 04 00 00 00 0a 20  ............... 
  08a0: 12 0b 04 0c ff ff 04 00 01 00 0a 21 12 0c 04 0c  ...........!....
  08b0: ff ff 04 00 0a 02 00 0a 22 12 0c 04 0c ff ff 04  ........".......
  08c0: 00 0a 03 00 0a 23 12 0b 04 0c ff ff 05 00 00 00  .....#..........
  08d0: 0a 24 12 0b 04 0c ff ff 05 00 01 00 0a 25 12 0c  .$...........%..
  08e0: 04 0c ff ff 05 00 0a 02 00 0a 26 12 0c 04 0c ff  ..........&.....
  08f0: ff 05 00 0a 03 00 0a 27 12 0b 04 0c ff ff 06 00  .......'........
  0900: 00 00 0a 28 12 0b 04 0c ff ff 06 00 01 00 0a 29  ...(...........)
  0910: 12 0c 04 0c ff ff 06 00 0a 02 00 0a 2a 12 0c 04  ............*...
  0920: 0c ff ff 06 00 0a 03 00 0a 2b 12 0b 04 0c ff ff  .........+......
  0930: 07 00 00 00 0a 2c 12 0b 04 0c ff ff 07 00 01 00  .....,..........
  0940: 0a 2d 12 0c 04 0c ff ff 07 00 0a 02 00 0a 2e 12  .-..............
  0950: 0c 04 0c ff ff 07 00 0a 03 00 0a 2f 12 0b 04 0c  .........../....
  0960: ff ff 08 00 00 00 0a 11 12 0b 04 0c ff ff 08 00  ................
  0970: 01 00 0a 12 12 0c 04 0c ff ff 08 00 0a 02 00 0a  ................
  0980: 13 12 0c 04 0c ff ff 08 00 0a 03 00 0a 14 12 0b  ................
  0990: 04 0c ff ff 09 00 00 00 0a 15 12 0b 04 0c ff ff  ................
  09a0: 09 00 01 00 0a 16 12 0c 04 0c ff ff 09 00 0a 02  ................
  09b0: 00 0a 17 12 0c 04 0c ff ff 09 00 0a 03 00 0a 18  ................
  09c0: 12 0b 04 0c ff ff 0a 00 00 00 0a 19 12 0b 04 0c  ................
  09d0: ff ff 0a 00 01 00 0a 1a 12 0c 04 0c ff ff 0a 00  ................
  09e0: 0a 02 00 0a 1b 12 0c 04 0c ff ff 0a 00 0a 03 00  ................
  09f0: 0a 1c 12 0b 04 0c ff ff 0b 00 00 00 0a 1d 12 0b  ................
  0a00: 04 0c ff ff 0b 00 01 00 0a 1e 12 0c 04 0c ff ff  ................
  0a10: 0b 00 0a 02 00 0a 1f 12 0c 04 0c ff ff 0b 00 0a  ................
  0a20: 03 00 0a 20 12 0b 04 0c ff ff 0c 00 00 00 0a 21  ... ...........!
  0a30: 12 0b 04 0c ff ff 0c 00 01 00 0a 22 12 0c 04 0c  ..........."....
  0a40: ff ff 0c 00 0a 02 00 0a 23 12 0c 04 0c ff ff 0c  ........#.......
  0a50: 00 0a 03 00 0a 24 12 0b 04 0c ff ff 0d 00 00 00  .....$..........
  0a60: 0a 25 12 0b 04 0c ff ff 0d 00 01 00 0a 26 12 0c  .%...........&..
  0a70: 04 0c ff ff 0d 00 0a 02 00 0a 27 12 0c 04 0c ff  ..........'.....
  0a80: ff 0d 00 0a 03 00 0a 28 12 0b 04 0c ff ff 0e 00  .......(........
  0a90: 00 00 0a 29 12 0b 04 0c ff ff 0e 00 01 00 0a 2a  ...)...........*
  0aa0: 12 0c 04 0c ff ff 0e 00 0a 02 00 0a 2b 12 0c 04  ............+...
  0ab0: 0c ff ff 0e 00 0a 03 00 0a 2c 12 0b 04 0c ff ff  .........,......
  0ac0: 0f 00 00 00 0a 2d 12 0b 04 0c ff ff 0f 00 01 00  .....-..........
  0ad0: 0a 2e 12 0c 04 0c ff ff 0f 00 0a 02 00 0a 2f 12  ............../.
  0ae0: 0c 04 0c ff ff 0f 00 0a 03 00 0a 10 5b 82 4e 33  ............[.N3
  0af0: 49 53 41 5f 08 5f 41 44 52 0c 00 00 01 00 5b 80  ISA_._ADR.....[.
  0b00: 50 49 52 51 02 0a 60 0a 04 10 2e 5c 00 5b 81 29  PIRQ..`....\.[.)
  0b10: 5c 2f 04 5f 53 42 5f 50 43 49 30 49 53 41 5f 50  \/._SB_PCI0ISA_P
  0b20: 49 52 51 01 50 49 52 41 08 50 49 52 42 08 50 49  IRQ.PIRA.PIRB.PI
  0b30: 52 43 08 50 49 52 44 08 5b 82 46 0b 53 59 53 52  RC.PIRD.[.F.SYSR
  0b40: 08 5f 48 49 44 0c 41 d0 0c 02 08 5f 55 49 44 01  ._HID.A...._UID.
  0b50: 08 43 52 53 5f 11 4e 08 0a 8a 47 01 10 00 10 00  .CRS_.N...G.....
  0b60: 00 10 47 01 22 00 22 00 00 0c 47 01 30 00 30 00  ..G."."...G.0.0.
  0b70: 00 10 47 01 44 00 44 00 00 1c 47 01 62 00 62 00  ..G.D.D...G.b.b.
  0b80: 00 02 47 01 65 00 65 00 00 0b 47 01 72 00 72 00  ..G.e.e...G.r.r.
  0b90: 00 0e 47 01 80 00 80 00 00 01 47 01 84 00 84 00  ..G.......G.....
  0ba0: 00 03 47 01 88 00 88 00 00 01 47 01 8c 00 8c 00  ..G.......G.....
  0bb0: 00 03 47 01 90 00 90 00 00 10 47 01 a2 00 a2 00  ..G.......G.....
  0bc0: 00 1c 47 01 e0 00 e0 00 00 10 47 01 a0 08 a0 08  ..G.......G.....
  0bd0: 00 04 47 01 c0 0c c0 0c 00 10 47 01 d0 04 d0 04  ..G.......G.....
  0be0: 00 02 79 00 14 0b 5f 43 52 53 00 a4 43 52 53 5f  ..y..._CRS..CRS_
  0bf0: 5b 82 2b 50 49 43 5f 08 5f 48 49 44 0b 41 d0 08  [.+PIC_._HID.A..
  0c00: 5f 43 52 53 11 18 0a 15 47 01 20 00 20 00 01 02  _CRS....G. . ...
  0c10: 47 01 a0 00 a0 00 01 02 22 04 00 79 00 5b 82 47  G......."..y.[.G
  0c20: 05 44 4d 41 30 08 5f 48 49 44 0c 41 d0 02 00 08  .DMA0._HID.A....
  0c30: 5f 43 52 53 11 41 04 0a 3d 2a 10 04 47 01 00 00  _CRS.A..=*..G...
  0c40: 00 00 00 10 47 01 81 00 81 00 00 03 47 01 87 00  ....G.......G...
  0c50: 87 00 00 01 47 01 89 00 89 00 00 03 47 01 8f 00  ....G.......G...
  0c60: 8f 00 00 01 47 01 c0 00 c0 00 00 20 47 01 80 04  ....G...... G...
  0c70: 80 04 00 10 79 00 5b 82 25 54 4d 52 5f 08 5f 48  ....y.[.%TMR_._H
  0c80: 49 44 0c 41 d0 01 00 08 5f 43 52 53 11 10 0a 0d  ID.A...._CRS....
  0c90: 47 01 40 00 40 00 00 04 22 01 00 79 00 5b 82 25  G.@.@..."..y.[.%
  0ca0: 52 54 43 5f 08 5f 48 49 44 0c 41 d0 0b 00 08 5f  RTC_._HID.A...._
  0cb0: 43 52 53 11 10 0a 0d 47 01 70 00 70 00 00 02 22  CRS....G.p.p..."
  0cc0: 00 01 79 00 5b 82 22 53 50 4b 52 08 5f 48 49 44  ..y.[."SPKR._HID
  0cd0: 0c 41 d0 08 00 08 5f 43 52 53 11 0d 0a 0a 47 01  .A...._CRS....G.
  0ce0: 61 00 61 00 00 01 79 00 5b 82 31 50 53 32 4d 08  a.a...y.[.1PS2M.
  0cf0: 5f 48 49 44 0c 41 d0 0f 13 08 5f 43 49 44 0c 41  _HID.A...._CID.A
  0d00: d0 0f 13 14 09 5f 53 54 41 00 a4 0a 0f 08 5f 43  ....._STA....._C
  0d10: 52 53 11 08 0a 05 22 00 10 79 00 5b 82 42 04 50  RS...."..y.[.B.P
  0d20: 53 32 4b 08 5f 48 49 44 0c 41 d0 03 03 08 5f 43  S2K._HID.A...._C
  0d30: 49 44 0c 41 d0 03 0b 14 09 5f 53 54 41 00 a4 0a  ID.A....._STA...
  0d40: 0f 08 5f 43 52 53 11 18 0a 15 47 01 60 00 60 00  .._CRS....G.`.`.
  0d50: 00 01 47 01 64 00 64 00 00 01 22 02 00 79 00 5b  ..G.d.d..."..y.[
  0d60: 82 3a 46 44 43 30 08 5f 48 49 44 0c 41 d0 07 00  .:FDC0._HID.A...
  0d70: 14 09 5f 53 54 41 00 a4 0a 0f 08 5f 43 52 53 11  .._STA....._CRS.
  0d80: 1b 0a 18 47 01 f0 03 f0 03 01 06 47 01 f7 03 f7  ...G.......G....
  0d90: 03 01 01 22 40 00 2a 04 00 79 00 5b 82 46 04 55  ..."@.*..y.[.F.U
  0da0: 41 52 31 08 5f 48 49 44 0c 41 d0 05 01 08 5f 55  AR1._HID.A...._U
  0db0: 49 44 01 14 19 5f 53 54 41 00 a0 0d 93 5e 5e 5e  ID..._STA....^^^
  0dc0: 5e 55 41 52 31 00 a4 00 a1 04 a4 0a 0f 08 5f 43  ^UAR1........._C
  0dd0: 52 53 11 10 0a 0d 47 01 f8 03 f8 03 08 08 22 10  RS....G.......".
  0de0: 00 79 00 5b 82 47 04 55 41 52 32 08 5f 48 49 44  .y.[.G.UAR2._HID
  0df0: 0c 41 d0 05 01 08 5f 55 49 44 0a 02 14 19 5f 53  .A...._UID...._S
  0e00: 54 41 00 a0 0d 93 5e 5e 5e 5e 55 41 52 32 00 a4  TA....^^^^UAR2..
  0e10: 00 a1 04 a4 0a 0f 08 5f 43 52 53 11 10 0a 0d 47  ......._CRS....G
  0e20: 01 f8 02 f8 02 08 08 22 08 00 79 00 5b 82 4d 07  ......."..y.[.M.
  0e30: 53 31 46 30 08 5f 41 44 52 0c 00 00 06 00 08 5f  S1F0._ADR......_
  0e40: 53 55 4e 01 14 13 5f 50 53 30 00 70 0a 80 5c 2e  SUN..._PS0.p..\.
  0e50: 5f 47 50 45 44 50 54 32 14 13 5f 50 53 33 00 70  _GPEDPT2.._PS3.p
  0e60: 0a 83 5c 2e 5f 47 50 45 44 50 54 32 14 1f 5f 45  ..\._GPEDPT2.._E
  0e70: 4a 30 01 70 0a 88 5c 2e 5f 47 50 45 44 50 54 32  J0.p..\._GPEDPT2
  0e80: 70 01 5c 2e 5f 47 50 45 50 48 50 31 14 1e 5f 53  p.\._GPEPHP1.._S
  0e90: 54 41 00 70 0a 89 5c 2e 5f 47 50 45 44 50 54 32  TA.p..\._GPEDPT2
  0ea0: a4 5c 2e 5f 47 50 45 50 48 50 31 5b 82 4e 07 53  .\._GPEPHP1[.N.S
  0eb0: 32 46 30 08 5f 41 44 52 0c 00 00 07 00 08 5f 53  2F0._ADR......_S
  0ec0: 55 4e 0a 02 14 13 5f 50 53 30 00 70 0a 90 5c 2e  UN...._PS0.p..\.
  0ed0: 5f 47 50 45 44 50 54 32 14 13 5f 50 53 33 00 70  _GPEDPT2.._PS3.p
  0ee0: 0a 93 5c 2e 5f 47 50 45 44 50 54 32 14 1f 5f 45  ..\._GPEDPT2.._E
  0ef0: 4a 30 01 70 0a 98 5c 2e 5f 47 50 45 44 50 54 32  J0.p..\._GPEDPT2
  0f00: 70 01 5c 2e 5f 47 50 45 50 48 50 32 14 1e 5f 53  p.\._GPEPHP2.._S
  0f10: 54 41 00 70 0a 99 5c 2e 5f 47 50 45 44 50 54 32  TA.p..\._GPEDPT2
  0f20: a4 5c 2e 5f 47 50 45 50 48 50 32 10 4e 0b 5f 47  .\._GPEPHP2.N._G
  0f30: 50 45 5b 80 50 48 50 5f 01 0b c0 10 0a 03 5b 81  PE[.PHP_......[.
  0f40: 15 50 48 50 5f 01 50 53 54 41 08 50 48 50 31 08  .PHP_.PSTA.PHP1.
  0f50: 50 48 50 32 08 5b 80 44 47 31 5f 01 0b 44 b0 0a  PHP2.[.DG1_..D..
  0f60: 04 5b 81 10 44 47 31 5f 01 44 50 54 31 08 44 50  .[..DG1_.DPT1.DP
  0f70: 54 32 08 14 46 07 5f 4c 30 33 00 08 53 4c 54 5f  T2..F._L03..SLT_
  0f80: 00 08 45 56 54 5f 00 70 50 53 54 41 61 7a 61 0a  ..EVT_.pPSTAaza.
  0f90: 04 53 4c 54 5f 7b 61 0a 0f 45 56 54 5f 70 53 4c  .SLT_{a..EVT_pSL
  0fa0: 54 5f 44 50 54 31 70 45 56 54 5f 44 50 54 32 a0  T_DPT1pEVT_DPT2.
  0fb0: 1b 93 53 4c 54 5f 01 86 5c 2f 03 5f 53 42 5f 50  ..SLT_..\/._SB_P
  0fc0: 43 49 30 53 31 46 30 45 56 54 5f a1 1e a0 1c 93  CI0S1F0EVT_.....
  0fd0: 53 4c 54 5f 0a 02 86 5c 2f 03 5f 53 42 5f 50 43  SLT_...\/._SB_PC
  0fe0: 49 30 53 32 46 30 45 56 54 5f                    I0S2F0EVT_

FACS @ 0xea010
  0000: 46 41 43 53 40 00 00 00 00 00 00 00 00 00 00 00  FACS@...........
  0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  0020: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

FACP @ 0xeb0c0
  0000: 46 41 43 50 f4 00 00 00 04 39 58 65 6e 00 00 00  FACP.....9Xen...
  0010: 48 56 4d 00 00 00 00 00 00 00 00 00 48 56 4d 4c  HVM.........HVML
  0020: 00 00 00 00 10 a0 0e 00 50 a0 0e 00 00 00 09 00  ........P.......
  0030: 00 00 00 00 00 00 00 00 40 1f 00 00 00 00 00 00  ........@.......
  0040: 44 1f 00 00 00 00 00 00 00 00 00 00 48 1f 00 00  D...........H...
  0050: 68 1f 00 00 00 00 00 00 04 02 00 04 08 00 00 00  h...............
  0060: ff 0f ff 0f 00 00 00 00 00 00 00 00 00 03 00 00  ................
  0070: 75 01 00 00 01 08 00 00 f9 0c 00 00 00 00 00 00  u...............
  0080: 06 00 00 00 10 a0 0e 00 00 00 00 00 50 a0 0e 00  ............P...
  0090: 00 00 00 00 01 20 00 00 40 1f 00 00 00 00 00 00  ..... ..@.......
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 01 10 00 00  ................
  00b0: 44 1f 00 00 00 00 00 00 00 00 00 00 00 00 00 00  D...............
  00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  00d0: 01 20 00 00 48 1f 00 00 00 00 00 00 00 00 00 00  . ..H...........
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  00f0: 00 00 00 00                                      ....

APIC @ 0xeb1c0
  0000: 41 50 49 43 7a 00 00 00 02 9e 58 65 6e 00 00 00  APICz.....Xen...
  0010: 48 56 4d 00 00 00 00 00 00 00 00 00 48 56 4d 4c  HVM.........HVML
  0020: 00 00 00 00 00 00 e0 fe 01 00 00 00 02 0a 00 00  ................
  0030: 02 00 00 00 00 00 02 0a 00 05 05 00 00 00 0f 00  ................
  0040: 02 0a 00 07 07 00 00 00 0f 00 02 0a 00 0a 0a 00  ................
  0050: 00 00 0f 00 02 0a 00 0b 0b 00 00 00 0f 00 01 0c  ................
  0060: 01 00 00 00 c0 fe 00 00 00 00 00 08 00 00 01 00  ................
  0070: 00 00 00 08 01 02 01 00 00 00                    ..........

HPET @ 0xeb240
  0000: 48 50 45 54 38 00 00 00 01 d2 58 65 6e 00 00 00  HPET8.....Xen...
  0010: 48 56 4d 00 00 00 00 00 00 00 00 00 48 56 4d 4c  HVM.........HVML
  0020: 00 00 00 00 01 a2 86 80 00 00 00 00 00 00 d0 fe  ................
  0030: 00 00 00 00 00 00 00 00                          ........

SSDT @ 0xeb278
  0000: 53 53 44 54 45 00 00 00 02 6a 58 65 6e 00 00 00  SSDTE....jXen...
  0010: 48 56 4d 00 00 00 00 00 00 00 00 00 48 56 4d 4c  HVM.........HVML
  0020: 00 00 00 00 10 20 5c 5f 50 52 5f 5b 83 0b 50 52  ..... \_PR_[..PR
  0030: 30 30 00 00 00 00 00 00 5b 83 0b 50 52 30 31 01  00......[..PR01.
  0040: 00 00 00 00 00                                   .....

XSDT @ 0xeb2c0
  0000: 58 53 44 54 44 00 00 00 01 f6 58 65 6e 00 00 00  XSDTD.....Xen...
  0010: 48 56 4d 00 00 00 00 00 00 00 00 00 48 56 4d 4c  HVM.........HVML
  0020: 00 00 00 00 c0 b0 0e 00 00 00 00 00 c0 b1 0e 00  ................
  0030: 00 00 00 00 40 b2 0e 00 00 00 00 00 78 b2 0e 00  ....@.......x...
  0040: 00 00 00 00                                      ....

FACP @ 0xeb040
  0000: 46 41 43 50 74 00 00 00 01 08 58 65 6e 00 00 00  FACPt.....Xen...
  0010: 48 56 4d 00 00 00 00 00 00 00 00 00 48 56 4d 4c  HVM.........HVML
  0020: 00 00 00 00 10 a0 0e 00 50 a0 0e 00 00 00 09 00  ........P.......
  0030: 00 00 00 00 00 00 00 00 40 1f 00 00 00 00 00 00  ........@.......
  0040: 44 1f 00 00 00 00 00 00 00 00 00 00 48 1f 00 00  D...........H...
  0050: 68 1f 00 00 00 00 00 00 04 02 00 04 08 00 00 00  h...............
  0060: ff 0f ff 0f 00 00 00 00 00 00 00 00 00 03 00 00  ................
  0070: 75 01 00 00                                      u...

RSDT @ 0xeb310
  0000: 52 53 44 54 34 00 00 00 01 8c 58 65 6e 00 00 00  RSDT4.....Xen...
  0010: 48 56 4d 00 00 00 00 00 00 00 00 00 48 56 4d 4c  HVM.........HVML
  0020: 00 00 00 00 40 b0 0e 00 c0 b1 0e 00 40 b2 0e 00  ....@.......@...
  0030: 78 b2 0e 00                                      x...

RSD PTR @ 0xeb350
  0000: 52 53 44 20 50 54 52 20 e3 58 65 6e 00 00 00 02  RSD PTR .Xen....
  0010: 10 b3 0e 00 24 00 00 00 c0 b2 0e 00 00 00 00 00  ....$...........
  0020: 5c 00 00 00                                      ....

Comment 11 yuping zhang 2011-05-16 11:14:29 UTC
Created attachment 499109 [details]
hal timer .cpk

Comment 12 Yuyu Zhou 2011-05-16 11:24:29 UTC
(In reply to comment #8)
> Please type the following in a Linux guest with hpet=0 and hpet=1
> 
> sudo dd if=/dev/mem bs=16 skip=$((0xea00)) count=1 | od -x
> 
sorry for the typo in comment 10:
hpet=0:
[root@localhost ~]# sudo dd if=/dev/mem bs=16 skip=$((0xea00)) count=1 | od -x
1+0 records in
1+0 records out
16 bytes (16 B) copied, 3.4e-05 seconds, 471 kB/s
0000000 0001 0000 0000 0000 0000 0000 0000 0000
0000020


> and include the output here.
> 
> Also, please ensure you're using pmtools-20071116 and attach the full acpidump
> output for hpet=1.  Thanks!

Comment 13 Paolo Bonzini 2011-05-16 11:27:19 UTC
Everything is okay here, the ACPI tables were updated correctly and the bios info table is correct too (the first 16-bits are 0x5 in comment 10, 0x1 in comment 12).

Comment 14 yuping zhang 2011-05-17 08:47:56 UTC
Created attachment 499284 [details]
xm dmesg before run hal timer job

Comment 15 yuping zhang 2011-05-17 08:49:16 UTC
Created attachment 499285 [details]
xm dmesg after run hal timer job

Comment 17 Yuyu Zhou 2011-06-02 06:29:27 UTC
Verified in xen-3.0.3-132 and kernel-xen-2.6.18-265, according comment 16.

hpet=0
guest dmesg:
time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
time.c: Detected 2660.016 MHz processor.

hpet=1
guest dmesg:
time.c: Using 83.127751 MHz WALL HPET GTOD HPET/TSC timer.
time.c: Detected 2663.116 MHz processor.

Comment 18 errata-xmlrpc 2011-07-21 10:13:11 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1065.html


Note You need to log in before you can comment on or make changes to this bug.