Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103392 - uhci-hcd deadlocks machine with USB keyboard connected
Summary: uhci-hcd deadlocks machine with USB keyboard connected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.13
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 17:09 UTC by Thomas Witzel
Modified: 2005-08-29 08:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info output (emerge.info,3.40 KB, text/plain)
2005-08-23 06:57 UTC, Thomas Witzel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Witzel 2005-08-22 17:09:28 UTC
Hello,

I have a very serious problem. I have an USB keyboard. In order to get it to 
work I need the uhci-hcd module loaded. When I insmod uhci-hcd.ko the machine 
immediately deadlocks (without any error in the syslog) whenever the keyboard 
is connected. If I disconnect the keyboard, the command causes no problems.
I tried 3 different USB keyboards, I tried the keyboard on all USB ports and I 
disconnected all other USB devices, but it seems the keyboard is always the 
problem.
If I build uhci-hcd into the kernel, the machine freezes upon uchi 
initialization, when a keyboard is plugged in. Strangely the insmod works about 
1 in 10 times without a problem.


Reproducible: Always
Steps to Reproduce:
1. have a USB keyboard connected
2. insmod uhci-hcd.ko
3.

Actual Results:  
machine deadlocks

Expected Results:  
machine doesn't deadlock and initializes USB mouse and other USB devices

I tried kernels from 2.6.9 to 2.6.12, with the same result. Machine has an 
Intel Chipset 875 I believe.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-08-23 01:10:48 UTC
Please attach "emerge info" output to every bug that you file as the input form asks
Comment 2 Thomas Witzel 2005-08-23 06:57:24 UTC
Created attachment 66649 [details]
emerge info output
Comment 3 Thomas Witzel 2005-08-23 06:58:18 UTC
Gentoo Base System version 1.6.13 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 
2.6.12-gentoo-r9 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.12 
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.5 
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=pentium4 -mcpu=pentium4 -fomit-frame-pointer" 
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/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="-O2 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer" 
DISTDIR="/space/phoenix/2/portage/distfiles" 
FEATURES="autoconfig distlocks loadpolicy sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.osuosl.org/ 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ec 
n.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo 
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
 http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo 
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ht 
tp://cudlug.cudenver.edu/gentoo/ 
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ 
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair. 
com/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com 
http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo 
http://gentoo.netnitco.n 
et ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ 
http://mirror.espri.arizona.edu/gentoo/ 
http://mirror.clarkson.edu/pub/distributions/gentoo/ ht 
tp://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/space/phoenix/2/portage_tmp" 
PORTDIR="/space/phoenix/2/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X X509 acl alsa apm arts audiofile avi berkdb bitmap-fonts cddb cdf 
cdparanoia cdr cdri cjk crypt css cups curl doc dvd dvdr eds emacs emboss 
encode esd fam fame fftw firebird flac foomaticdb fortran gcj gd gdbm gif gimp 
gimpprint ginac gmp gnuplot gnutls gphoto2 gpm gprof graphviz gs gstream 
er gtk2 guile hal hdf hdf5 idea ieee1394 imagemagick imlib ipv6 jack jack-tmpfs 
java jbig jpeg jpeg2k junit kde kdepim kerberos lcms ldap libg++ libwww 
 lm_sensors logitech-mouse mad mikmod mmap mmx mng motif mozdevelop mozilla 
mozsvg mozxmlterm mp3 mpeg mysql nas ncurses nls nptl nptlonly nvidia objc 
odbc ogg oggvorbis opengl oss pda pdflib perl pic plotutils png python qhull qt 
quicktime readline rtc ruby samba scanner sdk sdl snmp speex spell sse 
sse2 ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts 
unicode userlocales vorbis wmf xine xinerama xml2 xmms xorg-x11 xprint xscr 
eensaver xv zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, 
PORTDIR_OVERLAY 
 
Comment 4 Thomas Witzel 2005-08-23 07:00:23 UTC
Here is my PCI dump for the USB controllers: 
 
0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
Controller #1 (rev 02) 
0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
Controller #2 (rev 02) 
0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
Controller #3 (rev 02) 
0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
Controller #4 (rev 02) 
0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 
EHCI Controller (rev 02) 
 
 
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-08-23 07:31:15 UTC
Ok. Are you able to reproduce this on vanilla-sources-2.6.13_rc6?
Comment 6 Thomas Witzel 2005-08-23 12:48:52 UTC
Actually I can't reproduce it with the 2.6.13-rc6. I tried rebooting 3 times and
it worked every single time !! Awesome.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2005-08-29 08:52:18 UTC
gentoo-sources-2.6.13 now in portage