/bugzilla3/
Bugzilla – Bug 195
Many Timer ISR: Time went backwards logs
Last modified: 2010-05-04 15:02:49 CDT
Hello, afer months of using stabe 2.0.6 and 2.0.7 i changed the CPU from Athlon 64 to a Athlon 62 x2 dual core. Works fine and fast but the syslog on the UDomains logs many entries like: Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -2129859000 169370000000 141000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -2106071000 169390000000 3929000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -2087345000 169410000000 2655000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -2079980000 169420000000 20000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -2049817000 169450000000 183000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -2005001000 169490000000 4999000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1994341000 169500000000 5659000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1983325000 169510000000 6675000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1970842000 169520000000 9158000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1969970000 169530000000 30000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1946520000 169550000000 3481000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1929923000 169570000000 77000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1912453000 169580000000 7547000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1909926000 169590000000 74000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1887345000 169610000000 2655000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1863340000 169630000000 6660000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1859734000 169640000000 266000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1848726000 169650000000 1274000 171500000000 Aug 28 20:03:23 music kernel: Timer ISR: Time went backwards: -1827531000 169670000000 2469000 171500000000 ... I am afraid of overloading the UDomais with thousands of these entries. Using a plain 2.0.7 from src on a Asus A8V with APIC enabled + disabled in BIOS with no change. Changing Preemptible Kernel to yes/no with no change. APM + Cool & Quiet are disabled. Please help. Alle further questions will bw answered. Thanks.
All User Domains are crashed because of 100% filled root partitions, caused by millions of logfile entries (Timer ISR: Time went backwards). Removed the dualcore and no backwards logenties occur.
Please can you try -unstable and verify this is fixed.
I made up a clean new System. New mainboard new debian system from source. (Asus A8V + AMD Athlon X2) Running 3 User domains sending tcp date to each other. No service or demons running except inetd. Same result: No X2 fine, X2 many many log entries. I pinned all domains to cpu0 and there are only some error lines left a minute. Then I followed your advice and installed unstabe. The DOM0 was not able to boot. XEN stops and displays: Could not setup DOM0 guest OS Aieee! CPU0 ist toast. Memory checked. Total 1GB , DOM0 200M or 100M the same result. I will double check tomorrow, and try the unstable on an K7. Any ideas? Thanks
I verified unstable and it seems to be fixed. (The CPU toased message was caused by my fault, wrong link) I have tried testing with no success. The DOM0 kernel will always crash. I also tryed lapic, nolapic on stabe, with no difference. When using nosmp, to errors occur. (Of cause one CPU is disabled) Still no chance to run stable on x2 with both CPUs enabeld.
In the meantime testing was fixed to run again, and has the same problem as stable with the AMD x2.
I'm seeing this in xen-unstable, on a two-way Opteron box. changeset: 6874:c27431cf81f96a6d98c4e25bd08e6762918019e4 tag: tip user: kaf24@firebug.cl.cam.ac.uk date: Thu Sep 15 08:17:24 2005 summary: Fix the libxc Makefile. Timer ISR/0: Time went backwards: delta=-10048465 cpu_delta=9951535 shadow=706605145 0: 71640046095 1: 71660000000 Timer ISR/0: Time went backwards: delta=-10044816 cpu_delta=19955184 shadow=71660475 0: 71660046095 1: 71690000000 Timer ISR/0: Time went backwards: delta=-6038496 cpu_delta=13961504 shadow=716604705 0: 71670046095 1: 71700000000 Timer ISR/1: Time went backwards: delta=-580042799 cpu_delta=460003296 shadow=716600 0: 73240046095 1: 72200000000 Timer ISR/0: Time went backwards: delta=-10039377 cpu_delta=9960623 shadow=732371225 0: 73240046095 1: 73260000000 Timer ISR/0: Time went backwards: delta=-10040262 cpu_delta=29959738 shadow=73237125 0: 73240046095 1: 73280000000
changeset: 7121:f069a06e650f Dom0 - FC4 - Taym 2462 SMP I ran a for an extended period of time(over 12 hours) before getting one Timer ISR/1: Time went backwards: delta=-120006819 cpu_delta=31293235 shadow=34837964135648 off=997157858 process0 0: 34839081300054 1: 34838930000000 Preceeding this I brought a second brought bridge interface online, I had to stop xend to get it to allow me to add eth1 to it. At this point their is only a dom0 running and no domU's.
Anyone seeing this issue, can you check which timer is selected? You can get this value by running: % xm dmesg | grep -i "platform timer" (XEN) Platform timer is 1.193MHz PIT I've not seen this when either HPET or Cyclone timer is used, only PIT.
Hi, i have no platform timer, but master1:~# xm dmesg | grep -i "timer" (XEN) ..TIMER: vector=0x41 pin1=2 pin2=0 (XEN) Using local APIC timer interrupts. (XEN) Calibrating APIC timer for CPU0...
Interesting. So your system is using the local apic for interrupt generation, but you should still have one of the three platform timers running. Looking at xen/arch/x86/time.c, I don't see how you could boot without one of the three timers running: static void init_platform_timer(void) { if ( !init_cyclone() && !init_hpet() ) BUG_ON(!init_pit()); } What hardware are you using? SMP? real or just hyperthreads? You still see this error on latest unstable?
Hi, today i got a dual xenon to play with. With same problem and i have no platform timer like you. xm dmesg ERROR: cannot use unconfigured serial port COM1 __ __ ____ ___ _____ \ \/ /___ _ __ |___ \ / _ \|___ | \ // _ \ '_ \ __) || | | | / / / \ __/ | | | / __/ | |_| | / / /_/\_\___|_| |_| |_____(_)___(_)_/ http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 2.0.7 (root@leukefeld.com) (gcc-Version 3.3.5 (Debian 1:3.3.5-13)) Mi Okt 19 15:12:53 CEST 2005 Latest ChangeSet: (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009dc00 (usable) (XEN) 000000000009dc00 - 00000000000a0000 (reserved) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000007fee0000 (usable) (XEN) 000000007fee0000 - 000000007fee3000 (ACPI NVS) (XEN) 000000007fee3000 - 000000007fef0000 (ACPI data) (XEN) 000000007fef0000 - 000000007ff00000 (reserved) (XEN) 00000000fec00000 - 0000000100000000 (reserved) (XEN) System RAM: 2046MB (2095604kB) (XEN) Xen heap: 10MB (10732kB) (XEN) CPU0: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0 (XEN) CPU#0: Physical ID: 0, Logical ID: 0 (XEN) CPU caps: bfebfbff 00000000 00000000 00000000 (XEN) found SMP MP-table at 000f56b0 (XEN) ACPI: RSDP (v000 IntelR ) @ 0x000f7700 (XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x7fee3000 (XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x7fee3040 (XEN) ACPI: MADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x7fee7080 (XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) (XEN) Processor #0 Pentium 4(tm) XEON(tm) APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x06] enabled) (XEN) Processor #6 Pentium 4(tm) XEON(tm) APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) (XEN) Processor #1 Pentium 4(tm) XEON(tm) APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x07] enabled) (XEN) Processor #7 Pentium 4(tm) XEON(tm) APIC version 20 (XEN) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]) (XEN) Using ACPI for processor (LAPIC) configuration information (XEN) Intel MultiProcessor Specification v1.4 (XEN) Virtual Wire compatibility mode. (XEN) OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 (XEN) I/O APIC #4 Version 17 at 0xFEC00000. (XEN) I/O APIC #5 Version 17 at 0xFEC10000. (XEN) Enabling APIC mode: Flat. Using 2 I/O APICs (XEN) Processors: 4 (XEN) Using scheduler: Borrowed Virtual Time (bvt) (XEN) Initializing CPU#0 (XEN) Detected 2806.470 MHz processor. (XEN) CPU0: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0 (XEN) CPU#0: Physical ID: 0, Logical ID: 0 (XEN) CPU caps: bfebfbff 00000000 00000000 00000000 (XEN) CPU0 booted (XEN) enabled ExtINT on CPU#0 (XEN) ESR value before enabling vector: 00000000 (XEN) ESR value after enabling vector: 00000000 (XEN) Booting processor 1/1 eip 90000 (XEN) Initializing CPU#1 (XEN) masked ExtINT on CPU#1 (XEN) ESR value before enabling vector: 00000000 (XEN) ESR value after enabling vector: 00000000 (XEN) CPU1: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0 (XEN) CPU#1: Physical ID: 0, Logical ID: 1 (XEN) CPU caps: bfebfbff 00000000 00000000 00000000 (XEN) CPU1 has booted. (XEN) Booting processor 2/6 eip 90000 (XEN) Initializing CPU#2 (XEN) masked ExtINT on CPU#2 (XEN) ESR value before enabling vector: 00000000 (XEN) ESR value after enabling vector: 00000000 (XEN) CPU2: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0 (XEN) CPU#2: Physical ID: 3, Logical ID: 0 (XEN) CPU caps: bfebfbff 00000000 00000000 00000000 (XEN) CPU2 has booted. (XEN) Booting processor 3/7 eip 90000 (XEN) Initializing CPU#3 (XEN) masked ExtINT on CPU#3 (XEN) ESR value before enabling vector: 00000000 (XEN) ESR value after enabling vector: 00000000 (XEN) CPU3: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0 (XEN) CPU#3: Physical ID: 3, Logical ID: 1 (XEN) CPU caps: bfebfbff 00000000 00000000 00000000 (XEN) CPU3 has booted. (XEN) Total of 4 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) Setting 4 in the phys_id_present_map (XEN) ...changing IO-APIC physical APIC ID to 4 ... ok. (XEN) Setting 5 in the phys_id_present_map (XEN) ...changing IO-APIC physical APIC ID to 5 ... ok. (XEN) init IO_APIC IRQs (XEN) ..TIMER: vector=0x41 pin1=2 pin2=0 (XEN) Using local APIC timer interrupts. (XEN) Calibrating APIC timer for CPU0... (XEN) ..... CPU speed is 2806.3682 MHz. (XEN) ..... Bus speed is 133.6364 MHz. (XEN) ..... bus_scale = 0x000088DC (XEN) checking TSC synchronization across CPUs: passed. (XEN) Time init: (XEN) .... System Time: 11289036ns (XEN) .... cpu_freq: 00000000:A7475890 (XEN) .... scale: 00000001:6CDEFE5B (XEN) .... Wall Clock: 1130503621s 120000us (XEN) PCI: PCI BIOS revision 2.10 entry at 0xfb890, last bus=3 (XEN) PCI: Using configuration type 1 (XEN) PCI: Probing PCI hardware (XEN) PCI: Probing PCI hardware (bus 00) (XEN) PCI: Ignoring BAR0-3 of IDE controller 00:1f.1 (XEN) Transparent bridge - PCI device 8086:244e (XEN) PCI: Using IRQ router default [8086/25a1] at 00:1f.0 (XEN) PCI->APIC IRQ transform: (B0,I29,P0) -> 16 (XEN) PCI->APIC IRQ transform: (B0,I29,P1) -> 19 (XEN) PCI->APIC IRQ transform: (B0,I29,P3) -> 23 (XEN) PCI->APIC IRQ transform: (B0,I31,P0) -> 16 (XEN) PCI->APIC IRQ transform: (B0,I31,P1) -> 17 (XEN) PCI->APIC IRQ transform: (B1,I1,P0) -> 18 (XEN) PCI->APIC IRQ transform: (B3,I3,P0) -> 20 (XEN) PCI->APIC IRQ transform: (B3,I4,P0) -> 23 (XEN) PCI->APIC IRQ transform: (B3,I5,P0) -> 22 (XEN) mtrr: v2.0 (20020519) (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen-ELF header found: 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=0xC0000000,LOADER=generic,PT_MODE_WRITABLE' (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Kernel image: 00c00000->0109a0f0 (XEN) Initrd image: 00000000->00000000 (XEN) Dom0 alloc.: 01400000->09100000 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c05c90e8 (XEN) Init. ramdisk: c05ca000->c05ca000 (XEN) Phys-Mach map: c05ca000->c05e9400 (XEN) Page tables: c05ea000->c05ed000 (XEN) Start info: c05ed000->c05ee000 (XEN) Boot stack: c05ee000->c05ef000 (XEN) TOTAL: c0000000->c0800000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Scrubbing DOM0 RAM: ..done. (XEN) Scrubbing Free RAM: .....................done. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).
This happened on my Dual Xeon system (64-bit), on Domain0.. Same errormessages and crash soon after. Xen used was 3.0 (bittorrent src download), compiled with GCC 3.3 on Debian Sarge 64-bit.
Hi, I updated to 3.0.1 still using the AMD X2. Sadly the bug is still there. After the Time went backwards the user domain crashed. Logfile from user domain. Disabling the second core with nosmp no problems. Feb 13 02:09:28 localhost kernel: 0: 100089097992644 Feb 13 02:09:28 localhost kernel: Timer ISR/0: Time went backwards: delta=-26905 cpu_delta=-26905 shadow=100089124849613 off=403116849 processed=1000895279926 44 cpu_processed=100089527992644 Feb 13 02:09:28 localhost kernel: 0: 100089527992644 Feb 13 02:09:28 localhost kernel: Timer ISR/0: Time went backwards: delta=-26839 cpu_delta=-26839 shadow=100089124849613 off=673116896 processed=1000897979926 44 cpu_processed=100089797992644 Feb 13 02:09:28 localhost kernel: 0: 100089797992644 Feb 13 02:14:00 localhost kernel: Timer ISR/0: Time went backwards: delta=-24351 cpu_delta=-24351 shadow=100361125595817 off=722373311 processed=1003618479926 44 cpu_processed=100361847992644 Feb 13 02:14:00 localhost kernel: 0: 100361847992644 Feb 13 02:15:21 localhost kernel: Timer ISR/0: Time went backwards: delta=-26759 cpu_delta=-26759 shadow=100442126075542 off=661890944 processed=1004427879926 44 cpu_processed=100442787992644 Feb 13 02:15:21 localhost kernel: 0: 100442787992644 Feb 13 02:15:35 localhost kernel: Timer ISR/0: Time went backwards: delta=-26965 cpu_delta=-26965 shadow=100456126244826 off=721721498 processed=1004568479926 44 cpu_processed=100456847992644 Feb 13 02:15:35 localhost kernel: 0: 100456847992644 Feb 13 02:16:44 localhost kernel: Timer ISR/0: Time went backwards: delta=-26424 cpu_delta=-26424 shadow=100524127010194 off=920956621 processed=1005250479926 44 cpu_processed=100525047992644 Feb 13
one more data point for this quest: I see the same "Timer ..." kernel messages on a dual-core dual-Opteron: Timer ISR/2: Time went backwards: delta=-2665898 cpu_delta=13384384 shadow=446519338822167 off=982562370 processed=446520324050282 cpu_processed=446520308000000 0: 446520320050282 1: 446520324000000 2: 446520308000000 3: 446520316000000 # dmesg |grep -c Timer 1023 # grep -c Timer /var/log/warn 14320 from today 15:00:32 to 19:15:15, so ~1 message per second, but they show up in long bursts with pretty random "idle" periods of ~30-300 seconds between those bursts... kernel being used (SUSE 10.1 SL-OSS-Factory): Xen version 3.0_8659-2 (abuild@suse.de) (gcc version 4.1.0 20060123 (prerelease) (SUSE Linux)) Tue Jan 31 06:15:27 UTC 2006 Latest ChangeSet: 8659 # xm dmesg | grep -i "platform timer" (XEN) Platform timer is 1.193MHz PIT
*** Bug 550 has been marked as a duplicate of this bug. ***
I am seeing these messages on an x86_64 (EMT64) machine, SLES 9 SP2 platform: Timer ISR/0: Time went backwards: delta=10015222 cpu_delta=-19984778 shadow=7912025006818 off=855029678 processed=7912870000000 cpu_processed=7912900000000 0: 7912900000000 printk: 1 messages suppressed. Timer ISR/0: Time went backwards: delta=10014636 cpu_delta=-19985364 shadow=7932025007360 off=315033645 processed=7932330000000 cpu_processed=7932360000000 0: 7932360000000 Timer ISR/0: Time went backwards: delta=10009494 cpu_delta=-9990506 shadow=7932025007360 off=325003314 processed=7932340000000 cpu_processed=7932360000000 0: 7932360000000
Further details. I am running Xen on a quad Opteron Sun 40z box with Opteron 850 CG stepping processors and am getting thse messages also. Initial OS install was CentOS 4.2 x86_64 then installed Xen 3.0.1-src.tar which built the 2.6.12.6 kernel. The timer shown in xm dmesg is (XEN) Platform timer is 1.193MHz PIT The message is infrequent. I've put the output from dmesg in Domain0 and xm dmesg in a zip file on ouf ftp server at ftp.bas.ac.uk/ddw/xen_dmesg.ZIP
Hello! I believe there is a fix in the tree (xen-unstable) now. Could you please retest and validate that is has fixed the problem? If so, can also go ahead and close this bug.
Tested with changeset 9329. Problem is gone. Closing defect.
Hi, running 3.0.2-2 on AMD X2 for 12h. No Problems! Thanks!!
Hello I using XEN 3.0.2 and Kernel 2.6.16.23 and I got the following message to the console. Then I type 'dmesg' I got the messages, too. The messages are show in Dom0 and DomU. printk: 19 messages suppressed. Timer ISR/0: Time went backwards: delta=-36773821 delta_cpu=63226179 shadow=76412091215682 off=782267151 processed=76412910083807 cpu_processed=76412810083807 0: 76412810083807 1: 76412910083807 printk: 32 messages suppressed. Timer ISR/1: Time went backwards: delta=-17602207 delta_cpu=52397793 shadow=76417239052095 off=573635376 processed=76417830083807 cpu_processed=76417760083807 0: 76417830083807 1: 76417760083807 printk: 23 messages suppressed. Timer ISR/1: Time went backwards: delta=-59002054 delta_cpu=80997946 shadow=76422453452515 off=337851328 processed=76422850083807 cpu_processed=76422710083807 0: 76422850083807 1: 76422710083807 printk: 21 messages suppressed. Timer ISR/1: Time went backwards: delta=-30093323 delta_cpu=39906677 shadow=76427542969853 off=1047247351 processed=76428620083807 cpu_processed=76428550083807 0: 76428620083807 1: 76428550083807 What the reason for this bug? Is there a way to solve the problem? Torsten
(In reply to comment #21) > Hello > > I using XEN 3.0.2 and Kernel 2.6.16.23 and I got the following message to the > console. Then I type 'dmesg' I got the messages, too. > > The messages are show in Dom0 and DomU. > > [...] Hi, same is true for me; i have a dual Pentium III (Coppermine). When i start Dom0, first all semss fine: __ __ _____ ___ ____ ____ \ \/ /___ _ __ |___ / / _ \ |___ \ |___ \ \ // _ \ '_ \ |_ \| | | | __) |__ __) | / \ __/ | | | ___) | |_| | / __/|__/ __/ /_/\_\___|_| |_| |____(_)___(_)_____| |_____| http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 3.0.2-2 (root@lv-h.de) (gcc-Version 3.3.6 (Debian 1:3.3.6-13)) Mi Aug 9 16:54:10 CEST 2006 Latest ChangeSet: Thu Apr 13 15:18:37 2006 +0100 9617:5802713c159b (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000007fff0000 (usable) (XEN) 000000007fff0000 - 000000007fff3000 (ACPI NVS) (XEN) 000000007fff3000 - 0000000080000000 (ACPI data) (XEN) 00000000fec00000 - 0000000100000000 (reserved) (XEN) System RAM: 2047MB (2096700kB) (XEN) Xen heap: 10MB (10560kB) (XEN) Using scheduler: Simple EDF Scheduler (sedf) (XEN) PAE disabled. (XEN) found SMP MP-table at 000f56b0 (XEN) DMI 2.2 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v000 VIA694 ) @ 0x000f6ff0 (XEN) ACPI: RSDT (v001 VIA694 AWRDACPI 0x30302e32 AWRD 0x00000000) @ 0x7fff3000 (XEN) ACPI: FADT (v002 VIA694 AWRDACPI 0x30302e32 AWRD 0x00000000) @ 0x7fff3040 (XEN) ACPI: MADT (v001 VIA694 AWRDACPI 0x30302e32 AWRD 0x00000000) @ 0x7fff5880 (XEN) ACPI: DSDT (v001 VIA694 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) (XEN) Processor #0 6:8 APIC version 17 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) (XEN) Processor #1 6:8 APIC version 17 (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Initializing CPU#0 (XEN) Detected 997.181 MHz processor. (XEN) CPU: L1 I cache: 16K, L1 D cache: 16K (XEN) CPU: L2 cache: 256K (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: Intel Pentium III (Coppermine) stepping 0a (XEN) Booting processor 1/1 eip 90000 (XEN) Initializing CPU#1 (XEN) CPU: L1 I cache: 16K, L1 D cache: 16K (XEN) CPU: L2 cache: 256K (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#1. (XEN) CPU1: Intel Pentium III (Coppermine) stepping 0a (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 2 CPUs (XEN) Machine check exception polling timer started. (XEN) mtrr: your CPUs had inconsistent variable MTRR settings (XEN) mtrr: probably your BIOS does not setup all CPUs. (XEN) mtrr: corrected configuration. (XEN) Using IPI Shortcut mode (XEN) *** LOADING DOMAIN 0 *** (XEN) Domain 0 kernel supports features = { 0000001f }. (XEN) Domain 0 kernel requires features = { 00000000 }. (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 7c000000->7e000000 (476593 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c0452254 (XEN) Init. ramdisk: c0453000->c110c800 (XEN) Phys-Mach map: c110d000->c12e66c4 (XEN) Start info: c12e7000->c12e8000 (XEN) Page tables: c12e8000->c12ee000 (XEN) Boot stack: c12ee000->c12ef000 (XEN) TOTAL: c0000000->c1400000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Dom0 has maximum 2 VCPUs (XEN) Initrd len 0xcb9800, start at 0xc0453000 (XEN) Scrubbing Free RAM: .....................done. (XEN) Xen trace buffers: disabled (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen). i also was able to start a DomU. Some time later, these errors occure and starting an additional DomU hangs: Linux version 2.6.16.13-xen (apeace@paploo) (gcc version 4.0.3 (Debian 4.0.3-1)) #1 SMP Mon May 15 17:26:36 BST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000010000000 (usable) 0MB HIGHMEM available. 264MB LOWMEM available. ACPI in unprivileged domain disabled IRQ lockup detection disabled Built 1 zonelists Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 2048 (order: 11, 32768 bytes) Xen reported: 1243.249 MHz processor. Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Software IO TLB disabled vmalloc area: d1000000-fb7fe000, maxmem 33ffe000 Memory: 242816k/270336k available (2231k kernel code, 19196k reserved, 694k data, 180k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. what is it, how may i fix that? I tested official Kernels from the Live-CD as well as Debian Backports al well a a selfcompiled. Best whishes, Ingo
I experience exactly the same problem on a FSC AMILO Pro V3205 with Intel Core Duo T2050 (OEM). It doesn't matter which OS runs in dom0. I've tried FC5, OpenSUSE 10.1 and Debian unstable. Booting of xenU generates nothing more than this: debian37:~# xm create /etc/xen/vmsid1.cfg -c Using config file "/etc/xen/vmsid1.cfg". Started domain vmsid1 Linux version 2.6.16-2-xen-686 (Debian 2.6.16-17) (waldi@debian.org) (gcc version 4.0.4 20060630 (prerelease) (Debian 4.0.3-4)) #1 SMP Sun Jul 16 01:42:25 UTC 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000008000000 (usable) 0MB HIGHMEM available. 136MB LOWMEM available. ACPI in unprivileged domain disabled IRQ lockup detection disabled Built 1 zonelists Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 1024 (order: 10, 16384 bytes) Xen reported: 1596.512 MHz processor. Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 6556 bytes) Software IO TLB disabled vmalloc area: b9000000-fb7fe000, maxmem 43ffe000 Memory: 121696k/139264k available (1507k kernel code, 9232k reserved, 527k data, 144k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. ------------------------------------------------------------------------------- debian37:~# dmesg printk: 133 messages suppressed. Timer ISR/1: Time went backwards: delta=-15995812 delta_cpu=12004188 shadow=918553 off=2713088566475 processed=2713104000000 cpu_processed=2713076000000 0: 2713100000000 1: 2713076000000 ------------------------------------------------------------------------------ debian37:~# xm dmesg Xen version 3.0.2-3 (Debian 3.0.2+hg9697-1) (ultrotter@debian.org) (gcc version 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)) Wed May 31 10:05:36 UTC 2006 (XEN) Command line: /boot/xen-3.0-i386.gz (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009f800 (usable) (XEN) 000000000009f800 - 00000000000a0000 (reserved) (XEN) 00000000000dc000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000007f690000 (usable) (XEN) 000000007f690000 - 000000007f698000 (ACPI data) (XEN) 000000007f698000 - 000000007f700000 (ACPI NVS) (XEN) 000000007f700000 - 0000000080000000 (reserved) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fec00000 - 00000000fec10000 (reserved) (XEN) 00000000fed14000 - 00000000fed1a000 (reserved) (XEN) 00000000fed1c000 - 00000000fed90000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) System RAM: 2038MB (2087100kB) (XEN) Xen heap: 10MB (10528kB) (XEN) Using scheduler: Simple EDF Scheduler (sedf) (XEN) PAE disabled. (XEN) found SMP MP-table at 000f76d0 (XEN) DMI present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v000 PTLTD ) @ 0x000f7590 (XEN) ACPI: RSDT (v001 FUJ___ DW1_____ 0x20060608 LTP 0x00000000) @ 0x7f691f1d (XEN) ACPI: FADT (v001 FUJ___ DW1_____ 0x20060608 LOHR 0x0000005a) @ 0x7f697e20 (XEN) ACPI: MADT (v001 FUJ___ DW1_____ 0x20060608 LOHR 0x0000005a) @ 0x7f697e94 (XEN) ACPI: BOOT (v001 FUJ___ DW1_____ 0x20060608 LTP 0x00000001) @ 0x7f697fd8 (XEN) ACPI: MCFG (v001 FUJ___ DW1_____ 0x20060608 LOHR 0x0000005a) @ 0x7f697f34 (XEN) ACPI: MADT (v001 FUJ___ DW1_____ 0x20060608 LTP 0x00000000) @ 0x7f697f70 (XEN) ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20050228) @ 0x7f691f59 (XEN) ACPI: DSDT (v001 FUJ___ DW1_____ 0x20060608 MSFT 0x0100000e) @ 0x00000000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: 2 duplicate APIC table ignored. (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) (XEN) Processor #0 6:14 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) (XEN) Processor #1 6:14 APIC version 20 (XEN) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) (XEN) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 1 already used, trying 2 (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Initializing CPU#0 (XEN) Detected 1596.500 MHz processor. (XEN) CPU: L1 I cache: 32K, L1 D cache: 32K (XEN) CPU: L2 cache: 2048K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU: Processor Core ID: 0 (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: Intel Genuine Intel(R) CPU T2050 @ 1.60GHz stepping 08 (XEN) Booting processor 1/1 eip 90000 (XEN) Initializing CPU#1 (XEN) CPU: L1 I cache: 32K, L1 D cache: 32K (XEN) CPU: L2 cache: 2048K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU: Processor Core ID: 1 (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#1. (XEN) CPU1: Intel Genuine Intel(R) CPU T2050 @ 1.60GHz stepping 08 (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 2 CPUs (XEN) Machine check exception polling timer started. (XEN) Using IPI Shortcut mode (XEN) *** LOADING DOMAIN 0 *** (XEN) Domain 0 kernel supports features = { 0000001f }. (XEN) Domain 0 kernel requires features = { 00000000 }. (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 7e000000->7f000000 (478453 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: b0100000->b0368dd4 (XEN) Init. ramdisk: b0369000->b082e000 (XEN) Phys-Mach map: b082e000->b0a053d4 (XEN) Start info: b0a06000->b0a07000 (XEN) Page tables: b0a07000->b0a0b000 (XEN) Boot stack: b0a0b000->b0a0c000 (XEN) TOTAL: b0000000->b0c00000 (XEN) ENTRY ADDRESS: b0100000 (XEN) Dom0 has maximum 2 VCPUs (XEN) Initrd len 0x4c5000, start at 0xb0369000 (XEN) Scrubbing Free RAM: .....................done. (XEN) Xen trace buffers: disabled (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen). ----------------------------------------------------------------------------- debian37:~# xm info host : debian37 release : 2.6.16-2-xen-686 version : #1 SMP Sun Jul 16 01:42:25 UTC 2006 machine : i686 nr_cpus : 2 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 1596 hw_caps : bfe9fbff:00100000:00000000:00000140:0000c189 total_memory : 2039 free_memory : 108 xen_major : 3 xen_minor : 0 xen_extra : .2-3 xen_caps : xen-3.0-x86_32 platform_params : virt_start=0xfc000000 xen_changeset : Tue May 30 18:14:05 2006 +0100 cc_compiler : gcc version 4.0.4 20060507 (prerelease) (Debian 4.0.3-3) cc_compile_by : ultrotter@debia cc_compile_domain : [unknown] cc_compile_date : Wed May 31 10:05:36 UTC 2006 ------------------------------------------------------------------------------ If I shall provide more informations please let me know.
Hi I've recently installed xen 3.0.2 from Gentoo portage with the same problem on HP xw9300 with dual AMD Opteron/dual core. As of now xend won't even start I believe because of this. From /var/log/xend.log: Xend changeset: Sat Apr 8 12:14:27 2006 +0100 9598:1bce05ff1e52.
I'm also seeing the same problem on a 4-processor Xeon, also using a PIT platform timer. The machine was running perfectly for several months, and then we saw a huge number of timer messages. The network interfaces of the xenUs then go offline, occasionally followed by a hard crash of the xen0. I'm not sure if the network/crash problems are related to the timer problems, though. Currently running Fedora Core 5 with kernel 2.6.17-1.2187_FC5xen0 and a xen.i386 package of 3.0.2-3.FC5.
Same issue 2x dual core Intel Xeons. FC5 built from SRPMS changed only with : CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y CONFIG_IP_PNP_RARP=y xm info host : xxxxx.eyespot.com release : 2.6.17-1.2187_FC5xen0 version : #1 SMP Tue Oct 10 16:28:30 PDT 2006 machine : x86_64 nr_cpus : 4 nr_nodes : 1 sockets_per_node : 2 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2000 hw_caps : 00000000:00000000:bfebfbff:20000800:00000000:00000140:0004e33d total_memory : 4095 free_memory : 1 xen_major : 3 xen_minor : 0 xen_extra : -unstable xen_caps : xen-3.0-x86_64 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.1 20060525 (Red Hat 4.1.1-1) cc_compile_by : root cc_compile_domain : [unknown] cc_compile_date : Tue Oct 10 15:42:08 PDT 2006 dmesg extract from dom0 Timer ISR/2: Time went backwards: delta=-29419945 delta_cpu=10580055 shadow=77978342665733 off=19914551 processed=77978392000000 cpu_processed=77978352000000 0: 77978392000000 1: 77978352000000 2: 77978352000000 3: 77978344000000 xm dmesg | grep -i timer (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) Platform timer is 1.193MHz PIT (XEN) Machine check exception polling timer started. xm dmesg xdev01 | grep -i timer (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) Platform timer is 1.193MHz PIT (XEN) Machine check exception polling timer started.
Also seeing this using Xen 2.0.7 with AMD Opteron 1212 (dual core), NetBSD 3.1 Dom0. All Linux DomU machines report hundreds (in some cases thousands) of these errors per hour. I cannot provide the output of 'xm dmesg' because that just returns "Error: Internal Server Error".
Additionally, this bug is similar to bug 195: