LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2009, 03:22 PM   #1
cmcanulty
LQ Newbie
 
Registered: Sep 2009
Posts: 28

Rep: Reputation: 0
Random unmounts


I have tried everythiong I can think of including reinstalling the entire OS to fix this and numerous calls for help on Ubuntu forums. I have tried several ext HDs several backup programs and nothing fixes it. All the devices work fine in windows. I have wasted so much time and energy on trying to do a simple backup of 70BG. If I can't solve it soon I will have to return to XP Will someone please help?! The problem is very simple. Any ext drive I use randomly unmounts. So I can't unmount properly either as they unmount themselves. This prevents the backups from ever finishing.
 
Old 10-05-2009, 03:35 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Have you looked at the dmesg output, or your systems syslog/messages files?
Devices *don't* just unmount, maybe you have some flaky hardware there.
 
Old 10-05-2009, 04:17 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
It could be a hardware problem, it could be a buggy driver. In any case, as said above, please, the next time it happens paste the output for dmesg here so we can have some info to work with.
 
Old 10-05-2009, 07:18 PM   #4
cmcanulty
LQ Newbie
 
Registered: Sep 2009
Posts: 28

Original Poster
Rep: Reputation: 0
Unmounting

Here it is, I doubt hardware or buggy driver as it only happen on Ubuntu and it happens with every device and every device works normally in windows.Here is exacyly what happens. I plug in USB HD and it mounts and runs for 15 to 30min then stops and it is unmounted not by me. So I pull the USB and immediately plug it in and it works again for a while I can never unmount normally because it unmounts itself. It is some sort or timer issue.Here is the terminal for dmesg and yes it does unmount the read light goes out the power light stays on, as soon as the read light goes out I check and it is gone from the mount.the dmesg is too long is there a way to attach it?
[
 
Old 10-05-2009, 07:30 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Yes, there is.

When answering go to "advanced view" and select
the "Manage attachments" button.
 
Old 10-05-2009, 07:32 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by cmcanulty View Post
Here it is, I doubt hardware or buggy driver as it only happen on Ubuntu and it happens with every device and every device works normally in windows.
That's the kind of conviction that only makes it more difficult to find the problem :P

In first place, some OSes are more sensible to flaky hardware. As an example, Linux will probably fail in lots of situations with faulty ram sticks. Something that usually pass unnoticed for years to a Windows user (partly because no one will find it strange if Windows freezes your machine from time to time). Linux also does some intensive caching as well, that's another of the reasons why, if there's a problem in your ram sticks Linux will hit it the first day, unlike Windows.

Second, about drivers, I'd like to know why do you think that it can't be a buggy driver. If the problem is in the driver it's perfectly normal that it fails for one OS and not the other, because to start with you are not using the same drivers. Drivers are OS-specific. Most Linux driver come in the same bundle that your kernel, in Windows most of them come from manufacturers.

The fact that it happens for every device could mean that either your disk controller (it's a small chip in your mother board) or the driver for the disk controller is/are the one(s) causing the problem.

Quote:
Here is exacyly what happens. I plug in USB HD and it mounts and runs for 15 to 30min then stops and it is unmounted not by me. So I pull the USB and immediately plug it in and it works again for a while I can never unmount normally because it unmounts itself. It is some sort or timer issue.Here is the terminal for dmesg and yes it does unmount the read light goes out the power light stays on, as soon as the read light goes out I check and it is gone from the mount.the dmesg is too long is there a way to attach it?
[
Since it seems to happen only for usb devices, it's also possible that it's a problem with either your usb controller. I've seen quite a lot of fried usb plugs and a lot of failing motherboards when it comes to USB. However, it's better to first look at the dmesg output, and see if I or anyone around sees anything suspicious.

You could paste it in a site like pastebin.ca. Once you post the stuff in there, it should give you an url, parte that url here so we can review it.

PS: Better use the attachment feature that Tinkster says, I always forget about it

Last edited by i92guboj; 10-05-2009 at 07:34 PM.
 
Old 10-05-2009, 07:34 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
BTW what are the make/model numbers of the hard drives?

Last edited by michaelk; 10-06-2009 at 06:25 PM.
 
Old 10-06-2009, 06:04 PM   #8
cmcanulty
LQ Newbie
 
Registered: Sep 2009
Posts: 28

Original Poster
Rep: Reputation: 0
hard drives

One model is a western digital 120GB WD12000B008-RNN,the other is a Maxtor One Touch 4 500GB. Do they maybe need a linux specific driver? According to the Ubuntu documentation it usually handles NTFS ext drives normally. I did also reformat both in this process to ext3 and fat 32 and now back to NTFS the same problem occurred in all the file systems.
 
Old 10-06-2009, 06:33 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And the dmesg output is ...... ?
 
Old 10-07-2009, 10:49 AM   #10
cmcanulty
LQ Newbie
 
Registered: Sep 2009
Posts: 28

Original Poster
Rep: Reputation: 0
Do I do the dmesg with it hooked up or not?
 
Old 10-07-2009, 03:08 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
After it drops of (what you describe as unmount).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM unmounts when accessed by Update program linux_newber Linux - Hardware 1 01-16-2007 06:14 AM
Installtion - CD-ROM Unmounts switch007 SUSE / openSUSE 0 02-25-2006 02:19 PM
Smb4k unmounts shares Sheesh SUSE / openSUSE 4 02-12-2006 11:52 PM
apt-get requests iso cd, unmounts verbose Debian 2 12-04-2005 09:05 PM
Unmounts cd-rom after prompt for second install cd. Slack 10.1 mlsbraves Slackware - Installation 6 04-19-2005 01:56 PM


All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration