16.04 some dvd do not mount automatically (but do in 14.04)

Bug #1577768 reported by Coeur Noir
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Invalid
Undecided
Unassigned
nautilus (Ubuntu)
Invalid
Undecided
Unassigned
util-linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Hi,

here is a dvd. And ubuntu 16.04.

When I insert that dvd, it does not show anywhere, neither in launcher nor in nautilus.

But I'm able to read that dvd using vlc through menu media / open a disc.

I can manually mount that dvd with

sudo mount -t iso9660 -o ro /dev/sr0 ~/Bureau/dvd/

Once mounted there's a dvd icon in launcher and it appears also in nautilus left panel.

That same dvd automatically mounts when running ubuntu 14.04 on the same computer.

I have also tested other dvd's on ubuntu 16.04 and *most* of them show / mount as expected.

But *all* of them automatically show / mount in ubuntu 14.04.

Tags: util-linux
Revision history for this message
Hereinoz (davrosjos) wrote :

I, too have the same issue. I tested with the Ubuntu Gnome DE as well - same issue. It appears to be DVD related, as I can replicate it on 3 different computers (1 Toshiba laptop, 1 no name Chinese laptop, and a Dell desktop) all with 16.04, by using the same DVDs.

Some DVDs mount OK others do not, but it is not an intermittent thing. If a DVD fails to mount once, it fails to mount always.

There is a small amount of posting in forums on this matter, so it affects more than one or two people.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gvfs (Ubuntu):
status: New → Confirmed
Revision history for this message
Erick Brunzell (lbsolost) wrote :

Might this be a duplicate of bug 1537918?

I'm far from having anything figured out but wonder if there is an issue with UDF support in both the 4.2 and 4.4 series kernels? Or maybe this is just a gvfs or fuse problem?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Coeur Noir (coeur-noir) wrote :

https://bugzilla.gnome.org/show_bug.cgi?id=766136#c4

« So there are probably some problems with kernel/udev as mentioned on the original report... »

Revision history for this message
Coeur Noir (coeur-noir) wrote :

Thanks to Ondrej Holy here is a workaround :

« It seems it is problem with Fedora also. It is libblkid bug probably. Automounting works with libblkid-2.28 as per:
https://bugzilla.redhat.com/show_bug.cgi?id=1234317

It seems Ubuntu 16.04 uses 2.27.1 version, which doesn't contain the fix yet. Maybe you can try copy libblkid.so from Ubuntu 14.04 as a workaround... »

So here is what I did :

There are 2 files :

libblkid.so.1
libblkid.so.1.1.0

so I've copied both from 14.04 to 16.04 and yes, it works, now dvd's automount !

Of course do a backup of original files on 16.04 as I assume this will cause problems with forthcoming updates (?)

Changed in unity:
status: Confirmed → Unknown
Andrea Azzarone (azzar1)
no longer affects: unity
no longer affects: unity (Ubuntu)
Revision history for this message
Coeur Noir (coeur-noir) wrote :

Workaround is also confirmed in ubuntu 16.04 32 bits https://forum.ubuntu-fr.org/viewtopic.php?pid=21515215#p21515215

Actually libblkid.so.1 is a link to libblkid.so.1.1.0

Reboot is needed after replacing files.

________________

@Andrea I assume you know better than I do ;-) but why do you think Unity is not concerned by this bug ? As a consequence of it, dvd icon do not show in Unity launcher.

Revision history for this message
Erick Brunzell (lbsolost) wrote :

I wonder why we stopped checking regular mtab:

util-linux (2.27.1-1) unstable; urgency=medium

  * Imported Upstream version 2.27.1
    - among other things includes these fixes:
      libmount: fix uid= and gid= translation (Closes: #801527)
      libmount: (monitor) don't check for regular mtab

 -- Andreas Henriksson <email address hidden> Mon, 02 Nov 2015 12:41:58 +0100

tags: added: util-linux
Revision history for this message
Gottier (webdesignbrian) wrote :

Will there be an update? I am having this problem with my optical drives. Sometimes they auto mount, but with Memorex CD-R discs they will never auto-mount.

The drives are HP model dvd1260, and the cds are Memorex CD-R 52x 700MB 80min.

The strange this is I can burn a CD using Brasero, but can't auto-mount it.

Changed in util-linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Coeur Noir (coeur-noir) wrote :

Do you think that « bug » in libblkid can also affect auto-mounting of external hard drives and usb-stick storages ?

Revision history for this message
Gottier (webdesignbrian) wrote :

Regarding bug in libblkid affecting auto-mounting of USB storage devices:

Attache 128MB - WORKS
SanDisk Cruzer 2GB - WORKS
EMTEC 8GB - WORKS
Kingston DataTraveler 512MB - WORKS
Unbranded USB stick 128MB - WORKS
SanDisk Cruzer 256MB - WORKS
Unbranded #2 - WORKS
Unbranded #3 - WORKS
Patriot 2GB - WORKS
SonicView - WORKS
Memorex UFD 128MB - WORKS
Janome 64MB - WORKS
PNY 4GB - WORKS
Synchrony - WORKS

So every USB storage device that I tried works.

Revision history for this message
Gottier (webdesignbrian) wrote :

Workaround (replacement of libblkid.so.1.1.0 with the one from Ubuntu 14.04) confirmed for CD-Roms, so bug applies to more than just DVDs.

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in nautilus (Ubuntu):
status: Confirmed → Invalid
Changed in gvfs (Ubuntu):
status: Confirmed → Invalid
Changed in util-linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package util-linux - 2.28-5ubuntu2

---------------
util-linux (2.28-5ubuntu2) yakkety; urgency=medium

  * debian/patches/git_hybrid_cds.patch:
    - backport upstream fix to make hybrid disk work again, should resolve
      some disks like video DVDs not showing in the desktop interface
      (lp: #1577768)

 -- Sebastien Bacher <email address hidden> Wed, 25 May 2016 18:20:21 +0200

Changed in util-linux (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Bougron (francis-bougron) wrote :

Hello

I have also this bug with 16.04

My kernel is 4.7

u1604@u1604:~$ dpkg -l | awk '/ +linux/ && /headers|generic/{ if(match($2,/([0-9]\.)+/)) {print $2} }'|sort -t- -rV -k3,4|paste -d" " -
linux-signed-image-4.4.0-24-generic
linux-image-extra-4.4.0-24-generic
linux-image-4.7.0-040700rc2-generic
linux-headers-4.7.0-040700rc2-lowlatency
linux-headers-4.7.0-040700rc2-generic
linux-headers-4.7.0-040700rc2
linux-image-4.4.0-24-generic
linux-headers-4.4.0-24-generic
linux-headers-4.4.0-24
u1604@u1604:~$

My dmesg

[ 727.495823] sr 4:0:0:0: [sr0] tag#19 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 727.495833] sr 4:0:0:0: [sr0] tag#19 Sense Key : Illegal Request [current]
[ 727.495839] sr 4:0:0:0: [sr0] tag#19 Add. Sense: Illegal mode for this track
[ 727.495844] sr 4:0:0:0: [sr0] tag#19 CDB: Read(10) 28 00 00 05 7a 82 00 00 02 00
[ 727.495848] blk_update_request: I/O error, dev sr0, sector 1436168
[ 729.934623] sr 4:0:0:0: [sr0] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 729.934633] sr 4:0:0:0: [sr0] tag#21 Sense Key : Illegal Request [current]
[ 729.934638] sr 4:0:0:0: [sr0] tag#21 Add. Sense: Illegal mode for this track
[ 729.934644] sr 4:0:0:0: [sr0] tag#21 CDB: Read(10) 28 00 00 05 7a 83 00 00 01 00
[ 729.934648] blk_update_request: I/O error, dev sr0, sector 1436172
[ 729.934653] Buffer I/O error on dev sr0, logical block 359043, async page read

My files 4.7 are
u1604@u1604:~/Téléchargements$ ls -l
total 124916
-rwxrwxrwx 1 root root 9964354 juin 7 18:57 linux-headers-4.7.0-040700rc2_4.7.0-040700rc2.201606051831_all.deb
-rwxrwxrwx 1 root root 1072436 juin 7 18:42 linux-headers-4.7.0-040700rc2-generic_4.7.0-040700rc2.201606051831_amd64.deb
-rwxrwxrwx 1 root root 1073438 juin 7 18:43 linux-headers-4.7.0-040700rc2-lowlatency_4.7.0-040700rc2.201606051831_amd64.deb
-rwxrwxrwx 1 root root 57911030 juin 7 19:52 linux-image-4.7.0-040700rc2-generic_4.7.0-040700rc2.201606051831_amd64.deb
-rwxrwxrwx 1 root root 57881694 juin 7 19:53 linux-image-4.7.0-040700rc2-lowlatency_4.7.0-040700rc2.201606051831_amd64.deb
u1604@u1604:~/Téléchargements$

Revision history for this message
Bougron (francis-bougron) wrote :

So it it necessary to do this command

sudo mount /dev/sr0 /mnt

and seeing the contents

u1604@u1604:/mnt$ ls -l
total 31
dr-xr-xr-x 3 root root 2048 avril 3 2012 boot
dr-xr-xr-x 2 root root 2048 avril 21 2014 casper
dr-xr-xr-x 2 root root 18432 avril 10 2012 isolinux
-r--r--r-- 1 root root 8381 avril 21 2014 md5sum.txt
u1604@u1604:/mnt$

Revision history for this message
Coeur Noir (coeur-noir) wrote :

Hi Bougron,

Wich is the version of libblkid on your system ?

My Ubuntu 16.04 is with 4.4.0-22 generic Kernel and libblkid1 2.27.1-6ubuntu3.1

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.