Find the answer to your Linux question:
Results 1 to 2 of 2
Im having trouble mounting my dvd and cd-rw drives. First of all I'm using: Debian 2.6.23 (was using 2.6.8 before and had same problems) CD-Writer is the master /dev/hdc DVD ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    15

    Trouble Mounting DVD/CD Drives


    Im having trouble mounting my dvd and cd-rw drives.

    First of all I'm using:
    Debian 2.6.23 (was using 2.6.8 before and had same problems)
    CD-Writer is the master /dev/hdc
    DVD is the slave /dev/hdd

    EDIT: I forgot to type "-t iso9660" in this post. when i actually did try to run the commands I did include a type. I even tried using auto as a type.


    Trying to mount manually i get:
    Code:
    mount /dev/hdd /mnt/cdrom //cdrom, cdrom0,cdrom1 - it doesn't matter
    mount: block device /dev/hdd is write-protected, mounting read-only
    mount: /dev/hdd: can't read superblock
    Trying to mount via /etc/fstab i get
    Code:
    vic:/home/jeremy# mount /media/cdrom
    mount: wrong fs type, bad option, bad superblock on /dev/hdd,
           missing codepage or other error
           In some cases useful info is found in syslog - try
           dmesg | tail  or so
    This is the same for hdc and hdd.

    I have recompiled my kernel using the option "use multi mode by default" under the ATAPI/ATA/IDE sections because if you look at the help in make menuconfig it says that if i get:
    Code:
    hdd: command error: status=0x51 { DriveReady SeekComplete Error }
    hdd: command error: error=0x50 { LastFailedSense=0x05 }
    ...to select that option.

    As you can see, I still get that in dmesg (after recompiling):

    This is dmesg after trying to mount manually:
    Code:
    dmesg | tail
    hdc: command error: status=0x51 { DriveReady SeekComplete Error }
    hdc: command error: error=0x50 { LastFailedSense=0x05 }
    ide: failed opcode was: unknown
    ATAPI device hdc:
      Error: Illegal request -- (Sense key=0x05)
      Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
      The failed "Read 10" packet command was:
      "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
    end_request: I/O error, dev hdc, sector 0
    FAT: unable to read boot sector
    This is dmesg after trying to mount via fstab:
    Code:
    dmesg | tail hdd: command error: status=0x51 { DriveReady SeekComplete Error }
    hdd: command error: error=0x50 { LastFailedSense=0x05 }
    ide: failed opcode was: unknown
    ATAPI device hdd:
      Error: Illegal request -- (Sense key=0x05)
      Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
      The failed "Read 10" packet command was:
      "28 00 00 00 00 10 00 00 01 00 00 00 00 00 00 00 "
    end_request: I/O error, dev hdd, sector 64
    isofs_fill_super: bread failed, dev=hdd, iso_blknum=16, block=16
    Here is my /etc/fstab:
    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    /dev/hdb1       /               ext2    defaults,errors=remount-ro 0       1
    /dev/hdb5       /home           ext2    noatime         0       2
    /dev/hdb6       /usr            ext3    defaults        0       2
    /dev/hda2       none            swap    sw              0       0
    /dev/hdb3       none            swap    sw              0       0
    /dev/hdd        /media/cdrom0   iso9660 ro,user,noauto  0       0
    /dev/hdc        /media/cdrom1   iso9660 ro,user,noauto  0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
    And here is lsmod just in case:
    Code:
     lsmod
    Module                  Size  Used by
    sr_mod                 16808  0
    scsi_mod              149548  1 sr_mod
    ipv6                  246372  8
    ppp_generic            27668  0
    slhc                    6656  1 ppp_generic
    af_packet              21768  2
    pcspkr                  3328  0
    snd_mpu401              8680  0
    snd_mpu401_uart         8448  1 snd_mpu401
    snd_rawmidi            24256  1 snd_mpu401_uart
    snd_seq_device          8460  1 snd_rawmidi
    analog                 11840  0
    gameport               15880  1 analog
    floppy                 58052  0
    parport_pc             35940  0
    parport                35912  1 parport_pc
    8139cp                 22152  0
    snd_intel8x0           31556  0
    snd_ac97_codec         90032  1 snd_intel8x0
    ac97_bus                2432  1 snd_ac97_codec
    snd_pcm_oss            42432  0
    snd_mixer_oss          16768  1 snd_pcm_oss
    snd_pcm                74384  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer              23432  1 snd_pcm
    snd                    50404  10 snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    soundcore               8544  1 snd
    snd_page_alloc         10760  2 snd_intel8x0,snd_pcm
    i2c_i801                8720  0
    i2c_core               24976  1 i2c_i801
    rng_core                5508  0
    shpchp                 34080  0
    pci_hotplug            27424  1 shpchp
    intel_agp              23700  1
    uhci_hcd               23828  0
    usbcore               128412  2 uhci_hcd
    8139too                26000  0
    mii                     5760  2 8139cp,8139too
    agpgart                34608  1 intel_agp
    tsdev                   8672  0
    mousedev               13352  1
    isofs                  34872  0
    dm_snapshot            19104  0
    dm_mirror              23936  0
    dm_mod                 57824  2 dm_snapshot,dm_mirror
    psmouse                38696  0
    ide_cd                 40072  0
    cdrom                  38720  2 sr_mod,ide_cd
    genrtc                 10060  0
    ext3                  126728  1
    jbd                    58536  1 ext3
    ide_disk               17280  7
    ide_generic             1536  0 [permanent]
    via82cxxx               9348  0 [permanent]
    trm290                  4356  0 [permanent]
    triflex                 3712  0 [permanent]
    slc90e66                5760  0 [permanent]
    sis5513                14472  0 [permanent]
    siimage                10624  0 [permanent]
    serverworks             7428  0 [permanent]
    sc1200                  5760  0 [permanent]
    rz1000                  3072  0 [permanent]
    piix                    9988  0 [permanent]
    pdc202xx_old            8448  0 [permanent]
    pdc202xx_new            7552  0 [permanent]
    opti621                 4740  0 [permanent]
    ns87415                 4372  0 [permanent]
    hpt366                 16256  0 [permanent]
    hpt34x                  4608  0 [permanent]
    generic                 5256  0 [permanent]
    cy82c693                4740  0 [permanent]
    cs5530                  6016  0 [permanent]
    cs5520                  5120  0 [permanent]
    cmd64x                  9500  0 [permanent]
    atiixp                  6416  0 [permanent]
    amd74xx                13852  0 [permanent]
    alim15x3               11660  0 [permanent]
    aec62xx                 6528  0 [permanent]
    ide_core              105792  28 ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx
    unix                   28336  380
    ls /dev lists cdrom,hdc,hdd
    uname -a says my new kernel is being used and there are cd's in both drives.

    I can hear the drives spinning when I try to mount manually but not when I use fstab. I have tried all this under root and regular user.


    Can anyone help me figure this out?

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Posts
    15
    Also fdisk
    Code:
    fdisk /dev/hdd //or /dev/hdc
    You will not be able to write the partition table.
    
    Unable to read /dev/hdd

Posting Permissions

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