Announcement

Collapse
No announcement yet.

[SOLVED] DVD ROM/RW not recognised.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] DVD ROM/RW not recognised.

    OK, so I recently had to reinstall Kubuntu 8.10

    Since then, I've not been able to use my DVD drives. I have two - one DVD-ROM and one DVD-RW. Neither of them seem to be available.

    Inserting an audio CD into them does nothing. K3B tells me that there are no CD/DVD drives installed.

    Running lspci at the command line brings up:

    Code:
    @kubuntu-desktop:~$ lspci
    00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a1)
    00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a2)
    00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a2)
    00:01.2 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a2)
    00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
    00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
    00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
    00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
    00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
    00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
    00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
    00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2)
    00:0b.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
    00:0c.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
    00:0d.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
    00:0e.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
    00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
    00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    01:00.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
    01:00.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
    01:00.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
    01:00.3 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 46)
    01:02.0 SCSI storage controller: Adaptec AHA-2930CU (rev 03)
    06:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GS] (rev a1)
    This doesn't seem to make mention of any DVD drives attached. Am I right in thinking that it should show up under lspci?

    I googled a whole bunch of pages and found some info, none of which worked. For what it's worth, my fstab looks like this below - but the caveat here is that I have already changed the line associated with the CD-ROM device (although it only shows one of them!) and it still doesn't work.

    Code:
     /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options>   <dump> <pass>
    proc      /proc     proc  defaults    0   0
    # /dev/sda3
    UUID=0ec4a1a4-e177-469d-9f47-ad43b9622ec1 /       ext3  relatime,errors=remount-ro 0   1
    # /dev/sda1
    UUID=cfedab95-2785-4835-9bd4-4fc4ba5b9bd2 /boot     ext3  relatime    0   2
    # /dev/sdb1
    UUID=95f5caf8-1521-4e60-817d-120ac0a68a81 /common    ext3  relatime    0   2
    # /dev/sda7
    UUID=75560e4e-d0c6-4809-a98b-494149cdd5ab /distros    ext3  relatime    0   2
    # /dev/sda8
    UUID=3767ad4e-bffd-453e-94d1-41b5e414e875 /home     ext3  relatime    0   2
    # /dev/sda6
    UUID=692cd76f-8b58-4024-8e66-a91be3f9c531 /restore    ext3  relatime    0   2
    # /dev/sda5
    UUID=9a8a19b9-c97c-47ee-bf25-6cc237bc4c07 /tmp      ext3  relatime    0   2
    # /dev/sda2
    UUID=bdfb2c72-3923-4ac3-94b3-9607a7727cc8 none      swap  sw       0   0
    /dev/hda   /media/cdrom0 udf,iso9660 user,auto,exec,utf8 0   0

    Can anyone tell me what it should read like? And what should it read as if I have two devices, as I do?

    Firstly I'd like to get the two drives correct in fstab. Then I'd like to see if they work from there. I know that the DVD drives work - since I used (at least) one of them to install the operating system only six weeks ago! Prior to that, they were in use every day! Working fine...

    Both DVD drives are IDE drives, both internal. Any comments are greatly appreciated.

    Thanks,

    Bag.

    #2
    Re: DVD ROM/RW not recognised.

    Run kuser, open User Properties for your username.
    Under "Groups" tab, make sure that "disk" and "cdrom" are checked.

    Comment


      #3
      Re: DVD ROM/RW not recognised.

      Thanks /bin/bash.

      I did this, but it doesn't seem to have changed anything. I needed to check the 'disk' box. The cdrom box was already checked.

      What should I do once i've completed that? Anything special? K3B still tells me that it can't detect an optical drive.

      I have the feeling that it's not a permissions thing - I think that the system can't actually see the optical drives installed...

      Any ideas?

      Bag.

      Comment


        #4
        Re: DVD ROM/RW not recognised.

        Right then. Some more info.

        The drives are both recognised in the BIOS. I have double-checked and they are definitely there and detected correctly by the BIOS.

        So then, how do I get Kubuntu to see them?

        1. I need a way to check if the kernel is seeing them and registering them somewhere - how do I do that?

        2. I then need to know if they are hda and hdb or not. How can I find this out?

        3. I need a way to mount them automagically when I boot. For this, I presume that I will need to adjust fstab. Can someone please tell me what the correct line for fstab should be. I have previously posted my fstab above, but I presume that the line in it is currently incorrect.

        Further info.

        When I click on /media, it shows three files/devices. cdrom, cdrom0, cdrom1

        None of these go anywhere when I click them.

        But I only have two optical drives - a DVD-RW and a DVD-ROM.

        Any help on the questions above would be much appreciated.

        Thanks.

        Bag.

        Comment


          #5
          Re: DVD ROM/RW not recognised.

          Couple of thoughts/observations:

          1. The optical drives should be listed on the lspci output, but they are not. That means the hardware is not detected -- a bad thing. Did you install Kubuntu from a CD? Are these drives seen in your BIOS? There's obviously more to the story here -- let's have it all -- what's the deal with your optical drives?

          2. Someone has been mucking around with your /etc/fstab file and changed the default device ID that Kubuntu sets when installed. Being in the "removable media" family of storage devices, optical drives are not hd anything. Here's the normal appearance:
          /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
          Moreover, there's only one drive shown, so one wasn't even seen during the installation. You might have a real problem with that one, or both of them.

          Comment


            #6
            Re: DVD ROM/RW not recognised.

            Hmmm....

            That's not a good thing. But the drives are detected in the BIOS and I installed Kubuntu via the DVD-RW drive anyway...!

            Fstab file was mucked about with by me trying to follow a posting I found following a google search... My fault. I've updated it - but doesn't seem to make any difference.

            Any other ideas? Later I'll try rebooting into a live Cd - got a couple of those kicking around. See if they bnoth work from that angle·..

            Thanks,

            Bag

            Comment


              #7
              Re: DVD ROM/RW not recognised.

              In recent time, the *buntu kernels (along with other Linux distributions) have used a driver called "ata piix" for optical drives (and IDE hard drives, I believe). If you google the term, you'll get an eyeful. You may need to look at Launchpad for bug reports, as well as google the universe, using the make and model of your optical drives, and your motherboard, to see whether there is a relationship between past issues with that driver, and your particular motherboard chipset and optical drive hardware.

              Comment


                #8
                Re: DVD ROM/RW not recognised.

                Right then, did some serious fiddling around last night and fixed it. Don't really know how, but it's fixed.

                I decided that I should put the fstab file right first. You may remember that I had previously done this (having cocked it up in an earlier attempt to fix it). The first time, I cocked it up by changing it from scd0 to hda or something like that. The second time (last night) I added another line.

                So updated it to put it right and have at least two entries in there. I reasoned that at the very least, the fstab should be correct so that when the system ever gets around to recognising the drives that are plugged in, at least it would be fixed.

                The important thing to note here is that this is a relatively clean install only a couple of weeks back - and yet my fstab only showed one entry - despite having two optical drives. Is this a bug?

                I definitely didn't go in there and delete a whole line in the fstab. I may be a noob but I ain't that stupid!

                So, now I have two lines in my fstab, and my fstab looks like this:

                Code:
                # /etc/fstab: static file system information.
                #
                # <file system> <mount point>  <type> <options>    <dump> <pass>
                proc      /proc      proc  defaults    0    0
                # /dev/sda3
                UUID=0ec4a1a4-e177-469d-9f47-ad43b9622ec1 /        ext3  
                relatime,errors=remount-ro 0    1
                # /dev/sda1
                UUID=cfedab95-2785-4835-9bd4-4fc4ba5b9bd2 /boot      ext3  
                relatime    0    2
                # /dev/sdb1
                UUID=95f5caf8-1521-4e60-817d-120ac0a68a81 /common     ext3  
                relatime    0    2
                # /dev/sda7
                UUID=75560e4e-d0c6-4809-a98b-494149cdd5ab /distros    ext3  
                relatime    0    2
                # /dev/sda8
                UUID=3767ad4e-bffd-453e-94d1-41b5e414e875 /home      ext3  
                relatime    0    2
                # /dev/sda6
                UUID=692cd76f-8b58-4024-8e66-a91be3f9c531 /restore    ext3  
                relatime    0    2
                # /dev/sda5
                UUID=9a8a19b9-c97c-47ee-bf25-6cc237bc4c07 /tmp      ext3  
                relatime    0    2
                # /dev/sda2
                UUID=bdfb2c72-3923-4ac3-94b3-9607a7727cc8 none      swap  
                sw       0    0
                /dev/scd0    /media/cdrom0  udf,iso9660 user,auto,exec,utf8 0    0
                /dev/scd1    /media/cdrom1  udf,iso9660 user,auto,exec,utf8 0    0
                You will remember that both drives are detected in the BIOS.
                My lspci output doesn't show that they are connected - or at least didn't. Will double-check later and see if that's changed.

                But now, both drives work!

                I really can't believe that it was as simple as an fstab change. I'd done it before and it didn't work then! And besides, it was correct before - when set up during the install - and it didn't work after that!

                But still - they both work. I've used one to write a CD last night - and both to access data DVD's. K3B recognises the drives and both now show up inserted discs in /media.

                Am a bit confused as to why it works now - but it does. And that makes me very happy!

                Another one to tick off the list of things to fix.

                I'll mark it as solved - but in all honesty I really don't think it was just a fstab problem. There must have been something else wrong too...

                Ho hum.

                Many thanks to all those that posted help.

                Cheers.

                Bag.

                INFO: I also flashed the BIOS last night - but after this was solved. The CD I burned was the one I used to flash the BIOS. Anyway, I only mention it because I hope that if there was ever a BIOS problem that contributed to this, at least it might now be solved anyway.

                Comment


                  #9
                  Re: [SOLVED] DVD ROM/RW not recognised.

                  Anyway, a bit of a follow-up. And I may have to remark this thread as only unsolved... I'm back home now, and have run "lspci" to check and see if the drives are being registered or not.

                  Output from lspci is as below:

                  Code:
                  @kubuntu-desktop:~$ lspci
                  00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a1)
                  00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a2)
                  00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a2)
                  00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
                  00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
                  00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
                  00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
                  00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
                  00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
                  00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
                  00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2)
                  00:0b.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
                  00:0c.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
                  00:0d.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
                  00:0e.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
                  00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
                  00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
                  00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
                  00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
                  00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
                  01:00.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
                  01:00.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
                  01:00.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
                  01:00.3 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 46)
                  01:02.0 SCSI storage controller: Adaptec AHA-2930CU (rev 03)
                  06:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GS] (rev a1)
                  These are IDE drives - and so I believe that they should be shown up here. Anyway, if they should show up as something else, (with another command) then please let me know how I can see them.

                  However, the current status is:

                  1. Both my DVD-RW drive (/dev/scd0) and my DVD-ROM drive (/dev/scd1) are detected in the BIOS.
                  2. I have two entries in /etc/fstab that deal with these two devices.
                  3. I can read DVD data discs in both drives.
                  4. DVD movie discs play fine.
                  5. CD audio discs do not get autodetected - and do not get notified as there in my "Devices recently plugged in" plasmoid (unlike DVD movies, DVD data discs and CD data discs)
                  6. CD audio discs cannot be found under /media/cdrom0 or /media/cdrom1
                  7. In K3B, the audio disc is shown as loaded in the correct optical drive (although it labels them as /dev/scd0 and /dev/scd1)
                  8. K3B is able to read from the audio discs and gives CD-TEXT titles from the audio CD's etc.
                  9. Neither the filesystem (and by that I mean Linux/KDE) nor Amarok are able to see the audio CD.
                  10. CD data discs though, show up fine. Able to fully dig around and see all data.

                  So this poses another problem. What's different about CD audio discs? I have tried several and none of them seem to work... it really does only seem to be an audio CD problem.

                  What is it that K3B does right, that KDE4 doesn't? How can I check the system to see if the audio CD is seen and can be viewed in Dolphin?

                  Any ideas on how to fix this would be much appreciated.

                  Thanks,

                  Bag.

                  Comment


                    #10
                    Re: [Only partially SOLVED] DVD ROM/RW not recognised.

                    Your problem is wholly solved, but you have another problem.

                    There are more users out there that cannot recognize audio CD's (search the forum for "audio" and you'll find a few). As from what I have read it might be a bug in KDE4.
                    Once your problem is solved please edit the first post of your topic and add [SOLVED] in front of the subject. In that way, others can benefit from your experience!

                    Comment


                      #11
                      Re: [Only partially SOLVED] DVD ROM/RW not recognised.

                      Audio CDs do not get mounted. Stick 'em in, tell Amarok to play an audio CD and off you go - NO MOUNTING
                      Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                      Comment


                        #12
                        Re: [Only partially SOLVED] DVD ROM/RW not recognised.

                        OK, so a dumb question here for Toad - but how do I tell Amarok to play the audio CD...??

                        I seem to have clicked just about everything - and can't find it... It certainly doesn't 'pop up' to tell me that "By the way, there's an audio CD in the tray, do you want to play it?"

                        Also, I have a little notifier in the system tray that tells me about devices recently plugged in. DVD's show up here and clicking on it will mount it and open Dolphin so that I can see the contents and dig around in the data. USB drives show up here too.

                        Audio CD's don't show up in this notifier. Not at all. Nuttin'!!! All of which is a bit bizarre. Are CD's and DVD's really that different?!!!

                        Please let me know what I should look for in Amarok and I'll give it a whirl. Will let you know.

                        Thanks,

                        Bag.

                        Comment


                          #13
                          Re: [Only partially SOLVED] DVD ROM/RW not recognised.

                          Dumb question? I wouldn't even call it a dumb question if I knew the answer

                          But I think you may be pleasantly surprised if you stick your audio CD in, call up amarok - file - audioCD (or some such).
                          Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                          Comment


                            #14
                            Re: [Only partially SOLVED] DVD ROM/RW not recognised.

                            Sheepish response coming up, 'cos it really wasn't that difficult to find the way to play an audio CD once I tried looking through the commands. Previously, I'd been clicking all of the tabs on the left hand side - and couldn't see anything...

                            Anyway, despite doing this - it doesn't work.

                            So I still have the same problem - although I'm much more clued up on how to use Amarok (when I finally get the audio CD problem fixed!)

                            Will follow JohanLingen's suggestion above to search the forums - see if it really is an audio CD problem within KDE4 and not my system...

                            Thanks.

                            Bag

                            Comment


                              #15
                              Re: [Only partially SOLVED] DVD ROM/RW not recognised.

                              And another sheepish response. Wasn't that hard really once I actually tried to search and solve it... D'oh!

                              Amarok required that the Xine engine be told where/how the CD/DVD drive was mounted. I needed to tell it that it was at /dev/scd0.

                              Interestingly, I wasn't able to tell it that it was /media/cdrom which is the same thing... Would you generally class this as a bug?

                              It would seem unusual (in my non-developer's hat, here) that Amarok is not able to scan for active CD/DVD drives and update the engine itself, either on installation or periodically. Also, I have two drives - but there seems space for only one. Is there a command that I can put in that entry that would point to both drives? I might use either depending upon what I'm doing... that's all.

                              Other than that - this is pretty much solved. Still not able to see Audio CDs in my device notifier but still, I can live with that, I suppose.

                              Thanks.

                              Bag.

                              Comment

                              Working...
                              X