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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-25-2005, 07:37 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2005
Posts: 6
Rep:
|
problem getting USB HDD to work
Hi all,
recently I installed Slackware 10.1 on one of our servers, now I want to
backup it's data to an external USB HDD (Western Digitial w/ 250 GB).
I included USB and usb-storage support into kernel, started hotplug, and
get this messages in /var/log/debug
Code:
Apr 25 14:09:55 server kernel: usb-storage: act_altsettting is 0
Apr 25 14:09:55 server kernel: usb-storage: id_index calculated to be: 120
Apr 25 14:09:55 server kernel: usb-storage: Array length appears to be: 122
Apr 25 14:09:55 server kernel: usb-storage: USB Mass Storage device detected
Apr 25 14:09:55 server kernel: usb-storage: Endpoints: In: 0xd4c09494 Out: 0xd4c09480 Int: 0x00000000 (Period 0)
Apr 25 14:09:55 server kernel: usb-storage: New GUID 105804023733343435313139
Apr 25 14:09:55 server kernel: usb-storage: GetMaxLUN command result is 1, data is 0
Apr 25 14:09:55 server kernel: usb-storage: Transport: Bulk
Apr 25 14:09:55 server kernel: usb-storage: Protocol: Transparent SCSI
Apr 25 14:09:55 server kernel: usb-storage: *** thread sleeping.
Apr 25 14:09:55 server kernel: usb-storage: queuecommand() called
Apr 25 14:09:55 server kernel: usb-storage: *** thread awakened.
Apr 25 14:09:55 server kernel: usb-storage: Command INQUIRY (6 bytes)
Apr 25 14:09:55 server kernel: usb-storage: 12 00 00 00 ff 00 e2 d4 b1 83 1c c0
Apr 25 14:09:55 server kernel: usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128 CL 6
Apr 25 14:09:55 server kernel: usb-storage: Bulk command transfer result=0
Apr 25 14:09:55 server kernel: usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
Apr 25 14:09:55 server kernel: usb-storage: usb_stor_bulk_msg() returned -75 xferred 128/255
Apr 25 14:09:55 server kernel: usb-storage: usb_stor_transfer_partial(): unknown error
Apr 25 14:09:55 server kernel: usb-storage: Bulk data transfer result 0x2
Apr 25 14:09:55 server kernel: usb-storage: Attempting to get CSW...
Apr 25 14:10:01 server kernel: usb-storage: command_abort() called
Seems there is an error, I can't access the drive. I use Kernel 2.4.29
from Slackware CD-ROM.
Any ideas on this?
TIA and greetings, Matthias
|
|
|
|
04-25-2005, 08:02 AM
|
#2
|
|
Senior Member
Registered: Nov 2003
Location: West Sussex, England
Distribution: Gentoo
Posts: 1,457
Rep:
|
Did you enable SCSI support? You need this for USB drives
|
|
|
|
04-25-2005, 08:14 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2005
Posts: 6
Original Poster
Rep:
|
Yeah I enabled it, because I am using a 3ware SATA RAID1 controller, which needs
SCSI as well. I access this RAID1 via /dev/sda ...
|
|
|
|
04-25-2005, 08:44 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2005
Posts: 6
Original Poster
Rep:
|
update: after attaching my USB drive to a windows machine and re-attaching it to
the Linux server afterwards, I get other messages now from syslog:
Code:
Apr 25 15:24:40 server kernel: WARNING: USB Mass Storage data integrity not assured
Apr 25 15:24:40 server kernel: USB Mass Storage device found at 2
Apr 25 15:24:40 server kernel: usb-storage: storage_disconnect() called
Apr 25 15:24:40 server kernel: usb-storage: -- releasing main URB
Apr 25 15:24:40 server kernel: usb-storage: -- usb_unlink_urb() returned -19
Apr 25 15:32:19 server kernel: usb-storage: act_altsettting is 0
Apr 25 15:32:19 server kernel: usb-storage: id_index calculated to be: 120
Apr 25 15:32:19 server kernel: usb-storage: Array length appears to be: 122
Apr 25 15:32:19 server kernel: usb-storage: USB Mass Storage device detected
Apr 25 15:32:19 server kernel: usb-storage: Endpoints: In: 0xd4c09494 Out: 0xd4c09480 Int: 0x00000000 (Period 0)
Apr 25 15:32:19 server kernel: usb-storage: Found existing GUID 105804023733343435313139
Apr 25 15:32:19 server kernel: WARNING: USB Mass Storage data integrity not assured
Apr 25 15:32:19 server kernel: USB Mass Storage device found at 2
And now I can see my drive under /proc/scsi/usb-storage-0/1 as well:
Code:
Host scsi1: usb-storage
Vendor: Western Digital
Product: External HDD
Serial Number: 5743414C3733343435313139
Protocol: Transparent SCSI
Transport: Bulk
GUID: 105804023733343435313139
Attached: Yes
But I sill can't mount the drive.
Any ideas? Greetings, Matthias
|
|
|
|
04-25-2005, 08:57 AM
|
#5
|
|
Senior Member
Registered: Nov 2003
Location: West Sussex, England
Distribution: Gentoo
Posts: 1,457
Rep:
|
How are you trying to mount the drive?
|
|
|
|
04-25-2005, 09:09 AM
|
#6
|
|
LQ Newbie
Registered: Apr 2005
Posts: 6
Original Poster
Rep:
|
I was looking for a new /dev/sdb device or something similar, but it seems there is
none. Shouldn't dmesg give a output like "Attached scsi removable disk sdb ..."?
I try to mount the HDD via:
Code:
root@server:/dev# mount /dev/hdb /mnt -t vfat
mount: /dev/hdb is not a valid block device
The same goes for /dev/hdb1
vfat is included in my kernel
Any ideas?
Greetings and TIA, Matthias
|
|
|
|
04-25-2005, 09:12 AM
|
#7
|
|
LQ Newbie
Registered: Apr 2005
Posts: 6
Original Poster
Rep:
|
info: the disk does not show up in my scsi device listing, only my
RAID1 on 3ware controller.
Code:
root@server:/dev# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: 3ware Model: Logical Disk 0 Rev: 1.0
Type: Direct-Access ANSI SCSI revision: ffffffff
|
|
|
|
04-25-2005, 09:40 AM
|
#8
|
|
Senior Member
Registered: Nov 2003
Location: West Sussex, England
Distribution: Gentoo
Posts: 1,457
Rep:
|
Okay, is it found by "lsusb" as well?
Do you have a dynamic /dev manager (such as udev) that will create /dev entries for you? If so, does it have rules for USB hard drives? If not, you may have to create them manually.
|
|
|
|
04-25-2005, 10:01 AM
|
#9
|
|
LQ Newbie
Registered: Apr 2005
Posts: 6
Original Poster
Rep:
|
Code:
root@server:~# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 003: ID 1058:0402 Western Digital Technologies, Inc.
slackware 10.1 uses udev, and it seems to be configured for USB devices:
Code:
# USB devices
KERNEL="hiddev*", NAME="usb/%k"
KERNEL="auer*", NAME="usb/%k"
KERNEL="legousbtower*", NAME="usb/%k"
KERNEL="dabusb*", NAME="usb/%k"
BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|