I have this problem both with Redhat and with Gentoo. If I run the SMP kernel, then I get repeated characters under X from keypresses. The mouse also tends to go haywire. Running non-smp kernel fixes the problem. # emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.11 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp" CHOST="i686-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="-O2 -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.ibiblio.org/gentoo http://adelie.polymtl.ca/ ftp://ftp.ussg.iu.edu/pub/l inux/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd eds emboss encode exif expat f77 fam ffmpeg foomaticdb fortran gdbm gif gimpprint glade gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pda pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
(In reply to comment #0) > I have this problem both with Redhat and with Gentoo. So report it upstream, please...
*** Bug 120493 has been marked as a duplicate of this bug. ***
*** Bug 120496 has been marked as a duplicate of this bug. ***
How is your clock functioning? If the clock is ticking faster, or is an unreliable source of time, this may cause your mouse or keyboard to behave this way.
(In reply to comment #4) > How is your clock functioning? > If the clock is ticking faster, or is an unreliable source of time, this may > cause your mouse or keyboard to behave this way. > How do I check that? The hardware clock seems to be okay... # hwclock --show Fri 27 Jan 2006 11:47:49 AM CST -0.106921 seconds
(In reply to comment #1) > (In reply to comment #0) > > I have this problem both with Redhat and with Gentoo. > > So report it upstream, please... > Pardon my ignorance, but how do I report it upstream?
(In reply to comment #0) > I have this problem both with Redhat and with Gentoo. If I run the SMP kernel, > then I get repeated characters under X from keypresses. The mouse also tends to > go haywire. Running non-smp kernel fixes the problem. > > # emerge --info > Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, > glibc-2.3.4.20041102-r1, 2.6.15-gentoo-r1 i686) > ================================================================= > System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 X2 Dual Core Processor > 3800+ >..... I have an identical system and can confirm this bug. but: beforeinstallinggentoo on that machine, I had an ubuntu-system running and didn't encounter this bug with kernel 2.6.15 SMP. If I can deliver useful information, i'll be glad to do so
I think this may be the same as bug 5105 lost ticks - hang check - after loading the CPU, which was also discussed on the forum : [solved] Athlon X2 and the weird clock issue http://forums.gentoo.org/viewtopic-t-369231 I added options clock=pmtmr notsc to the kernel line in grub.conf, and the problem seems to be fixed. I also heard back from Redhat, and they made the same suggestion (actually just to add clock=pmtmr). Curiously, dmesg seems to imply the notsc option has been ignored... ... Kernel command line: ro root=/dev/sda6 video=vesafb:mtrr,ywrap,1024x768-32@85 clock=pmtmr notsc notsc: Kernel compiled with CONFIG_X86_TSC, cannot disable TSC. mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) Warning: clock= override failed. Defaulting to PIT Detected 2010.493 MHz processor. Using pit for high-res timesource I'll know for certain in a day or so if it is really fixed, but so far it is looking good.
(In reply to comment #8) > I added options clock=pmtmr notsc to the kernel line in grub.conf, and the > problem seems to be fixed. Seems to solve the probblem for me too
Please try and reproduce this on the latest development kernel (currently 2.6.16-rc3), without any extra boot arguments. Ideally this should work "out of the box".
(In reply to comment #10) > Please try and reproduce this on the latest development kernel (currently > 2.6.16-rc3), without any extra boot arguments. Ideally this should work "out of > the box". > I did try 2.6.16-rc3 this morning, but it shows the same bug as 2.6.15 without the additional kernel-parameters. what a pitty.
Sorry to throw another kernel at you. 2.6.16-rc4 has just been released and it contains a patch which looks like it might help. When you get a chance, could you please test that version?
(In reply to comment #12) > Sorry to throw another kernel at you. no problem, kernel compiling is one of my favourite hobbies > 2.6.16-rc4 has just been released and it > contains a patch which looks like it might help. When you get a chance, could > you please test that version? but still no go, as well with 2.6.16-rc4. but you do have an idea where the problem is, do you? I'd really like to learn something more about this problem. So if you feel boared some time, you could maybe pass me some information.
I don't have much knowledge on the subject. I thought this patch (included in 2.6.16-rc4) might help: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7fd67843b96f90f59c9a244a1bc25137978a3ff9 Please file this as an upstream bug at http://bugzilla.kernel.org and post the new bug URL here. You should also check for any available BIOS updates.
I filed a bug report at kernel org: http://bugzilla.kernel.org/show_bug.cgi?id=6104
.