Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have an MP3 player which SuSE 9.3 sees as removable media (which I assume is normal). Sometimes when I disconnect it, my system doesn't seem to notice. This causes a problem when I try to reconnect it; the system doesn't see the "new" drive. As I'm new to linux, my troubleshooting arsenal is still quite limited. I've tried
but it didn't help.
I'd also appreciate an general troubleshooting tips and links.
Nope. You can plug & unplug USB devices to your hearts content.
But when you mount something, regardless of what, you should always unmount it before removing it.
CDs are a good parallel: A music CD can be ejected with impunity, but a mounted CD will not eject until it's unmounted. Because you should never remove mounted media.
Especially when it comes to USB flash, because they have limited write cycles: To prolong their life, they should be set to be written to as little as possible. Once this is set up, writes will be done 'virtually', and the physical writes will only be done when needed.
Your flash drive will last a lot longer like this, but if you don't unmount it before removing it, the data might not have been physically written.
Fair enough, however, as I don't mount it why should I need to umount it? And if it is automatically mounted when I attach it, then it is reasonable to expect it to also automatically umount when I detach it. If it's like a CD, when I remove/eject it the system should recognize this. Normally, that's exactly what happens; I plug it in and a few seconds later I have /media/usbdisk/ and /dev/sda1/ available and when I detach it, a few seconds later they're gone. But sometimes there are glitches and the system doesn't realize the device isn't still attached.
So the question is: "When the system doesn't recognize that the device has been detached, how do I force it to do so short of rebooting?"
Regarding data not being written, that's not an issue as a window opens with a progress bar to provide status.
As far a limited life cycle, as I generally only listen to a podcast once, I'll just have to live with it.
It DOES get mounted - it's just done automatically. But it can't be auto-unmounted (properly) as the event that would trigger an unmount is the removal of the hardware that should be unmounted, so it's no longer present to be unmounted.
My advice is to set up an "unmount" shortcut & make sure you always use it. That would solve the whole problem.
If you really don't want to do that, next time the problem occurs, post:
- The output (if any) from the failed "unmount" command
- The output of "mount" alone, which should list all mounted drives
- The output of the last few lines of "dmesg"
- The last few lines of your syslog file
and we might be able to track down the problem & suggest a fix!
I am not sure if this applies to 9.3 as well, since a lot has changed with the hotplug scripts, but in 9.1 it seems to be required to run the 'eject' command on some USB devices in order to stop SUSE from accessing it (e.g. iPOD-mini).
It could cause problems if you remove the drive anyway: if you remove the drive while you are still accessing it (e.g. a konqueror window is open), it may not be unmounted properly.
I never got happy with the submount way of mounting. I prefer to have better control on what is mounted and what is not.
The syslog depends on your logger - there are several, such as syslog, syslog-ng, and metalogger. You'll have to find out which one you use before you can find out more about it They usually write to /var/log/messages tho