Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

gnome 2.22 and mounting removable media etc

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
54 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

gnome 2.22 and mounting removable media etc

  • Quote

Post by juniper » Thu Aug 14, 2008 11:08 pm

can't mount a usb stick. get the error

Code: Select all

Unable to mount location
Can't mount file
is this happening to others? by the way, i read the gnome 2.22 user manual and I did not emerge gnome-volume-manager with automount.

also drives listed in fstab are no longer found in the Computer location (i.e. things such as nfs folders).
Top
sargek
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Sun Mar 13, 2005 3:55 pm
Location: Texas

  • Quote

Post by sargek » Fri Aug 15, 2008 12:00 am

I have the same problem. USB sticks mount fine and display on the desktop, but I disabled gnome-volume-manager in my session. CDs however, do not mount automatically at all. I can mount CDs as my normal user just fine though, but I get the same error as you do when I click on the CD drive in the "Computer" location.
"Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and from it's being imperishable."
Top
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

  • Quote

Post by juniper » Fri Aug 15, 2008 9:29 pm

i'll try disabling gvm
Top
Hav0c
n00b
n00b
Posts: 38
Joined: Thu Jul 03, 2008 11:58 am
Location: Sunset Strip
Contact:
Contact Hav0c
Website

  • Quote

Post by Hav0c » Sat Aug 16, 2008 10:10 am

sargek wrote:I get the same error as you do when I click on the CD drive in the "Computer" location.
I get the same error!
Top
sargek
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Sun Mar 13, 2005 3:55 pm
Location: Texas

  • Quote

Post by sargek » Sat Aug 16, 2008 3:02 pm

juniper wrote:i'll try disabling gvm
Well, according to the 2.22 upgrade guide, gnome-volume-manager is still needed, but for things like cameras. So might want to re-enable it. I re-emerged gnome-volume-manager with the "-automount" flag but the only thing that automounts now is usb sticks. CDs still do not automount and appear on the desktop. I get the "can't mount file" error. Oddly enough when I put in a blank cdr, it shows on the desktop, but data cds do not.

This is frustrating...
"Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and from it's being imperishable."
Top
OldTango
l33t
l33t
User avatar
Posts: 739
Joined: Sat Feb 21, 2004 5:08 pm
Contact:
Contact OldTango
Website

  • Quote

Post by OldTango » Sat Aug 16, 2008 3:03 pm

Hav0c wrote:
sargek wrote:I get the same error as you do when I click on the CD drive in the "Computer" location.
I get the same error!
I can't mount any device using that method either. However auto-mounting dose work to some degree, even though it is unpredictable and buggy at best. My internal CD (Optical Drives) drives get handled by Nautilus from what I can figure out. It also seems that the media inserted into them is handled differently every time I insert the same piece of media into the one of the drives. Sometimes the media mounted will show on the desktop and sometimes it won't, but it will still appear in the /media directory. :? :?

There are several posts in the forms and several bugs reports concerning this condition in the new Gnome-2.22 release. My system has become very unstable and unpredictable sense this update. I now wish I would have masked the new gnome release and waited a while longer.

What happens when you insert media in your CD drives that are listed in the "Computer" location? Does the media get mounted then?

All my of my usb devices seem to work quite well at the moment.
Here is a quote from this FORM POST
EvaSDK wrote:it seems usb automount gets broken with recent udev and older kernels (less or equal to 2.6.23)
While I am using the gentoo-2.6.23-r8 kernel I don't seem to have this problem. So I am assuming any revision (-r*) of 2.6.23 is ok with the new version of udev
Top
sargek
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Sun Mar 13, 2005 3:55 pm
Location: Texas

  • Quote

Post by sargek » Sat Aug 16, 2008 3:20 pm

When I insert a CD, nothing happens, period, except for blank CDs showing on the desktop. When I click on the CD drive icon in "Computer", I get the "can't mount file" error. I can manually mount data CDs after I insert them

Code: Select all

mount /dev/cdrom
, but if I am going to have to do that, why am I running a DE - I might as well be running Fluxbox or something...

My camera does work though - I use gthumb and the

Code: Select all

--import-photos
switch.

oops, forgot: running 2.6.25-gentoo-r7 kernel.
"Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and from it's being imperishable."
Top
OldTango
l33t
l33t
User avatar
Posts: 739
Joined: Sat Feb 21, 2004 5:08 pm
Contact:
Contact OldTango
Website

  • Quote

Post by OldTango » Sat Aug 16, 2008 5:16 pm

sargek wrote:When I insert a CD, nothing happens, period, except for blank CDs showing on the desktop. When I click on the CD drive icon in "Computer", I get the "can't mount file" error. I can manually mount data CDs after I insert them

Code: Select all

mount /dev/cdrom
You might try this as it works for me. Comment out anything in your /etc/fstab that points to your internal CD Drives like so

Code: Select all

# <fs>			<mountpoint>	<type>		<opts>		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1		/boot		ext2		noauto,noatime	1 2
/dev/sda3		/		ext3		noatime		0 1
/dev/sda2		none		swap		sw		0 0
#/dev/hda		/mnt/cdrom	auto		noauto,ro,user	0 0 <---commented out
#/dev/hdb		/mnt/cdrw	auto		noauto,rw,user	0 0  <---commented out
/dev/fd0		/mnt/floppy	auto		noauto,user	0 0

# NOTE: The next line is critical for boot!
none			/proc		proc		defaults	0 0
As much as I can determine at the moment, gnome-volume-manager is still handling all usb and firewire events and devices including external usb cd drives. However, Nautilus is now handling internal drives and files systems and doing a crappy job of it at the moment. Having these devices listed in your fstab seems to conflict with Nautilus. Preventing the media from mounting.

The draw back is that I am not sure you can manually mount any media in the devices from a terminal or command line should your DE crash without having first to re-enable them in your /etc/fstab. I haven't tested this condition yet.
Top
sargek
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Sun Mar 13, 2005 3:55 pm
Location: Texas

  • Quote

Post by sargek » Sat Aug 16, 2008 8:17 pm

I'll try that, thanks for the tip. You could be right about not being able to mount if the DE crashes, but it's a simple matter to uncomment the line in fstab.
"Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and from it's being imperishable."
Top
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

  • Quote

Post by juniper » Sat Aug 16, 2008 10:26 pm

actually, i am running an 2.6.18 kernel. i will *try* and upgrade, but my laptops sleep functions are somewhat fragile. maybe this will help.

one thing though, how could the gnome devs release something that is so broken? this sucks.
Top
Hav0c
n00b
n00b
Posts: 38
Joined: Thu Jul 03, 2008 11:58 am
Location: Sunset Strip
Contact:
Contact Hav0c
Website

  • Quote

Post by Hav0c » Sun Aug 17, 2008 9:05 am

OldTango wrote:
sargek wrote:When I insert a CD, nothing happens, period, except for blank CDs showing on the desktop. When I click on the CD drive icon in "Computer", I get the "can't mount file" error. I can manually mount data CDs after I insert them

Code: Select all

mount /dev/cdrom
You might try this as it works for me. Comment out anything in your /etc/fstab that points to your internal CD Drives like so

Code: Select all

# <fs>			<mountpoint>	<type>		<opts>		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1		/boot		ext2		noauto,noatime	1 2
/dev/sda3		/		ext3		noatime		0 1
/dev/sda2		none		swap		sw		0 0
#/dev/hda		/mnt/cdrom	auto		noauto,ro,user	0 0 <---commented out
#/dev/hdb		/mnt/cdrw	auto		noauto,rw,user	0 0  <---commented out
/dev/fd0		/mnt/floppy	auto		noauto,user	0 0

# NOTE: The next line is critical for boot!
none			/proc		proc		defaults	0 0
As much as I can determine at the moment, gnome-volume-manager is still handling all usb and firewire events and devices including external usb cd drives. However, Nautilus is now handling internal drives and files systems and doing a crappy job of it at the moment. Having these devices listed in your fstab seems to conflict with Nautilus. Preventing the media from mounting.

The draw back is that I am not sure you can manually mount any media in the devices from a terminal or command line should your DE crash without having first to re-enable them in your /etc/fstab. I haven't tested this condition yet.
It works! :D
Top
Clad in Sky
l33t
l33t
User avatar
Posts: 900
Joined: Fri May 04, 2007 6:40 am
Location: Germany

  • Quote

Post by Clad in Sky » Tue Aug 19, 2008 8:29 pm

Doesnt work for me that well.

CDs automount quite well (the icon it shows was somewhat awkward for a CD drive, though), but I can't get my usb sticks to work properly.
If I didn't like Gnome I think I'd have switched by now to xfce or kde. But I still hope there's a solution around?
Any other ideas apart from commenting out fstab (what an idea!)
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Top
sargek
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Sun Mar 13, 2005 3:55 pm
Location: Texas

  • Quote

Post by sargek » Wed Aug 20, 2008 1:25 am

Clad in Sky wrote:Doesnt work for me that well.

CDs automount quite well (the icon it shows was somewhat awkward for a CD drive, though), but I can't get my usb sticks to work properly.
If I didn't like Gnome I think I'd have switched by now to xfce or kde. But I still hope there's a solution around?
Any other ideas apart from commenting out fstab (what an idea!)
Yeah, I was thinking the same thing about the fstab...now we have a system that won't mount cd's without the desktop. A fundamental piece of the system has been broken, at least in my opinion. I love Gnome - I sure hope they fix this soon, or at least have a plan in the works.
"Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and from it's being imperishable."
Top
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

  • Quote

Post by juniper » Fri Aug 22, 2008 10:49 am

is this commenting out supposed to work with nfs folders?
Top
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

  • Quote

Post by juniper » Sat Aug 23, 2008 2:27 pm

i upgraded my kernel to 2.6.24.7, still doesn't work. that is, usb sticks don't mount. haven't even tried a cd. i am using hal 0.5.11-r1.

my sleep, however, works with my new kernel, so that is good.
Top
Clad in Sky
l33t
l33t
User avatar
Posts: 900
Joined: Fri May 04, 2007 6:40 am
Location: Germany

  • Quote

Post by Clad in Sky » Sat Aug 23, 2008 4:01 pm

So, no need to upgrade my kernel in a hurry...

I just don't get it, there seem to be tons of people without any issues...

I realized that when plugging in a USB memory stick my CD-drive begins to spin.
if I restart hald I can even get the stick to be shown in "Computer". I still won't be able to mount it. It will be mounted after a reboot, but I won't reboot to get this thing working, that's even more ridiculous than windows.
But perhaps someone can make something of that?
Error in HAL?
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Top
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

  • Quote

Post by juniper » Sat Aug 23, 2008 11:57 pm

did a bunch of searches, tried a bunch of stuff. nothing.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sun Aug 24, 2008 12:13 am

you in the plugdev group?
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

  • Quote

Post by juniper » Sun Aug 24, 2008 12:28 pm

Naib wrote:you in the plugdev group?
yup. everything worked fine in gnome 2.20.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sun Aug 24, 2008 1:18 pm

does the settings in: gnome-volume-properties look sane
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

  • Quote

Post by juniper » Sun Aug 24, 2008 8:55 pm

Naib wrote:does the settings in: gnome-volume-properties look sane
there is nothing there about usb sticks.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sun Aug 24, 2008 8:58 pm

right make a new user and login as said user and try again

This could be one of those times that hosing ~/.gnome* ~/.gconf* and co is needed
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
nenemsis5
n00b
n00b
Posts: 72
Joined: Tue Oct 23, 2007 11:50 am

  • Quote

Post by nenemsis5 » Mon Aug 25, 2008 12:03 am

is this problem now finally solved?
Top
juniper
l33t
l33t
User avatar
Posts: 986
Joined: Fri Oct 22, 2004 12:03 am
Location: we the north

  • Quote

Post by juniper » Mon Aug 25, 2008 10:46 am

Naib wrote:right make a new user and login as said user and try again

This could be one of those times that hosing ~/.gnome* ~/.gconf* and co is needed
good idea, didn't work though.

do you have any special files in /etc/hal/fdi/policy ? I just have 10-x11-input.fdi.
Top
pv23083
n00b
n00b
Posts: 19
Joined: Thu Aug 02, 2007 9:59 pm

  • Quote

Post by pv23083 » Mon Aug 25, 2008 10:57 am

same problem here. tried removing gnome-volume-manager but didn't work.
The usb stick only appears as a drive after I do a manual mount.
Top
Post Reply

54 posts
  • 1
  • 2
  • 3
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic