Devicekit-disks cause the dvd-writer not to properly be shown in comuter:///. It is shown as "cd/dvd rom" only. The volumes in dvdwriter can not be mounted neither automatically upon insertion nor by clicking on "cd/dvd rom" icon in computer which is shown as the dvd writer. When the dvd tray is opened, it is automatically closed. Killing the devkit-disks-daemon allows me to eject my drive properly without it trying to close on its own. The only way to mound dvd/cd is to mount through command line by root. After the gvfs was compiled without gdu flag, everything came back to normal situation using hal. emerge --info: Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-tuxonice-r5 x86_64) ================================================================= System uname: Linux-2.6.32-tuxonice-r5-x86_64-AMD_Athlon-tm-_7850_Dual-Core_Processor-with-gentoo-1.12.13 Timestamp of tree: Thu, 13 May 2010 18:30:21 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL sun-bcla-java-vm skype-eula dlj-1.1 RTCW-ETEULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=amdfam10 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=amdfam10 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays" DISTDIR="/mnt/e/distfiles/" FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms unmerge-logs userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common" LINGUAS="en ar fa" MAKEOPTS="-j3" PKGDIR="/mnt/e/GentooPackages/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 3gp X a52 aac aalib acc acl acpi acpid alsa amd64 amr apache2 archive ares asf audacious autoipd automount avahi avi beagle berkdb bidi bluetooth bmp bookmarks browserplugin bttv bzip2 cairo cd cdda cddax cddb cdio cdparanoia cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dhcpcd dia directfb divx4linux dmix docbook dot dts dv dvb dvd dvdr dxr3 encode esd evdev excel extras fa farsi fasttrack fbcon fbcondecor fbsplash ffmpeg firefox flac flash flashplayer fltk fontconfig fortran freetype fuse gdbm gdu gif gmp gnome gnome-keyring gnutella gnutls gpm gstreamer gtk gtk2 h323 hal html httpd iconv id3tag imagemagick ioplug ipv6 java java6 javascript jpeg jpeg2k jpg lame latex lcms libnotify lirc live m4a mad matroska mid mjpeg mmx mmxext modules mov mozilla mp3 mp4 mpeg mpg mudflap multilib mysql nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opencore-amr openft opengl openmp oss pam pcre pdf perl persian php pipechan plug png pnm policykit pppd proxy ps python quicktime ra ram rar rcs readline reflection rm rtf samba sdl session sip slp socks socks5 spell spl sqlite sse sse2 ssl stream svg svn symlink sysfs taglib tcpd theora tiff tk truetype udev unicode unrar usb v4l vcd vcdinfo vcdx vlm vorbis wav wma wmf wmv wxwindows x264 xanim xattr xcb xine xml xmms xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="stv0680" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ar fa" LIRC_DEVICES="pctv" RUBY_TARGETS="ruby18" SANE_BACKENDS="gt68xx" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I would expect some information about gvfs, devicekit-disks, gnome-disk-utility versions are needed, like emerge -pv output.
(In reply to comment #1) > I would expect some information about gvfs, devicekit-disks, gnome-disk-utility > versions are needed, like emerge -pv output. > I was just chatting on irc about this issue and other people were experiencing the same problem too. I hope they come here to confirm it. I should mention that automount does work for usb-storage devices though. Here is the information: pcket ~ # emerge -pv gvfs devicekit-disks gnome-disk-utility These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-apps/devicekit-disks-009 USE="-bash-completion -debug -doc" 0 kB [ebuild N ] sys-apps/gnome-disk-utility-2.28.1 USE="nautilus -doc" 0 kB [ebuild R ] gnome-base/gvfs-1.4.3-r1 USE="archive avahi bluetooth cdda fuse gdu* gnome gnome-keyring hal http samba udev -bash-completion -doc -gphoto2" 0 kB as I told you I removed gdu flag and uninstalled the two other packages. So automounting is working via hal. Thanks for you efforts in gentoo.org.
I'm wondering why there is no fix on this... I update portage everyday but to no avail. This bug makes gdu flag useless. Is there anyone to comment on this?
I am seeing similar behavior here. With GDU, my computer does not detect CDs until I manually run palimpsest and click the "Detect" button. If I disable all GDU related programs and remove the use flag from gvfs, it detects fine using HAL.
(In reply to comment #4) > I am seeing similar behavior here. With GDU, my computer does not detect CDs > until I manually run palimpsest and click the "Detect" button. If I disable > all GDU related programs and remove the use flag from gvfs, it detects fine > using HAL. > I had a problem because I had my kernel mis configured; grep CONFIG_IDE /usr/src/linux-2.6.32-gentoo-r1/.config CONFIG_IDE=y CONFIG_IDE_XFER_MODE=y CONFIG_IDE_TIMINGS=y CONFIG_IDE_ATAPI=y CONFIG_IDE_GD=y CONFIG_IDE_GD_ATA=y # CONFIG_IDE_GD_ATAPI is not set # CONFIG_IDE_TASK_IOCTL is not set # CONFIG_IDE_PROC_FS is not set CONFIG_IDE_GENERIC=y CONFIG_IDEPCI_PCIBUS_ORDER=y Once I changed to the pata driver everything worked as expected with gnome 2.28 grep CONFIG_IDE /usr/src/linux/.config # CONFIG_IDE is not set grep CONFIG_PATA_AMD /usr/src/linux/.config CONFIG_PATA_AMD=y
(In reply to comment #5) > (In reply to comment #4) I have already had the needed options in kernel config turned on. And the bug still exits... It is from something else grep CONFIG_IDE /usr/src/linux/.config CONFIG_IDE=y CONFIG_IDE_XFER_MODE=y CONFIG_IDE_TIMINGS=y CONFIG_IDE_ATAPI=y CONFIG_IDE_GD=y CONFIG_IDE_GD_ATA=y # CONFIG_IDE_GD_ATAPI is not set # CONFIG_IDE_TASK_IOCTL is not set CONFIG_IDE_PROC_FS=y # CONFIG_IDE_GENERIC is not set # CONFIG_IDEPCI_PCIBUS_ORDER is not set grep CONFIG_PATA /usr/src/linux/.config # CONFIG_PATA_ACPI is not set # CONFIG_PATA_ALI is not set CONFIG_PATA_AMD=y # CONFIG_PATA_ARTOP is not set # CONFIG_PATA_ATP867X is not set CONFIG_PATA_ATIIXP=y # CONFIG_PATA_CMD640_PCI is not set # CONFIG_PATA_CMD64X is not set # CONFIG_PATA_CS5520 is not set # CONFIG_PATA_CS5530 is not set # CONFIG_PATA_CYPRESS is not set # CONFIG_PATA_EFAR is not set # CONFIG_PATA_HPT366 is not set # CONFIG_PATA_HPT37X is not set # CONFIG_PATA_HPT3X2N is not set # CONFIG_PATA_HPT3X3 is not set # CONFIG_PATA_IT821X is not set # CONFIG_PATA_IT8213 is not set # CONFIG_PATA_JMICRON is not set # CONFIG_PATA_TRIFLEX is not set # CONFIG_PATA_MARVELL is not set # CONFIG_PATA_MPIIX is not set # CONFIG_PATA_OLDPIIX is not set # CONFIG_PATA_NETCELL is not set # CONFIG_PATA_NINJA32 is not set # CONFIG_PATA_NS87410 is not set # CONFIG_PATA_NS87415 is not set # CONFIG_PATA_OPTI is not set # CONFIG_PATA_OPTIDMA is not set # CONFIG_PATA_PDC_OLD is not set # CONFIG_PATA_RADISYS is not set # CONFIG_PATA_RDC is not set # CONFIG_PATA_RZ1000 is not set # CONFIG_PATA_SC1200 is not set # CONFIG_PATA_SERVERWORKS is not set # CONFIG_PATA_PDC2027X is not set # CONFIG_PATA_SIL680 is not set # CONFIG_PATA_SIS is not set # CONFIG_PATA_VIA is not set # CONFIG_PATA_WINBOND is not set # CONFIG_PATA_SCH is not set I have precisely built only needed drivers into the kernel. It seems that this bug is software related: http://bbs.archlinux.org/viewtopic.php?id=86836
Gnome 2.30 is entering the tree just now (in some hours should be completed) and, at least for me, doesn't exhibit this problem at all.
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > I have already had the needed options in kernel config turned on. And the bug > still exits... > It is from something else > > grep CONFIG_IDE /usr/src/linux/.config > > CONFIG_IDE=y This is not needed it is depreceated, you only need/want CONFIG_PATA_AMD=y or CONFIG_PATA_ATIIXP=y if that is your hardware. > CONFIG_IDE_XFER_MODE=y > CONFIG_IDE_TIMINGS=y > CONFIG_IDE_ATAPI=y > CONFIG_IDE_GD=y > CONFIG_IDE_GD_ATA=y > # CONFIG_IDE_GD_ATAPI is not set > # CONFIG_IDE_TASK_IOCTL is not set > CONFIG_IDE_PROC_FS=y > # CONFIG_IDE_GENERIC is not set > # CONFIG_IDEPCI_PCIBUS_ORDER is not set > > > > > grep CONFIG_PATA /usr/src/linux/.config > > # CONFIG_PATA_ACPI is not set > # CONFIG_PATA_ALI is not set > CONFIG_PATA_AMD=y > # CONFIG_PATA_ARTOP is not set > # CONFIG_PATA_ATP867X is not set > CONFIG_PATA_ATIIXP=y > I have precisely built only needed drivers into the kernel. > It seems that this bug is software related: > http://bbs.archlinux.org/viewtopic.php?id=86836 >
> > CONFIG_IDE=y > This is not needed it is depreceated, you only need/want CONFIG_PATA_AMD=y or Huge thanks to you. Removing this item from kernel config, automount worked for cd/dvd drives. Great thanks. Since the release of gnome 2.28 I had this annoying problem and it is solved now. However: 1. While the dvd-rw drive does the automount job well and it doesn't eat its tray any more, My DVD writer drive is still shown as "CD/DVD Drive". This causes difficulty especially when you are using virtual cd/dvd roms too. You will wonder which your real dvd-rw drive is since all of them are shown the same. 2. Every single line (related to a mount item) in /etc/fstab is shown in computer:///. I use tmpfs-mounted firefox so an ugly item like "c2hhvifuv.default" appears in the computer section, which refers to a line in /etc/fstab. This issue was present before and after removing config_ide option in the kernel. Using hal everything was completely fine and there weren't the above bugs. Have you any solution to these problems? Huge thanks again.
(In reply to comment #9) > Huge thanks to you. My DVD writer drive is still shown as "CD/DVD Drive". This > causes difficulty especially when you are using virtual cd/dvd roms too. You > will wonder which your real dvd-rw drive is since all of them are shown the > same. This I am not sure about. > 2. Every single line (related to a mount item) in /etc/fstab is shown in > computer:///. I use tmpfs-mounted firefox so an ugly item like > "c2hhvifuv.default" appears in the computer section, which refers to a line in > /etc/fstab. I removed all entries in fstab for the cd/dvd it is not needed. > Huge thanks again. Your Welcome :)
Hi and thanks for the swift reply. > This I am not sure about. Unfortunately all of the real and virtual cd or dvd drives are shown the same. I have difficulty finding out which is my real dvd-rw. > I removed all entries in fstab for the cd/dvd it is not needed. How about the tmpfs-mounted firefox? I have already commented out the entry for the dvd-rw. How to make gvfs not to mount every line in /etc/fstab? Removing the corresponding line is not an option: firefox /home/tu/.mozilla/firefox/c2hhvhuv.default tmpfs size=128M,noauto,user,exec,uid=1000,gid=100 0 0 I have put this in /etc/fstab to load firefox much faster.
(In reply to comment #8) > (In reply to comment #6) > > (In reply to comment #5) > > > (In reply to comment #4) > > I have already had the needed options in kernel config turned on. And the bug > > still exits... > > It is from something else > > > > grep CONFIG_IDE /usr/src/linux/.config > > > > CONFIG_IDE=y > This is not needed it is depreceated, you only need/want CONFIG_PATA_AMD=y or > CONFIG_PATA_ATIIXP=y if that is your hardware. Umm, CONFIG_IDE is not marked depreceated in menuconfig as of 2.6.32-gentoo-r7 which is amd64 stable on my box. The CONFIG_PATA_* options appear to be experimental e.g. Serial ATA (prod) Parallel ATA (experimental) This one bit me also, Thank you for the analysis. I was not using my drive all that often and the gdu flag may have slipped by during a update. I almost ended up submitting a duplicate bug driven by the eject issue I have been su-ing to root and using killall devkit-disks-daemon which works but must be done manually as root before using the drive for every login.
Ok, found out why I had USE="gdu", I had set it as requested by portage gnome-base/gnome-light-2.28.2 has a USE="automount" by default and that required the USE="gdu" flag to be set for gvfs New USE for 'gnome-base/gvfs:0' are incorrectly set. In order to solve this, adjust USE to satisfy '>=gnome-base/gvfs-1.4.3[gdu]'. setting USE="-automount" allows gvfs to be built without gdu I will see how it goes...
What is the status of this with Gnome 2.30?
(In reply to comment #14) > What is the status of this with Gnome 2.30? > No change at all...
OK Kete, then, we will summarize this a bit since this bug looks a bit messy after months :-/: (In reply to comment #0) > Devicekit-disks cause the dvd-writer not to properly be shown in comuter:///. > It is shown as "cd/dvd rom" only. Is this still a problem for you? Are you sure "rom" is being displayed? > The volumes in dvdwriter can not be mounted > neither automatically upon insertion nor by clicking on "cd/dvd rom" icon in > computer which is shown as the dvd writer. When the dvd tray is opened, it is > automatically closed. > Killing the devkit-disks-daemon allows me to eject my drive properly without it > trying to close on its own. Do you still suffer this with sys-fs/udisks?
(In reply to comment #16) > OK Kete, then, we will summarize this a bit since this bug looks a bit messy > after months :-/: > (In reply to comment #0) > > Devicekit-disks cause the dvd-writer not to properly be shown in comuter:///. > > It is shown as "cd/dvd rom" only. > > Is this still a problem for you? Are you sure "rom" is being displayed? Yes, the problem is still there in Gnome 2.30.2 and my dvd writer is being shown as "CD/DVD Drive". There is another "CD/DVD Drive" in the computer section which refers to a cdemud virtual cd/dvd drive. As well as this bug, every single line (related to a mount item) in /etc/fstab is shown in computer:///. I use tmpfs-mounted firefox so an ugly item like "c2hhvifuv.default" appears in the computer section, which refers to a line in /etc/fstab. Using hal everything was completely fine and there weren't the above bugs. > > > The volumes in dvdwriter can not be mounted > > neither automatically upon insertion nor by clicking on "cd/dvd rom" icon in > > computer which is shown as the dvd writer. When the dvd tray is opened, it is > > automatically closed. > > Killing the devkit-disks-daemon allows me to eject my drive properly without it > > trying to close on its own. > > Do you still suffer this with sys-fs/udisks? > No, after disabling Config_ide option in the kernel (which is not deprecated yet) and switching to config_pata_ this problem went away.
(In reply to comment #17) > Yes, the problem is still there in Gnome 2.30.2 and my dvd writer is being > shown as "CD/DVD Drive". Isn't your dvd writer a "CD/DVD drive"? I think all dvd writers are also for CDs > There is another "CD/DVD Drive" in the computer > section which refers to a cdemud virtual cd/dvd drive. > As well as this bug, every single line (related to a mount item) in /etc/fstab > is shown in computer:///. I use tmpfs-mounted firefox so an ugly item like > "c2hhvifuv.default" appears in the computer section, which refers to a line in > /etc/fstab. It looks to me like an upstream problem, but I have a fstab line for mounting /var/tmp/portage using tmpfs and don't suffer this problem. Please, if still valid on a new created user account, open a new bug attaching /etc/fstab (remember, one problem per bug is better for readability :-))
(In reply to comment #17) > No, after disabling Config_ide option in the kernel (which is not deprecated > yet) and switching to config_pata_ this problem went away. > It is deprecated (at least with kernel-2.6.35), and its help recommends to disable it: ATA/ATAPI/MFM/RLL support (DEPRECATED) --->
Please reply to comments #18 and #19 Thanks
(In reply to comment #19) > (In reply to comment #17) > > No, after disabling Config_ide option in the kernel (which is not deprecated > > yet) and switching to config_pata_ this problem went away. > > > > It is deprecated (at least with kernel-2.6.35), and its help recommends to > disable it: > ATA/ATAPI/MFM/RLL support (DEPRECATED) ---> > Ok. But 2.6.35 is not keyworded stable in gentoo-sources yet for amd64 | x86 2.6.16-r13 2.6.27-r10 2.6.27-r8 2.6.28-r6 2.6.29-r5 2.6.29-r6 2.6.32-r7 2.6.33-r2 2.6.34-r1 2.6.34-r6 have x86 or amd64 stable keywords vanilla-sources-2.6.35.3 has only x86 and was the only 2.6.35 variant I found stable, in the entire sys-kernel section
ATA/ATAPI/MFM/RLL support has been considered deprecated by kernel people for a while now. Maybe it only got the tag recently. The question is: does "ATA/ATAPI/MFM/RLL support" __need__ to be disabled for udisks to work correctly ?
(In reply to comment #22) > ATA/ATAPI/MFM/RLL support has been considered deprecated by kernel people for a > while now. Maybe it only got the tag recently. The question is: > > does "ATA/ATAPI/MFM/RLL support" __need__ to be disabled for udisks to work > correctly ? > Well, my IDE DVD burner still shows the same problem when I have ATA/ATAPI/MFM/RLL support and USE=automount and gdu with gnome-base/gnome-light-2.30.2 Back in June when I noticed this, kernel 2.6.32-gentoo-r7 was current and ATA/ATAPI/MFM/RLL was not deprecated in that version and PATA was experimental also sys-kernel/gentoo-sources-2.6.32-r20 is still a slotted kernel. The work arounds are ok, I used -automount -gdu and was happy without udisks at all. I am not sure about your question, udisks & ATA/ATAPI/MFM/RLL still do not seem to work well together and either can be disabled to avoid the problem...
(In reply to comment #22) > does "ATA/ATAPI/MFM/RLL support" __need__ to be disabled for udisks to work > correctly ? > I guess it's required then
But I am unsure about if the check should be on udisks or gvfs ebuild :-/
clearly needs to go in udisks.
(In reply to comment #26) > clearly needs to go in udisks. > Fine, thanks (I should have re-read full bug to see the problem was in udisks instead of gvfs_using_udisks not properly, sorry)
The ebuild will now barf: * CONFIG_IDE: should not be set. But it is. But isn't fatal. + 25 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> + udisks-1.0.1-r2.ebuild: + Check for CONFIG_IDE wrt #319829 by Kete Tefid.
*** Bug 396357 has been marked as a duplicate of this bug. ***