I just installed gentoo-dev-sources 2.6.9 kernel, and immediately after rebooting, and starting X, applications get random mouse click events. If the mouse happens to be over a link, that link might randomly open. When just moving the mouse pointer over the desktop pager, a random mouse event causes desktops to switch. I tried reinstalling ati-drivers, and xorg-x11 as well. No success. This happens frequently enough that X is essentially unusable in this state. However, rebooting into 2.6.8-gentoo-r3 causes the problem to disappear, at least until I try 2.6.9 again. So it definitely seems to be tied to 2.6.9 kernel. Any suggestions appreciated. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: laptop ~ # emerge info Portage 2.0.51 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-gentoo i686) ================================================================= System uname: 2.6.9-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.2 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1,sys-devel/binutils-2.15.92.0.2-r2 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -fweb -ffast-math -march=pentium4 -ftracer -pipe -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -fweb -ffast-math -march=pentium4 -ftracer -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.binarycompass.org http://gentoo.ccccom.com http://gentoo.llarian.net/ http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/ebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aalib acpi alsa apm arts artswrappersuid atlas avi berkdb bitmap-fonts bonobo cddb cdr crypt cups curl dga directfb dnd dv dvd dvdread emacs encode esd ext-png ext-zlib f77 faad fbcon fbdev ffmpeg fftw flac foomaticdb freetype fs gc gd gd-external gdbm ggi gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib imlib2 java javascript jdepend jikes jpegkde lcms libg++ libwww live mad mikmod mmx mmx2 mng motif mozdomi mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mpeg mplayer ncurses network nls nptl nptlonly offensive oggvorbis opengl oss pam passfile pcmcia pcre pdflib perl pic plotutils png ppds python qt qtmt quicktime readline ruby samba sdl slang spell sse sse2 ssl svg svga tcltk tcpd tetex threads tiff transcode truetype type1usb vim-with-x wifi wmf x86 xml xml2 xprint xv xvid zlib" laptop ~ #
OK there must have been an update to the driver for the trackpad on my laptop or something. Suspecting this, I dug out my usb wireless mouse. The problem goes away when I use it instead of the trackpad. Basically any initial touch to the trackpad gets interpreted as a mouse click, no matter how light. I will close this in a day or so, but if anyone has any suggestions in the mean time.
Sounds like interrupt conflict, could you please upload the output of "cat /proc/interrupts" for both 2.6.8 and 2.6.9 kernels. Jeremy, I seem to remember you diagnosing something like this once before, could you please take a look when the info gets posted?
giggles1: Please provide the output of: lsmod cat /proc/bus/usb/devices the relevant section of xorg.conf for your mouse Does this happen using gpm in the console? Can you please try gentoo-dev-sources-2.6.8-r10 as I know that it contained some of the input core updates that went into 2.6.9
here is 2.6.9 /proc/interrupts, I'll have to reboot later to post 2.6.8 Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Device" "/dev/input/mice" EndSection laptop ~ # cat /proc/interrupts CPU0 CPU1 0: 15101291 0 IO-APIC-edge timer 1: 10032 0 IO-APIC-edge i8042 9: 10151 0 IO-APIC-level acpi 12: 958305 0 IO-APIC-edge i8042 14: 70033 1 IO-APIC-edge ide0 15: 28 0 IO-APIC-edge ide1 16: 1 0 IO-APIC-level uhci_hcd, uhci_hcd, yenta 17: 35023 0 IO-APIC-level Intel ICH5 18: 0 0 IO-APIC-level uhci_hcd 19: 182771 0 IO-APIC-level uhci_hcd, eth1 21: 3 0 IO-APIC-level ohci1394 23: 0 0 IO-APIC-level ehci_hcd NMI: 0 0 LOC: 15101843 15101854 ERR: 0 MIS: 0laptop ~ # cat /proc/bus/usb/devices T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-gentoo ehci_hcd S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller S: SerialNumber=0000:00:1d.7 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-gentoo uhci_hcd S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 S: SerialNumber=0000:00:1d.3 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-gentoo uhci_hcd S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 S: SerialNumber=0000:00:1d.2 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-gentoo uhci_hcd S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 S: SerialNumber=0000:00:1d.1 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-gentoo uhci_hcd S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 S: SerialNumber=0000:00:1d.0 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms laptop ~ # laptop ~ # lsmod Module Size Used by nfs 107052 1 lockd 63688 2 nfs sunrpc 131172 4 nfs,lockd fglrx 227292 9 ohci_hcd 18948 0 prism54 50076 0 firmware_class 7808 1 prism54 r8169 17416 0 crc32 4224 1 r8169 ohci1394 30852 0 ieee1394 94648 1 ohci1394 yenta_socket 18944 0 pcmcia_core 53004 1 yenta_socket hw_random 4628 0 ehci_hcd 27140 0 uhci_hcd 28816 0 evdev 7680 0 snd_intel8x0 29480 2 snd_ac97_codec 68304 1 snd_intel8x0 snd_mpu401_uart 6528 1 snd_intel8x0 snd_rawmidi 20516 1 snd_mpu401_uart snd_seq_oss 32128 0 snd_seq_midi_event 6528 1 snd_seq_oss snd_seq 50448 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 6664 3 snd_rawmidi,snd_seq_oss,snd_seq usbcore 101604 5 ohci_hcd,ehci_hcd,uhci_hcd snd_pcm_oss 49448 0 snd_pcm 84740 2 snd_intel8x0,snd_pcm_oss snd_timer 21636 2 snd_seq,snd_pcm snd_page_alloc 7688 2 snd_intel8x0,snd_pcm snd_mixer_oss 18176 2 snd_pcm_oss snd 46436 13 snd_intel8x0,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 7648 2 snd ide_cd 37536 0 cdrom 37148 1 ide_cd
hmm... sorry dsd, this doesn't look like something affected by the changes that I helped into 2.6.9 as that was restricted entirely to the USB drivers (hid and wacom). giggles, my advice is to try 2.6.9 rcs to figure out where the change was, then narrow it down to a chanve between two bk's ... then just gradually apply the patches between those bks until you have the minimal patch that introduced the bug. That's basically how I diagnose the kernel problems I run into... tiresome, yes, but I can't reproduce your problem without your hardware, sorry =(
Could you also post the 2.6.8 /proc/interrupts ? Maybe its something obvious that has changed between the two versions..
Sorry this took so long, got diverted this week. laptop ~ # cat /proc/interrupts CPU0 CPU1 0: 129383 0 IO-APIC-edge timer 1: 99 0 IO-APIC-edge i8042 9: 242 0 IO-APIC-level acpi 12: 6963 0 IO-APIC-edge i8042 14: 9604 1 IO-APIC-edge ide0 15: 28 0 IO-APIC-edge ide1 16: 1 0 IO-APIC-level uhci_hcd, uhci_hcd, yenta 17: 289 0 IO-APIC-level Intel ICH5 18: 0 0 IO-APIC-level uhci_hcd 19: 293 0 IO-APIC-level uhci_hcd, eth1 21: 3 0 IO-APIC-level ohci1394 22: 9 0 IO-APIC-level eth0 23: 0 0 IO-APIC-level ehci_hcd NMI: 0 0 LOC: 129235 129234 ERR: 0 MIS: 0 That's from 2.6.8. I'm not sure this isn't as simple as just bad config values for the trackpad sensitivity. I couldn't find any docs for the driver under the kernel source dir. How is it configured?
FYI, I have xorg-x11 6.8.0, 2.6.9 vanilla kernel and a IBM T41 Thinkpad and am seeing the same problem after moving up from 2.6.8.1 vanilla kernel. If I use the built-in trackpoint mouse, it's fine but the touchpad mouse appears to intepret light taps, such as first placing finger on pad to move mouse pointer around, as mouse clicks. It's pretty annoying. This machine uses an ATI FireGL Mobility T2 video chipset.
Strange .. your 2.6.8 interrupts map seems to include both eth0 and eth1, whereas 2.6.9 assigns interrupts to both eth0 and eth1. So, with 2.6.9, are both your network interfaces working? If you disable both network devices (i.e. recompile the kernel without support for your net devices), does it solve your mouse problems?
Oops that didn't make sense. meant to say: your 2.6.8 interrupts map includes both eth0 and eth1, whereas the 2.6.9 one only mentions eth1 with no reference to eth0.
Interesting. Right now under 2.6.9, the r8169 driver is loaded, but eth1 does not show up at all under ifconfig. I usually only use wireless so I had not notcied the missing ethernet device. This synaptics pad is supposed to support tap-to-click. It's never worked at all before this kernel though. I actually like it when it works well, but it's realy interpretting far too many things as a click. I dunno if there's just a driver setting to tweak or if this really is an interrupt problem.
Ok. Could you please test with 2.6.10-rc2, and if the issue still exists, open a bug at http://bugzilla.kernel.org I'm doubting that this is an interrupt issue now, more likely to be a quirk in the touchpad driver. Thanks