Summary: | media-sound/sound-juicer-2.28.1 can't find CD-ROM drives if gvfs was merged with USE="-hal" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tiago Madeira <tmadeira> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | bugs+gentoo, david.w.noon, jlec, palme, pvhe01, qbasicer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | error.log |
Description
Tiago Madeira
2010-01-22 00:04:50 UTC
emerge -pv gvfs hal consolekit dbus please devicekit-disks ? Works fine here, please provide requested information. Would be also interesting to see if sound-juicer-2.26 works for you Please get back to us Please reopen. I have the same problem with 2.28.2. jesper ~ # emerge -pv gvfs hal consolekit dbus devicekit-disks These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/dbus-1.2.24 USE="X -debug -doc (-selinux) -test" 0 kB [0] [ebuild R ] sys-auth/consolekit-0.4.1 USE="-debug -doc pam policykit" 0 kB [0] [ebuild R ] gnome-base/gvfs-1.6.0-r1 USE="archive avahi -bash-completion -bluetooth cdda -doc fuse gdu gnome gnome-keyring gphoto2 -hal http -samba udev" 0 kB [1] [ebuild R ] sys-apps/hal-0.5.14-r2 USE="X acpi apm consolekit crypt -debug -dell -disk-partition -doc -laptop policykit (-selinux)" 0 kB [0] [ebuild R ] sys-apps/devicekit-disks-009 USE="-bash-completion -debug -doc" 0 kB [0] Total: 5 packages (5 reinstalls), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /mnt/space/gentoo/layman/gnome jesper ~ # I will try adding USE="hal" to some random packages and see if it changes anything. If I compile gvfs with USE="hal" it works. Reopening then, seems that sound-juicer requires gvfs to be compiled with hal support do you have brasero installed on your machine ? also could you paste your emerge -pv gvfs brasero sound-juicer ? Also, sound-juicer -d /dev/cdrom is a bad idea, you should use sound-juicer --brasero-media-debug -d /dev/cdrom or /dev/sr0. I will actually show what libbrasero-media finds, the hal error popup is most likely a corner case in the code. Ftr, I get the popup here, but here is the output on the console: $ sound-juicer --brasero-media-debug -d /dev/cdrom (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-media.c:530: Initializing Brasero-media 2.28.3 (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-medium-monitor.c:657: Probing drives and media (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-medium-monitor.c:662: Found 1 drives (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-medium-monitor.c:378: Testing drive /dev/sr0 (sound-juicer:21693): BraseroMedia-DEBUG: At scsi-sg.c:177: Getting handle (sound-juicer:21693): BraseroMedia-DEBUG: At scsi-sg.c:196: Handle ready (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-medium-monitor.c:387: Drive is optical (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1470: Initializing drive /dev/sr0 from device (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1109: Setting GDrive 0x82f6b0 (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1039: Still initializing the drive properties (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-medium-monitor.c:678: Found 1 volumes (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1345: Trying to open device /dev/sr0 (sound-juicer:21693): BraseroMedia-DEBUG: At scsi-sg.c:177: Getting handle (sound-juicer:21693): BraseroMedia-DEBUG: At scsi-sg.c:196: Handle ready (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1372: No medium inserted (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1398: Device ready (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1219: Checking supported profiles (sound-juicer:21693): BraseroMedia-DEBUG: At scsi-get-configuration.c:125: Unaligned data (60) setting to max (65530) (sound-juicer:21693): BraseroMedia-DEBUG: At scsi-get-configuration.c:160: Sizes mismatch asked 65530 / received 60 (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1230: Dectected medium is 0x0 (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1434: Drive caps are 127 (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:1049: Setting new probe (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:949: Trying to open device /dev/sr0 (sound-juicer:21693): BraseroMedia-DEBUG: At scsi-sg.c:177: Getting handle (sound-juicer:21693): BraseroMedia-DEBUG: At scsi-sg.c:196: Handle ready (sound-juicer:21693): BraseroMedia-DEBUG: At brasero-drive.c:980: No medium inserted -> One drive found but no medium found, which is correct and still getting the hal not running message even with hal running (although I have gvfs[-hal]). Ftr, gvfs[hal] alone is useless since it is only used to build the cdda backend which you can get with gvfs[udev,cdda] as well. (In reply to comment #9) > Ftr, gvfs[hal] alone is useless since it is only used to build the cdda backend > which you can get with gvfs[udev,cdda] as well. The current stable gvfs does not support udev. I use stable packages, and my gvfs is built with both hal and cdda enabled. I use this on both x86 and amd64 systems. [Indeed, the USE flags for gvfs are identical on both machines.] I only get the "No CD-ROM devices found." message box on the amd64 box; sound-juicer works properly on the x86 box. Now, there is one significant difference: I use GNOME on the amd64 box and Xfce on the x86 box. I shall test sound-juicer under GNOME on the x86 box later today. (In reply to comment #10) > on the x86 box. I shall test sound-juicer under GNOME on the x86 box later > today. The result is that sound-juicer works on the x86 box under both GNOME and Xfce, and it does not find the CD-ROM on the amd64 box under both GNOME and Xfce. I looked through my recent rips on the amd64 box and found that it was working on 15th March 2010. The only pieces of software involved with this problem that have changed since then are: sys-apps/dbus, updated on 10th April; and dev-libs/dbus-glib, updated on 5th April. [Neither of these updates has yet been applied on my x86 boxes.] Later today I shall mask off those new releases, one by one, and see if functionality is restored. (In reply to comment #11) > Later today I shall mask off those new releases, one by one, and see if > functionality is restored. I firstly masked =sys-apps/dbus-1.2.24, so that dbus reverted to =sys-apps/dbus-1.2.3-r1. After rebooting, this immediately restored functionality to sound-juicer, plus it solved a few other minor niggles in GNOME. We seem to have our culprit. Can anybody else do the same to confirm this? I get the error only if running with -d /dev/cdrom, working fine with /dev/sr0 instead Created attachment 228295 [details]
error.log
This is the output of "sound-juicer --brasero-media-debug -d /dev/cdrom"
(In reply to comment #13) > I get the error only if running with -d /dev/cdrom, working fine with /dev/sr0 > instead This seems to be a somewhat distinct error from the one Tiago Madeira originally reported to start this bug. The problem I had produced the same message box with "No CD-ROM drives found.", which causes me to believe that my problem is the same as Tiago's. This was cured, at least for me, by downgrading dbus. When this problem is worked around, I can select either of my optical drives by using the Edit|Preferences dialogue within sound-juicer. I have ripped a CD today to confirm that sound-juicer is working fully once more. I have the same problem. Maybe it is relevant that I use my CD-ROM drive as IDE device: > dmesg|grep hda hda: HL-DT-STDVD-RAM GSA-H54L, ATAPI CD/DVD-ROM drive hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4 hda: UDMA/66 mode selected ide-cd: hda: ATAPI 48X DVD-ROM DVD-R/RAM CD-R/RW drive, 2048kB Cache > sound-juicer --brasero-media-debug -d /dev/hda (sound-juicer:32414): BraseroMedia-DEBUG: At brasero-media.c:530: Initializing Brasero-media 2.28.3 (sound-juicer:32414): BraseroMedia-DEBUG: At brasero-medium-monitor.c:657: Probing drives and media (sound-juicer:32414): BraseroMedia-DEBUG: At brasero-medium-monitor.c:662: Found 1 drives (sound-juicer:32414): BraseroMedia-DEBUG: At brasero-medium-monitor.c:378: Testing drive /dev/fd0 (sound-juicer:32414): BraseroMedia-DEBUG: At scsi-sg.c:177: Getting handle (sound-juicer:32414): BraseroMedia-DEBUG: At scsi-sg.c:180: No handle: Permission denied (sound-juicer:32414): BraseroMedia-DEBUG: At brasero-medium-monitor.c:678: Found 0 volumes Maybe you could try with Gnome 2.32 :-/ Please get back to us. Works for me with latest ~amd64 in-tree ebuilds (should be 2.23.something). Having the same problem: sound-juicer --brasero-media-debug -d /dev/sr0 BraseroMedia: (at brasero-media.c:533) Initializing Brasero-media 2.30.3 BraseroMedia: (at brasero-medium-monitor.c:657) Probing drives and media BraseroMedia: (at brasero-medium-monitor.c:662) Found 0 drives BraseroMedia: (at brasero-medium-monitor.c:678) Found 0 volumes emerge -pv dbus hal gvfs hal consolekit dbus brasero sound-juicer [ebuild R ] sys-apps/dbus-1.4.1 USE="X -debug -doc (-selinux) -static-libs -test" 0 kB [0] [ebuild R ] sys-auth/consolekit-0.4.3 USE="pam policykit -debug -doc -test" 0 kB [0] [ebuild R ] gnome-base/gvfs-1.6.6-r1 USE="avahi bash-completion bluetooth cdda fuse gphoto2 hal http iphone samba udev -archive -doc -gdu -gnome -gnome-keyring" 0 kB [0] [ebuild R ] sys-apps/hal-0.5.14-r4 USE="X acpi crypt laptop -apm -debug -dell -disk-partition -doc (-selinux)" 0 kB [0] [ebuild R ] app-cdr/brasero-2.30.3 USE="cdr css libburn -beagle -doc -nautilus -playlist -test" 0 kB [0] [ebuild R ] media-sound/sound-juicer-2.28.2-r1 USE="-debug -test" 0 kB [?=>0] on amd64 Same here: deimos linux # sound-juicer --brasero-media-debug -d /dev/cdrom BraseroMedia: (at brasero-media.c:533) Initializing Brasero-media 2.32.1 BraseroMedia: (at brasero-medium-monitor.c:657) Probing drives and media BraseroMedia: (at brasero-medium-monitor.c:662) Found 0 drives BraseroMedia: (at brasero-medium-monitor.c:678) Found 0 volumes deimos linux # emerge -pv dbus hal gvfs hal consolekit dbus brasero sound-juicer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/dbus-1.4.6 USE="X -debug -doc (-selinux) -static-libs -test" 0 kB [ebuild R ] gnome-base/gvfs-1.6.7 USE="bluetooth gdu http udev -archive -avahi -bash-completion -cdda -doc -fuse -gnome -gnome-keyring -gphoto2 -ios -samba" 0 kB [ebuild R ] sys-apps/hal-0.5.14-r4 USE="X acpi crypt -apm -debug -dell -disk-partition -doc -laptop (-selinux)" 7 kB [ebuild R ] sys-auth/consolekit-0.4.4 USE="pam policykit -debug -doc -test" 0 kB [ebuild R ] app-cdr/brasero-2.32.1 USE="cdr css libburn -doc (-introspection) -nautilus -playlist -test" 0 kB [ebuild R ] media-sound/sound-juicer-2.32.0 USE="-debug -test" 0 kB Total: 6 packages (6 reinstalls), Size of downloads: 7 kB --- deimos linux # cdparanoia -vsQ cdparanoia III release 10.2 (September 11, 2008) Using cdda library version: 10.2 Using paranoia library version: 10.2 Checking /dev/cdrom for cdrom... Testing /dev/cdrom for SCSI/MMC interface SG_IO device: /dev/sr0 CDROM model sensed sensed: HL-DT-ST DVDRAM GSA-H66N CB00 Checking for SCSI emulation... Drive is ATAPI (using SG_IO host adaptor emulation) Checking for MMC style command set... Drive is MMC style DMA scatter/gather table entries: 1 table entry size: 131072 bytes maximum theoretical transfer: 55 sectors Setting default read size to 27 sectors (63504 bytes). Verifying CDDA command set... Expected command set reads OK. Attempting to set cdrom to full speed... drive returned OK. Table of contents (audio tracks only): track length begin copy pre ch =========================================================== 1. 18702 [04:09.27] 0 [00:00.00] no no 2 2. 16248 [03:36.48] 18702 [04:09.27] no no 2 3. 24430 [05:25.55] 34950 [07:46.00] no no 2 4. 15820 [03:30.70] 59380 [13:11.55] no no 2 5. 17837 [03:57.62] 75200 [16:42.50] no no 2 6. 20340 [04:31.15] 93037 [20:40.37] no no 2 7. 33783 [07:30.33] 113377 [25:11.52] no no 2 8. 16467 [03:39.42] 147160 [32:42.10] no no 2 9. 24268 [05:23.43] 163627 [36:21.52] no no 2 10. 21417 [04:45.42] 187895 [41:45.20] no no 2 TOTAL 209312 [46:30.62] (audio only) |