Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117403 - apic error on cpu0 (and [un?]related other problems)
Summary: apic error on cpu0 (and [un?]related other problems)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-01 16:29 UTC by Cody
Modified: 2006-01-01 16:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cody 2006-01-01 16:29:11 UTC
Ok.. brand new amd64 system with Gentoo 2005.1. 

Specs:
MSI RS482M4 Series, MS-7191 version 1.0 micro atx motherboard.
Processor: AMD Athlon(tm) 64 Processor 3700+
Memory: Kingston 512 MB
Kernel: gentoo-sources 2.6.14-r5

emerge info:

Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode expat foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

I have looked at the gentoo boards and other places, and not much luck with any of the similar problems. So trying here. I apologize if some of these are unrelated, but I'm including them just in case.

Problem #1. 

APIC error on CPU0: 04(40)

in dmesg output. All I know is the last part is in arch/x86_64/kernel/apic.c

I tried disabling APIC (noapictimer and noapic etc, on command line) and also in the kernel itself. Either I'm being dense/blind, or it won't work on my system. It just hangs with a cryptic (to me) message (and unsure how to log it since it hangs the system).  The last line is something about losing an interrupt in /dev/hdc.


Problem #2:

I have a clock drift. No matter what I do, it seems to lose quite some time every minute (within a minute or two, the system clock [date] is 5-10 minutes faster than the hardware clock [hwclock] output).

I see another clock drift bug, but I'm not sure if this is the same bug. Apologies if they are the same:

http://bugs.gentoo.org/show_bug.cgi?id=102711


Problem #3:

I've seen messages like this:

Dec 31 09:20:35 blackbox kernel: warning: many lost ticks. 
Dec 31 09:20:35 blackbox kernel: Your time source seems to be instable or some driver is hogging interupts
Dec 31 09:20:35 blackbox kernel: rip __do_softirq+0x39/0xb0  

This _appears_ to have disappeared with a different kernel configuration but I'm not sure what specifically. I'm including this because I'm unsure if it's related.

Lastly:

I've seen this:

Dec 31 20:02:25 blackbox kernel: sh[5989]: segfault at 0000000000000000 rip 00002aaaaad31d50 rsp 00007fffffb187
18 error 4
Dec 31 20:02:27 blackbox kernel: sh[5990]: segfault at 0000000000000000 rip 00002aaaaad31d50 rsp 00007ffffffebb
58 error 4
Dec 31 20:02:29 blackbox kernel: sh[5991]: segfault at 0000000000000000 rip 00002aaaaad31d50 rsp 00007fffff950a
f8 error 4

etc.

I'm willing to test anything to get this up and running, even re-installing.
If I'm missing any info, let me know, I apologize in advance; just let me know and I'll get it right when I get the note.
Comment 1 Cody 2006-01-01 16:31:14 UTC
Ok, I thought something didn't look right.

emerge info should have been in additional comments (which I didn't see). Apologies for that. I'm not sure how to fix it or else I would.

Comment 2 Jory A. Pratt 2006-01-01 16:43:54 UTC
your acpi in bios is not compliant with stands! try passing 'noapic pci=noacpi no_timer_check' to your kernel and I am sure 90% of your problems will be answered. Closing as none of this is a bug with gentoo but a bug with hardware unrelated to gentoo.