LinuxQuestions.org
Visit Jeremy's Blog.
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 12-26-2005, 02:36 PM   #1
Xena
Member
 
Registered: Nov 2005
Posts: 84

Rep: Reputation: 15
USBView Error


I don't know if this is the right place to post this but since I'm fairly new at linux I can't think where else to put it.

I'm using mandrake linux 10.1 on an AMD based PC. I'm trying to set up a USB hard drive (Firefly 20Gb). It works OK in windows and it works in knoppix live CD.

I tried a few things and now I'm looking at USBView, and this is the error I'm getting:

"Can not open the file /proc/bus/usb/devices

Verify that you have USB compiled into your kernel, have the USB core modules loaded and that you have the usbdevfs filesystem mounted."

This might as well be in chinese for all I'm understanding

ok questions:

1) How do I check I have USB compiled into kernal? I'm guessing I don't, since I couldn't get my USB mouse to work (ended up using a PS/2). Is it difficult? Bear in mind I haven't the faintest idea about compiling kernals and don't want to ruin this installation.

2) Load USB core modules? usbdevfs filesystem? How do I do that??? I'm assuming modprobe is the thing that loads USB stuff, is that right?

Oh... and happy christmas y'all
 
Old 12-26-2005, 03:49 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Since you probably have the stock mandrake kernel, You probably have a properly working USB subsystem, asuming you installed it, right? (: If you didn't fool around with the install too much, it should be there.

The USB modules and usbdevfs should all be working per default, no user interaction should be neccesary.. I don't know much of usbview, but have you tried just mounting the drive? (:

Code:
mkdir -p /mnt/usb
mount /dev/sda1 /mnt/usb
If all goes well, it now mounted under /mnt/usb. The device might vary basing on what port you shove it in. It could be sda2, sda3, etc etc, or sdb1, sdb2, etc etc.. You can use the command dmesg right after connecting the appliance to verify that the USB sybsystem found it and assigned a device for it. The output of dmesg is very long, but all that you need to read is prolly in the last screenfull.

Oh, and btw, its usually wise to connect USB storage appliances in this order:
Connect cable to appliance and then computer, then power the computer (if not already powered on) and then the appliance. Wait a few seconds before attemting to interact with the device. Its sometimes crucial not to have power in the device before connecting it.. And sometimes it just wont work, power down the device and try again. (e.g. my digicam always fails the first attempt but usually works on the second.. (: )
 
Old 12-26-2005, 07:09 PM   #3
Xena
Member
 
Registered: Nov 2005
Posts: 84

Original Poster
Rep: Reputation: 15
Probably is the stock kernal, yes (2.6 or something?) Not sure if USB is enabled or even how to check that, I know my USB mouse never worked but I wasn't too bothered by that.

I tried mounting the thing, but there are no /dev/sda0 - /dev/sda9 devices at all. There is no such device to mount (I did do this, quite easily on another machine running Mandrake 10.0).

The drive itself is powered by the USB cable so there's no order to connect it, it either is or isn't plugged in.

Nothing useful in the dmesg output either as far as I can see, certainly no mention of USB devices or /dev/sda or anything similar.

Kind of infuriating, really, I know it works and that it works on the version of linux I have but I seem to be missing some crucial step. How can I check the USB system works? Given that my USB mice don't, I think I can safely assume it isn't, which leads to the probably more important question, what package needs to be installed or script activated or whatever?
 
  


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
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-15-2005 11:22 PM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 12:53 PM
c++ ostream error, messag rot large to trakc down location of error. exodist Programming 2 06-13-2004 06:35 PM
NETPERF: ERROR --> send_udp_stream: error on remote: Interrupted system call dravya Linux - General 1 05-29-2004 05:49 PM
firewall error? couldn't load target "accept ...ipt_accept? error piratebiter Linux - Security 1 09-19-2003 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration