public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Gnome CD automount fails without error
@ 2008-03-05 16:27 Mark David Dumlao
  2008-03-05 16:43 ` cypherstrong
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mark David Dumlao @ 2008-03-05 16:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2045 bytes --]

Hi guys

I'm using GNOME on gentoo and I like the behavior where usb drives will pop
up a nautilus window
on plugin.

I always expected this behavior on CDs as well, but for some reason, I only
noticed today
(after quite a while of using, since I haven't plugged in a CD for quite a
while) that it doesn't
work.

So I've been investigating a bit on some things to check.
1) my cdrom mount point.
the cdrom mount point is owned by root.cdrom and has
rwx,rx,- permisions

All relevant users are members of the root.cdrom group.

however this seems to me completely irrelevant since as
far as i recall, gnome-volume-manager should automatically
just create a mount point for the cdrom.

2) my fstab entry
I've tried without an fstab entry, and with.  When I work with
an entry, it looks like this:


/dev/cdrom /media/cdrom udf,iso9660 users,noauto 0 0

again, this looks irrelevant to me since my alternate system (ubuntu)
uses almost the same fstab with just root partitions switched around
and the automount seems to work fine.

3) plugdev membership.
all relevant users are members of plugdev.
plugdev seems to properly create USB devices when things are
pluggied in.

4) device file
my hard disks are /dev/sda and /dev/sdb
my cdrom is in /dev/hdb
cdrom permissions give me

markd@trixie:~$ ls /dev/hdb -l
brw-rw---- 1 root cdrom 3, 64 Mar  6  2008 /dev/hdb

this is i think statically created by udev.

5) kernel and stuff
markd@trixie:~$ uname -r
2.6.23-gentoo-r3

6) gnome-volume-manager -d no
(runs gnome-volume-manager in the foreground)
is completely silent.

7) The CDs themselves.
They seem to work when I do a mount from the command line.

Is there anything else I need to check?  I want the cdrom to pop up
correctly.

On a tangent, i noticed that all my partitions are appearing in
the nautilus sidebar bookmarks and also my desktop.  I have quite
a number of partitions, so this isn't the behavior I expect.  When I
click my Places menu, I notice that my partitions are listed in removable
media.  How do I take them out?
--
thing.

[-- Attachment #2: Type: text/html, Size: 2323 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gnome CD automount fails without error
  2008-03-05 16:27 [gentoo-user] Gnome CD automount fails without error Mark David Dumlao
@ 2008-03-05 16:43 ` cypherstrong
  2008-03-05 17:22   ` Mark David Dumlao
  2008-03-05 18:10 ` Alan McKinnon
  2008-05-09 15:53 ` Wolf Canis
  2 siblings, 1 reply; 8+ messages in thread
From: cypherstrong @ 2008-03-05 16:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2432 bytes --]

Could you go on Desktop / Preferences / Removable Drives and Media ???

Check any option there, and try again

Le Wednesday 05 March 2008 17:27:46 Mark David Dumlao, vous avez écrit :
> Hi guys
>
> I'm using GNOME on gentoo and I like the behavior where usb drives will pop
> up a nautilus window
> on plugin.
>
> I always expected this behavior on CDs as well, but for some reason, I only
> noticed today
> (after quite a while of using, since I haven't plugged in a CD for quite a
> while) that it doesn't
> work.
>
> So I've been investigating a bit on some things to check.
> 1) my cdrom mount point.
> the cdrom mount point is owned by root.cdrom and has
> rwx,rx,- permisions
>
> All relevant users are members of the root.cdrom group.
>
> however this seems to me completely irrelevant since as
> far as i recall, gnome-volume-manager should automatically
> just create a mount point for the cdrom.
>
> 2) my fstab entry
> I've tried without an fstab entry, and with.  When I work with
> an entry, it looks like this:
>
>
> /dev/cdrom /media/cdrom udf,iso9660 users,noauto 0 0
>
> again, this looks irrelevant to me since my alternate system (ubuntu)
> uses almost the same fstab with just root partitions switched around
> and the automount seems to work fine.
>
> 3) plugdev membership.
> all relevant users are members of plugdev.
> plugdev seems to properly create USB devices when things are
> pluggied in.
>
> 4) device file
> my hard disks are /dev/sda and /dev/sdb
> my cdrom is in /dev/hdb
> cdrom permissions give me
>
> markd@trixie:~$ ls /dev/hdb -l
> brw-rw---- 1 root cdrom 3, 64 Mar  6  2008 /dev/hdb
>
> this is i think statically created by udev.
>
> 5) kernel and stuff
> markd@trixie:~$ uname -r
> 2.6.23-gentoo-r3
>
> 6) gnome-volume-manager -d no
> (runs gnome-volume-manager in the foreground)
> is completely silent.
>
> 7) The CDs themselves.
> They seem to work when I do a mount from the command line.
>
> Is there anything else I need to check?  I want the cdrom to pop up
> correctly.
>
> On a tangent, i noticed that all my partitions are appearing in
> the nautilus sidebar bookmarks and also my desktop.  I have quite
> a number of partitions, so this isn't the behavior I expect.  When I
> click my Places menu, I notice that my partitions are listed in removable
> media.  How do I take them out?
> --
> thing.



[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gnome CD automount fails without error
  2008-03-05 16:43 ` cypherstrong
@ 2008-03-05 17:22   ` Mark David Dumlao
  0 siblings, 0 replies; 8+ messages in thread
From: Mark David Dumlao @ 2008-03-05 17:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

On Thu, Mar 6, 2008 at 12:43 AM, cypherstrong <cypherstrong@gmail.com>
wrote:

> Could you go on Desktop / Preferences / Removable Drives and Media ???
>
> Check any option there, and try again
>

under removable storage,
(checked) mount removable drives when hot-plugged
(checked) mount removable media when inserted
(checked) browse removeable media when inserted
<notchecked> autorun programs on new drives and media
<notchecked> autoopen files on new drives and media

under blank CD and DVD discs
<notchecked> burn a CD or DVD when a blank disc is inserted

seems just about right to me, but still, no joy.
-- 
thing.

[-- Attachment #2: Type: text/html, Size: 913 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gnome CD automount fails without error
  2008-03-05 16:27 [gentoo-user] Gnome CD automount fails without error Mark David Dumlao
  2008-03-05 16:43 ` cypherstrong
@ 2008-03-05 18:10 ` Alan McKinnon
  2008-03-05 21:56   ` Strong Cypher
  2008-05-09 15:53 ` Wolf Canis
  2 siblings, 1 reply; 8+ messages in thread
From: Alan McKinnon @ 2008-03-05 18:10 UTC (permalink / raw
  To: gentoo-user

On Wednesday 05 March 2008, Mark David Dumlao wrote:
> Hi guys
>
> I'm using GNOME on gentoo and I like the behavior where usb drives
> will pop up a nautilus window
> on plugin.
>
> I always expected this behavior on CDs as well, but for some reason,
> I only noticed today
> (after quite a while of using, since I haven't plugged in a CD for
> quite a while) that it doesn't
> work.

I believe that such things are detected by hal and the actual mount is 
done by gnome-volume-manager which then launches nautilus.

/etc/fstab is not involved at all in this.
It seems to be that Gnome at least wants you to use fstab for permanent 
mounts only, and bits of Gnome for everything else



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gnome CD automount fails without error
  2008-03-05 18:10 ` Alan McKinnon
@ 2008-03-05 21:56   ` Strong Cypher
  0 siblings, 0 replies; 8+ messages in thread
From: Strong Cypher @ 2008-03-05 21:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

did you run hald and dbus ?
did you add them on your rc profile ???

I think gnome use it to know if any drive is insert or not.

Try to run it hald (I think they depends of dbus so ... but both need to be
run)

Did you use dbus and hald in your uses ?

try this:

USE="dbus hald" emerge -DNuav world

Somethink to recompile ?

if yes add it permanantly to make.conf and do it

and restart gnome and try again

2008/3/5, Alan McKinnon <alan.mckinnon@gmail.com>:
>
> On Wednesday 05 March 2008, Mark David Dumlao wrote:
> > Hi guys
> >
> > I'm using GNOME on gentoo and I like the behavior where usb drives
> > will pop up a nautilus window
> > on plugin.
> >
> > I always expected this behavior on CDs as well, but for some reason,
> > I only noticed today
> > (after quite a while of using, since I haven't plugged in a CD for
> > quite a while) that it doesn't
> > work.
>
>
> I believe that such things are detected by hal and the actual mount is
> done by gnome-volume-manager which then launches nautilus.
>
> /etc/fstab is not involved at all in this.
> It seems to be that Gnome at least wants you to use fstab for permanent
> mounts only, and bits of Gnome for everything else
>
>
>
> --
> Alan McKinnon
> alan dot mckinnon at gmail dot com
>
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 1781 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gnome CD automount fails without error
  2008-03-05 16:27 [gentoo-user] Gnome CD automount fails without error Mark David Dumlao
  2008-03-05 16:43 ` cypherstrong
  2008-03-05 18:10 ` Alan McKinnon
@ 2008-05-09 15:53 ` Wolf Canis
  2008-05-09 23:31   ` Ian Hilt
  2 siblings, 1 reply; 8+ messages in thread
From: Wolf Canis @ 2008-05-09 15:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

Hello,

I just experienced the same problem. Could you solve your problem?
If so could you post the solution?

Some data of mine:
I'm in the groups: 

groups=10(wheel),11(floppy),18(audio),19(cdrom),27(video),35(games),85(usb),100(users),250(portage),443(plugdev),1000(rh),1001(wireshark)

CD/DVD device:

$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2008-05-09 04:45 /dev/cdrom -> sr0

$ ls -l /dev/sr0
brw-rw---- 1 root cdrom 11, 0 2008-05-09 04:45 /dev/sr0

dbus and hal are running. USB disks, cameras or MP3-players are
correctly mounted. Only CDs are not.

Tips, comments highly appreciated.

Thanks in advance.

W. Canis



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gnome CD automount fails without error
  2008-05-09 15:53 ` Wolf Canis
@ 2008-05-09 23:31   ` Ian Hilt
  2008-05-10  8:07     ` Wolf Canis
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Hilt @ 2008-05-09 23:31 UTC (permalink / raw
  To: gentoo-user

On Fri, 9 May 2008 at 5:53pm +0200, Wolf Canis wrote:

> Hello,
> 
> I just experienced the same problem. Could you solve your problem?
> If so could you post the solution?
> 
> Some data of mine:
> I'm in the groups: 
> 
> groups=10(wheel),11(floppy),18(audio),19(cdrom),27(video),35(games),85(usb),100(users),250(portage),443(plugdev),1000(rh),1001(wireshark)
> 
> CD/DVD device:
> 
> $ ls -l /dev/cdrom
> lrwxrwxrwx 1 root root 3 2008-05-09 04:45 /dev/cdrom -> sr0
> 
> $ ls -l /dev/sr0
> brw-rw---- 1 root cdrom 11, 0 2008-05-09 04:45 /dev/sr0
> 
> dbus and hal are running. USB disks, cameras or MP3-players are
> correctly mounted. Only CDs are not.
> 
> Tips, comments highly appreciated.
> 
> Thanks in advance.
> 
> W. Canis

What does /etc/fstab look like?

If you're using hald to auto-mount, the cdrom should *not* be in 
/etc/fstab.

-- 
Ian Hilt
ian.hilt (at) gmail.com
GnuPG key: 0x4AFC1EE3
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gnome CD automount fails without error
  2008-05-09 23:31   ` Ian Hilt
@ 2008-05-10  8:07     ` Wolf Canis
  0 siblings, 0 replies; 8+ messages in thread
From: Wolf Canis @ 2008-05-10  8:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]

Ian Hilt wrote:
> On Fri, 9 May 2008 at 5:53pm +0200, Wolf Canis wrote:
>
>> Hello,
>>
>> I just experienced the same problem. Could you solve your problem?
>> If so could you post the solution?
>>
>> Some data of mine:
>> I'm in the groups:
>> groups=10(wheel),11(floppy),18(audio),19(cdrom),27(video),35(games),85(usb),100(users),250(portage),443(plugdev),1000(rh),1001(wireshark)
>>
>>
>> CD/DVD device:
>>
>> $ ls -l /dev/cdrom
>> lrwxrwxrwx 1 root root 3 2008-05-09 04:45 /dev/cdrom -> sr0
>>
>> $ ls -l /dev/sr0
>> brw-rw---- 1 root cdrom 11, 0 2008-05-09 04:45 /dev/sr0
>>
>> dbus and hal are running. USB disks, cameras or MP3-players are
>> correctly mounted. Only CDs are not.
>>
>> Tips, comments highly appreciated.
>>
>> Thanks in advance.
>>
>> W. Canis
>
> What does /etc/fstab look like?
>
> If you're using hald to auto-mount, the cdrom should *not* be in
> /etc/fstab.
>
Hello,
thanks.

/dev/cdrom was with the option noauto in fstab. I disabled this entry
and it just worked fine.

W. Canis





[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-10  8:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05 16:27 [gentoo-user] Gnome CD automount fails without error Mark David Dumlao
2008-03-05 16:43 ` cypherstrong
2008-03-05 17:22   ` Mark David Dumlao
2008-03-05 18:10 ` Alan McKinnon
2008-03-05 21:56   ` Strong Cypher
2008-05-09 15:53 ` Wolf Canis
2008-05-09 23:31   ` Ian Hilt
2008-05-10  8:07     ` Wolf Canis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox