Automount udf (movie) dvd: dbus errors

In gnome desktop, the latest kernel upgrades on opensuse 11.1 cause dbus errors and prevent the dvd from auto mounting.
Nautilus and, consequently, other gnome apps are unable to read the disk.
Dbus gives the following message:

Unable to mount DISK_NAME
DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

There was no problem with the original release kernel.
I can force a mount via root using the mount command and then read the data on the dvd.
The other way is to put an entry into /etc/fstab allowing the device to be user mountable.
These solutions are less than ideal.
Any ideas?

Hi
Not seeing any issue here with DVD’s, commercial and ones burned with
k3b. My drive is external USB though.


UDF-fs: Partition marked readonly; forcing readonly mount
UDF-fs INFO UDF: Mounting volume 'FLT0NNF1       ', timestamp
2005/11/22 21:14 (1ed4)

What does hwinfo on the drive show for the driver your using?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.25-0.1-pae
up 20:49, 2 users, load average: 1.04, 1.11, 0.74
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Hardware info:
14: udi = ‘/org/freedesktop/Hal/devices/storage_model_DVD_RAM_GH22NP20’
storage.cdrom.support_multisession = true
info.addons = { ‘hald-addon-storage’ }
info.category = ‘storage’
storage.cdrom.read_speed = 8468 (0x2114)
storage.cdrom.write_speed = 2770 (0xad2)
block.device = ‘/dev/sr0’
block.storage_device = ‘/org/freedesktop/Hal/devices/storage_model_DVD_RAM_GH22NP20’
block.major = 11 (0xb)
info.product = ‘DVD-RAM GH22NP20’
block.minor = 0 (0x0)
info.udi = ‘/org/freedesktop/Hal/devices/storage_model_DVD_RAM_GH22NP20’
block.is_volume = false
storage.bus = ‘pci’
storage.no_partitions_hint = true
info.vendor = ‘HL-DT-ST’
storage.media_check_enabled = true
storage.automount_enabled_hint = true
storage.drive_type = ‘cdrom’
linux.hotplug_type = 3 (0x3)
storage.model = ‘DVD-RAM GH22NP20’
storage.vendor = ‘HL-DT-ST’

There is no problem with normal data discs, only with multimedia udf disks.

As a follow-up to this:
The frustrating thing is that it only happens on my boxes with gigabyte
motherboards.
The identical install on my box with an asrock motherboard has no
problems.

Hi
That doesn’t seem to be normal hwinfo output? No driver info, features
etc? Can you run the command from the CLI, hwinfo --cdrom


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default
up 21:22, 2 users, load average: 0.07, 0.08, 0.14
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

CLI output below.

23: SCSI 401.0: 10602 CD-ROM (DVD)
[Created at block.247]
UDI: /org/freedesktop/Hal/devices/storage_model_DVD_RAM_GH22NP20
Unique ID: KD9E.SguOYq8Wtn7
Parent ID: WL76.fLPVw1audiC
SysFS ID: /class/block/sr0
SysFS BusID: 4:0:1:0
SysFS Device Link: /devices/pci0000:00/0000:00:09.0/host4/
target4:0:1/4:0:1:0
Hardware Class: cdrom
Model: “HL-DT-ST DVD-RAM GH22NP20”
Vendor: “HL-DT-ST”
Device: “DVD-RAM GH22NP20”
Revision: “1.02”
Driver: “pata_amd”, “sr”
Driver Modules: “pata_amd”
Device File: /dev/sr0 (/dev/sg2)
Device Files: /dev/sr0, /dev/scd0, /dev/disk/by-path/pci-0000:00:09.0-
scsi-0:0:1:0, /dev/cdrom, /dev/cdrw, /dev/dvd, /dev/dvdrw
Device Number: block 11:0 (char 21:2)
Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD+R, DVD+RW, DVD+DL, DVDRAM
Drive status: no medium
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #10 (IDE interface)
Drive Speed: 48

Hi
All strange, especially if only on gigabyte. Might be time to create a
bug report?

Although on this machine I’m using the same kernel and module (except
SLED) it’s all working ok…


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default
up 21:52, 2 users, load average: 1.60, 0.49, 0.20
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

On Fri, 24 Jul 2009 16:04:45 +0000, Malcolm wrote:

> Hi
> All strange, especially if only on gigabyte. Might be time to create a
> bug report?
>
> Although on this machine I’m using the same kernel and module (except
> SLED) it’s all working ok…

It happens on both SLED11 and opensuse 11.1(/2) and the latest kernel.
If I add an fstab entry like:

/dev/sr0 /media/dvd iso9660 ro,user,noauto,unhide 0 0

It automounts quite happily. The other strange thing is that data dvds
are fine, it’s only multimedia disks that have the problem.

Hi
I would raise a bug report then, maybe the libata module needs a tweak
for the motherboard.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default
up 22:22, 2 users, load average: 0.00, 0.47, 1.16
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Malcolm,
What section do you think is the best for the bug report? Since it is in all 11…1(2) and sled latest kernels?
Not heard anything back from sled support yet since I posted a support query a few weeks ago. (So much for sled support-:wink: … and to think I paid and registered it because I thought I’d give something back to suse because don’t need the bells and whistles opensuse gives!

Hi
If you’ve only just recently registered you can log a service request
by logging in and going to Customer Center and Submit a new SR.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default
up 1 day 6:51, 2 users, load average: 0.05, 0.05, 0.16
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

It’s possible you’ve got a problem with UDF automounting. See this thread:

DVD Automounting UDF Problems. - openSUSE Forums

Kj44
Thanks, but I tried all of the suggestions, including those on google and they don’t work for me.
There is something in the latest kernel updates that mess it up.
The simple solution is to make an fstab entry for the drive to mount to whatever mountpoint you choose, e.g:

/dev/sr0 /media/dvd iso9660 ro,user,noauto,unhide 0 0

But obviously.in the latest kernel security updates on some hardware automounting of udf doesn’t work, so it’s not the ‘ideal’ solution.

Well, I’ve got almost the same model of DVD as you have:

block.storage_device = '/org/freedesktop/Hal/devices/storage_model_DVD_RAM_GH22LP20'

and my kernel is up to date

2.6.27.25-0.1-default #1 SMP 2009-07-01 15:37:09 +0200 x86_64 x86_64 x86_64 GNU/Linux

and I’ve just automounted a UDF DVD.

Excuse me if this seems impolite, but did you implement the workaround I supplied in the aforementioned thread? It might help narrow things down even if it doesn’t work, because we’ll see some diagnostics. I think its premature to blame the kernel update.

KJ44
As I said in the post above, I tried your workaround/changes and it never worked.
The simple solution (though not ideal) was to create an fstab entry as described.
This is quick to apply and works in all variants of 11.x opensuse/sled with the latest kernel (including the 11.2 milestones).

> There is something in the latest kernel updates that mess it up.

Grr. I’ve now seen those dbus errors on some DVDs I’ve attempted t read (DVD+R backups).

I`ve just updated another machine to 11.1 so this might provide a basis for comparisons.

There is something in the latest (open)suse dbus / kernel updates that we are missing to give the problem. the same hardware and kernel, etc on Mint or ubuntu is fine with the same versions of kernel and dbus. My gut feel is that is something in the security setting that have changed in the suse updates that isn’t applied in the other linux flavours. But then that’s the joy of using linux - I’ll put up with some of the minor problems in the distro but like the distro as a whole so will keep using it!

Thanks for the reply.

I’ve backed out the changes that I previously thought had fixed the problem, and yes, I still have the dbus errors. So I must have had my success in a small window of opportunity before the kernel got updated.

Also, once I get those dbus errors, the machine becomes incredibly flaky and unstable, muttering about a stale lock file during a reboot, so it take two reboots to recover.

I’m going to insert the line in /etc/fstab - what I didn’t appreciate before, which I suspect, is that gnome will not attempt to mount devices listed explicitly in fstab. Can anyone confirm this please?

As you say whych, it’s all part of the fun finding workarounds (to the sound of my hair going grey).

With the fstab entry, the disc will automount.
Perhaps you should post the dbus errors - ther could be some other problem.