Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 107784
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maciej Freudenheim <fahren@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107784 depends on: 113825 Show dependency tree
Bug 107784 blocks: 103197
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-01 06:38 0000
Since Gnome 2.12, no icon appears when I plug any removable drive or insert CD.

I have working udev, dbus, hal, pmount and I'm in group plugdev.

gnome-volume-manager seems to mount device successfuly via pmount. For example,
when inserting CD:

manager.c/1691: Device added: /org/freedesktop/Hal/devices/volume_label_XXX
manager.c/1544: Changed: /dev/hdc
manager.c/1189: mounting /org/freedesktop/Hal/devices/volume_label_XXX..
manager.c/698: executing command: /usr/bin/pmount-hal
/org/freedesktop/Hal/devices/volume_label_XXX

.. and device is mounted afterwards, but no icon appears on Gnome desktop, also
clicking on 'CD Drive' in 'Computer' place results in error box:

Unable to mount the selected volume.
Error: device /dev/hdc is already mounted to /media/hdc

Everything worked flawlessly in Gnome 2.10.

I can unmount/eject device from 'Computer' place although without problem.

So it seems that somehow Gnome isn't informed that gnome-volume-manager mounted
new device, and tries to do it again.

Reproducible: Always
Steps to Reproduce:
1. Plug any USB device / insert CD
2. Open 'Computer' place
3. Try opening appropriate device - results in error described above

Actual Results:  
Error described above.

Expected Results:  
Icon on desktop representing new device should appear, also no error should
appear when trying to browse device from 'Computer' place.

Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13.2
i686)
=================================================================
System uname: 2.6.13.2 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4                        
                                                      /shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr                                                          
                    /lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -mfpmath=sse
-ffast-math -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay/custom"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 16bit X aac aalib aavm accounting acl acpi acpi4linux activefilter ada
aim alsa amuled animation apache2 artwor                                       
                                       kextra async audiofile automount avi
bash-completion beepmp berkdb bitmap-fonts bluetooth bmp bonobo browserplugin
buffy                                                                          
    size bzip2 c3p0 cairo cdr cdrom chm chroot clisp crypt cscope cups curl dba
dbus dga dhcp dict divx djvu dnd doc dpms dr                                   
                                           i dvb dvd dvdread dvi eds encode esd
ethereal evo evo2 examples extensions extraicons extras fam fastcgi ffmpeg
firefox                                                                        
       flac gaim gcj gd gd-external gg gif gimp gimpprint glibc-omitfp glitz glx
gmail gmailtimestamps gnokii gnome gnome-print                                 
                                              gnomedb gnutls gpgme gphoto2 gpm
gsf gsm gstreamer gtk gtk2 gtkhtml gvim hal howl icc icq idea idl imlib imlib2
ipv6 ir                                                                        
      c irda j2ee jabber java javadoc javamail javascript jboss jcs jms jpeg
jpeg2k junit jython kadu-modules kadu-voice kcal                               
                                                latex lcd ldap lesstif log4j
logitech-mouse lua lzw lzw-tiff mad maildir mailwrapper md5sum mem-cache
memcache memlimit                                                              
                 mime mmap mmx mng mono mouse mozdevelop mozilla mozsvg mp3 mpeg
mpeg2 mpeg4 mplayer mpm-threadpool mppe-mppc msn musepac                       
                                                       k musicbrainz mysql
nautilus ncurses net network new-login nls nntp no-old-linux no_wxgtk1
nomalloccheck nptl nptlonly o                                                  
                            dbc offensive ogg oggvorbis openexr opengl pam pango
pcmcia pcre pda pdf pdfkit pdflib perl pheaders php pic pie png pnp            
                                                                   pop postgres
postgresql povray ppds print procmail pthreads pwdb python qt quicktime radeon
rdesktop readline real rege                                                    
                          xp rhythmbox rtc ruby samba sametime sasl screenshot
sdl session shaper silc slp smime sms snmp soap softmmu spell sql s            
                                                                  qlite sqlite3
sse sse-filters sse2 ssl startup-notification struts subversion svg symlink
syslog t1lib tcltk tcpd tetex                                                  
                             tga theora threads thumbnail tidy tiff tlen
truetype truetype-fonts trusted type1-fonts unicode usb userlocales vim vim-   
                                                                           pager
vim-with-x visualization vorbis wifi win32codecs wmf wxwindows xanim xattr xine
xinerama xml xml2 xmlrpc xosd xpri                                             
                                 nt xscreensaver xv xvid yahoo zeroconf zlib
video_cards_radeon linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL

------- Comment #1 From Jazz 2005-10-06 22:48:39 0000 -------
Downgrading to udev-058 should solve this bug temporarily, but this problem 
definately persists in higer versions of UDEV.

Thanx,
Jazz

------- Comment #2 From John N. Laliberte (RETIRED) 2005-10-07 05:14:54 0000 -------
*** Bug 108260 has been marked as a duplicate of this bug. ***

------- Comment #3 From John N. Laliberte (RETIRED) 2005-10-07 05:15:39 0000 -------
are you guys using any overlays?

------- Comment #4 From Guy Ratcliffe 2005-10-07 12:14:16 0000 -------
(In reply to comment #3)
> are you guys using any overlays?

I#m having the same issue, but not using any overlays, just unmasked what's in
portage.

------- Comment #5 From Surakshan Mendis 2005-10-07 14:37:27 0000 -------
No overlays here, actually the only overlay I have relates to tvtime which has
nothing to do with anything discussed here. As I've said before in the bug that
got marked as dupe, my removeable media works fine, its the fixed media where
the icons do not appear...

------- Comment #6 From Jazz 2005-10-07 14:43:41 0000 -------
(In reply to comment #5)
> No overlays here, actually the only overlay I have relates to tvtime which has
> nothing to do with anything discussed here. As I've said before in the bug 
that
> got marked as dupe, my removeable media works fine, its the fixed media where
> the icons do not appear...

Do you have udev-058 or udev-070 installed ?

------- Comment #7 From Surakshan Mendis 2005-10-07 14:55:28 0000 -------
I have udev(In reply to comment #6)
> Do you have udev-058 or udev-070 installed ?

I have udev-068-r1, but I had udev-070 where the same problem happened (in terms
of fixed media). In all causes things like usb disks always worked as expected
(hence I created a different bug to this one)

------- Comment #8 From Maciej Freudenheim 2005-10-08 10:18:29 0000 -------
OK, it seems that latest gnome-volume manager (1.5.3) from portage solves the
whole issue.

------- Comment #9 From Surakshan Mendis 2005-10-08 23:59:16 0000 -------
The problem continues for me with gnome-volume-manager 1.5.3
Basically with HAL enabled my "fixed" data partitions do not appear as icons in
"Computer"

------- Comment #10 From Jazz 2005-10-09 10:59:58 0000 -------
same here, nothing changed for me too..

------- Comment #11 From Marc Geerlings 2005-10-10 01:13:44 0000 -------
I'm the one who posted the same bug as #106766. 

Due to a fault of my own (deleting the /etc directory), last weekend
(09/10-10-2006) I had to do a complete
fresh installation on my laptop (~amd64). The problem still is there (even with
the new gnome 2.12.1 packages.). 

I tried several things, from downgrading to udev-0.58, trying it with famd and
gamin, adding the devices to fstab and not. Everything to no avail.

------- Comment #12 From John N. Laliberte (RETIRED) 2005-10-15 14:17:27 0000 -------
could the people having this problem please look at:
http://bugs.gentoo.org/106766

and see if disabling preempt in the kernel works for you?

------- Comment #13 From Surakshan Mendis 2005-10-15 23:34:45 0000 -------
My fixed partition still does not appear with hald started and preempt OFF

synapse sura # cat /usr/src/linux/.config | grep "PREEMPT"
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set

------- Comment #14 From David Li 2005-10-17 16:39:59 0000 -------
Yeah, I get this too. I'm also a little confused about gnome-volume-manager.

The 2.12 migration guide indicates that it should be ran everytime I login while
the gnome-volume-manager HOWTO in the wiki does not mention it. Also, if 2.12
really needs it start every time you log in, shouldn't this be noted in other
places like the gnome guide?

------- Comment #15 From yardbird 2005-11-12 02:10:42 0000 -------
This bug is quite annoying, and seems to be quite widespread. Also in KDE: 
 
https://bugs.gentoo.org/show_bug.cgi?id=106905 
https://bugs.kde.org/show_bug.cgi?id=113349 
 
It seems to be Gentoo-specific. I've tried many combinations of CFLAGS, debug 
options, etc., all to no avail. It seems like no signal from DBUS is picked up 
by the media-manager, since the device gets mounted but the media-manager is 
not aware of this. 
 
I'm lost :-( 

------- Comment #16 From Pierre Poissinger 2005-11-12 05:36:48 0000 -------
Did you give a shoot at comment #12 ?
Seems hal 0.5.4 (and possibly previous version... i dunno) got troubles with
mounted device with kernel preempt settings... at least on my side, nopreempt =
gnome gives me icons :)

Note: udev 073 gives me problems aswell. With it, gvm tries to mount /dev/sda
instead of /dev/sda1 :)... so i am using udev 072

------- Comment #17 From John N. Laliberte (RETIRED) 2005-11-12 15:57:38 0000 -------
*** Bug 112338 has been marked as a duplicate of this bug. ***

------- Comment #18 From John N. Laliberte (RETIRED) 2005-11-12 15:58:14 0000 -------
*** Bug 111890 has been marked as a duplicate of this bug. ***

------- Comment #19 From John N. Laliberte (RETIRED) 2005-11-12 15:58:30 0000 -------
*** Bug 106766 has been marked as a duplicate of this bug. ***

------- Comment #20 From John N. Laliberte (RETIRED) 2005-11-12 17:26:49 0000 -------
We have started to look at this closely, and want to fix this quickly.

For reference, here is some information that we have collected that may or may
not help some of you.

http://dev.gentoo.org/~allanonjl/gnome/2.12.automounting.bugs.txt

When we want someone to test, we will post and ask for testers to test a
specific thing.

Thanks!

------- Comment #21 From Surakshan Mendis 2005-11-12 20:21:41 0000 -------
Thanks for making this a priority matter.
As you can tell the scope (if even related) is wide.

1. Removeable media (usb stroage, optical devices) doesn't mount
2. Removeable medio DOES mount, no icon
3. Removeable media DOES mount, has icon
4. Removeable media DOES mount, has icon, fixed media (aka internal IDE/SATA)
partitions are mounted (at boot), have "user" as fstab/mount option YET with
hald running the icons DON'T show icons in Computer file chooser etc..this fstab
option (as one line)
/dev/hdb3               /mnt/massdata   reiserfs  user,noatime,notail,user_xattr
 0 0

This should show up as an icon, it does not. IT DOES SHOW UP with hald off.

My issue is exactly 4.
I can test for you if you want, just ask.
I'm just summerising the various problems. 

------- Comment #22 From B. Keroack 2005-11-12 22:50:46 0000 -------
I have had an additional problem related to sysfsutils, see this thread:
http://forums.gentoo.org/viewtopic-t-397389.html

Also, gnome-volume-manager does not appear to be respecting the HAL property
volume.policy.desired_mount_point for some USB mass storage devices. It appears
to be calling pmount with the device name instead (eg, sda1 instead of model
name for one of my USB devices).

------- Comment #23 From Surakshan Mendis 2005-11-12 23:28:50 0000 -------
*** Bug 108260 has been marked as a duplicate of this bug. ***

------- Comment #24 From Byeong-taek Lee 2005-11-12 23:38:36 0000 -------
After upgrading of gentoo-sources 2.6.14,
no preempt mode doesn't work any more for ieee1394 drive, while usb external
drive mounts well automatically.
dmesg shows that there is no problem of recognizing the device in the kernel.

------- Comment #25 From @4u 2005-11-13 01:55:58 0000 -------
I'll report the result of a short test here again, since it was ignored on bug
#106766:

Have a look at hal-device-manager! The mounted partition has ALWAYS the status
"volume.is_mounted = false" even if it is mounted. Tools looking at the
hal-device-status think that the object isn't mounted and try it again ...

------- Comment #26 From John N. Laliberte (RETIRED) 2005-11-13 12:01:22 0000 -------
after a lot of time, I believe the issues should be resolved ( with work ). 
I'd
like to have people test.

I've added a bunch of information to the link I provided in comment #20.

comment #21 summed up the issues quite nicely.  The issue that I could still
reproduce was #4 ( after figuring out which versions worked with what kernel
etc ).

In order to fix #4 do this( taken from my link above ):
Also need to check
/system/storage/display_{external,internal_hard,scsi}_drives:
( as root and normal user )
( this result will most likely be false )
gconftool-2 --get /system/storage/display_internal_hard_drives
( now set it )
gconftool-2 --type bool --set /system/storage/display_internal_hard_drives

Make sure your fixed partitions(that you mount at boot in fstab) have "users"
in
the options.
( and that its in /media )
for example -> /dev/hda1        /media/windows ntfs     users,ro,umask=000

So, for people to test, please look at the link in comment #20, and make sure
you are using the correct combination of software. 
Use the exact versions given at the top of the document.
Make sure you are using a known working version of udev with your kernel.

I will make a "pretty" guidexml'ified doc if these instructions/notes solve
most
of people's problems.

------- Comment #27 From John N. Laliberte (RETIRED) 2005-11-13 12:04:07 0000 -------
please see the link in comment #20 for the latest information/commands.

------- Comment #28 From Surakshan Mendis 2005-11-13 14:20:41 0000 -------
Make sure your fixed partitions(that you mount at boot in fstab) have "users"
in
the options.
( and that its in /media )
for example -> /dev/hda1        /media/windows ntfs     users,ro,umask=000

Isn't that a huge restriction? I mean if one has to mount the fixed partitions
in /media ... what happens if I want it somewhere else? Is this some new
standard?

------- Comment #29 From John N. Laliberte (RETIRED) 2005-11-13 14:36:54 0000 -------
well, you don't *have* to put it in /media, sorry.  I'll edit that on the other
document.

Thanks for pointing that out.

Let me know if editing those gconf keys fix #4 for you.

------- Comment #30 From Norman Jonas 2005-11-13 14:47:20 0000 -------
You forgot a true

gconftool-2 --type bool --set /system/storage/display_internal_hard_drives true

and it doesn't work for me. However I have preempt enabled on 2.6.13, but that
shouldn't be important because if preempt would be the cause then this key
wasn't it and vice versa.

------- Comment #31 From John N. Laliberte (RETIRED) 2005-11-13 14:50:04 0000 -------
@Norman: it was changed in the updated document after the intial posting.

@Norman: Can you list the versions of the related software you are using?
(especially udev)

Did you restart your session to be sure?

------- Comment #32 From Norman Jonas 2005-11-13 15:01:03 0000 -------
I am using udev-070, hal 0.5.4.

Most importantly I can confirm that #4 - showing local drives from fstab - works
when I stop hald service.

------- Comment #33 From Norman Jonas 2005-11-13 15:03:11 0000 -------
Sorry, forgot to write that I did log out and back in.

------- Comment #34 From John N. Laliberte (RETIRED) 2005-11-13 15:07:57 0000 -------
Thanks for the fast responses.

I'll be committing http://bugs.gentoo.org/111918 soon, can you try editing the
gnome-vfs ebuild to use pmount-hal instead of pmount, re-emerging, and trying again?

I was testing using the "fixed" version of gnome-vfs which will be committed
shortly.

Let me know how this goes.

------- Comment #35 From Norman Jonas 2005-11-13 15:31:36 0000 -------
Applying the formentioned patch to gnome-vfs did not change anything. Still the
only way to get local drives to be shown is disabling hald. Setting the gconf
key has no effect.

------- Comment #36 From John N. Laliberte (RETIRED) 2005-11-13 16:53:58 0000 -------
I had another dev try this exact method:

1.  add partition to fstab, mount it in /mnt or /media.  These two locations are
the ones that I have tested.  Please use these locations for now.  ( I haven't
looked at the source to see if it looks at only these 2 directories.(yet) )
2.  gconftool-2 --type bool --set /system/storage/display_internal_hard_drives true
3.  keep doing: killall /usr/libexec/gnome-vfs-daemon until you get to step 4. (
or you can just restart your machine / session ) 
4.  The icon(s) should pop up on your desktop.

@Norman: what does your line in fstab look like?

------- Comment #37 From John N. Laliberte (RETIRED) 2005-11-13 16:55:24 0000 -------
for clarity, step 2 and 3 were as a normal user.

------- Comment #38 From John N. Laliberte (RETIRED) 2005-11-16 10:17:03 0000 -------
Can someone who previously had this problem confirm or deny?

------- Comment #39 From Surakshan Mendis 2005-11-16 21:29:09 0000 -------
I'll report any test results on the 18th of november UTC +8

------- Comment #40 From Marc Geerlings 2005-11-16 23:24:04 0000 -------
I decided to try to go back to the situation where my removable devices are not
probably detected by nautilus,filechooser and the diskmount applet (they get
mounted by gnome-volume-manager, but the components are not detecting it, icons
stay unmounted). 

All have to do for this is compile the kernel with voluntary preempt and the old
situation of nothing is working is back (using 2.6.14-r2 and udev-0.72, 0.73 is
not working either, but 0.72 works with a normal preempt kernel)

I have changed the pmount in the ebuild of gnome-vfs to pmount-hal but that is
changing nothing. I'm going back to a normal preempt kernel now.

------- Comment #41 From Byeong-taek Lee 2005-11-18 15:11:35 0000 -------
In kernel 2.6.14 (and 2.6.14-r2), gnome does not recognize ieee1394 external
device even if i turned preempt kernel off, while it's ok with usb device.
Is it still a problem of hal?

------- Comment #42 From Peter Weber 2005-11-23 06:44:37 0000 -------
Any new ideas?

------- Comment #43 From Norman Jonas 2005-11-23 06:58:16 0000 -------
At #36 : For me displaying local drives now works. I assume it started to work
when I upgraded to gnome-vfs-2.12.1.1.

So you probably were right that this bug is gone with an upgrade to
gnome-vfs-2.12.1.1 together with "gconftool-2 --type bool --set
/system/storage/display_internal_hard_drives true"

------- Comment #44 From @4u 2005-11-23 09:13:15 0000 -------
Bug seems to be fixed - at least for me - after upgrading to hal 0.5.5.1
running
with udev-073 and gnome-vfs-2.12.1.1-r1

------- Comment #45 From Daniel Gryniewicz 2005-11-23 09:49:10 0000 -------
udev-075 (which is not yet in portage) works, so it was a transient bug in 073.

------- Comment #46 From Byeong-taek Lee 2005-11-23 15:59:54 0000 -------
For me, there was no change with udev-076, gnome-vfs-2.12.1.1-r1, and
hal-0.5.5.1.
Still, in the preemptible kernel, gvm and gnome does not recognize removable
drives and media.

------- Comment #47 From Surakshan Mendis 2005-11-23 19:56:43 0000 -------
The problem still remains after upgrading the stuff below.
The problem is the 4th problem in Comment #21
"4. Removeable media DOES mount, has icon, fixed media (aka internal IDE/SATA)
partitions are mounted (at boot), have "user" as fstab/mount option YET with
hald running the icons DON'T show icons in Computer file chooser etc..this fstab"

I've upgraded to:

gnome-vfs-2.12.1.1-r1
hal-0.5.5.1
sys-fs/udev-073
Kernel: vanilla-sources 2.6.14.2

The kernel is preemptible (DESKTOP), I have yet to test without it.
I've also restarted the system for other reasons. So you can be sure the new
versions are running.

I've done the gconf things as well. When I set internal drives to visible my
encrypted swap gets an icon on the desktop, this is not desired (and you cannot
use it when you click on it -- of course)

------- Comment #48 From Norman Jonas 2005-11-24 05:24:40 0000 -------
At #46, #47 :

Did you set the gconf setting as recommended in comment #36 ? Without setting
this key you won't see local media...

------- Comment #49 From Surakshan Mendis 2005-11-24 05:42:52 0000 -------
okay better news.
The versions of the software I'm using is still as in Comment #47

I re-ran 
gconftool-2 --type bool --set /system/storage/display_internal_hard_drives true

Now my fixed partitions show up in computer, places, etc... my encrypted swap no
longer shows up, this is good.

However the icons also show up on the Desktop. In Gnome 2.10 they never showed
up on the desktop (only removeable media showed up). Basically I have a ton of
icons on my desktop for all my fixed partitions. Is there some way to hide those
 from the desktop?

------- Comment #50 From Norman Jonas 2005-11-24 05:46:27 0000 -------
In reply to #49

GConf key is /apps/nautilus/desktop/volumes_visible - but removable media icons
won't be shown on your desktop then as well.

------- Comment #51 From David Li 2005-11-24 10:08:59 0000 -------
My problem is, how do I hide the icons for swap in the "Computer" browser?

------- Comment #52 From Surakshan Mendis 2005-11-26 02:00:59 0000 -------
After a reboot there is now an icon for my swap as well!!

------- Comment #53 From B. Keroack 2005-11-27 14:54:08 0000 -------
Preempt-enabled kernel works fine for me.

Using 2.6.14-gentoo, PREEMPT ("Low-latency desktop") and PREEMPT_BKL are
enabled. udev-070-r1 plus the recommended versions of the other packages from
comment #20.

Automounting, icon display etc all work fine.

------- Comment #54 From Peter Weber 2005-11-28 09:31:10 0000 -------
I've succeded with 2.6.14-vanilla (low-latency-preemptible, big kernel lock),
and udev-070-r1.
Mouting via "computer:" works, clicking on icons in "computer:" work.
Automounting doesn't work (enabled in gnome-volume-manager), icons on desktop
appear only after "clicking" on them.

I doens't work correctly, and it is only a workaround, not a bugfix (i am using
regullary "preemptible desktop").

------- Comment #55 From Sylvain BERTRAND 2005-11-29 04:28:20 0000 -------
My system:
2.6.14 gentoo sources r3 (prempt max)
udev 073
hal 0.5.5.1
Debug Gnome 2.13.2

Here the results I have with various USB mass storage medias:
 * Medias without a partition table are automounted properly, but I have a
randomly diplayed icon (probably nautilus issues).
 * Medias with a partition table are not automounted but dev nodes are properly
created.

------- Comment #56 From Daniel Gryniewicz 2005-12-01 09:00:05 0000 -------
Downgrade your udev to 072 or less. That's the exact symptoms of the bug in
073.

------- Comment #57 From Peter Weber 2005-12-08 14:42:36 0000 -------
udev-077-r1 doesn't help
oh my gosh - udev-077-r2 is out, next try ;)

------- Comment #58 From Sylvain BERTRAND 2005-12-09 06:20:46 0000 -------
Tried 077-r2, nothing works anymore.
Downgraded to udev 072-->everything started to work properly (in gnome too).

------- Comment #59 From Daniel Gryniewicz 2005-12-09 11:43:48 0000 -------
077-r2 is broken for me too.  Downgrade to 072 and it's working again.

------- Comment #60 From Steven Walter 2005-12-09 21:10:26 0000 -------
(In reply to comment #55)
> My system:
> 2.6.14 gentoo sources r3 (prempt max)
> udev 073
> hal 0.5.5.1
> Debug Gnome 2.13.2
> 
> Here the results I have with various USB mass storage medias:
>  * Medias without a partition table are automounted properly, but I have a
> randomly diplayed icon (probably nautilus issues).
>  * Medias with a partition table are not automounted but dev nodes are properly
> created.

I think I've figured out why this is.  I notice that HAL gets the event for the
partition before the event for the containing device.  When it processes the
event for the partition, it says "ignoring hotplug event - no parent."  The
parent would, of course, be the containing device.  Not sure if anyone else has
noticed this.  Does that help?

------- Comment #61 From Byeong-taek Lee 2005-12-10 06:12:57 0000 -------
I think that the following issue is very interesting.

http://forums.gentoo.org/viewtopic-t-401087.html

At the thread, someone tried fstab-sync rather than pmount, 
which seemed to be successful
Is there any other people trying this?

------- Comment #62 From Umberto 2005-12-16 06:32:12 0000 -------
Emerging latest hal and dbus fixes the problem, at least for usb devices.
My fixed partitions still do not show up.

friedrich ~ # export ACCEPT_KEYWORDS=~x86
friedrich ~ # emerge -p hal dbus

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/hal-0.5.5.1
[ebuild   R   ] sys-apps/dbus-0.50-r1

------- Comment #63 From Peter Weber 2005-12-21 16:11:16 0000 -------
@62:

You're right, it works with Vanilla-Kernel 2.6 and "Preemptible-Desktop"!
And UDEV also creates dynamically new devices (if sb. remember on the
077-release...), loads mit IPW2200 firmware and Gnome-Volume-Manager works as
it should.

Happy :-)

------- Comment #64 From Surakshan Mendis 2005-12-21 22:49:35 0000 -------
at comment #63

Does your *fixed* drive partitions appear? My removeable has *always* worked

------- Comment #65 From Peter Weber 2005-12-22 15:45:20 0000 -------
If I understand you, you are talking about paritions like "/mnt/files" on
"/dev/sda6", which should be mounted on startup?

Sorry, I don't know!
My Gentoo is a small system on a IBM-ThinkPad.

------- Comment #66 From Surakshan Mendis 2005-12-23 15:58:14 0000 -------
Okay,

I'm now on:
udev -079
dbus-0.50-r2
hal-0.5.5.1-r1 
Linux synapse 2.6.15-rc6 #1 PREEMPT Sat Dec 24 09:08:59 EST 2005 i686 Intel(R)
Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux


at commment #36
By doing (as a normal user):
gconftool-2 --type bool --set /system/storage/display_internal_hard_drives true

And the restarting the system (or whatever means to get a fresh session)
results in strange things.

For an example I have some new FIXED partition icons on my desktop, 2 to be
exact. But there still remains fixed partitions that should now appear on the
desktop but don't. Eg, I have more than 2 fixed partitions but only 2 show up.
The FSTAB entires are pretty much the same for all fixed partitions.

Then looking in "Computer" gives strange results that I've never seen before
(eg in gnome 2.10). 

For an example there is:
---------
492.2 MB volume displayed in "Computer". That would be encrypted swap
partition. Clicking on it gives the following message

Error: device /dev/hda2 is not removable
Error: could not execute pmount

---------

70.6MB partition displayed in "Computer". That would be my /boot partition
Clicking on it gives the following message

Warning: device /dev/hda1 is already handled by /etc/fstab, supplied label is
ignored
mount: only root can mount /dev/hda1 on /boot
Error: could not execute pmount

---------

Which then leaves us with the 2 volumes that showed up on the desktop/file
choosers. Clicking on these actually works!! That's probably why only they
appear in the desktop/file chooser.

In the ideal perfect world (gnome 2.10) *ALL* my fixed partitions meant for
data (not swap) would appear in "Computer" and the file chooser. They SHOULD
not appear on the DESKTOP BUT removeable icons should appear on my desktop.
That's how it used to be, that's how its meant to be, that's how I want it to
be.

In the summary I made in comment #21 the 4th problem is still my problem
. I just pluged my ipod in and it mounted correctly, and put an ipod icon on my
desktop as expected the same for my usb massstorage drive. It's just fixed
partitions for me it seems
I hope this provides some insight

------- Comment #67 From Surakshan Mendis 2005-12-23 21:38:13 0000 -------
Just out of curiosity is this a Gentoo specific bug?
because if it is it will probably affect gnome 2.14 due in mid march 06

------- Comment #68 From Iain 2006-01-05 23:44:55 0000 -------
Any news on this bug this year?  I was getting no action from
gnome-volume-manager, but since I added the gconf key, and I now get my usb hd
showing up in /media.  However I don't get any icons.

I'm posting this because there are new versions of lots of things since the
last few posts, and also the link in comment #20 has gone :(

hal 0.5.5.1-r3
dbus 0.60-r3
udev 079
vanilla-sources 2.6.15
gnome-volume-manager 1.5.4
pmount 0.9.6
cryptsetup-luks 1.0.1-r1
sysfsutils 1.3.0-r1

------- Comment #69 From Joe McCann (RETIRED) 2006-01-06 11:47:06 0000 -------
*** Bug 112241 has been marked as a duplicate of this bug. ***

------- Comment #70 From David Li 2006-01-06 11:49:47 0000 -------
Everything (icons, /media) works for me except internal harddrives.

I am using the new dbus and hald.

I can make internal hd's show up with the gconf thing but it also shows the
drives that:
1) I don't have in /etc/fstab
2) I don't want to have icons for

There should be some option where you can specify which drives to show or not.

------- Comment #71 From Sylvain BERTRAND 2006-01-12 08:18:52 0000 -------
I updated my system to full ~x86 with modular X.org.

Gentoo source 2.6.15
udev 079
gnome 2.12

dbus 0.50 (0.60 breaks binary and source compatibility with 0.50... support for
0.60 interface maybe for gnome 2.13/2.14?)
No evdev driver in X.org (gnome configuration daemons are lost if you use it).
xkb database link. (xklavier hardcodes its location... fix with pkgconfig on
its way)

As far as I tested it on my system, no issue to report with removables drives
and medias.

------- Comment #72 From Steve Yin 2006-01-14 04:24:37 0000 -------
I'm using ~x86 in gnome, others are x86, This does not happen in my system, as
I'm in plugdev group, all my usb drivers are in my system.

I'm using hal-0.5.5.1 and dbus-0.60-r3. This problem does not exist.

------- Comment #73 From Byeong-taek Lee 2006-01-22 00:41:37 0000 -------
i have no problem in using usb driver with dbus-0.60-r3, hal 0.5.5.1-r3, and
gnome 2.12.2.
However, still nautilus cannot recognize ieee-1394 drive.
When I connect ieee-1394 drive, udev recognize it, and the drive is mounted
successfully.
But still I cannot look at the icon on the nautilus, and I cannot navigate.

------- Comment #74 From John N. Laliberte (RETIRED) 2006-01-22 04:09:09 0000 -------
@Byeong-taek Lee: could you please open a new bug for that issue?  That seems
to be something we'll have to work out and perhaps push upstream.  ( I'm
closing this one because all the general cases for automounting work fine in
2.12 )

------- Comment #75 From Iain 2006-02-12 16:53:21 0000 -------
(In reply to comment #68)

gnome-volume-manager seems to be "working" again:

> hal 0.5.5.1-r3
> dbus 0.60-r3
> udev 079
> vanilla-sources 2.6.15
> gnome-volume-manager 1.5.4
> pmount 0.9.6
> cryptsetup-luks 1.0.1-r1
> sysfsutils 1.3.0-r1

hal-0.5.5.1-r3
dbus-0.60-r4
udev-084
suspend2-sources-2.6.15-r5
gnome-volume-manager-1.5.4
pmount-0.9.6
cryptsetup-luks-1.0.1-r2
sysfsutils-1.3.0-r1

The only differences are dbus, udev, and sources.

Now, if only I could _stop_ it mounting every partition on my fixed disk...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug