Can't access auto mounted UDF dvd

Bug #567154 reported by Viktors Petrovs
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

Can't access auto mounted UDF DVD. DVD is auto mounted to /media/SONATA_VOLUME on insert.
See permissions of /media/SONATA_VOLUME bellow! Drive icon also disapeared from nautilus.

There is no problems, when ripping with AcidRip specifying /dev/dvd as source path. Also running: mplayer dvd://0 works without problems.

Running: Ubuntu lucid (development branch)
Release: 10.04
Linux ziost 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux

$ ls -la /media/
total 6
drwxr-xr-x 5 root root 64 2010-04-20 12:10 .
drwxr-xr-x 20 root root 4096 2010-04-15 21:32 ..
lrwxrwxrwx 1 root root 6 2009-11-23 09:05 cdrom -> cdrom0
drwxr-xr-x 2 root root 6 2009-11-23 09:05 cdrom0
drwxr-xr-x 2 root root 6 2009-11-23 09:05 cdrom1
d--x------ 3 viks viks 88 2008-06-14 03:00 SONATA_VOLUME

$ ls -la /media/SONATA_VOLUME/
ls: cannot open directory /media/SONATA_VOLUME/: Permission denied

$ sudo mount -l
/dev/sr0 on /media/SONATA_VOLUME type udf (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,iocharset=utf8,umask=0077) [SONATA_VOLUME]

$ dmesg
[75347.003523] VFS: busy inodes on changed media or resized disk sr0
[75347.112433] VFS: busy inodes on changed media or resized disk sr0
[75347.140238] VFS: busy inodes on changed media or resized disk sr0
[75347.151392] VFS: busy inodes on changed media or resized disk sr0
[75398.095208] UDF-fs: Partition marked readonly; forcing readonly mount
[75398.175180] UDF-fs INFO UDF: Mounting volume 'SONATA_VOLUME', timestamp 2008/06/14 03:00 (10b4)

$ cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=a72bb35b-e6de-4d77-95ac-04e5ba11f8ce / xfs defaults 0 1
# /home was on /dev/sda2 during installation
UUID=9d15da6a-5969-4853-851a-8a785f90be07 /home xfs defaults 0 2
# swap was on /dev/sda5 during installation
UUID=98d841d6-6ffc-46b9-8f2d-a0db986249d3 none swap sw 0 0

$ dvd+rw-mediainfo /dev/sr0
INQUIRY: [HL-DT-ST][DVDRAM GSA-T20N ][WC05]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 11h, DVD-R Sequential
 Media ID: SONY16D1
 Current Write Speed: 8.0x1385=11080KB/s
 Write Speed #0: 8.0x1385=11080KB/s
 Write Speed #1: 4.0x1385=5540KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance: 3.3x1385=4584KB/s@0 -> 8.0x1385=11092KB/s@2299967
 Speed Descriptor#0: 02/2298495 R@1.7x1385=2292KB/s W@8.0x1385=11080KB/s
 Speed Descriptor#1: 02/2298495 R@1.7x1385=2292KB/s W@4.0x1385=5540KB/s
READ DVD STRUCTURE[#10h]:
 Media Book Type: 00h, DVD-ROM book [revision 0]
 Legacy lead-out at: 2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
 Media Book Type: 25h, DVD-R book [revision 5]
 Last border-out at: 2045*2KB=4188160
READ DISC INFORMATION:
 Disc status: appendable
 Number of Sessions: 2
 State of Last Session: empty
 "Next" Track: 4
 Number of Tracks: 4
READ TRACK INFORMATION[#1]:
 Track State: complete incremental
 Track Start Address: 0*2KB
 Free Blocks: 0*2KB
 Track Size: 1520*2KB
 Last Recorded Address: 1519*2KB
READ TRACK INFORMATION[#2]:
 Track State: complete incremental
 Track Start Address: 1536*2KB
 Free Blocks: 0*2KB
 Track Size: 240*2KB
 Last Recorded Address: 1567*2KB
READ TRACK INFORMATION[#3]:
 Track State: complete incremental
 Track Start Address: 1792*2KB
 Free Blocks: 0*2KB
 Track Size: 715984*2KB
 Last Recorded Address: 717775*2KB
READ TRACK INFORMATION[#4]:
 Track State: invisible incremental
 Track Start Address: 755680*2KB
 Next Writable Address: 755680*2KB
 Free Blocks: 1542208*2KB
 Track Size: 1542208*2KB
FABRICATED TOC:
 Track#1 : 14@0
 Track#AA : 14@717776
 Multi-session Info: #1@0
READ CAPACITY: 717776*2048=1470005248

$ /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_DVD_R=1
ID_CDROM_MEDIA_STATE=appendable
ID_CDROM_MEDIA_SESSION_NEXT=4
ID_CDROM_MEDIA_SESSION_COUNT=2
ID_CDROM_MEDIA_TRACK_COUNT=4
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1

Revision history for this message
BavarianPH (bavarianph) wrote :

Ubuntu 10.04 Lucid Lynx LTS does not recognize or mount udf dvds,

that read perfectly in Vista.

When inserting a dvd created inVista, the seek light

goes on, stops, and the CD/DVD icon disappears,

as if I no longer have a cdrom drive.

Removing the Vista created dvd causes the cdrom drive icon to reappear.

Attachment shows terminal output with the Vista created dvd in the drive.

Then no disk, and then again

with music & data dvd, & Vista install dvd.

Apparently whatever format Vista used to create the first dvd tested

cannot be read or even be recognized by Ubuntu 10.04.

Vista calls the format udf, but which version?

Could it be that Ubuntu can read older udf (2.0?) format but not newer udf (2.5?)

BavarianPH,

Ubuntu forever!

Revision history for this message
jhellen (jukka-hellen) wrote :

Found this fix from 2007 in the ubuntuforums. Just move the udf parameter in the fstab like this:

BEFORE:
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
AFTER:
/dev/scd0 /media/cdrom0 iso9660,udf user,noauto,exec,utf8 0 0

This worked for me :)

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Is this problem present with the latest updated Lucid's or Maverick's packages?
Thanks in advance
Fabio

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Fabio Marconi wrote on 2010-10-25:
> Is this problem present with the latest updated Lucid's or Maverick's packages?

Yes, updated Lucid and Maverick systems still have problems with some UDF DVD's, this is confirmed by several people, see bug #635499
I'm marking this bug as a duplicate of bug #635499 because there is real workaround described and bug is confirmed by Ubuntu developers

Changed in ubuntu:
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.