Bug 668746
Summary: | Audio CD recognised as blank writeable CD and not appearing in Rhythmbox. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kev 'Kyrian' Green <kyrian> | ||||
Component: | udisks | Assignee: | David Zeuthen <davidz> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | alexl, bnocera, davidz, dwysocha, mclasen, tbzatek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-08-16 17:53:17 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Kev 'Kyrian' Green
2011-01-11 13:55:28 UTC
Rhythmbox, nor anything else in the stack, uses HAL any more. All the discovery should be done by udev, and supplemented by metadata from gvfs. Given the output of "gvfs-mount -li" the problem lies lower down the stack (in gvfs, udev or the kernel itself). Can you please attach output of `udisks --dump` command? As an aside, does comment #1 mean I can disable HAL completely on all of my Fedora systems or does it still perform a useful function for other things? As regards the output of the `udisks --dump` command, I will attach the full output of it without a CD inserted momentarily. The below is the block for the CD-ROM/DVD drive *with* the CD inserted, for comparison, in case that is needed. ======================================================================== Showing information for /org/freedesktop/UDisks/devices/sr0 native-path: /sys/devices/pci0000:00/0000:00:02.5/host2/target 2:0:0/2:0:0:0/block/sr0 device: 11:0 device-file: /dev/sr0 presentation: /dev/sr0 by-path: /dev/disk/by-path/pci-0000:00:02.5-scsi-1:0:0:0 detected at: Tue 11 Jan 2011 16:28:49 GMT system internal: 0 removable: 1 has media: 1 (detected at Tue 11 Jan 2011 16:59:49 GMT) detects change: 1 detection by polling: 1 detection inhibitable: 1 detection inhibited: 0 is read only: 0 is mounted: 0 mount paths: mounted by uid: 0 presentation hide: 0 presentation nopolicy: 0 presentation name: presentation icon: size: 0 block size: 2048 job underway: no usage: type: version: uuid: label: optical disc: blank: 1 appendable: 0 closed: 0 num tracks: 1 num audio tracks: 0 num sessions: 1 drive: vendor: LITE-ON model: DVDRW LH-20A1H revision: LL0C serial: WWN: detachable: 0 can spindown: 0 rotational media: Yes, unknown rate write-cache: unknown ejectable: 1 adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a02_2e5 ports: /org/freedesktop/UDisks/adapters/0000_3a00_3a02_2e5/host2 similar devices: media: optical_cd_r compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w interface: scsi if speed: (unknown) ATA SMART: not available ======================================================================== Created attachment 472857 [details]
"udisks --dump" full output, without a CD inserted into the drive.
"udisks --dump" full output, without a CD inserted into the drive. Recent comment contains the block for the CD drive *with* a CD in, as I think that's all you need.
(In reply to comment #3) > optical disc: > blank: 1 > appendable: 0 > closed: 0 > num tracks: 1 > num audio tracks: 0 > num sessions: 1 So there's the problem. Looks like either kernel or udisks issue. What does `cdrecord dev=/dev/sr0 -toc` say to you? Trying with the CD that was in there when you asked (it has been in since boot time, and similar happens after it's been cleaned): # cdrecord dev=/dev/sr0 -toc Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : 'LITE-ON ' Identification : 'DVDRW LH-20A1H ' Revision : 'LL0C' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Errno: 5 (Input/output error), read toc scsi sendcmd: no error CDB: 43 00 00 00 00 00 00 00 04 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.001s timeout 40s wodim: Cannot read TOC header wodim: Cannot read TOC/PMA However, when I try a different disk (a brand new audio CD) I get different results: Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : 'LITE-ON ' Identification : 'DVDRW LH-20A1H ' Revision : 'LL0C' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R first: 1 last 11 track: 1 lba: 0 ( 0) 00:02:00 adr: 1 control: 0 mode: -1 track: 2 lba: 18457 ( 73828) 04:08:07 adr: 1 control: 0 mode: -1 track: 3 lba: 37694 ( 150776) 08:24:44 adr: 1 control: 0 mode: -1 track: 4 lba: 55487 ( 221948) 12:21:62 adr: 1 control: 0 mode: -1 track: 5 lba: 71702 ( 286808) 15:58:02 adr: 1 control: 0 mode: -1 track: 6 lba: 86295 ( 345180) 19:12:45 adr: 1 control: 0 mode: -1 track: 7 lba: 104227 ( 416908) 23:11:52 adr: 1 control: 0 mode: -1 track: 8 lba: 123442 ( 493768) 27:27:67 adr: 1 control: 0 mode: -1 track: 9 lba: 140122 ( 560488) 31:10:22 adr: 1 control: 0 mode: -1 track: 10 lba: 163932 ( 655728) 36:27:57 adr: 1 control: 0 mode: -1 track: 11 lba: 179435 ( 717740) 39:54:35 adr: 1 control: 0 mode: -1 track:lout lba: 199036 ( 796144) 44:15:61 adr: 1 control: 0 mode: -1 ... but still nothing appearing on my desktop for the CD or it being available in Rhythmbox, even after a rhythmbox restart. That somehow leads me to dmesg. Which contains... At boot time, 3 blocks of these: [ 9.683111] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 9.683117] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current] [ 9.683123] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out of range [ 9.683130] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00 [ 9.683138] end_request: I/O error, dev sr0, sector 0 [ 9.683144] Buffer I/O error on device sr0, logical block 0 And at the end, so when I inserted that last CD, perhaps? (I cannot accurately correlate that, as I didn't catch it in the act though, so that assertion may be wrong): [ 2574.408547] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 2574.408562] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current] [ 2574.408574] sr 2:0:0:0: [sr0] Add. Sense: Illegal mode for this track [ 2574.408593] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00 [ 2574.408611] end_request: I/O error, dev sr0, sector 0 [ 2574.408621] Buffer I/O error on device sr0, logical block 0 When I try playing the former CD with "mplayer -cdrom-device /dev/sr0 cdda://" it won't work, but the latter will do, even though neither are recognised by Rhythmbox, or appear on the desktop either. I think we may have several bugs going on here at the same time, and possibly a duff CD as well. The more troubled CD looks pretty much fine, so I don't actually think it's at fault here. I will test the offending CD in another device to attempt to determine if it's dodgy anyway, but even if it is dodgy I think the original purpose of this bug report (rhythmbox appearing to ignore /dev/sr0 because it does not recognise it as removable media) stands. Ah, sorry, tell a lie, the 'better' of the CD's does not actually play properly either. It'll play for maybe 15-30s and cut out for 1-2s and then carry on where it left off, it looks like. :-/ Nothing appears in dmesg, or ~/.xsession-errors when this happens. To be clear, the comment of "2011-01-12 07:53:58 EST" was referring to it playing with mplayer, but being very choppy, not with rhythmbox, so it does not indicate that the bug is closed. It's been a week without further input, so I thought I'd post this to be clear, and to reiterate that the problem appears to lie here: (13:54:38) [0x81500d0] [dump_volume_identifiers] rb-removable-media-manager.c:621: unix-device = /dev/sr0 (13:54:38) [0x81500d0] [rb_removable_media_manager_add_volume] rb-removable-media-manager.c:666: Unhandled media This is from a test I just did with a CD (the one I mentioned earlier that is recognised ok) that "cdrecord dev=/dev/sr0 -toc" does return a valid TOC from, but that rhythmbox does not automatically recognise. However, some more info is that although I don't get an icon on my desktop when I put the CD in, it does appear under the 'Computer' system browser, and opening up the CD in there and clicking the 'Open in Rhythmbox' button that appears at the top of the window (as well as right clicking the device to the same ends) *does* permit me to play the CD directly. I think this might help isolate the problem a bit. To be clear, the comment of "2011-01-12 07:53:58 EST" was referring to it playing with mplayer, but being very choppy, not with rhythmbox, so it does not indicate that the bug is closed. It's been a week without further input, so I thought I'd post this to be clear, and to reiterate that the problem appears to lie here: (13:54:38) [0x81500d0] [dump_volume_identifiers] rb-removable-media-manager.c:621: unix-device = /dev/sr0 (13:54:38) [0x81500d0] [rb_removable_media_manager_add_volume] rb-removable-media-manager.c:666: Unhandled media This is from a test I just did with a CD (the one I mentioned earlier that is recognised ok) that "cdrecord dev=/dev/sr0 -toc" does return a valid TOC from, but that rhythmbox does not automatically recognise. However, some more info is that although I don't get an icon on my desktop when I put the CD in, it does appear under the 'Computer' system browser, and opening up the CD in there and clicking the 'Open in Rhythmbox' button that appears at the top of the window (as well as right clicking the device to the same ends) *does* permit me to play the CD directly. I think this might help isolate the problem a bit. This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |