You are not logged in.

#1 2006-12-11 15:33:16

dmtry
Member
From: Maa
Registered: 2006-11-07
Posts: 12

external usb hdd don't work

hi,

i buy new external hdd usb box, but it don't work on my arch machine. I try to connect it to win machine, and it works fine, without any additional soft. I search forum, try to load "modprobe usb-storage, sd_mod, sr_mod", and nothing changes.

it'll be great if you advice me what i may try to do with it.

Offline

#2 2006-12-11 16:38:09

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: external usb hdd don't work

When you plug it in there should two devices appear in /dev/, maybe you have to wait a short while.

Those are called sda and sda1 (if you do not have any other usb storeage devices).

Mounting /dev/sda1 just works fine for me:

# mount /dev/sda1 /mnt/usb

Hail to the thief!

Offline

#3 2006-12-11 23:28:47

dmtry
Member
From: Maa
Registered: 2006-11-07
Posts: 12

Re: external usb hdd don't work

forgot to say that i search for devices with "fdisk -l"

Offline

#4 2006-12-12 00:07:32

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: external usb hdd don't work

With the drive connected, post the output of "lsusb".  If you don't have this command, install "usbutils" through pacman.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#5 2006-12-12 03:31:24

dmtry
Member
From: Maa
Registered: 2006-11-07
Posts: 12

Re: external usb hdd don't work

thank you, now i have hope smile

Bus 001 Device 004: ID 06a3:8020 Saitek PLC 
Bus 001 Device 003: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
Bus 001 Device 001: ID 0000:0000  

first one is my usb box, but how i can connect it?

Offline

#6 2006-12-12 07:12:12

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: external usb hdd don't work

'dmesg' after connecting the external drive should tell you which device name to use.


1000

Offline

#7 2006-12-12 09:38:26

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: external usb hdd don't work

dmtry wrote:

first one is my usb box, but how i can connect it?

Cool, I just wanted to make sure it was showing up on the system.

As byte said, check dmesg.  This is what I get when I plug my external drive in:

usb 5-5: new high speed USB device using ehci_hcd and address 4
usb 5-5: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 4:0:0:0: Direct-Access     IBM-DJSA -220             0000 PQ: 0 ANSI: 0
usb-storage: device scan complete
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
 sda: sda1
sd 4:0:0:0: Attached scsi disk sda

Obviously, it'll be different for you.  But the key part is the second last line, it tells me what the drive is (sda), and the partitions (sda1).  Thus, I'd mount /dev/sda1 to use it, and if I wanted to repartition it, I'd use /dev/sda.  Simple!  If it works...


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#8 2006-12-12 11:44:56

dmtry
Member
From: Maa
Registered: 2006-11-07
Posts: 12

Re: external usb hdd don't work

sorry guys, but it was my fault, first line in lsusb results was not hdd. So situation is harder, any advices?

Offline

#9 2006-12-12 11:56:01

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: external usb hdd don't work

dmtry wrote:

sorry guys, but it was my fault, first line in lsusb results was not hdd. So situation is harder, any advices?

Try it firstly in different ports (to see if you have a broken USB port).  Also try the drive on another computer, to see if it's communicating properly to the computer.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#10 2006-12-12 14:12:06

dmtry
Member
From: Maa
Registered: 2006-11-07
Posts: 12

Re: external usb hdd don't work

but i try this things without any matter result.
when i connect it to laptop with arch or workstation with arch - it can't see it, but when i connect it to our enemy box - it works! I misunderstand..

Offline

#11 2006-12-12 15:02:00

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: external usb hdd don't work

What's about the dmesg output?


Hail to the thief!

Offline

#12 2006-12-15 03:10:03

dmtry
Member
From: Maa
Registered: 2006-11-07
Posts: 12

Re: external usb hdd don't work

# lsusb

Bus 002 Device 004: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
Bus 002 Device 003: ID 06a3:8020 Saitek PLC 
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 004: ID 067b:2507 Prolific Technology, Inc. 
Bus 001 Device 001: ID 0000:0000 

# dmesg | grep usb

usbmon: debugfs is not available
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb 1-8: new high speed USB device using ehci_hcd and address 4
usb 1-8: configuration #1 chosen from 1 choice
usb 2-3: new low speed USB device using ohci_hcd and address 2
usb 2-3: configuration #1 chosen from 1 choice
usb 2-7: new low speed USB device using ohci_hcd and address 3
usb 2-7: configuration #1 chosen from 1 choice
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
usbcore: registered new driver hiddev
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:02.0
-3
input: USB HID v1.11 Keyboard [Chicony Saitek Eclipse Keyboard] on usb-0000:00:0
2.0-7
input,hiddev96: USB HID v1.11 Device [Chicony Saitek Eclipse Keyboard] on usb-00
00:00:02.0-7
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usb-storage: device scan complete
usb 1-4: new high speed USB device using ehci_hcd and address 5
usb 1-4: configuration #1 chosen from 1 choice
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usb 1-4: USB disconnect, address 5
usb-storage: device scan complete
usb 2-3: USB disconnect, address 2
usb 1-3: new high speed USB device using ehci_hcd and address 6
usb 1-3: configuration #1 chosen from 1 choice
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usb 1-3: USB disconnect, address 6
usb-storage: device scan complete
usb 2-3: new low speed USB device using ohci_hcd and address 4
usb 2-3: configuration #1 chosen from 1 choice
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:02.0
-3

Offline

#13 2006-12-15 06:22:01

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: external usb hdd don't work

Don't grep for usb. Here's mine, just as example:

Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 2:0:0:0: Direct-Access     IC25N040 ATCS04-0         CA4O PQ: 0 ANSI: 0 CCS
SCSI device sdb: 78140160 512-byte hdwr sectors (40008 MB)
sdb: Write Protect is off
sdb: Mode Sense: 2a 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 78140160 512-byte hdwr sectors (40008 MB)
sdb: Write Protect is off
sdb: Mode Sense: 2a 00 00 00
sdb: assuming drive cache: write through
 sdb: sdb1 < sdb5 sdb6 >
sd 2:0:0:0: Attached scsi disk sdb
sd 2:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete

1000

Offline

#14 2006-12-15 09:46:24

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: external usb hdd don't work

dmesg | grep sd .... should show up ... or try udevmonitor as root just to make sure its being picked up


Mr Green

Offline

Board footer

Powered by FluxBB