CD/DVD drive not mounted when inserted with Disc of any kind

Posted by Cisco Sán on Ask Ubuntu See other posts from Ask Ubuntu or by Cisco Sán
Published on 2011-11-07T18:10:37Z Indexed on 2012/04/16 5:46 UTC
Read the original article Hit count: 274

Filed under:

I just noticed that if a insert a CD or a DVD of any kind, the Drive will start spinning but it will not show the mounted disc. Before it used to ask me what to do with the media inserted. Now it doesn't even do that. I ran in the terminal this code: eject -n and it displays this: " eject: device is `/dev/sr0'" what can I do to get the functionality back on my drive.

also ran this command: sudo mount -o ro,unhide,uid=1000 /dev/cdrom /mnt/cdrom but in return i get this: " mount: mount point /mnt/cdrom does not exist"

Running Ubuntu 11.10


  • thanks Waltinator: I ran the 'dmesg' but don't know what I'm looking for. Im a newbie on this. The same thing with the 'ls -rlt /var/log' command. Should I create the directory for the mount? at this point really don't know what to do. – Cisco Sán 7 hours ago

  • Here are 3 lines from my dmesg after I successfully inserted a CD:
    [ 4804.416018] wlan0: no IPv6 routers present
    [ 8214.125450] ISdit ISO 9660 Extensions: Microsoft Joliet Level 3
    [ 8214.136556] ISO 9660 Extensions: RRIP_1991A

The first line is a previous event, my wireless going online. The next 2 lines are a good result. The number in square brackets is "seconds since boot", the rest of the line is usually helpful. And no, you should NOT create the mount point. Let's try to get the automatic mounting to work. – waltinator 7 hours ago

  • ok this are my last 3 lines on the 'dmesg'
    [ 18.130819] init: plymouth-stop pre-start process (1396) terminated with status 1
    [ 28.780011] wlan0: no IPv6 routers present
    [ 505.632119] CE: hpet increased min_delta_ns to 20113 nsec

– Cisco Sán 6 hours ago

  • It looks like your CD/DVD drive is not connected to the data bus, and not causing an interrupt when you insert a platter. – waltinator 6 hours ago

  • Try dmesg | grep -A8 CD-ROM which should show you what the system thought was available when it came up. – waltinator 6 hours ago

  • here is my printout
    [0.774351] scsi 0:0:0:0: CD-ROM HL-DT-ST DVD+-RW GSA-T40N A100 PQ: 0 ANSI: 5
    [0.778117] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray [0.778122] cdrom: Uniform CD-ROM driver Revision: 3.20
    [0.778282] sr 0:0:0:0: Attached scsi CD-ROM sr0
    [0.778340] sr 0:0:0:0: Attached scsi generic sg0 type 5
    [0.780416] Freeing unused kernel memory: 984k freed
    [0.780732] Write protecting the kernel read-only data: 10240k
    [0.780986] Freeing unused kernel memory: 20k freed
    [0.786331] Freeing unused kernel memory: 1400k freed
    [0.804912] udevd[90]: starting version 173
    [0.874178] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    [0.874208] r8169 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16

  • OK, your system sees the drive. Can you open and close the tray with eject and eject -t? Run udevadm monitor while you insert a CD (type ^C when done) and see if you get "change" and "add" messages. – waltinator 6 hours ago

  • ok, "eject" works perfectly "eject -t" does nothing. this is the message for "udevadm monitor":
    KERNEL[13771.009267] change /devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sr0 (block)
    UDEV [13773.878887] change /devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0 /block/sr0 (block)

– Cisco Sán 6 hours ago

  • sudo hwinfo --cdrom (the hwinfo package is installable through Software Center) describes my CD-ROM, try it. – waltinator 4 hours ago

My read out from the "sudo hwinfo --cdrom" are the following:

hal.1: read hal dataprocess 2753: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 280.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
22: SCSI 00.0: 10602 CD-ROM (DVD)
[Created at block.247]
Unique ID: KD9E.JgkxTS4hgl2
Parent ID: 3p2J.gdUMCD83e+E
SysFS ID: /class/block/sr0
SysFS BusID: 0:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0
Hardware Class: cdrom
Model: "HL-DT-ST DVD+-RW GSA-T40N"
Vendor: "HL-DT-ST"
Device: "DVD+-RW GSA-T40N"
Revision: "A100"
Driver: "ata_piix", "sr"
Driver Modules: "ata_piix"
Device File: /dev/sr0 (/dev/sg0)
Device Files: /dev/sr0, /dev/scd0, /dev/disk/by-id/ata-HL-DT-ST_DVD+_-RW_GSA-T40N_K048BJ74257, /dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0, /dev/cdrom, /dev/cdrw, /dev/dvd, /dev/dvdrw
Device Number: block 11:0 (char 21:0)
Features: DVD
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #17 (IDE interface)
Drive Speed: 31
Volume ID: "Movie"
Publisher: "INTERVIDEO"
Creation date: "20050424162207000"

Thanks for the help. To Castro, hope this is what you meant and sorry for the comments..

© Ask Ubuntu or respective owner

Related posts about mount

Related posts about automount