Hi, my USB keyyboard with an integrated mouse stopped working since 2.6.12 gentoo r4. r4 was the last woking kernel. dmesg appended. Johnnny
Created attachment 65189 [details] dmesg-2.6.12-gentoo-r7
Please post "emerge info" output to every bug that you file. When you say 2.6.12-gentoo-r4 worked, does that mean you tried -r5 and -r6 and -r7 and every single one after -r4 failed? (Or did you jump from -r4 to -r7?) Are you using the same .config file from both kernels? Is it the mouse or the keyboard that doesn't work, or both? Does rebooting into -r4 definately make the keyboard/mouse work again?
emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 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-r1, 2.15.92.0.2-r9, 2.16-r1, 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -mmmx" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowex 3dnowext X X509 Xaw3d a52 aac aalib accessibility accounting acl acpi activefilter ada adns afs aim aliaschain alsa amuled ao apache2 apm applet ares arts artswrappersuid artworkextra asterisk async athena atm auctex audiofile authdaemond avantgo avi bash-completion bcmath berkdb bidi bind-mysql bl blas blender-game bluetooth bmp bonobo bootsplash boundchecking bri brltty buffysize bzip2 bzlib c++ cairo calendar callbacks camaelon caps cdda cddb cdio cdparanoia cdr cgi chasen chroot clearcase clearpasswd clisp cmucl cnamefix codecs corba cpdflib cpudetection crypt cscope css ctype cups curl curlwrappers customlog daap dbase dbm dbus dbx dedicated devfs26 devmap dga dhcp dio directfb divx4linux djbfft dlloader dlz dpms drac dts dv dvb dvd dvdr dvdread dynagraph edirectory edl eds elf emacs emboss encode erandom esd ethereal evo examples exif extensions extras f77 faac faad fam fame fastcgi fax fb fbcon fbdev festival ffcall ffmpeg fftw filepro firebird firefox flac flash flatfile flexresp flood floppy-boot floppyboot floppyd florz fltk fluidsynth follow-xff font-server foomaticdb fortran fping fpx frascend freetts freetype frlargefiles frxp ftp fwdzone gb gcc-libffi gcj gd gd-external gdbm geoip ggi gif gimpprint ginac glitz glut gnokii gnome gnome-print gnomedb gnutls gphoto2 gpm gps graphviz gsl gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal haskell howl httpd hub ibm iconv icq icu idea idled idn ieee1394 imagemagic imagemagick imap imlib imlib2 immqt inetd inifile inkjar inline innodb insecure-drivers intl ipalias ipv6 irda irmc isdn jabber jack jack-tmpfs java javascript jbig jce jikes jit jks jms john joystick jpeg jpeg2k junit jython kcal kde kdeenablefinal kdexdeltas kerberos kig-scripting koffice-plugin kqemu krb4 ladcca ladspa large-domain latex lcd lcms ldap ldb leim lesstif libcaca libclamav libg++ libgda libsamplerate libwww lirc live lm_sensors logitech-mouse logrotate lua lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska matrox mbox mbrola mcal mcve md5sum mecab memlimit messages mgetty mhash mikmod mime ming mjpeg mmap mmx mmx2 mmxext mng mod modelock motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mppe-mppc msn mule multicall multipleip multiprocess multislot multitarget musepack musicbrainz mysql mysql41 mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses neXt netboot netcdf nethack network neural new-login nfs nis nls nntp non-flattened nptl nptlonly nsplugin oav objc odbc offensive ofx ogg oggvorbis openexr opengl openntpd osc oscar oss pam pam_chroot pam_console pam_timestamp parse-clocks pascal pcap pcapnav pccts pcmcia pcntl pcre pcsc-lite pda pdflib perforce perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils plugin png pnp portaudio posix postfix postgres povray ppds prelude pri procmail profile pvm pwdb pxeserial pyste python qemu-fast qhull qt quicktime quotas radius rar rdesktop readline real remote resperl rhino roundrobin rpm rrdtool rtc ruby samba sample sasl sblive scanner screen sdk sdl semanticfix sendfile serial server session sftplogging sguil shaper shared sharedmem silc simplexml skey slang slp smartcard smime smp sms smtp smux sndfile snmp snortsam soap sockets socks5 softmmu softquota soundtouch sox spamassassin speex spell spl sql sqlite srp sse ssl static-modules stats stencil-buffer stream streamzap subject-rewrite subtitles subversion svg svga syslog sysvipc szip tcltk tcpd termcap-compat test tetex tga theora threads tidy tiff timidity tokenizer toolbar transcode transparent-proxy truetype truetype-fonts type1-fonts ucs2 udpfromto underscores urandom usb userlocales utf8 v4l v4l2 vcd vchroot vda vdesktop vhosts vidix vim-with-x virus-scan visualization vlm vmdbmysql vmdbpostgres vorbis vpopmail wddx webdav wifi win32codecs winbind wmf wxgtk1 wxwindows x11vnc xanim xbase xface xforms xfs xim xine xinerama xinetd xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz yv12 zaptel zero-penalty-hit zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS > When you say 2.6.12-gentoo-r4 worked, does that mean you tried -r5 and -r6 and -r7 and every single one after -r4 failed? (Or did you jump from -r4 to -r7?) I tried r6 and r7. I didn't try r5. Are you using the same .config file from both kernels? yes > Is it the mouse or the keyboard that doesn't work, or both? The integrated mouse insdide the keyboard doesn't work. The keyboard works. Mice doesn't work generally. I think, the problem is related to USB hubs. > Does rebooting into -r4 definately make the keyboard/mouse work again? yes
Created attachment 65212 [details] kernel config
OK - please try 2.6.12-r5, so that we can deduce which exact version the problem was introduced in. You can get the ebuild here: http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/sys-kernel/gentoo-sources/gentoo-sources-2.6.12-r5.ebuild You might need to manually put these in /usr/portage/distfiles : http://dev.gentoo.org/~dsd/genpatches/tarballs/genpatches-2.6.12-8.base.tar.bz2 http://dev.gentoo.org/~dsd/genpatches/tarballs/genpatches-2.6.12-8.extras.tar.bz2 Thanks.
r5 works fine
Great - that narrows it down a lot. Please apply this patch to the 2.6.12-r5 sources: http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.12/2700_irqpoll.patch i.e. # cd /usr/src/linux-2.6.12-gentoo-r5 # patch -p1 -i /path/to/patch Then recompile, mount /boot, copy over new image, reboot, etc. See if the keyboard/mouse still works at that stage.
works Thank you for your quick responses
Ok, theres only one change remaining. Please download and unpack the following file into your home directory: http://dev.gentoo.org/~dsd/genpatches/tarballs/genpatches-2.6.12-9.base.tar.bz2 Then revert 3 patches from -r5 from that tarball : # cd /usr/src/linux-2.6.12-gentoo-r5 # patch -p1 -R -i /path/to/1905_netfilter-conntrack.patch # patch -p1 -R -i /path/to/1900_acpi-irq-0.patch # patch -p1 -R -i /path/to/1305_ppc-ntp.patch Then apply this patch: http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.12/1003_linux-2.6.12.3.patch # cd /usr/src/linux-2.6.12-gentoo-r5 # patch -p1 -i /path/to/1003_linux-2.6.12.3.patch Now recompile kernel, mount /boot, copy over, etc, reboot, and see if the mouse/keyboard works. I'm suspecting it won't but we should confirm this. Thanks :)
Well, I did # wget 'http://dev.gentoo.org/%7Edsd/genpatches/tarballs/genpatches-2.6.12-9.base.tar.bz2' --14:47:41-- http://dev.gentoo.org/%7Edsd/genpatches/tarballs/genpatches-2.6.12-9.base.tar.bz2 => `genpatches-2.6.12-9.base.tar.bz2' Resolving dev.gentoo.org... 134.68.220.30 Connecting to dev.gentoo.org|134.68.220.30|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 29,871 (29K) [application/x-tar] 100%[=================================================================================================>] 29,871 83.78K/s 14:47:41 (83.75 KB/s) - `genpatches-2.6.12-9.base.tar.bz2' saved [29871/29871] # tar xvfj genpatches-2.6.12-9.base.tar.bz2 2.6.12/0000_README 2.6.12/1001_linux-2.6.12.1.patch 2.6.12/1002_linux-2.6.12.2.patch 2.6.12/1003_linux-2.6.12.3.patch 2.6.12/1300_ppc64-multilib.patch 2.6.12/1340_sparc-obp64-naming.patch 2.6.12/1360_sparc-kconfig-rework.patch 2.6.12/1361_sparc-kconfig-driver-rework.patch 2.6.12/1364_sparc-ffbh.patch 2.6.12/1370_sparc-modpost_stt_reg.patch 2.6.12/1399_sparc-U1-hme-lockup.patch 2.6.12/2305_sata-bridge-lockup.patch 2.6.12/2310_libata-capacity.patch 2.6.12/2315_ide-no-lba.patch 2.6.12/2700_irqpoll.patch 2.6.12/2900_gameport-probe.patch but there aren't 1905_netfilter-conntrack.patch 1900_acpi-irq-0.patch 1305_ppc-ntp.patch those patches. What has gone wrong?
Odd. You can find them in /usr/portage/distfiles/genpatches-2.6.12-8.base.tar.bz2
Arrgh. I didn't boot the correct kernel. Now I booted the correct r5 kernel, and it stopped working. I mean the kernel created in #10 I'm trying #8 now.
#8 doesn't work
2.6.13 rc6 doesn't work, too. So I think this is upstream
After some discussion on IRC and the testing above it seems definate that the irqpoll patch is causing this breakage. If it's not too much trouble, could you please attach dmesg output from 2.6.13-rc6? Thanks.
Oh - also, you could try booting 2.6.13_rc6 with the "irqfixup" parameter (i.e. put it in the bootloader config where you'd normally put the real_root= args, etc). If that doesn't help, try replacing "irqfixup" with "irqpoll".
irqfixup same behaviour as without: the mouse doesn't work, but the usb keyboard works iqrpoll kernel boots, inside the initrd, itt says, hda error (looks like a dieing IDE disk), and then shortly after init, the kernel panics, something with IDE. the usb keyboard works with every kernel version (when the kernel doesn't panic ;-) )
Created attachment 65469 [details] dmesg 2.6.13-rc6-irqfixup-notworking
Created attachment 65470 [details] dmesg 2.6.13 without commandline options
Please run "make clean" in the 2.6.13_rc6 source directory. Switch to gcc 3.3.x (using gcc-config) and then recompile your kernel. Copy over the new image etc, and see if that helps.
# gcc-config 1 * Switching to i686-pc-linux-gnu-3.3.4 compiler ... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile # source /etc/profile # genkernel --kernel-config=/root/2.6.12-gentoo-r4 all * Gentoo Linux Genkernel; Version 3.3.5 * Running with options: --kernel-config=/root/2.6.12-gentoo-r4 all * Linux Kernel 2.6.13-rc6 for x86... * kernel: >> Running mrproper... * config: Using config from /root/2.6.12-gentoo-r4 * Previous config backed up to .config.bak * >> Running oldconfig... * kernel: >> Cleaning... * >> Compiling 2.6.13-rc6 bzImage... A separate make clean isn't needed?
Hi, I rebuild rc6 wit gcc 3.3.4. I tried iqrpoll , It boots, but crashed my root filesystem (ext3). It is seriously damaged. fscheck couldn't repair anything, but throw away nearly all kde libs and libc. So I'll try Ubuntu, or something else. I'm a bit annoyed of the quality of gentoo. I think gentoo is a real cool thing to test sources of packages, and do automated test builds. But production use? No way. Search my bug list. Sorry, but I spent 3/4 of my time using gentoo in tracking down bugs. I'm going to searn for my exams on 14. September. Perhaps I'll abuse a dual Opteron to build me a system just for fun - I like up to date distros, but don't expect that before 15. September. Johnny
Judging by the oops you sent me by email, I think you have a disk/memory hardware problem, I don't think that your filesystem problem is a Gentoo-specific bug. However I took a quick look at the other bugs reported by yourself -- seems you have had your fair share! But thanks for reporting them all, thats quite a contribution you've made... If you want to come back to this bug in future, please just reopen it. Good luck with your exams, and I hope you'll continue using Gentoo in some form and reporting problems :)