LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-06-2004, 08:43 PM   #1
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Rep: Reputation: 15
usb modem : Can ping, but cant browse - and cant modprobe usb-uhci


I recently scrapped my RedHat system to try out slackware 9.1 - the install went fine and detected everything.

But when I went to install the modem stuff for my eciadsl modem I got some problems.

In the modem script of "startmodem" when it tries to insert usb-uhci controller i get a bunch of messages along the lines of:

/lib/modules/2.4.22/kernel/drivers/usb/host/usb-uhci.o.gz : init_module : No such device.

and says check dmesg and syslog, which show no errors for the insmod, but some errors are there for something else (I dont know what triggers them!):

usbdevfs : USBDEVFS_BULK failed
usb_control / bulk_msg : timeout

However usb stuff does still work, and I connect to my isp who gives me an IP address.

THen, if I traceroute to www.linuxquestions.org, it goes fine and traces all the way here. But if I enter the url in a browser it says "connected: waiting for a reply" but never gets one. AND, after when I traceroute after that I get "host cannot be resolved" a couple of times before it will trace again!

Have I just missed an important config in slackware, or is that usb-uhci thing? Sorry I cant be more specific on the error messages - I am typing this at an Internet "Cafe" full of backpackers in 37 degree heat! If I have to sit here for another hour I will probably start crying!
 
Old 01-06-2004, 08:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Well, check the output of lsmod and lsusb ...
maybe the startmodem script tries to use
usb-uhci while you actually have ohci, or
ehci-hcd ...

As for the traceroute and such ... does your
/etc/resolv.conf match your actual ISP's
servers, domain-names and such?


Cheers,
Tink
 
Old 01-06-2004, 08:59 PM   #3
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Original Poster
Rep: Reputation: 15
I will try lsusb - what should I be looking for?

the lsmod didnt seem to have any controller in it if i remeber (cant check it from the cafe!)

but my digital camera and usb-key drive both work fine.

if i type modprobe usb-uhci, or modprobe usb-ehci I get exactly the same error like:

/lib/modules/2.4.18/kernel/drivers/usb/uhci.o.gz:
init_module: No such device
/lib/modules/2.4.18/kernel/drivers/usb/uhci.o.gz:
Hint: insmod errors can be caused by incorrect module
parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the
output from dmesg
/lib/modules/2.4.18/kernel/drivers/usb/uhci.o.gz:
insmod
/lib/modules/2.4.18/kernel/drivers/usb/uhci.o.gz
failed
/lib/modules/2.4.18/kernel/drivers/usb/uhci.o.gz:
insmod uhci failed

But not this exactly - I just found this on the net! No answer but!


For the traceroute thing, I just put my ISP's DNS addresses in the resolv.conf file myself. THats what I had to do on RedHat. Is this wrong?
 
Old 01-06-2004, 09:10 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Quote:
Originally posted by nmoog
I will try lsusb - what should I be looking for?
Any hints that tell you what kind of USB controller
you have ;)

Quote:
the lsmod didnt seem to have any controller in it if i remeber (cant check it from the cafe!)

but my digital camera and usb-key drive both work fine.
Did you build a custom kernel?


Quote:
For the traceroute thing, I just put my ISP's DNS addresses in the resolv.conf file myself. THats what I had to do on RedHat. Is this wrong?
That should be fine ...
search <your.isp>
nameserver <your DNS's IP>

Can you see any indication of the cause of the
problem in the logs? /var/log/* ... sort them by
date (ls -ltr) and read the end of the most recent
ones.


Cheers,
Tink
 
Old 01-06-2004, 09:17 PM   #5
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks for your help, and hopefully the next reply will be from home!
 
Old 01-06-2004, 11:51 PM   #6
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Original Poster
Rep: Reputation: 15
Nope! Back is this cafe again (Is is still called a cafe if it only sells food that has been deep fried?)

Nothing new to report! Anyone have any clues as to why I might not be able to do modprobe usb-uhci? Or why I can traceroute linuxquestions.org, but not slashdot.org? And can browse neither of them????

If I do a lsmod I dont see anything that I think is a usb controller (though I dont know what they should look like) It does have:

uhci (unused)
usbcore [uhci]

I recompiled the kernel (made sure it loaded usb-uhci as a module)but did the same thing. I reinstalled the slack9.1 again without any scsi and still same thing....

Im stumped now! I dont even have my old RedHat cd's to go back too Any suggestions at all would be welcomed.
 
Old 01-07-2004, 07:22 AM   #7
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Original Poster
Rep: Reputation: 15
Got it! Just tie this one up in case it can help someone in the future:

the lsmod showed "uhci" which is a special usb-uhci driver or something. Because this was already loaded the machine had a fit when it tried to load the next usb-uhci.

if I did modprobe -r uhci, then modprobe usb-uhci then it works like a trooper.
 
Old 01-07-2004, 11:23 AM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
So you added uhci to /etc/hotplug/blacklist
and lived happily ever after? :)


Cheers,
Tink


P.S.: 37 degrees .... where on the southern
hemisphere are you? :)
 
Old 01-07-2004, 11:50 PM   #9
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Original Poster
Rep: Reputation: 15
Wednesday 7th in Sydney Australia = 37 degrees celcius. What a hellish day to not have airconditioning!

Yep, turned out usb-uchi was listed in the blacklist, and uchi was uncommented - Thanks for your help Tinkster!

How can you go from so pissed at linux to so happy with linux in such a short time?
 
  


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
stops at: initializing USB controller (usb-uhci) HiOctane21 Linux - Newbie 1 02-13-2004 01:51 PM
can I install usb-ohci module when I already have usb-uhci? krapaud Mandriva 9 11-17-2003 02:31 AM
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 05:32 AM.

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