Bug #604
1.8.1-RELEASE - clock runs fast on mainboard ASUS P5A-B
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due 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.
Related todos
History
Updated by dillon about 6 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
<dillon@backplane.com>
Updated by yeti about 6 years ago
2 files attached.
Updated by dillon about 6 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
Updated by swildner about 6 years ago
Small correction: it's "debug.acpi.disabled" :)
Sascha
Updated by yeti about 6 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.