Does not automount CD except after bootup

Bug #554908 reported by SilverWave on 2010-04-04
This bug report is a duplicate of:  Bug #554433: [LUCID] cd/dvd not recognized. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Undecided
Unassigned

Bug Description

Description: Ubuntu lucid (development branch)
Release: 10.04

Lucid 10.04 Beta1 plus updates.

If I boot up with a CD loaded then the CD appears on the desktop.
If ejected and another CD inserted this CD is not automounted.

Clean install but kept /home from previous Ubuntu 9.10

---
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=90c9f4ba-3b3f-4921-bf8b-a48e443aa072 / ext4 errors=remount-ro 0 1
# /backup was on /dev/sdb1 during installation
UUID=7d52f601-88bb-4239-aebf-ecd29e7f824b /backup ext4 defaults 0 2
# /backup2 was on /dev/sdc1 during installation
UUID=4fe67f87-78bc-4a8e-bb93-1ef27e32a610 /backup2 ext4 defaults 0 2
# /home was on /dev/sda6 during installation
UUID=7edc5cc0-c0df-4183-854b-d68351231aca /home ext3 defaults 0 2
# /home2 was on /dev/sda7 during installation
UUID=82908567-f9bf-48a8-b7bf-2c08072ddf3e /home2 ext4 defaults 0 2
# /windows was on /dev/sda1 during installation
UUID=5ED8E51BD8E4F267 /windows ntfs defaults,umask=007,gid=46 0 0
# swap was on /dev/sda8 during installation
UUID=3fb7736e-de54-4b7e-909c-8fab256f2cba none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
---

[Update]
Can access CD in VirtualBox (set the Guest to use sr0).

SilverWave (silverwave) wrote :

Just had a look at a backup and fstab looked like this prior to Lucid:

---
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
UUID=77d09728-67bf-4871-ba8c-b5fbc9b8f3cc / ext4 errors=remount-ro 0 1
# /backup was on /dev/sdb1 during installation
UUID=7d52f601-88bb-4239-aebf-ecd29e7f824b /backup ext4 defaults 0 2
# /backup2 was on /dev/sdc1 during installation
UUID=4fe67f87-78bc-4a8e-bb93-1ef27e32a610 /backup2 ext4 defaults 0 2
# /home was on /dev/sda6 during installation
UUID=7edc5cc0-c0df-4183-854b-d68351231aca /home ext3 defaults 0 2
# /home2 was on /dev/sda7 during installation
UUID=82908567-f9bf-48a8-b7bf-2c08072ddf3e /home2 ext4 defaults 0 2
# /windows was on /dev/sda1 during installation
UUID=5ED8E51BD8E4F267 /windows ntfs defaults,nls=utf8,umask=007,gid=46 0 0
# swap was on /dev/sda8 during installation
UUID=3fb7736e-de54-4b7e-909c-8fab256f2cba none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
---

SilverWave (silverwave) wrote :

sudo lshw

----
       *-ide:0
             description: IDE interface
             product: 82801G (ICH7 Family) IDE Controller
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: pci@0000:00:1f.1
             logical name: scsi0
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated
             configuration: driver=ata_piix latency=0
             resources: irq:18 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:fb00(size=16)
           *-cdrom
                description: DVD writer
                product: DVD-RW DVR-112D
                vendor: PIONEER
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: 1.21
                capabilities: removable audio cd-r cd-rw dvd dvd-r
                configuration: ansiversion=5 status=ready
              *-medium
                   physical id: 0
                   logical name: /dev/scd0

SilverWave (silverwave) wrote :
Download full text (4.4 KiB)

On restart with a cd loaded.
---
           *-cdrom
                description: DVD writer
                product: DVD-RW DVR-112D
                vendor: PIONEER
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/cdrw
                logical name: /dev/dvd
                logical name: /dev/dvdrw
                logical name: /dev/scd0
                logical name: /dev/sr0
                logical name: /media/VRMPOEM_EN
                version: 1.21
                capabilities: removable audio cd-r cd-rw dvd dvd-r
                configuration: ansiversion=5 mount.fstype=iso9660 mount.options=ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500 state=mounted status=ready
              *-medium
                   physical id: 0
                   logical name: /dev/cdrom
                   logical name: /media/VRMPOEM_EN
                   configuration: mount.fstype=iso9660 mount.options=ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500 state=mounted

---
Then eject cd
---
           *-cdrom
                description: DVD writer
                product: DVD-RW DVR-112D
                vendor: PIONEER
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/cdrw
                logical name: /dev/dvd
                logical name: /dev/dvdrw
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: 1.21
                capabilities: removable audio cd-r cd-rw dvd dvd-r
                configuration: ansiversion=5 status=nodisc
---
Then load cd again
---

           *-cdrom
                description: DVD writer
                product: DVD-RW DVR-112D
                vendor: PIONEER
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: 1.21
                capabilities: removable audio cd-r cd-rw dvd dvd-r
                configuration: ansiversion=5 status=ready
              *-medium
                   physical id: 0
                   logical name: /dev/scd0

---
20 lines from messages
---

Apr 4 02:34:12 chromium kernel: [ 15.994110] type=1505 audit(1270344852.417:11): operation="profile_load" pid=958 name="/usr/bin/evince-thumbnailer"
Apr 4 02:34:12 chromium kernel: [ 16.341732] Bridge firewalling registered
Apr 4 02:34:12 chromium kernel: [ 16.347511] virbr0: starting userspace STP failed, starting kernel STP
Apr 4 02:34:12 chromium kernel: [ 16.357090] ip_tables: (C) 2000-2006 Netfilter Core Team
Apr 4 02:34:12 chromium kernel: [ 16.376706] VBoxDrv: dbg - g_abExecMemory=ffffffffa0d3f860
Apr 4 02:34:12 chromium kernel: [ 16.376775] vboxdrv: fAsync=0 offMin=0x333 offMax=0x29df
Apr 4 02:34:12 chromium kernel: [ 16.377128] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
Apr 4 02:34:12 chromium kernel: [ 16.415656] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Apr 4 02:3...

Read more...

SilverWave (silverwave) on 2010-04-04
description: updated
SilverWave (silverwave) on 2010-04-04
description: updated
description: updated
bash (1bash) wrote :

I am experiencing the same problem.

System: Lucid Lynx 32bit
Kernel: 2.6.32-19-generic || #28-Ubuntu SMP Wed Mar 31 17:46:20 UTC 2010

Noticed that dmesg if full of errors after inserting a CD or DVD into the drive. I do _not_ get these errors on a system (also running Lucid 32bit) where automounting works.

DMESG Output attached

@SilverWave: Can you check if you also recieve these sorts of dmesg errors?

SilverWave (silverwave) wrote :

The output is attached.

I work around this by creating:

/media/cdrom0

and adding the following to fstab:

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

I still need to run this from the terminal:

mount /dev/scd0

Installing Beta 2 today/tomorrow so we will see if this is still an issue.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers