Bug #604

1.8.1-RELEASE - clock runs fast on mainboard ASUS P5A-B

Added by yeti almost 7 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

After a fresh install of 1.8.1-RELEASE on a system with ASUS P5A-B
mainboard (ALI chipset), the clock runs twice as fast as normal.

Booting with ACPI disabled solved this problem.

The clock problem on some ATI chipsets was a problem in Linux some
kernels ago too. The solution was triggered by clock=pit as bootarg if I
remember right... maybe having a peek into Linux's code helps.

acpi=off (3.74 KB) yeti, 04/19/2007 06:09 PM

acpi=on (4.32 KB) yeti, 04/19/2007 06:09 PM

acpitimer-off (4.25 KB) yeti, 04/19/2007 07:33 PM

History

#1 Updated by dillon almost 7 years ago

:After a fresh install of 1.8.1-RELEASE on a system with ASUS P5A-B
:mainboard (ALI chipset), the clock runs twice as fast as normal.
:
:Booting with ACPI disabled solved this problem.
:
:
:The clock problem on some ATI chipsets was a problem in Linux some
:kernels ago too. The solution was triggered by clock=pit as bootarg if I
:remember right... maybe having a peek into Linux's code helps.

Could you post the full dmesg output with and without ACPI enabled?

-Matt
Matthew Dillon
<>

#2 Updated by yeti almost 7 years ago

2 files attached.

#3 Updated by dillon almost 7 years ago

:2 files attached.

Hmm. That's odd. Boot with ACPI and do this:

sysctl kern.cputimer

I'm guessing it is using the ACPI timer, but I don't know why it would
be running so fast.

You can disable the use of the ACPI timer without disabling ACPI itself
by putting this in your /boot/loader.conf file:

debug.acpi.disable=timer

-Matt

#4 Updated by swildner almost 7 years ago

Small correction: it's "debug.acpi.disabled" :)

Sascha

#5 Updated by yeti almost 7 years ago

# sysctl kern.cputimer
kern.cputimer.select: ACPI-safe i8254_timer2 dummy
kern.cputimer.name: ACPI-safe
kern.cputimer.clock: 1215945362
kern.cputimer.freq: 3579545

Ok.

# sysctl kern.cputimer
kern.cputimer.select: i8254_timer2 dummy
kern.cputimer.name: i8254_timer2
kern.cputimer.clock: 108355686
kern.cputimer.freq: 1193182

sleep 5 now is 5 reallife seconds...

New dmesg output attached.

Also available in: Atom PDF