Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
08-13-2004, 10:48 AM
|
#1
|
Member
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Devuan 3 Beowulf
Posts: 74
Rep:
|
Can't mount 2 usb-storages after one another on same port?
Hi,
I'm on Slack10, using at times a 128MB USB-RAM-Stick as well as a digital camera. Both I can access through /dev/sda1.
However, whenever I mount either of the storage devices, and unmount them after the data transfer, I cannot mount the other one anymore. When trying to, mount tells me that /dev/sda1 isn't a valid block device. I am able to mount the SAME storage device again, though.
E. g.:
Mount Camera, copy contents, unmount camera
then:
a) mount usb-ramstick => not a valid block device
b) mount camera again => no problem
I noticed that two processes become active whenever I mount a usb storage device, and stay active even after I unmount the device. The processes are:
usb-storage-0
scsi_eh_1
Does anybody know what's going on?
Thanks,
FurrySpider
|
|
|
08-13-2004, 02:06 PM
|
#2
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
I don't have a definitive answer, but a guess...
The system might save device information when you mount it, meaning that it associates /dev/sda1 with a particular USB device identifier. If you plug in another device that no longer matches, the system might then be forced to associate it with a different device: /dev/sdb1 for instance.
Give that a shot; try to mount the second device using /dev/sdb1. Like I said, it's a guess, and the worst thing that could happen is the system tells you "/dev/sdb1 is not a valid block device" 
|
|
|
08-14-2004, 02:24 PM
|
#3
|
Member
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Devuan 3 Beowulf
Posts: 74
Original Poster
Rep:
|
Spot on Dark_Helmet! It works like you said!
I was actually trying to find the place where the system would store that 'device information', so I could go and tamper with it. I just didn't, and still don't have a clue where that might be.
Anyway, following your directions I don't have to bother anymore. Thanks!
|
|
|
08-14-2004, 03:03 PM
|
#4
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
Glad I could help!
And the "device information" I referred to earlier is probably stored in RAM somewhere. It might be part of the USB modules loaded for the device, stored in some special kernel memory, or any number of other places. Since you could plug in either device after a reboot and access it as /dev/sda1, that suggested the information was lost on reboot, and that implies RAM...
Anyway, useless trivia... the important part is, you're good to go 
|
|
|
All times are GMT -5. The time now is 02:12 PM.
|
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
|
|