From kde-bugs-dist Sat Oct 22 02:15:41 2011 From: Marcel Partap Date: Sat, 22 Oct 2011 02:15:41 +0000 To: kde-bugs-dist Subject: [Bug 284662] New: Continuous "Advanced probing on /dev/sr0 failed Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=131924977317591 https://bugs.kde.org/show_bug.cgi?id=3D284662 Summary: Continuous "Advanced probing on /dev/sr0 failed while reading block size" error for CDDAs Product: solid Version: unspecified Platform: Gentoo Packages OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: libsolid-udisks AssignedTo: lukas@kde.org ReportedBy: mpartap@gmx.net Version: unspecified (using Devel)=20 OS: Linux Hi, at the top of the advancedDiscDetect() function it says original code was http://cgit.freedesktop.org/hal/tree/hald/linux/probing/probe-volume.c ... = that file however skips the check for advanced content: > /* Suggested by Alex Larsson to get rid of log spewage > * on Alan's cd changer (RH bug 130649) */ > if (ioctl (fd, CDROM_DRIVE_STATUS, CDSL_CURRENT) !=3D CDS_DISC_OK) { > goto out; > } >=20 > /* check for audio/data/blank */ > type =3D ioctl (fd, CDROM_DISC_STATUS, CDSL_CURRENT); > switch (type) { > case CDS_AUDIO: /* audio CD */ > libhal_changeset_set_property_bool (cs, "volume.disc.has_audio", TRUE); > HAL_DEBUG(("Disc in %s has audio", device_file)); > should_probe_for_fs =3D FALSE; > break; > case CDS_MIXED: /* mixed mode CD */ > libhal_changeset_set_property_bool (cs, "volume.disc.has_audio", TRUE); > libhal_changeset_set_property_bool (cs, "volume.disc.has_data", TRUE); > HAL_DEBUG(("Disc in %s has audio+data", device_file)); > break; > case CDS_DATA_1: /* data CD */ > case CDS_DATA_2: > case CDS_XA_2_1: > case CDS_XA_2_2: > libhal_changeset_set_property_bool (cs, "volume.disc.has_data", TRUE); > HAL_DEBUG(("Disc in %s has data", device_file)); > advanced_disc_detect (cs, fd, device_file); > break; as the current solid udisk backend does not do this, it spews error to stdo= ut AS LONG AS AN AUDIO CD IS INSERTED for ANY KDE app that uses the places bar= - even if only in open/save dialogs. Reproducible: Didn't try Steps to Reproduce: start dolphin, konqueror, amarok, file open/save dialog in any other kde ap= p=20 Actual Results:=20=20 Advanced probing on /dev/sr0 failed while reading block size and again and again and again and again repeat Expected Results:=20=20 advancedDiscDetect() should not be invoked on Audio-only discs *at all* OS: Linux (x86_64) release 3.1.0-rc9-00064-g65112dc-dirty Compiler: x86_64-pc-linux-gnu-gcc --=20 Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are watching all bug changes.=