Created attachment 153921 [details] My kernel .config file I have gentoo distro (gentoo pathced kernel). I attach my .config file. I'm trying to mount bluray disks (in particular for instance Disney cartoon of Mulan and Rapuntzel). I got this error in console: # mount /dev/sr0 /mnt/cdrom/ mount: /dev/sr0 is write-protected, mounting read-only mount: mount /dev/sr0 on /mnt/cdrom failed: Stale file handle And this is the dmesg output: [ 224.725433] UDF-fs: warning (device sr0): udf_find_metadata_inode_efe: metadata inode efe not found [ 225.061052] UDF-fs: warning (device sr0): udf_find_metadata_inode_efe: metadata inode efe not found [ 225.061055] UDF-fs: error (device sr0): udf_load_metadata_files: Both metadata and mirror metadata inode efe can not found [ 225.061056] UDF-fs: error (device sr0): udf_load_partdesc: error loading MetaData partition map 1 The same specifying the filesystem: # mount -t udf /dev/sr0 /mnt/cdrom/ mount: /dev/sr0 is write-protected, mounting read-only mount: mount /dev/sr0 on /mnt/cdrom failed: Stale file handle I tried also these (I read something about in some forum): # mount -t udf,iso13346 /dev/sr0 /mnt/cdrom/ mount: /dev/sr0 is write-protected, mounting read-only Can only open '/dev/sr0' as read-only NTFS signature is missing. Failed to mount '/dev/sr0': Argomento non valido (*=not valid argument) The device '/dev/sr0' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? # mount -t udf,iso9660 /dev/sr0 /mnt/cdrom/ mount: /dev/sr0 is write-protected, mounting read-only Can only open '/dev/sr0' as read-only NTFS signature is missing. Failed to mount '/dev/sr0': Argomento non valido The device '/dev/sr0' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? In my kernel I've set udf support to <m> and the module is loaded: # lsmod | grep udf udf 79861 0 I tried also to compile kernel with udf inside and not as a module, but nothing changes. I filed thins bug even in gentoo buzilla, but I think it is better to file here. Reproducible: Always
You fail to mention which kernel are you using but I guess something like 3.17. This is already fixed upstream (commit 6174c2eb8ecef271159bdcde460ce8af54d8f72f: udf: Fix loading of special inodes) and should eventually propagate to 3.17-stable kernels.
Sorry, you are right. I'm using 3.17.0 and 3.17.1 both have the problem.
I confirm that with the 3.16 everything is fine.
As soon as 3.17.2 will arrive on gentoo I'll try and I'll give a feedback