Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66369 - System hangs when loading module ohci_hcd. Way out: reset.
Summary: System hangs when loading module ohci_hcd. Way out: reset.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-04 16:59 UTC by Robert
Modified: 2004-10-06 02:45 UTC (History)
0 users

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


Attachments
Running: lspci -v (lspci_-v,3.37 KB, text/plain)
2004-10-04 17:01 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2004-10-04 16:59:35 UTC
What can I say? I run "# modprobe ohci_hcd", the cursor moves to the line below and that's it. No keys respond, mouse doesn't respond at all (no movement) - is this a kernel crash?
I can't get USB working without ohci, as my motherboard USB ports need this driver.

Previous experiences with USB: I have only tried to get USB working with gentoo with original kernel.org kernel sources 2.6.8.1 and 2.6.8.
I tried first with 2.6.8.1 and I had some problems, found it to be hotplug wasn't up to date I think. Updated hotplug and it was fine, but I didn't have to load ohci-hcd manually, hotplug always did it for me. I seem to recall having tried loading ohci-hcd before updating hotplug, and my system crashing in the same way it does now.
Once USB was working on 2.6.8.1, I wanted SCO support (bluetooth), so I downgraded to 2.6.8 (never used this kernel before) with a SCO patch. USB still worked perfectly, and so did SCO.
Since then, I've reinstalled gentoo, and I can't seem to get hotplug to autoload the ohci module for me.

Reproducible: Always
Steps to Reproduce:
1. Have my system
2. modprobe ohci-hcd



rob ~ # emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8)
=================================================================
System uname: 2.6.8 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -msse2 -mmmx -ffast-math -mfpmath=sse,387
-fomit-frame-pointer -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -msse2 -mmmx -ffast-math -mfpmath=sse,387
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.heanet.ie/gentoo http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups divx4linux
encode esd foomaticdb ftp gdbm gif gnome gpm gtk gtk2 gtkhtml imlib jpeg kde
libg++ libwww mad mikmod mmx motif mpeg msn ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga
tcltk tcpd truetype usb x86 xml2 xmms xprint xv zlib"

rob ~ #
Comment 1 Robert 2004-10-04 17:01:44 UTC
Created attachment 41112 [details]
Running: lspci -v
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-10-05 07:49:07 UTC
I'm a bit confused. When you run "modprobe ohci-hcd", does your system hang?
The only influence that hotplug could have on this that I can think of, is that hotplug may load some other modules first.
Comment 3 Robert 2004-10-05 08:05:19 UTC
Yep, that's exactly what happens.
What other modules may it load?
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-10-05 08:15:58 UTC
Dont know. I think you may need to "/etc/init.d/coldplug start" in order to get the old hotplug behaviour. Check "lsmod" before and after to see whats been loaded.
Comment 5 Robert 2004-10-05 08:23:35 UTC
heh, I've not found anywhere that's told me to install coldplug.
I just emerged coldplug, started it and wehey!
Sorry for any waste of time.
And thanks for the help.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2004-10-05 08:45:50 UTC
Its still a bug if you require hot/coldplug in order to load the ohci module. Could you please do the lsmod test so that we have more of a clue
Comment 7 Robert 2004-10-05 09:00:44 UTC
Well, before starting coldplug the only USB related modules I had loaded were usbcore.

After, I have this:
rob ~ # lsmod
Module                  Size  Used by
rfcomm                 35224  8
l2cap                  24320  5 rfcomm
nvidia               4822868  12
hci_usb                13568  5
bluetooth              44420  13 rfcomm,l2cap,hci_usb
uhci_hcd               30352  0
ohci_hcd               20740  0
ehci_hcd               28420  0
snd_seq_midi            7584  0
snd_ens1371            22184  0
snd_rawmidi            22436  2 snd_seq_midi,snd_ens1371
snd_ac97_codec         67204  1 snd_ens1371
snd_seq_oss            34176  0
snd_seq_midi_event      7552  2 snd_seq_midi,snd_seq_oss
snd_seq                54288  5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7816  4 snd_seq_midi,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            51752  0
snd_pcm                90372  2 snd_ens1371,snd_pcm_oss
snd_page_alloc         10120  1 snd_pcm
snd_timer              24196  2 snd_seq,snd_pcm
snd_mixer_oss          19200  1 snd_pcm_oss
snd                    51172  12 snd_seq_midi,snd_ens1371,snd_rawmidi,snd_ac97_codec,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8672  1 snd
usbcore               105956  6 hci_usb,uhci_hcd,ohci_hcd,ehci_hcd
rob ~ #
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2004-10-06 02:45:57 UTC
This is an upstream kernel bug..if you wish to report it, please go ahead (file a report at http://bugzilla.kernel.org).
You should do some experimenting and figure out which modules need to be loaded before ohci-hcd for the system not to freeze. You'll obviously have to disable coldplug while running these test.