Summary: | sys-fs/udisks causes dvd-writers eject misbehave if "ATA/ATAPI/MFM/RLL support" is enabled in kernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kete Tefid <ketetefid> |
Component: | Current packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugzilla, cltien, James_McMechan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kete Tefid
2010-05-15 12:36:16 UTC
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. *** |