All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Bad clock ticking in xen0
@ 2005-12-25 22:42 Ian Pratt
  2005-12-26 10:28 ` Tomas Kouba
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Pratt @ 2005-12-25 22:42 UTC (permalink / raw)
  To: Tomas Kouba, xen-devel

 > > Please can you try putting 'lapic' on the grub xen command 
> line. Haing 
> > the dom0 dmesg output would be useful too.
> 
> I have trie lapic and nlapic with no noticable difference.
> Dmesg outupts for both attached.

Hmm, shame this didn't work.

I'd have been interested to see the "xm dmesg" output from the "lapic"
case. 



Ian

 

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Bad clock ticking in xen0
@ 2005-12-26 20:56 Ian Pratt
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Pratt @ 2005-12-26 20:56 UTC (permalink / raw)
  To: Tomas Kouba, xen-devel

> (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic"
> (XEN) Local APIC not detected. Using dummy APIC emulation
> 
> are a bit strange for me. The BIOS is quite simple 
> PheonixBIOS with no options regarding APIC.
> lapic kernel parameter was *surely* used

It's not that uncommon for the bios to disable the apic. I suppose it's
possible that Duron's don't have one anyway.

One thing that might be worth doing is to write a little program that
sits in a loop calling gettimeofday and reporting the delta from the
previous call [hint: convert the output into a 64b long long by
u.tv_usec + (unsigned long long)u.tv_sec*1000000; ]

It'll be interesting to see whether time runs forward smoothly or jumps
ahead in steps.

If time is progressing smoothly, then I guess the problem with your
laptop must be that the PIT that Xen uses is being subverted by
something else. No idea what, though -- perhaps something hidden in SMM.

Ian

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Bad clock ticking in xen0
@ 2005-12-25 19:03 Ian Pratt
  2005-12-25 20:17 ` Tomas Kouba
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Pratt @ 2005-12-25 19:03 UTC (permalink / raw)
  To: Tomas Kouba, xen-devel

> I have a problem with too fast clock in dom0.
> The clock is 3-4times faster than 'real' clock.
> In users list I got an advice suggesting that it is a hw bug. 
> But I have no other problem with the hw and I hope it is a 
> xen bug (or my misconfiguration) and it can be fixed or workarounded.
> 
> It happens on a notebook compaq evo N115 (Duron 996MHz).
> On my desktop with similar configuration there is no problem 
> (xm dmesg attached for both).
> 
> I tried to locate the bug myself but with no luck :( Could 
> you please suggest some hints where to start debugging?

Please can you try putting 'lapic' on the grub xen command line. Haing
the dom0 dmesg output would be useful too.

I think we only have one other current report of this 'time too fast'
bug, so it must be quite hardware specific.

I presume you're using 3.0.0?

Ian

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Bad clock ticking in xen0
@ 2005-12-24 22:38 Tomas Kouba
  0 siblings, 0 replies; 9+ messages in thread
From: Tomas Kouba @ 2005-12-24 22:38 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

Hi,
I have a problem with too fast clock in dom0.
The clock is 3-4times faster than 'real' clock.
In users list I got an advice suggesting that it is a hw bug. But I have 
no other problem with the hw and
I hope it is a xen bug (or my misconfiguration) and it can be fixed or 
workarounded.

It happens on a notebook compaq evo N115 (Duron 996MHz).
On my desktop with similar configuration there is no problem (xm dmesg 
attached for both).

I tried to locate the bug myself but with no luck :( Could you please 
suggest some hints where
to start debugging?

-- 
Tomas Kouba


[-- Attachment #2: xm_dmesg_desktop --]
[-- Type: text/plain, Size: 3329 bytes --]

 __  __            _____  ___   ___  
 \ \/ /___ _ __   |___ / / _ \ / _ \ 
  \  // _ \ '_ \    |_ \| | | | | | |
  /  \  __/ | | |  ___) | |_| | |_| |
 /_/\_\___|_| |_| |____(_)___(_)___/ 
                                     
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0.0 (rread@eng.hq.xensource.com) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) Tue Dec 13 15:49:56 PST 2005
 Latest ChangeSet: unavailable 

(XEN) Physical RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000000fff0000 (usable)
(XEN)  000000000fff0000 - 000000000fff3000 (ACPI NVS)
(XEN)  000000000fff3000 - 0000000010000000 (ACPI data)
(XEN)  00000000ffff0000 - 0000000100000000 (reserved)
(XEN) System RAM: 255MB (261692kB)
(XEN) Xen heap: 10MB (10648kB)
(XEN) PAE disabled.
(XEN) found SMP MP-table at 000f5eb0
(XEN) DMI 2.2 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 VIA694                                ) @ 0x000f78b0
(XEN) ACPI: RSDT (v001 VIA694 MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3000
(XEN) ACPI: FADT (v001 VIA694 MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3040
(XEN) ACPI: MADT (v001 VIA694 MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff58c0
(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:3 APIC version 16
(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 849.618 MHz processor.
(XEN) Using scheduler: Simple EDF Scheduler (sedf)
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 64K (64 bytes/line)
(XEN) CPU0: AMD Duron(tm) processor stepping 01
(XEN) Total of 1 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) ..TIMER: vector=0x31 pin1=2 pin2=-1
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 1 CPUs
(XEN) mtrr: v2.0 (20020519)
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found: 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=xen-3.0,VIRT_BASE=0xC0000000,PAE=no,LOADER=generic'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   01800000->02000000 (55177 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c047e2a0
(XEN)  Init. ramdisk: c047f000->c06b7600
(XEN)  Phys-Mach map: c06b8000->c06efe24
(XEN)  Start info:    c06f0000->c06f1000
(XEN)  Page tables:   c06f1000->c06f4000
(XEN)  Boot stack:    c06f4000->c06f5000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Initrd len 0x238600, start at 0xc047f000
(XEN) Scrubbing Free RAM: ...done.
(XEN) Xen trace buffers: disabled
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).


[-- Attachment #3: xm_dmesg_notebook --]
[-- Type: text/plain, Size: 2806 bytes --]

 __  __            _____  ___   ___  
 \ \/ /___ _ __   |___ / / _ \ / _ \ 
  \  // _ \ '_ \    |_ \| | | | | | |
  /  \  __/ | | |  ___) | |_| | |_| |
 /_/\_\___|_| |_| |____(_)___(_)___/ 
                                     
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0.0 (rread@eng.hq.xensource.com) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) Tue Dec 13 15:49:56 PST 2005
 Latest ChangeSet: unavailable 

(XEN) Physical RAM map:
(XEN)  0000000000000000 - 000000000009e800 (usable)
(XEN)  000000000009e800 - 00000000000a0000 (reserved)
(XEN)  00000000000c0000 - 00000000000cc000 (reserved)
(XEN)  00000000000dc000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000000eef0000 (usable)
(XEN)  000000000eef0000 - 000000000eeff000 (ACPI data)
(XEN)  000000000eeff000 - 000000000ef00000 (ACPI NVS)
(XEN)  000000000ef00000 - 000000000f000000 (usable)
(XEN)  00000000fff80000 - 0000000100000000 (reserved)
(XEN) System RAM: 239MB (245304kB)
(XEN) Xen heap: 10MB (10652kB)
(XEN) PAE disabled.
(XEN) DMI 2.3 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f6dd0
(XEN) ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x0eefb63b
(XEN) ACPI: FADT (v001 COMPAQ  EAGLES  0x06040000 PTL_ 0x000f4240) @ 0x0eefeeb6
(XEN) ACPI: SSDT (v001 PTLTD  POWERNOW 0x06040000  LTP 0x00000001) @ 0x0eefef2a
(XEN) ACPI: DSDT (v001 COMAPQ   EAGLES 0x06040000 MSFT 0x0100000d) @ 0x00000000
(XEN) Local APIC disabled by BIOS -- you can enable it with "lapic"
(XEN) Initializing CPU#0
(XEN) Detected 996.587 MHz processor.
(XEN) Using scheduler: Simple EDF Scheduler (sedf)
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 64K (64 bytes/line)
(XEN) CPU0: AMD mobile AMD Duron(tm) Processor stepping 01
(XEN) SMP motherboard not detected.
(XEN) Local APIC not detected. Using dummy APIC emulation.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 1 CPUs
(XEN) mtrr: v2.0 (20020519)
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found: 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=xen-3.0,VIRT_BASE=0xC0000000,PAE=no,LOADER=generic'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   01800000->02000000 (22528 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c0600924
(XEN)  Init. ramdisk: c0601000->c0601000
(XEN)  Phys-Mach map: c0601000->c0619000
(XEN)  Start info:    c0619000->c061a000
(XEN)  Page tables:   c061a000->c061d000
(XEN)  Boot stack:    c061d000->c061e000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Scrubbing Free RAM: ...done.
(XEN) Xen trace buffers: disabled
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).


[-- Attachment #4: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-12-29 20:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-25 22:42 Bad clock ticking in xen0 Ian Pratt
2005-12-26 10:28 ` Tomas Kouba
2005-12-27 12:19   ` Keir Fraser
2005-12-29 19:36     ` Tomas Kouba
2005-12-29 20:35       ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2005-12-26 20:56 Ian Pratt
2005-12-25 19:03 Ian Pratt
2005-12-25 20:17 ` Tomas Kouba
2005-12-24 22:38 Tomas Kouba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.