LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 12-17-2008, 09:28 PM   #1
wit_273
Member
 
Registered: Mar 2007
Location: Nebraska
Distribution: CentOS
Posts: 82

Rep: Reputation: 15
Media devices not mounting (CD/DVD, SD Card etc)


I feel kind of silly asking this as I have been using Linux long enough that I should know this. Just a few days ago I noticed that my media such as CD/DVD and usb stick stopped mounting automatically in Gnome when I inserted them. I just mount them manually and didn't really worry about it. But today I need to mount my SD card and I have no idea how to mount it, what package generally handles auto mounting devices in Ubuntu? What do I need to do to manually mount an SD card, what is the standard name of the device and what is the normal type for SD cards. It is of photos from a Cannon PSA630 if that helps.

Sorry to ask such an should be known question, it is just one of those things that has always worked and I never needed to know how it worked. Thanks for any help anyone can provide.

George
 
Old 12-17-2008, 09:32 PM   #2
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Rep: Reputation: 53
I had something similar happen to me a while ago. Does it automount when you first boot the system up? Mine would work fine until after the first mount- the problem was a bad CDROM drive pulling everything else down with it.
 
Old 12-17-2008, 11:15 PM   #3
wit_273
Member
 
Registered: Mar 2007
Location: Nebraska
Distribution: CentOS
Posts: 82

Original Poster
Rep: Reputation: 15
I rebooted and it did mount on initial boot. I unmounted and it would not automatically remount. So I will have to do some digging to find out if it is some faulty hardware, I will start with the CD/DVD drive. Thanks for your help.
 
Old 12-18-2008, 02:17 AM   #4
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Rep: Reputation: 53
Not a problem- keep us posted on what you find.
 
Old 12-18-2008, 02:55 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
A couple quick things you can check. Make sure that you don't boot with the "noacpi" boot option. That can prevent 3 daemons from running that automounting depend on, hald, udevd & dbusd.

Before inserting an external device, open up a console and run "sudo tail -f /var/log/messages". Is the device and the partition both detected? The device will be assigned a node that looks like /dev/sdb or /dev/sdc. The first partition will be assigned a device node like /dev/sdb1 or /dev/sdc1. Sometimes there is a reason the device wasn't mounted automatically and this reason is printed out in the messages log.

If you logged out improperly, after a crash, or by using [ctrl]-[alt]-[backspace] instead of logging out, there could be a stale /media/.hal-mtab or /media/.hal-mtab-lock file. (Ubuntu may do this differently). If nothing is mounted in /media, you should be able to delete these files.

If the usb drive was unplugged before the cached writes were unloaded to the device, the filesystem may be corrupt. In that case, either the kernel won't recognise the partition, or automounting failed. This is similar to the bad-device possibility of the above post, but the filesystem is bad rather than the device itself.

I'm not certain, but I think on Ubuntu, you need to be a member of the hotplug group for automounting to be attempted. Could membership have changed.

Sometimes not all usb ports are created equally. You could try a different port. The most common problem is that a certain port doesn't supply enough power. A highspeed device may not work well on a port because the hub is being shared with a usb 1.0 device.

On my system, an entry in /etc/fstab for node will prevent automounting, because it seems that you want the device mounted somewhere else. Ubuntu on the other hand may be configured to modify /etc/fstab. If the device isn't mounted but an entry in /etc/fstab exists from when it was plugged in last, this may cause problems. This may have the same effect as a stale /media/.hal-mtab or /media/.hal-mtab-lock file. ( The entry in /etc/fstab serves the same purpose)

Good Luck!

Last edited by jschiwal; 12-18-2008 at 03:00 PM.
 
  


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
cannot boot dvd from dvd + media and rom cjae Linux - Newbie 5 12-30-2009 11:32 AM
Software for handling generic media devices. jaakkop Linux - Software 1 02-04-2007 10:22 AM
Why no removable media in 2007free devices? jolphil Mandriva 11 12-01-2006 08:44 AM
need suggestions for portable media devices boredandblogging General 3 11-30-2006 03:18 AM
can't access 2 media devices DBabo Linux - Hardware 8 10-09-2006 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:53 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