Time runs approx 3x as fast as it should

Bug #581007 reported by Martin J. Bligh
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Time seems to run at 2-3x the rate on this machine since I upgraded from
Karmic to Lucid (2.6.32)

From dmesg:

[ 0.660440] Switching to clocksource acpi_pm
[ 0.902560] rtc_cmos 00:04: setting system clock to 2010-05-15
13:09:58 UTC (1273928998)
[ 1.322563] Clocksource tsc unstable (delta = -358190597 ns)

# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
acpi_pm
# cat /sys/devices/system/clocksource/clocksource0/available_clocksource
acpi_pm

Trying to switch to HPET does nothing, as it doesn't seem to have that
available (AMD BE-2300 chip on some el cheapo nvidia chipset board)

I presume it's some frequency scaling confusion deep in the bowels
of ACPI, but if I only have one clocksource - how can I get around this?

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mbligh 1453 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Live'/'SB Live! 5.1 (rev.7, serial:0x80641102) at 0xcc00, irq 16'
   Mixer name : 'eMicro EM28028'
   Components : 'AC97a:454d4328'
   Controls : 216
   Simple ctrls : 38
Date: Sat May 15 16:40:09 2010
HibernationDevice: RESUME=UUID=fbc6324e-a1fa-4391-a1a2-e36a830ea5a3
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb:
 Bus 002 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 03f0:5b11 Hewlett-Packard OfficeJet J2100 series
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=e0263b06-15a2-464f-89ba-9185b10f2d71 ro quiet splash clocksource=hpet
ProcEnviron:
 LC_CTYPE=C
 LC_COLLATE=C
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:

SourcePackage: linux
dmi.bios.date: 05/28/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: NF-MCP61
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd05/28/2007:svn:pn:pvr:rvn:rnNF-MCP61:rvr:cvn:ct3:cvr:

Revision history for this message
Martin J. Bligh (mbligh) wrote :
Revision history for this message
Christopher Hotchkiss (christopher-hotchkiss) wrote :

Can you try to boot ubuntu with acpi disabled?

See the following link for howto do this: https://help.ubuntu.com/community/BootOptions#Change%20Boot%20Options%20Temporarily%20For%20An%20Existing%20Installation

and add "noacpi" to the boot line. I remember having a similar issue ages ago but I no longer remember the fix.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin J. Bligh (mbligh) wrote :

tried noacpi, and (at the suggestion of John Stultz) nohz=off
Sadly, neither made a difference.

Revision history for this message
Christopher Hotchkiss (christopher-hotchkiss) wrote :

Martin, could you try the fix mentioned in the following link?
http://ubuntuforums.org/showthread.php?t=53094

Revision history for this message
Martin J. Bligh (mbligh) wrote :

hmm, that looked like a really good fit for a bug description. Sadly it didn't fix it though ;-( Thanks, M.

Revision history for this message
Christopher Hotchkiss (christopher-hotchkiss) wrote :

Martin, I'm sorry but I set this bug to Confirmed too early. I cannot reproduce it myself directly so we need a separate confirmation to move it to confirmed. (Sorry I'm new to bug triaging. https://wiki.ubuntu.com/Bugs/Status)

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Christopher Hotchkiss (christopher-hotchkiss) wrote :

Martin,
Could you try the following fix? https://bugs.launchpad.net/ubuntu/+bug/155882/comments/5

I have also found a bug with a number of other suggestions: https://bugs.launchpad.net/linux/+bug/17589

Revision history for this message
Martin J. Bligh (mbligh) wrote : Re: [Bug 581007] Re: Time runs approx 3x as fast as it should

> Could you try the following fix? https://bugs.launchpad.net/ubuntu/+bug/155882/comments/5

no_timer_check is the same as the first thing we tried
(didn't work, sadly)

> I have also found a bug with a number of other suggestions:
> https://bugs.launchpad.net/linux/+bug/17589

$ grep timer /proc/interrupts; sleep 10; grep timer /proc/interrupts
  0: 15 1 IO-APIC-edge timer
LOC: 78595248 12063210 Local timer interrupts
  0: 15 1 IO-APIC-edge timer
LOC: 78596460 12063320 Local timer interrupts

(though the sleep actually took about 3 seconds).

the "noapic" option doesn't do anything either, sadly.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu development release http://cdimage.ubuntu.com/daily-live/current/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.