I recently updated from 2.6.19-r3 first to r4 then to r5 and my mouse (Logitech Trackman) started to generate extra evens when using scroll wheel. Interestingly enough it only happens on first boot. If I reboot machine (warm reboot) the problem goes away. Apparently there was something in the patches for r4 and r5 that triggered behavior. Reproducible: Always Steps to Reproduce: 1. build gentoo-sources-2.6.19-r4+ 2. reboot machine using newly built kernel Actual Results: run 'xev' and use scroller - notice how whenever scroller changes direction (after scrolling up you start to scroll down for example) mouse generates button 2 and 3 pressed event. Expected Results: Should be producing only button 5 and 4 events and no 2 and 3 in between Motherboard: M2N-SLI Deluxe Mouse: Logitech TrackMan using PS/2 port (it's on KVM switch "Freedom9") X11: xorg-7.1 (I'm tracking "stable") I can provide any additional information if needed. Here's --einfo: Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r3 i686) ================================================================= System uname: 2.6.19-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Gentoo Base System version 1.12.6 Last Sync: Sun, 04 Feb 2007 06:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache collision-protect confcache distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo http://mirror.datapipe.net/gentoo" LANG="en_US" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac acpi aiglx alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol arts bash-completion beagle berkdb binary-drivers bindist bitmap-fonts bittorrent cairo cddb cdr cdrom cli cracklib crypt cups cvs dbus dga divx djvu dlloader dmi dmx dri dvd dvdr dvdread eds elibc_glibc encode exif fam fame fbcon ffmpeg firefox flac fuse gdbm gif gimp gimpprint gphoto2 graphviz hal history hou iconv icq id3 ieee1394 input_devices_keyboard input_devices_mouse jabber jpeg jpeg2k kde kernel_linux kipi lame lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms libg++ linguas_en mad midi mikmod mjpeg mmx mp3 mp3rtp mp4 mp4live mpeg mpeg2 mplayer music musicbrainz ncurses network nforce2 nls nowin nptl nptlonly nsplugin nvidia nvram nvtv ogg opengl pam pcre pdf perl png ppds pppd python qt3 quicktime rar raw-mode rdesktop readline real reflection reiserfs rpm rss samba sdl sdl-sound sdlaudio session smp sndfile sou sound spell spl sql sqlite sse sse2 ssl startup-notification subtitles subversion svg svga svgz syslog tcpd tga tgif theora threads tiff transcode truetype truetype-fonts type1 type1-fonts ucs2 ucs4 udev unicode unzip upnp usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa videos vim vim-pager vim-syntax visualization vnc vorbis webdav win32codecs wireshark wma wmf wmp wordperfect x264 xanim xhtml xine xinerama xml xmlrpc xorg xosd xpm xscreensaver xv xvid zeroconf zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Strange, as nothing inbetween -r3 and -r4 should affect anything like this. Can you confirm that rebuilding 2.6.19-r3 using the exact same .config as r4 causes this problem to not appear on a 2.6.19-r3 cold boot (and reconfirm that it DOES then reoccur on a 2.6.19-r5 cold boot)? If you can, then try reverting this patch from 2.6.19-r4: http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.19/1001_linux-2.6.19.2.patch
For now I don't have much time to recompile/reboot, but got bit more info. I confirmed one more time that on cold boot 2.6.19-r3 doesn't exhibit stated problem. I'm using genkernel for compilation so I did a diff on both configs: # diff kernel-config-x86-2.6.19-gentoo-r3 kernel-config-x86-2.6.19-gentoo-r5 3,4c3,4 < # Linux kernel version: 2.6.19-gentoo-r3 < # Sat Jan 13 03:06:52 2007 --- > # Linux kernel version: 2.6.19-gentoo-r5 > # Wed Jan 31 00:45:51 2007 which for me means - they're identical (configs). I'll try to recompile -r3 without patch again and post the result. I'll test patch mentioned here too and see if it helps.
I just tested got same issue with -r3. So I guess it must either marginal hardware or something about 2.6.19. Feel free to close the bug or mark it as it seem fit. Can't reliably reproduce problem with r3, nevertheless it's possible so I'd say it must me something with hardware/drivers and not gentoo patches.