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: 308

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

HERE IS THE HISTORY UNTIL NOW

  • 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

  • 12.10 update breaks NFS mount

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I've just upgraded to the latest 12.10 beta. Rebooted twice. The problem is with the NFS folders not mounting, here's a verbose log. # mount -v myserver:/nfs_shared/tools /tools/ mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Mon Oct 1 11:42:28 2012 mount… >>> More

  • Mount SMB / AFP 13.10

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I cannot seem to get Ubuntu to mount a mac share via SMB or AFP. I've tried the following... AFP: apt-get install afpfs-ng-utils mount_afp afp://user:password@localip/share /mnt/share Error given: "Could not connect, never got a reponse to getstatus, Connection timed out". Which is odd as I can… >>> More

  • Mount Return Code for CIFS mount

    as seen on Server Fault - Search for 'Server Fault'
    When I run the following command (as root or via sudo) from a bash script I get an exit status (or return code in mount man page parlance) of 1: mount -v -t cifs //nasbox/volume /tmpdir/ --verbose -o credentials=/root/cifsid & /tmp/mylog It outputs the following into the myflog file: parsing… >>> More

  • Disable raid member check upon mount to mount damaged nvidia raid1 member

    as seen on Server Fault - Search for 'Server Fault'
    Hi, A friend of mine destroyed his Nvidia RAID1 array somehow and in trying to fix it, he ended up with a non-working array. Because of the RAID metadata, the actual disk data was stored at an offset from the beginning. I was able to identify this offset with dd and a hexeditor and then I used losetup… >>> More

  • Network shares do not mount.

    as seen on Super User - Search for 'Super User'
    My network shares were mounting fine yesterday.. suddenly they are not. They were mounting fine for the last two weeks or however long since I added them. When I run sudo mount -a I get the following error: topsy@monolyth:~$ sudo mount -a mount error(12): Cannot allocate memory Refer to the mount… >>> More

Related posts about automount