I'm running Mageia 5 x64 with all updates and KDE. I have seen this problem for a year or more. It was also in Mageia 4. I have been tracking this problem down for a couple of days and here is what I know. First the monitor results.
I first inserted the Mageia 5 DVD and it identified the DVD correctly (note the size 3918528512 and OpticalNumDataTracks: 1) :
- Code: Select all
[john@yankeedt ~]$ udisksctl monitor
Monitoring the udisks daemon. Press Ctrl+C to exit.
19:09:37.940: The udisks-daemon is running (name-owner :1.30).
19:09:55.801: /org/freedesktop/UDisks2/drives/ATAPI___iHAS124___E_3524665_2C8415505654: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 1457658595800696
OpticalNumDataTracks: 1
OpticalNumTracks: 1
OpticalNumSessions: 1
Optical: true
Media: optical_dvd
MediaAvailable: true
Size: 3918528512
19:09:55.801: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed
IdUUID: 2015-06-15-21-10-25-00
IdLabel: Mageia-5-x86_64
IdVersion: Joliet Extension
IdType: iso9660
IdUsage: filesystem
Id: by-uuid-2015-06-15-21-10-25-00
Size: 3918528512
Symlinks: /dev/cdrom
/dev/cdrw
/dev/disk/by-id/ata-ATAPI_iHAS124_E_3524665_2C8415505654
/dev/disk/by-label/Mageia-5-x86_64
/dev/disk/by-uuid/2015-06-15-21-10-25-00
/dev/dvd
/dev/dvdrw
Removed NO Disc info from changing disks.
Then I inserted an Audio CD which it identified correctly (OpticalNumAudioTracks: 12 Size: 305750016):
- Code: Select all
19:10:12.442: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed
Symlinks: /dev/cdrom
/dev/cdrw
/dev/disk/by-id/ata-ATAPI_iHAS124_E_3524665_2C8415505654
/dev/dvd
/dev/dvdrw
19:10:36.607: /org/freedesktop/UDisks2/drives/ATAPI___iHAS124___E_3524665_2C8415505654: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 1457658636607134
OpticalNumAudioTracks: 12
OpticalNumTracks: 12
OpticalNumSessions: 1
Optical: true
Media: optical_cd
MediaAvailable: true
Size: 305750016
19:10:36.607: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed
Size: 305750016
Removed NO Disc info from changing disks.
Then I reinsert the Mageia 5 DVD and it says it is an Audio CD (Note the size 3918528512 and OpticalNumAudioTracks: 1)
- Code: Select all
19:11:26.944: /org/freedesktop/UDisks2/drives/ATAPI___iHAS124___E_3524665_2C8415505654: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 1457658686943773
OpticalNumAudioTracks: 1
OpticalNumTracks: 1
OpticalNumSessions: 1
Optical: true
Media: optical_dvd
MediaAvailable: true
Size: 3918528512
19:11:26.944: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed
Size: 3918528512
It will not mount:
- Code: Select all
[john@yankeedt ~]$ udisksctl mount -b /dev/sr0
Object /org/freedesktop/UDisks2/block_devices/sr0 is not a mountable filesystem.
But it does mount with udisks:
- Code: Select all
[john@yankeedt ~]$ udisks --mount /dev/sr0
Mounted /org/freedesktop/UDisks/devices/sr0 at /media/disk
I can also verify the disk contents:
- Code: Select all
[root@yankeedt john]# blkid /dev/sr0
/dev/sr0: UUID="2015-06-15-21-10-25-00" LABEL="Mageia-5-x86_64" TYPE="iso9660" PTUUID="43f19278" PTTYPE="dos"
So, after you insert an Audio CD and remove it, KDE thinks the Mageia 5 DVD is an Audio CD. The only thing I can find to fix it is to insert a burned movie DVD which it does ID corrently. After inserting the movie DVD it will once again ID and mount the Mageia 5 DVD. If you insert another Audio CD, it does the same thing and a movie DVD will fix it again. Rebooting doesn't do anything between disk changes. I tried Audio CD/Mageia DVD over and over and over and nothing changes it except inserting the movie DVD. I tried ejecting it from Dolphin Places and from the Device Notifier etc. I tried "Release Audio CD" by right clicking it in Dolphin Places.
I've went through udev rules, Auto FS and many many other places. I've reinstalled udisk, udisks2, udisks-glue and anything I thought might be related.
It appears the Device Notifier is working right and the Mageia DVD is not being identified properly at the system/kernel level. I don't know exactly how to explain it, but I think the Device Notifier is being told it is an Audio CD so it gives you those options.
It will mount with:
- Code: Select all
[john@yankeedt ~]$ udisks --mount /dev/sr0
Mounted /org/freedesktop/UDisks/devices/sr0 at /media/disk
And after you do that you have two "Open in File Manager" options in Device Notifier and one opens it as an Audio CD mounted in audiocd:/?device=/dev/sr0 and the other opens it as the Mageia 5 DVD mounted in /media/disk/.
I have looked all over the internet for hints & clues but it's really difficult because when you search for "DVD identified as Audio CD" all you get is how to burn a CD and why you can't mount one.
/dev/sr0 is a Lite-on DVD burner. I'm going to see if the same thing happens in my LG Blu-ray burner which is /dev/sr1).
It only happens on /dev/sr0 and NOT on /dev/sr1
Here is the Audio CD:
- Code: Select all
22:13:06.754: /org/freedesktop/UDisks2/drives/HL_DT_ST_BD_RE__WH14NS40_K9BC4CJ2053: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 1457669586754112
OpticalNumAudioTracks: 12
OpticalNumTracks: 12
OpticalNumSessions: 1
Optical: true
Media: optical_cd
MediaAvailable: true
Size: 305750016
22:13:06.755: /org/freedesktop/UDisks2/block_devices/sr1: org.freedesktop.UDisks2.Block: Properties Changed
Size: 305750016
Removed NO Disk when I changed disks.
Here is the Mageia 5 DVD:
- Code: Select all
22:21:23.591: /org/freedesktop/UDisks2/drives/HL_DT_ST_BD_RE__WH14NS40_K9BC4CJ2053: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 1457670083591087
OpticalNumDataTracks: 1
OpticalNumTracks: 1
OpticalNumSessions: 1
Optical: true
Media: optical_dvd
MediaAvailable: true
Size: 3918528512
22:21:23.592: /org/freedesktop/UDisks2/block_devices/sr1: org.freedesktop.UDisks2.Block: Properties Changed
IdUUID: 2015-06-15-21-10-25-00
IdLabel: Mageia-5-x86_64
IdVersion: Joliet Extension
IdType: iso9660
IdUsage: filesystem
Id: by-uuid-2015-06-15-21-10-25-00
Size: 3918528512
Symlinks: /dev/disk/by-id/ata-HL-DT-ST_BD-RE_WH14NS40_K9BC4CJ2053
/dev/disk/by-label/Mageia-5-x86_64
/dev/disk/by-uuid/2015-06-15-21-10-25-00
I think I may have noticed a difference in the monitor log when you eject the disk by the physical button. That is how I have done them all for these logs and sr1 said:
- Code: Select all
22:20:38.019: /org/freedesktop/UDisks2/block_devices/sr0: Removed interface org.freedesktop.UDisks2.Filesystem
I don't remember seeing that with sr0 but I could be wrong. I'm sorry these are so long but I wanted to list as much information as possible so maybe someone with more experience than me could figure out what is going on. I guess I should have left in the eject info and I'll post that in the next message. I'm not sure but I think sr0 had a different eject message than sr0. I'll lok for bad code tagging and fix it if it's there when I come back to post about the eject messages.