Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123367 - sys-kernel/gentoo-sources-2.6.15-r5: msi rs480m2 gives APIC and timing errors
Summary: sys-kernel/gentoo-sources-2.6.15-r5: msi rs480m2 gives APIC and timing errors
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-19 05:04 UTC by Raphael
Modified: 2007-10-14 23:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of lspci -v (lspci.txt,5.78 KB, text/plain)
2006-02-19 05:05 UTC, Raphael
Details
/var/log/messages for current boot (dmesg.txt,23.15 KB, text/plain)
2006-02-19 05:06 UTC, Raphael
Details
.config for current compile (config,39.88 KB, text/plain)
2006-02-19 05:08 UTC, Raphael
Details
/proc/cpuinfo (cpuinfo.txt,562 bytes, text/plain)
2006-02-19 05:09 UTC, Raphael
Details
/proc/interrupts (interrupts.txt,517 bytes, text/plain)
2006-02-19 05:09 UTC, Raphael
Details
dmesg with acpi=off and nolapic (dmesgacpioff.txt,11.43 KB, text/plain)
2006-02-19 05:17 UTC, Raphael
Details
dmesg with FREQ disabled and nolapic acpi=off (dmesgnofreq.txt,10.87 KB, text/plain)
2006-02-19 05:37 UTC, Raphael
Details
dmesg enable_timer_pin_1 clock=pmtmr (dmesgenable_timer.txt,14.17 KB, text/plain)
2006-02-19 05:59 UTC, Raphael
Details
enable_timer_pin_1 clock=pmtmr no_timer_check (dmesg1.txt,14.70 KB, text/plain)
2006-02-19 06:31 UTC, Raphael
Details
disable_timer_pin_1 clock=pmtmr no_timer_check (dmesg2.txt,14.48 KB, text/plain)
2006-02-19 06:32 UTC, Raphael
Details
dmesg 2.6.16-rc4 (dmesg2616rc4,14.54 KB, text/plain)
2006-02-21 05:27 UTC, Raphael
Details
Picture of 2.6.16-rc4-mm1 failing to boot (img_0107small.jpg,328.01 KB, image/jpeg)
2006-02-22 10:43 UTC, Raphael
Details
dmesg acpi=off nolapic of 2.6.16-rc4-mm1 (dmesg2616rc4mm1,12.75 KB, text/plain)
2006-02-22 10:48 UTC, Raphael
Details
dmesg of 2.6.16-rc5 (dmesg2616rc5.txt,52.13 KB, text/plain)
2006-03-09 02:28 UTC, Raphael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael 2006-02-19 05:04:15 UTC
On my MSI rs480m2 mobo using all kernels up to and including  2.6.15-gentoo-r5 I get a number of errors in dmesg that look like

time.c: Lost 13 timer tick(s)! rip 0x95f51e)
time.c: Lost 15 timer tick(s)! rip default_idle+0x36/0x80)
APIC error on CPU0: 04(40)
time.c: Lost 13 timer tick(s)! rip 0x823d49b)
time.c: Lost 15 timer tick(s)! rip default_idle+0x36/0x80)
time.c: Lost 13 timer tick(s)! rip 0x5b9bf2)
time.c: Lost 15 timer tick(s)! rip default_idle+0x36/0x80)
APIC error on CPU0: 40(40)
time.c: Lost 1 timer tick(s)! rip default_idle+0x36/0x80)
time.c: Lost 14 timer tick(s)! rip clear_page+0x7/0x10)
time.c: Lost 15 timer tick(s)! rip default_idle+0x36/0x80)


for example.  I will attach hardware/config info below.

Raphael
Comment 1 Raphael 2006-02-19 05:05:00 UTC
Created attachment 80157 [details]
output of lspci -v
Comment 2 Raphael 2006-02-19 05:06:55 UTC
Created attachment 80158 [details]
/var/log/messages for current boot
Comment 3 Raphael 2006-02-19 05:08:13 UTC
Created attachment 80159 [details]
.config for current compile
Comment 4 Raphael 2006-02-19 05:09:27 UTC
Created attachment 80160 [details]
/proc/cpuinfo
Comment 5 Raphael 2006-02-19 05:09:47 UTC
Created attachment 80161 [details]
/proc/interrupts
Comment 6 Raphael 2006-02-19 05:17:34 UTC
Created attachment 80163 [details]
dmesg with acpi=off and nolapic
Comment 7 Raphael 2006-02-19 05:37:57 UTC
Created attachment 80165 [details]
dmesg with FREQ disabled and nolapic acpi=off
Comment 8 Raphael 2006-02-19 05:59:25 UTC
Created attachment 80169 [details]
dmesg enable_timer_pin_1 clock=pmtmr
Comment 9 Raphael 2006-02-19 06:31:51 UTC
Created attachment 80171 [details]
enable_timer_pin_1 clock=pmtmr no_timer_check
Comment 10 Raphael 2006-02-19 06:32:21 UTC
Created attachment 80172 [details]
disable_timer_pin_1 clock=pmtmr no_timer_check
Comment 11 Raphael 2006-02-21 05:27:33 UTC
Created attachment 80361 [details]
dmesg 2.6.16-rc4
Comment 12 Raphael 2006-02-22 10:43:53 UTC
Created attachment 80441 [details]
Picture of 2.6.16-rc4-mm1 failing to boot

2.6.16-rc4-mm1 does not boot at all.  Are there any more tests that I can do?
Comment 13 Raphael 2006-02-22 10:48:45 UTC
Created attachment 80442 [details]
dmesg acpi=off nolapic  of 2.6.16-rc4-mm1

I could get mm1 to boot with acpi off and nolapic
Comment 14 Raphael 2006-03-09 02:28:57 UTC
Created attachment 81749 [details]
dmesg of 2.6.16-rc5


Status at 2.6.16-rc5: Bug still present.
Comment 15 Thomas Green 2006-05-14 04:52:13 UTC
I also have the MSI RS480M2 motherboard and have had similar APIC and timing issues for a while. I'm currently using the sys-kernel/gentoo-sources-2.6.15-r7 kernel and booting with just the "disable_timer_pin_1" option.

I haven't done extensive testing but booting without this option means that the clock runs very fast (double speed) and so everything is very unstable. With this option enabled, however, the clock runs normally and system performance seems ok.

I'm not convinced that the problem is totally solved for me though because I still get the following log messages (dmesg):

  APIC error on CPU0: 40(40)
  Losing some ticks... checking if CPU frequency changed.

The first of these messages is logged every few minutes, i.e. very frequent, but the second is only seen maybe once every few days.

I have this motherboard running in a headless system with the AMD Athlon64 3000+ processor, 512MB of RAM, one 80Gb IDE hard drive and one 200Gb SATA hard drive. The fact that it is headless (and isolated) probably limits what debugging I can do; i.e. it will take a lot of effort to get the system back up if any particular boot option prevents the system booting and network coming up.

I'd be happy to post any logs/etc. if it is of any help.
Comment 16 Mike Pagano gentoo-dev 2007-10-01 13:32:41 UTC
Raphael, 

Can we get a status on your situation with this error? Do you still utilize the hardware and have the same errors with more recent kernels?

Comment 17 Daniel Drake (RETIRED) gentoo-dev 2007-10-14 23:42:53 UTC
Please reopen if this is still an issue on the latest kernels.