Bug 579256
Summary: | F13 does not detect DVD insertion/removal | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jaroslav Franek <jarin.franek> |
Component: | kdebase-runtime | Assignee: | Than Ngo <than> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | anton, dougsland, fedora, fedora, gansalmon, itamar, jonathan, jreznik, kernel-maint, kevin, lorenzo, ltinkl, rdieter, smparrish, than |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | kdebase-runtime-4.4.2-2.fc13 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-04-20 13:16:12 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: |
Description
Jaroslav Franek
2010-04-03 17:29:42 UTC
I tried the following approach: 1) boot with a DVD in the drive 2) login to KDE, the medium is visible in device notifier under its proper label 3) use root account from console to unmount the DVD 4) KDE device notifier detected media was unmounted 5) use root account from console to eject the DVD 6) KDE device notifier retained previous label in the list, still showing unmounted 7) insert another DVD 6) KDE device notifier did not detect any change 8) Mounted the other DVD using KDE device notifier, but under the previous label This way, I am able to change DVDs in the drive in one KDE session, all under the label of the first one. KDE device notifier did not detect the change of media, it still thinks it was the previous one. So some kind of interaction from command line works, and I suppose it is not a kernel issue then; More probably the issue of KDE, or communication between KDE and those *Kit applications? It seems that udisks (DeviceKit) knows about media changes. See the steps and udisks output below below. But KDE Device Notifier is not aware of any change. Strange because USB media seem to work correctly with KDE Device Notifier, even that U3 stuff pretending to be an optical disk. 1) boot without any DVD media being inserted into the DVD drive 2) log into KDE 3) check with udisks: has media: 0 4) insert a DVD media, wait a few seconds 5) check KDE Device Notifier: no DVD media shown 6) udisks shows media was detected, see below 7) remove the DVD media 8) check with udisks: has media: 0 9) KDE Device Notifier - hmm, nothing as before $ udisks --dump ... ======================================================================== Showing information for /org/freedesktop/UDisks/devices/sr0 native-path: /sys/devices/pci0000:00/0000:00:1f.1/host1/target1:0:0/1:0:0:0/block/sr0 device: 11:0 device-file: /dev/sr0 presentation: /dev/sr0 by-path: /dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0 detected at: Sat 17 Apr 2010 08:32:28 PM CEST system internal: 0 removable: 1 has media: 1 (detected at Sat 17 Apr 2010 08:34:19 PM CEST) 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: 4641751040 block size: 2048 job underway: no usage: filesystem type: iso9660 version: Joliet\x20Extension uuid: label: MyDisk optical disc: blank: 0 appendable: 0 closed: 1 num tracks: 1 num audio tracks: 0 num sessions: 1 drive: vendor: Optiarc model: DVD RW AD-7593A revision: 1.05 serial: WWN: detachable: 0 can spindown: 0 rotational media: Yes, unknown rate write-cache: unknown ejectable: 1 adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e1 ports: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e1/host1 similar devices: media: optical_dvd_plus_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 ======================================================================== rpm -q hal-storage-addon please. If it's not installed, please do so. If it is installed, then the issue lies there, most likely. Looks like they indeed made this split in F13 too (was originally planned for f14+ only). Re-assigning to kdebase-runtime to add this dep. hal-storage-addon was not installed. After installing it and rebooting, the KDE Device Notifier works as expected. Thanks a lot for help. kdebase-runtime-4.4.2-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/kdebase-runtime-4.4.2-2.fc13 kdebase-runtime-4.4.2-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |