Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104789

Summary: x86_64 timer running too fast
Product: Gentoo Linux Reporter: Astrid Malo <kess>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: VERIFIED UPSTREAM    
Severity: normal CC: petr
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://bugzilla.kernel.org/show_bug.cgi?id=3927
Whiteboard:
Package list:
Runtime testing required: ---

Description Astrid Malo 2005-09-04 04:42:38 UTC
When using the boot option 'noapictimer', 'noapic' is also triggered. You'll
find a line
  ACPI: Skipping IOAPIC probe due to 'noapic' option.
in your gmesg output, even if apic is enabled by default. This is because of
line 340/341 of arch/x86_64/kernel/setup.c (from gentoo-sources-2.6.12-r9):
  if (!memcmp(from, "noapic", 6))
      skip_ioapic_setup = 1;
The if statement ist also true with 'noapictimer'.

Using 'noapictimer apic' does not do the trick. This enables apic and apic timer.

As a workaround I'm using the patch from comment 34 of
http://bugzilla.kernel.org/show_bug.cgi?id=3927, but i'm not sure, this is the
correct way to solve the problem finally.



Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9 x86_64 AMD Turion(tm) 64 Mobile Technology ML-34
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
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
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mir.zyrianes.net/gentoo/
http://194.117.143.72 http://ftp.du.se/pub/os/gentoo
http://mirror.switch.ch/mirror/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.ntua.gr/pub/linux/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts avi bash-completion berkdb bitmap-fonts bzip2 cdr
crypt cups doc dvd dvdr eds encode fam fbcon foomaticdb gdbm gif gpm gstreamer
gtk gtk2 ieee1394 imlib jpeg kde lzw lzw-tiff mad mp3 mpeg ncurses nptl opengl
pam pcmcia pcre pdflib perl png python qt quicktime readline sdl ssl symlink
tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vi wifi
xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-09-04 07:51:03 UTC
I don't see how the patch you mention solves the problem of noapictimer being
also interpretred as noapic but I will track the upstream bug anyway
Comment 2 Astrid Malo 2005-09-04 08:03:22 UTC
No, the patch does not solve the problem. 
It is just a workaround for the timer problem without loosing apic functionality.

Sorry, I should have been more clear at this point
Comment 3 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-09-17 10:17:55 UTC
My Acer Ferrari 4005 laptop is affected by this bug. I have already added a 
comment on the upstream bug. 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-10-04 08:06:42 UTC
*** Bug 108080 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-01-10 03:44:16 UTC
upstream bug is closed