Recent need to reboot a lot has made this annoy me enough to submit a bug report. I can boot perfectly fine with my PS/2 mouse unplugged, then plug it in after booting has finished and have no problems. If I plug the mouse in before booting, not only does it not work, but also all my usb peripherals don't work. I notice that with the mouse plugged, the usually instant loading of the ohci_hcd module takes a second or two to load. This problem is repeatable on all versions of gentoo-sources I have tried from 2.6.11-r1 to 2.6.12-r3. Relevent info: gentoo ~ # cat /etc/modules.autoload.d/kernel-2.6 pppoatm ohci_hcd nvidia ehci_hcd gentoo ~ # grep MOUSE kernel.config CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=y CONFIG_MOUSE_SERIAL=m # CONFIG_MOUSE_VSXXXAA is not set # CONFIG_USB_MOUSE is not set # CONFIG_USB_IDMOUSE is not set Thanks to the wonders of /etc/conf.d/local.start I can get the dmesg from when the problem occurs. I'll attach the normal and broken dmesg's when I find the option. Here is the diff between them, cutting a bunch of random crypto tests at the start: gentoo ~ # diff testdmesg test2dmesg 252,253c252 < PNP: PS/2 controller doesn't have KBD irq; using default 0x1 < PNP: PS/2 Controller [PNP0f13:PS2M] at 0x60,0x64 irq 1,12 --- > PNP: No PS/2 controller found. Probing ports directly. 277,278c276 < Losing some ticks... checking if CPU frequency changed. < input: ImPS/2 Generic Wheel Mouse on isa0060/serio1 --- > input: PS/2 Generic Mouse on isa0060/serio1 280d277 < psmouse.c: Failed to enable mouse on isa0060/serio1 346a344,347 > EXT3-fs: INFO: recovery required on readonly filesystem. > EXT3-fs: write access will be enabled during recovery. > EXT3-fs: recovery complete. > kjournald starting. Commit interval 5 seconds 350d350 < kjournald starting. Commit interval 5 seconds 367,370c367,370 < ohci_hcd 0000:00:02.0: USB HC takeover failed! (BIOS/SMM bug) < ohci_hcd 0000:00:02.0: can't reset < ohci_hcd 0000:00:02.0: init 0000:00:02.0 fail, -16 < ohci_hcd: probe of 0000:00:02.0 failed with error -16 --- > ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1 > ohci_hcd 0000:00:02.0: irq 50, io mem 0xf0104000 > hub 1-0:1.0: USB hub found > hub 1-0:1.0: 10 ports detected 381c381 < ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1 --- > ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2 385,386c385,386 < hub 1-0:1.0: USB hub found < hub 1-0:1.0: 10 ports detected --- > hub 2-0:1.0: USB hub found > hub 2-0:1.0: 10 ports detected 388a389 > EXT3-fs: recovery complete. 389a391,392 > usb 1-5: new low speed USB device using ohci_hcd and address 2 > usb 1-9: new full speed USB device using ohci_hcd and address 3 393,397c396,410 < intel8x0_measure_ac97_clock: measured 49687 usecs < intel8x0: clocking to 46764 < f1cf3d27578afcafe8677c5257cf069911f75d8f5831b56ebfda67b278e66dff8b84fe2b2870f742a580d8edb41987232850c9 < pass < --- > intel8x0_measure_ac97_clock: measured 49672 usecs > intel8x0: clocking to 46750 > usbcore: registered new driver speedtch > usbcore: registered new driver hiddev > input: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:02.0-5 > input: USB HID v1.10 Mouse [Logitech Logitech USB Keyboard] on usb-0000:00:02.0-5 > usbcore: registered new driver usbhid > drivers/usb/input/hid-core.c: v2.01:USB HID core driver > usb 1-9: found stage 1 firmware speedtch-1.bin > usb 1-9: found stage 2 firmware speedtch-2.bin > ADSL line is synchronising > ADSL line is up (576 Kib/s down | 288 Kib/s up) > PPP BSD Compression module registered > PPP Deflate Compression module registered > input: ImPS/2 Generic Wheel Mouse on isa0060/serio1 Reproducible: Always Steps to Reproduce: 1. Plug in PS/2 mouse 2. Try to boot Actual Results: Mouse dies, and takes usb devices down with it... trip the power switch... Expected Results: Mouse works, so do all my usb things. gentoo ~ # emerge info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r3 x86_64) ================================================================= System uname: 2.6.12-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jul 4 2005, 01:45:06)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.5, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -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=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en_GB ja" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi aim alsa arts artworkextra atm avi bash-completion berkdb bitmap-fonts cdparanoia cdr crypt cups curl dvd dvdr dvdread emul-linux-x86 encode fam ffmpeg font-server foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 hal ieee1394 image imagemagick imlib ipv6 java jit joystick jp2 jpeg kde kdeenablefinal lzw lzw-tiff mad matroska mikmod mime mng mp3 mpeg msn mysql ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pascal pdflib perl png ppds python qt readline ruby samba sdl spamassassin spell ssl subversion svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd videos vorbis xine xml2 xpm xprint xrandr xv xvid zlib linguas_en_GB linguas_ja userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Created attachment 62701 [details] The dmesg output when system breaks (mouse plugged in at boot)
Created attachment 62702 [details] The dmesg output from working system (mouse UNplugged at boot)
Do you have USB Keyboard or USB Legacy support enabled in your BIOS?
I have USB keyboard support set in the BIOS. I do not see a USB legacy support option anywhere in the BIOS.
Ok, try turning USB keyboard support off in the bios
I had USB mouse support in the BIOS just in case I got one, looks like disabling just that fixes it. Which is handy, since I can't do anything at the grub menu with USB keyboard support off. Thank you, closing as fixed.