LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-17-2004, 05:49 AM   #1
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
mounting external hard drives


I have three external hard drives and an iPod. One of the external hard drives and the iPod are firewire, the others are USB2.0. I think I have all the correct things compiled into my kernal, but I don't see any /dev/sda1... in fact when I do a ls /dev I don't see anything about sda.

What should I do?

Thanks.
 
Old 06-17-2004, 11:23 AM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
whenever I connect a new device like that, I always run dmesg to see how the system reacts to it.
If its a usb device I'll usually try something like dmesg |grep usb.
 
Old 06-17-2004, 04:40 PM   #3
mgargiullo
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
Look for a program called usbview.

It will list what's connected.

This should help tell you how the kernel sees the device (ie.. what type of drivers you'll need)
 
Old 06-17-2004, 05:28 PM   #4
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
I gather that usbview simply displays info from

/proc/bus/usb/devices
/proc/bus/usb/drivers
/sbin/lsusb
 
Old 06-17-2004, 07:43 PM   #5
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
dmesg gave me some good info:
Code:
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
drivers/usb/core/usb.c: registered new driver usb-storage
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-5: new high speed USB device using address 3
scsi3 : SCSI emulation for USB Mass Storage devices
  Vendor: Maxtor 6  Model: Y120L0            Rev: YAR4
  Type:   Direct-Access                      ANSI SCSI revision: 02
USB Mass Storage device found at 3
usb 1-7: new high speed USB device using address 4
scsi4 : SCSI emulation for USB Mass Storage devices
  Vendor: Generic   Model: STORAGE DEVICE    Rev: 0116
  Type:   Direct-Access                      ANSI SCSI revision: 02
USB Mass Storage device found at 4
usb 4-2: new full speed USB device using address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2D11
usb 2-1: new full speed USB device using address 2
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
Adding 1000432k swap on /dev/hda2.  Priority:-1 extents:1
usb 2-2: new low speed USB device using address 3
input: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:10.0-2
EXT3 FS on hda3, internal journal
input: USB HID v1.10 Mouse [Logitech Logitech USB Keyboard] on usb-0000:00:10.0-2
usb 2-1.2: new full speed USB device using address 4
usb 2-1.3: new low speed USB device using address 5
input: USB HID v1.00 Mouse [Cypress Sem PS2/USB Browser Combo Mouse] on usb-0000:00:10.0-1.3
USB view also gave me some good info. It found my USB mass storage devices, but I'm not sure how to mount them now.

Code:
Mass Storage Device
Manufacturer: Prolific Technology Inc.
Speed: 480Mb/s (high)
USB Version:  2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 067b
Product Id: 2507
Revision Number:  1.00

Config Number: 1
	Number of Interfaces: 1
	Attributes: c0
	MaxPower Needed: 100mA

	Interface Number: 0
		Name: usb-storage
		Alternate Number: 0
		Class: 08(stor.) 
		Sub Class: 6
		Protocol: 50
		Number of Endpoints: 2

			Endpoint Address: 01
			Direction: out
			Attribute: 2
			Type: Bulk
			Max Packet Size: 512
			Interval: 0ms

			Endpoint Address: 82
			Direction: in
			Attribute: 2
			Type: Bulk
			Max Packet Size: 512
			Interval: 0ms
And the other one looks pretty much the same.

And what about firewire?

Thanks for the help, let me know where I should go from here.
 
Old 06-19-2004, 09:39 PM   #6
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
OK, I figured it out. It was because I hadn't compiled SCSI support into my kernel. I didn't know SCSI had anything to do with USB, but I guess it does.

Thanks for the help guys.
 
  


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
External hard drives nickd_1999 Linux - Hardware 2 12-20-2005 12:39 AM
external hard drives in linux cwl157 Linux - Hardware 1 09-27-2005 09:18 PM
USB External Hard drives lukepiewalker Fedora 2 08-03-2005 10:14 AM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 07:12 PM
External Hard Drives New2Lindows Linux - Software 1 08-15-2003 10:35 PM


All times are GMT -5. The time now is 10:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration