Results 1 to 10 of 10

Thread: Need Help setting up cd-rw and dvd drives..........

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    4

    Need Help setting up cd-rw and dvd drives..........

    I installed Knoppix to the HD and now i cant use my cd-rw and dvd drives. The floppy drive wasnt working either but i was able to fix it, but i cannot get these to work. here are some of the tests i have run from reading other posts

    Code:
    dmesg | grep CD
    gives me....

    hdc: HL-DT-STDVD-ROM GDR8161B, ATAPI CD/DVD-ROM drive
    hdd: HL-DT-ST GCE-8481B, ATAPI CD/DVD-ROM drive
    Uniform CD-ROM driver Revision: 3.12
    hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache

    Code:
    dmesg | grep sc
    gives me...

    scsi0 : SCSI host adapter emulation for IDE ATAPI devices

    Code:
     and here is my fstab
    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda3 / ext2 defaults,errors=remount-ro 0 1
    /dev/hda5 none swap sw 0 0
    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0
    # Added by KNOPPIX
    /dev/hda2 /mnt/hda2 ext3 noauto,users,exec 0 0

    please help

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    and dmesg|grep sr is telling you? if i am not far wrong the cd will be found as srX.
    and you might have to add the lines in bold to your /etc/lilo.conf:

    # LILO configuration file
    # Start LILO global section
    append = hdc="ide-scsi" hdd="ide-scsi"
    boot = /dev/hda
    prompt
    timeout = 50
    then it is time to check where the links /etc/cdrom and /etc/dvd point. they should be pointing to the right device (that you got from dmesg|sr if i am not all wrong).

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    4
    when i type

    Code:
    dmesg|grep sr
    nothing happens it just shows

    Code:
    root@mybox:/home/knoppix#
    also im sorry , but i forgot to mention im using the grub bootloader, here is my grub.conf

    Code:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /boot/, eg.
    #          root (hd0,1)
    #          kernel /vmlinuz-version ro root=/dev/hda3
    #          initrd /initrd-version.img
    #boot=/dev/hda
    default=2
    timeout=10
    splashimage=(hd0,1)/grub/splash.xpm.gz
    title WindowsXP
    	rootnoverify (hd0,0)
    	chainloader +1
    title Knoppix
    	root (hd0,2)
    	kernel /vmlinuz ro root=/dev/hda3
    when i type

    Code:
    dmesg|grep sr
    i get nothing, so i added what you said to the grub.conf, and still nothing.

    more help will be appreciated

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    However you do it with grub you need an append="hdc=ide-scsi hdd=ide-scsi" in the grub.conf to tell the system that the CD's are using scsi emulation.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    in grub you should have the line:
    hdc=ide-scsi hdd=ide-scsi
    that is no append and no "" needed.
    EDIT according to previous poster they are needed, hmm try both
    one of them should work. /EDIT
    if not what do
    Code:
    dmesg|grep sc
    and
    Code:
    dmesg|grep CD
    give as output?

    hmm, what does
    Code:
    hdparm /dev/hdc
    and
    Code:
    hdparm /dev/hdd
    say?

    keep trying.
    OE

  6. #6
    Junior Member
    Join Date
    Apr 2004
    Posts
    4
    ok i added

    Code:
    hdc=ide-scsi hdd=ide-scsi
    so now when i type

    Code:
    dmesg|grep CD
    i get

    Code:
    hdc: HL-DT-STDVD-ROM GDR8161B, ATAPI CD/DVD-ROM drive
    hdd: HL-DT-ST GCE-8481B, ATAPI CD/DVD-ROM drive
      Type:   CD-ROM                             ANSI SCSI revision: 02
      Vendor: HL-DT-ST  Model: CD-RW GCE-8481B   Rev: 1.01
      Type:   CD-ROM                             ANSI SCSI revision: 02
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
    Uniform CD-ROM driver Revision: 3.12
    this is diffrent from before.
    //edit Which one is my cd-rw drive and which is my dvd drive?

    when i type

    Code:
    dmesg|grep sr
    i get

    Code:
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
    sr0: scsi3-mmc drive: 20x/48x cd/rw xa/form2 cdda tray
    sr1: scsi3-mmc drive: 40x/48x writer cd/rw xa/form2 cdda tray
    this is also diffrent from before

    when i type

    Code:
    hdparm /dev/hdc
    i get

    Code:
     
    HDIO_GET_MULTCOUNT failed: Invalid argument
     IO_support   =  0 (default 16-bit)
     unmaskirq    =  0 (off)
     using_dma    =  0 (off)
     keepsettings =  0 (off)
     readonly     =  0 (off)
     BLKRAGET failed: Invalid argument
     HDIO_GETGEO failed: Invalid argument
    when i tupe

    Code:
    hdparm /dev/hdd
    i get

    Code:
     HDIO_GET_MULTCOUNT failed: Invalid argument
     IO_support   =  0 (default 16-bit)
     unmaskirq    =  0 (off)
     using_dma    =  0 (off)
     keepsettings =  0 (off)
     readonly     =  0 (off)
     BLKRAGET failed: Invalid argument
     HDIO_GETGEO failed: Invalid argument
    are we geting closer to the solution?

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by animated
    ok i added

    Code:
    hdc=ide-scsi hdd=ide-scsi
    so now when i type

    Code:
    dmesg|grep CD
    i get

    Code:
    hdc: HL-DT-STDVD-ROM GDR8161B, ATAPI CD/DVD-ROM drive
    hdd: HL-DT-ST GCE-8481B, ATAPI CD/DVD-ROM drive
      Type:   CD-ROM                             ANSI SCSI revision: 02
      Vendor: HL-DT-ST  Model: CD-RW GCE-8481B   Rev: 1.01
      Type:   CD-ROM                             ANSI SCSI revision: 02
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
    Uniform CD-ROM driver Revision: 3.12
    this is diffrent from before.
    //edit Which one is my cd-rw drive and which is my dvd drive?
    From the naming of the drives in the output I will go with the hdc entry.



    are we geting closer to the solution?
    Yes the drives are detected as they should be now you need to tell us how you have tried to access the drives now that they are correctly detected and this need to be explained better than it does not work like in your first post. A couple of things you can do if the drives do not work is check the links eg. ls -l /dev/cdrom, ls -l /dev/cdrom1, ls -l /dev/dvd and you should follow the links to these links to get to the underlying device:

    Code:
    >$ ls -l /dev/cdrom
    lrwxrwxrwx    1 root     root           11 2004-03-30 22:40 /dev/cdrom -> /dev/cdrom0
    >$ ls -l /dev/cdrom0
    lrwxrwxrwx    1 root     root            9 2004-03-30 22:40 /dev/cdrom0 -> /dev/scd0
    
    >$ ls -l /dev/dvd
    lrwxrwxrwx    1 root     root            9 2004-03-30 22:40 /dev/dvd -> /dev/scd0
    This shows me that my /dev/cdrom is linked to the /dev/cdrom0 which in turn links to the real device /dev/scd0. For the /dev/dvd link it shows that when I made it I just put it to the device directly and did not bother with another link in between. If I am correct and the hdc entry is your DVD eg it is the first device you have in windows and the rw is the second then the links for any device you want to use it for should lead to the /dev/scd0 and the links for the cdrw should be going to the /dev/scd1. Now it is a little hard to tell you which way to set the links up without knowing how you want/prefer to have them setup but obviously you want the /dev/dvd to point to the actual dvd player so you would as root assuming I am right about the location ln -sf /dev/scd0 /dev/dvd if the link to the /dev/dvd does not point to the correct device now. So tell us how you want the links setup and anything you have done trying to access the drives now.

    One more thing I usually change the entries in the /etc/fstab to the /dev/scd0 and /dev/scd1 if there is a second device to use tha actual devices instead of the links so you would if you want to do the same in your /etc/fstab use:

    Code:
    /dev/scd0 /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0 
    /dev/scd1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
    Instead of.

    Code:
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0 
    /dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0

  8. #8
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    it say sr0 and sr1 in output.
    sr0 seems to be dvd and sr1 cdburner.
    so changing the links to those should work, /dev/cdrom to /dev/sr1 and /dev/dvd to sr0.
    Code:
    ln -sf /dev/sr0 /dev/dvd
    and
    Code:
    ln -sf /dev/sr1 /dev/cdrom
    btw. why scd? have i missed something?
    srX has worked for me and several others, as his output say srX why scdX?

  9. #9
    Junior Member
    Join Date
    Apr 2004
    Posts
    4
    thanks! The drives seem to work now

    I did

    Code:
    ln -s /dev/sr0 /dev/dvd
    ln -s /dev/sr1 /dev/cdrom
    then i created icons for the new devices on my desktop and everything worked

    thanks for all the help

  10. #10
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    great it worked
    have a nice penguin life then

Similar Threads

  1. CD and DVD drives
    By Markus in forum Tips and Tricks
    Replies: 20
    Last Post: 04-14-2006, 12:18 AM
  2. setting up wNIC??..
    By mb in forum Networking
    Replies: 0
    Last Post: 12-15-2004, 02:34 AM
  3. need help setting up MythTV
    By JamalNJ in forum General Support
    Replies: 1
    Last Post: 05-27-2004, 12:48 AM
  4. Setting Static IP
    By A. Jorge Garcia in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-13-2004, 09:08 PM
  5. 2 CD drives...
    By Chris in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-17-2003, 08:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



Lot of 4 16GB SK Hynix HMA82GR7AFR8N-VK 2RX8 DDR4 PC4-2666V RDIMM Server Memory picture

Lot of 4 16GB SK Hynix HMA82GR7AFR8N-VK 2RX8 DDR4 PC4-2666V RDIMM Server Memory

$374.99



SK hynix 32GB PC4-25600 DDR4-3200 Memory - HMAA4GR7AJR8N-XN picture

SK hynix 32GB PC4-25600 DDR4-3200 Memory - HMAA4GR7AJR8N-XN

$189.99



4 x Micron 64GB 4DRX4 PC4-2666V-LE2-11 MTA72ASS8G72LZ (1829) Server RAM picture

4 x Micron 64GB 4DRX4 PC4-2666V-LE2-11 MTA72ASS8G72LZ (1829) Server RAM

$850.00



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Intel Optane NMA1XXD128GPS DDR4 2666 4Rx4 ECC 128GB Server Ram picture

Intel Optane NMA1XXD128GPS DDR4 2666 4Rx4 ECC 128GB Server Ram

$80.00



Lot Of 4 - M393A2K43DB3-CWE Samsung 16GB 2RX8 PC4-25600 (DDR4-3200) Memory picture

Lot Of 4 - M393A2K43DB3-CWE Samsung 16GB 2RX8 PC4-25600 (DDR4-3200) Memory

$329.95



Lot Of 4 NEW SAMSUNG 16GB PC4-2933Y-RC2-12-DC1 Memory picture

Lot Of 4 NEW SAMSUNG 16GB PC4-2933Y-RC2-12-DC1 Memory

$299.00



Micro SD Adapter To SD HC SDHC Memory Card Adapter Reader NEW picture

Micro SD Adapter To SD HC SDHC Memory Card Adapter Reader NEW

$1.39