D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] DVDs won't automount in Mint 15 inc Link!

 


On 06/11/13 19:29, bad apple wrote:
On 06/11/13 17:37, Julian Hall wrote:
On 06/11/13 16:28, bad apple wrote:
As for not having a /dev/sr0, that is highly suspicious. Have a
good grep through the /dev directory, preferably when you do
actually have a DVD mounted, and see what device is getting
assigned to the unit and if there are any symlinks created
(/dev/cdrom, /dev/cdromX, etc).
OK now it's mounted after a reboot.  In /dev I have symlinks for:

cdrom, cdrw, dvd, dvdrw

sr0 now exists in /dev

Kind regards,

Julian

This is definitely a bit odd... especially as the unit works perfectly
in win XP/7 every time, I think we can ignore all the corner cases
like firmware updates, region locking or hardware faults completely.
It's Linux Mint specifically which is being the pain here.

When you finally have the DVD mounted under Mint, what does /etc/mtab
look like? I had to go and search through the living room to actually
find a film DVD, but when I did eventually find one, this is what I
see in mtab:

/dev/sr0 /media/ghost/RATATOUILLE udf
ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,uhelper=udisks2
0 0
This is the mtab line for the DVD drive

/dev/sr0 /media/julian/MIAMI_VICE_SEASON4_DISC02 udf ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,uhelper=udisks2 0 0

Looks identical to yours apart from the mount point of course - I'm working my way through my Miami Vice (80 series not film) collection :)
And this is what my "udevadm monitor" output on insertion/eject:

KERNEL[5497.135978] change
/devices/pci0000:00/0000:00:1f.2/ata6/host5/target5:0:0/5:0:0:0/block/sr0
(block)
UDEV  [5497.163009] change
/devices/pci0000:00/0000:00:1f.2/ata6/host5/target5:0:0/5:0:0:0/block/sr0
(block)
KERNEL[5515.025056] change
/devices/pci0000:00/0000:00:1f.2/ata6/host5/target5:0:0/5:0:0:0/block/sr0
(block)
UDEV  [5516.772498] change
/devices/pci0000:00/0000:00:1f.2/ata6/host5/target5:0:0/5:0:0:0/block/sr0
(block)

You're obviously not seeing anything like that, so something is wrong.
Finally I did see this when ejecting the disk and reloading it:

KERNEL[19534.817010] change /devices/pci0000:00/0000:00:09.0/ata5/host4/target4:0:0/4:0:0:0/block/sr0 (block) UDEV [19538.170315] change /devices/pci0000:00/0000:00:09.0/ata5/host4/target4:0:0/4:0:0:0/block/sr0 (block) KERNEL[19538.177367] change /devices/pci0000:00/0000:00:09.0/ata5/host4/target4:0:0/4:0:0:0/block/sr0 (block) UDEV [19538.306245] change /devices/pci0000:00/0000:00:09.0/ata5/host4/target4:0:0/4:0:0:0/block/sr0 (block) KERNEL[19552.736980] change /devices/pci0000:00/0000:00:09.0/ata5/host4/target4:0:0/4:0:0:0/block/sr0 (block) UDEV [19553.603667] change /devices/pci0000:00/0000:00:09.0/ata5/host4/target4:0:0/4:0:0:0/block/sr0 (block)

However, the disk was already mounted when I ejected it and reloaded. If I try the same when it hasn't mounted I get no mention of the DVD at all.
Have you got the udisks2 package installed? If not, install it.
Yes I do have udisks2 installed.
I've also belatedly realised that of course your DVDs could be in
either iso9660 or UDF format, with UDF actually being more likely.
UDF, and I've just noticed that udisks2 is mentioned in the MTAB line so I probably could have just looked there.
  I
think the only thing you haven't reported back on yet is whether
forcibly mounting the disk via the terminal is working, and that's
probably the single most important factor. If manual mounting is
operational, it's just down to sorting through the udisks2/udev/dbus
subsystems to see which one is sabotaging you. If manual mounting
doesn't work, well, then something even more strange is happening.
I thought I had, apologies. If you mean in terminal typing mount /dev/sr0 /mnt/dvd-test - no it doesn't work.
It seems that perhaps the auto-detection in Mint is somehow timing out?
When I insert a disk and close the tray, all I get is a single blink from the activity light, which I assume is the drive acknowledging the tray closing. I get no further activity such as the drive attempting to read the disk. I assume it waits for Mint to mount it, but shouldn't I see some activity? I would have thought Mint would be notified by the firmware that the tray had closed and a disc was in the drive so the hardware was ready for the device to be mounted?

Kind regards,

Julian


--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq