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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-16-2005, 02:33 AM
|
#1
|
LQ Newbie
Registered: May 2005
Posts: 22
Rep:
|
Mass storage device USB
Hi,
I try to connect a USB mass storage device (a hard drive mp3 player, archos jukebox recorder) but it doesn't work. It saies special device /dev/sda doesn't exist (it's a translation from french).
I can mount manually or automatically USB device like a USB key and camera but not the hard drive mp3 player. Why? Is not the same thing?
I use mandrake 10.1 so it's not old and the mp3 player is older so? Driver problem?
I entered in a prompt mount -t vfat /dev/sda /mnt/removable and for my USB key it works. I try the same with the hard drive and it doesn't work. the mp3 player saies that it is connected but the PC doesn't seem to see it.
Any Idea?
How can I see if there's a device connected or force it?
An other thing : I mount a same device like a USB 2 times because I entered it a second time without umount it. Then I try to umount it, but I had an error message like you can't umount, the device is working or the device has been mounted several times. It happened something similar with CD-Rom.
So How can I force umount or ... ?
Xavier
|
|
|
05-16-2005, 02:53 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
First of all, I'd advise you to check the the output from 'dmesg', since it looks as if you're runing udev, i.e the devices are created on the fly, and as needed. So there's no node /dev/sda when you remove a device that gets mapped to that device (a thumbdrive, for instance). So what do you see immediately after connecting the drive at the end of the output?
|
|
|
05-16-2005, 03:29 AM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You can get information about devices mounted by udev with the "udevinfo" command.
|
|
|
05-19-2005, 05:36 AM
|
#4
|
LQ Newbie
Registered: May 2005
Posts: 22
Original Poster
Rep:
|
So i use dmesd with the USB key and the USB hard drive. The USB hard drive is detected but there's a problem to settle it. The node sda isn't created like for USB key.
The message with the USB hard drive :
usb 1-1: new full speed USB device using uhci_hcd and address 4
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb 1-1: reset full speed USB device using uhci_hcd and address 4
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 0
usb-storage: device scan complete
For the USB key :
usb 1-1: new full speed USB device using uhci_hcd and address 5
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
Vendor: Model: USB DISK 2.0 Rev: PMAP
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 243712 512-byte hdwr sectors (125 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 243712 512-byte hdwr sectors (125 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
/dev/scsi/host3/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
usb 1-1: USB disconnect, address 5
So What can I do? I don't have any idea.
Driver?
Windows calls this device archos and in properties HITACHI also. Ii uses microsoft windows. Linux should have the same?
|
|
|
05-19-2005, 10:46 AM
|
#5
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
The output of the USB disk suggests ti may be being detected as sdb1, try mounting it with that. This based on:
host 2 channel 0 id 0 lun 0
|
|
|
05-19-2005, 11:09 AM
|
#6
|
LQ Newbie
Registered: May 2005
Posts: 22
Original Poster
Rep:
|
maybe it is this, I will try. But I am wondering questions.
When I plug the key in the same USB entry, linux uses sda so why if I connect another peripheric in the same place, the name would change?
I check in the directory /sys/block. When I plug in the USB key it appears /sys/block/sda. When I plug in the USB hard drive, nothing. Why?
It is like something is detected but nothing next, no information. So it may me thing, it is a driver problem but it is not a recent device so the driver should already exist.
|
|
|
05-19-2005, 11:33 AM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
There is no information about the device in the database, taht's why Linux doesn't know how to treat this device like.
|
|
|
05-20-2005, 03:19 AM
|
#8
|
LQ Newbie
Registered: May 2005
Posts: 22
Original Poster
Rep:
|
I tried to mount the USB device with sdb1 but it doesn't work :
Special device /dev/sdb1 doesn't exist
I am open to any idea to check I don't know? What is this database? Where can I check it? How can change this?
|
|
|
12-13-2007, 10:21 PM
|
#9
|
LQ Newbie
Registered: Dec 2007
Posts: 22
Rep:
|
I'm using vmware 5.00 running linux FC6. Similar problem here. It seems like kernel can detect the usb mass storage and initialize scsi subsystem properly, but udev doesn't create node under /dev to the scsi disk.
here is the dmeg of the usb & scsi information:
usb 1-1: new full speed USB device using uhci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb 1-1: reset full speed USB device using uhci_hcd and address 3
usb 1-1: reset full speed USB device using uhci_hcd and address 3
usb 1-1: reset full speed USB device using uhci_hcd and address 3
usb 1-1: reset full speed USB device using uhci_hcd and address 3
usb-storage: device scan complete
So any help?
|
|
|
12-14-2007, 02:02 PM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
Are you able to mount the device from the command line?
To find out the device name of the "drive" you may want to see:
As being an SCSI interface, the assignation of the logic units are in sda, sdb, etc.
|
|
|
02-13-2008, 12:11 PM
|
#11
|
Member
Registered: Jun 2007
Distribution: Debian, kubuntu
Posts: 73
Rep:
|
Quote:
Originally Posted by xeebeeeeeee
Hi,
I try to connect a USB mass storage device (a hard drive mp3 player, archos jukebox recorder) but it doesn't work. It says special device /dev/sda doesn't exist (it's a translation from French).
I can mount manually or automatically USB device like a USB key and camera but not the hard drive mp3 player. Why? Is not the same thing?
I use mandrake 10.1 so it's not old and the mp3 player is older so? Driver problem?
I entered in a prompt mount -t vfat /dev/sda /mnt/removable and for my USB key it works. I try the same with the hard drive and it doesn't work. the mp3 player says that it is connected but the PC doesn't seem to see it.
Any Idea?
How can I see if there's a device connected or force it?
An other thing : I mount a same device like a USB 2 times because I entered it a second time without umount it. Then I try to umount it, but I had an error message like you can't umount, the device is working or the device has been mounted several times. It happened something similar with CD-Rom.
So How can I force umount or ... ?
Xavier
|
What are the permissions of the device?
/dev/bus/usb/###/###
I just chmod'ed my Creative device to 7777 when gnomad2 barfed, and now it works fine.
|
|
|
All times are GMT -5. The time now is 10:54 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
|
|