LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-13-2003, 01:01 AM   #1
GrayGh0st
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RedHat 9.0
Posts: 16

Rep: Reputation: 0
Similar usb-uhci hanging at boot time problem


Ok, people have complained about this one before. The problem is that about every other boot, when linux is trying to initialize the usb-uhci controller, it hangs. Reboot, and it's fine. Reboot again, and you get the problem.

I've looked at modules.conf, no dice. I definately don't have the extra "1" on the alias line like others do. What's causing this?? Any help?? It's driving me mad!

Justin
 
Old 06-13-2003, 04:46 AM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
usb-uhci? Is this a Compaq or an HP or an SiS board? They use a funky USB controller... regardless, what's the controller type off of /sbin/lspci and also, what distro and kernel.

Cheers,

Finegan
 
Old 06-13-2003, 09:27 AM   #3
mark.woodrow
LQ Newbie
 
Registered: Jun 2003
Location: near Salisbury, Wiltshire, UK
Distribution: FC4 and Slackware 10.2
Posts: 8

Rep: Reputation: 0
I have this problem, on a Dell Inspiron 3500 running RedHat 9, kernel 2.4.20-8, the USB controller is
"Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)"

It was worse with RedHat 7.3, but is still a problem. Takes 4 or 5 attempts to get it to boot.
 
Old 06-13-2003, 12:13 PM   #4
GrayGh0st
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RedHat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
My info. is basically the same as mark's. Dell dimension 4500, redhat 9, 2.4.20-8 kernel. I'm not at home right now so I can't check the /sbin/lspci, but I'll post back with that later tonight.

Justin
 
Old 06-14-2003, 11:01 PM   #5
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I had my controllers backwards... ohci is the one for funky boards. the usb-uhci modules is as common as doughnuts. So is the intel USB chipset, so this is a little disconcerting. You might want to see if you can get the other usb module to load, just simple uhci. In /lib/modules/2.4.20-8/kernel/drivers/usb move the usb-uhci module and then run a depmod -a so the system will forget about it, then reboot and see if it freaks out. Hopefully RH didn't compile the usb-uhci code directly in, which I doubt they would.

Cheers,

Finegan
 
Old 06-15-2003, 01:29 AM   #6
GrayGh0st
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RedHat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
Ok, sorry, here's my controller info:
USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04)
And I dunno if it makes any difference, but my Dell is a dimension 8200, not 4500.

Moving the usb-uhci controller just gave it an error upon booting saying it couldn't find it, and it did in fact boot, but I couldn't use my USB mouse.
 
Old 06-15-2003, 01:37 AM   #7
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I would have though RH9 would have loaded the alternate driver. Try modprobing "uhci", its the other one, it should then re-detect the mouse, hopefully without hanging.

Cheers,

Finegan
 
Old 06-15-2003, 02:02 AM   #8
GrayGh0st
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RedHat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
After moving usb-uhci and depmod'ing it, I modprobed the uhci one, changed that line in modules.conf and rebooted. No dice, same behavior as before.

I appreciate all this help btw!!

Justin
 
Old 06-15-2003, 02:46 AM   #9
GrayGh0st
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RedHat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
It is also worth noting that a cold boot seems to solve the probem every time. For some reason, when you cold boot, it doesn't hang. I just figured this out. Maybe it gives some more insight into the problem?

Justin
 
Old 06-15-2003, 02:50 AM   #10
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
Justin, I had that problem on my Abit KT7A-Raid board and switched to Mandrake and don't have anymore issues, in fact I'm much happier now than I was with redhat.

This may not help but at least it gives you an option :-/
 
Old 06-15-2003, 03:38 PM   #11
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
The KTA board uses a VIA usb chipset, so its a vastly different problem, also I was poking around on google and finding that a lot of other people with stock usb chipsets, but inside Dell laptops were having similar issues, which makes me think that maybe its something in the Dell BIOS...

This one is getting into the realm of just being weird. Have you got a chunk of "dmesg" around the USB initialization?

Cheers,

Finegan
 
Old 06-16-2003, 06:03 PM   #12
GrayGh0st
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RedHat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
Here is dmesg | grep -i 'usb' :

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0xff80, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
uhci.c: USB UHCI at I/O 0xff60, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: USB HID support drivers
hub.c: new USB device 00:1f.2-1, assigned address 2
input0: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb1:2.0


That however, is from a successful boot, how do I capture that from when it freezes?

Justin
 
Old 06-16-2003, 06:06 PM   #13
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Ohh... now we're getting into USB devfs, and I really know dink all about that. Hopefully on a crash boot it got logged properly to /var/log/syslog, hopefully syslogd started before modules were loaded... that would afterall only make sense, which means its a 50/50 chance of being true.

Cheers,

Finegan
 
Old 06-17-2003, 03:31 PM   #14
GrayGh0st
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RedHat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
I'll check var/log/syslog tonight and post it when I do. Not at home right now

Justin
 
Old 06-23-2003, 06:22 PM   #15
GrayGh0st
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RedHat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
Ok, sorry it's been a few days since I promised I would post all the log stuff.

It seems that syslog doesn't start until after the problem. So it doesn't appear to log anything about the crash. Is there any way to change the startup order so it does start before the USB stuff is initialized?

Justin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Controller usb-uhci hangs while booting taptamus Linux - Software 2 10-28-2005 03:02 AM
Help...usb problem on boot time jiman Fedora 4 10-08-2004 02:15 AM
usb modem : Can ping, but cant browse - and cant modprobe usb-uhci nmoog Linux - Newbie 8 01-07-2004 11:50 PM
Initializing USB Controller (usb-uhci) booting mandy 9.2 austinjreid Mandriva 1 11-10-2003 12:55 PM
Red Hat Linux 8 hangs at initializing usb controller (usb-uhci) subaschan Linux - General 5 09-15-2003 02:49 AM


All times are GMT -5. The time now is 12:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration