Professional Web Applications Themes

mount: /dev/cdrom: can't read superblock - Linux Setup, Configuration & Administration

Can anyone think of a reason for which I might get this error, aside from all the Mickey Mouse ones I've read in my searches so far? By Mickey Mouse, I mean: -kernel module problem -bad permission -bad cd -/dev/cdrom mis-linked -wrong options and I think that's it. I have the module compiled, in fact a lsmod gives: ide-cd 35392 0 cdrom 33216 0 [ide-cd] I'm doing this from root, and the relevant dev entries are: lrwxrwxrwx 1 root root 8 Oct 23 21:30 /dev/cdrom -> /dev/hdc brw-r--r-- 1 angus disk 22, 0 Jan 30 2003 /dev/hdc Here's my dmesg ...

  1. #1

    Default mount: /dev/cdrom: can't read superblock

    Can anyone think of a reason for which I might get this error, aside
    from all the Mickey Mouse ones I've read in my searches so far? By
    Mickey Mouse, I mean:
    -kernel module problem
    -bad permission
    -bad cd
    -/dev/cdrom mis-linked
    -wrong options
    and I think that's it. I have the module compiled, in fact a lsmod
    gives:

    ide-cd 35392 0
    cdrom 33216 0 [ide-cd]

    I'm doing this from root, and the relevant dev entries are:
    lrwxrwxrwx 1 root root 8 Oct 23 21:30 /dev/cdrom ->
    /dev/hdc
    brw-r--r-- 1 angus disk 22, 0 Jan 30 2003 /dev/hdc

    Here's my dmesg | grep hdc:
    Kernel command line: ro root=/dev/hdb2 hdc=ide-scsi
    ide_setup: hdc=ide-scsi
    ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
    hdc: Hewlett-Packard CD-Writer Plus 9100, ATAPI CD/DVD-ROM drive

    I've tried more than 1 cd, and I've tried mounting w/the options in
    fstab, and the simple:
    mount -rt iso9660 /dev/hdc /mnt/cdrom/

    And when I try cat cat /dev/cdrom:
    cat: /dev/cdrom: Input/output error

    I'm running RH9 on kernel 2.4.22.
    Angus Guest

  2. #2

    Default Re: mount: /dev/cdrom: can't read superblock

    Hello

    Angus (<com>) wrote:
     
     
    ^^^^^^^^^^^^

    You have activated ide-scsi emulation for your drive. That means you
    cannot use the IDE device files. Use SCSI cdrom device files instead.
     

    /dev/hdc is an IDE device file (secondary master). You need to use the
    correct file instaed, probably /dev/scd0.

    best regards
    Andreas Janssen

    --
    Andreas Janssen
    com
    PGP-Key-ID: 0xDC801674
    Registered Linux User #267976
    Andreas Guest

  3. #3

    Default Re: mount: /dev/cdrom: can't read superblock

    Angus <com> wrote: 

    What error?

    Oh!!!! No, the subject is not part of your post! It's a summary line
    so we can find the post on google. You have to repeat it here.

    mount: /dev/cdrom: can't read superblock

    This simply means that mount failed. We don't know what mount line we
    used. Oh yes we do:
     
     

    Well, that's beyond doubt. There is no device or device driver there.
    Whar does the kernel say when you do this?
     

    OK, points at hdc.

     

    Uhhhh ... if you are using ide-scsi, then why are you addressing it as
    hdc? To test it as a reader?
     

    What's on hdd? hdc is a writer. What can you slave to that? A reader?

    First of all, though it makes no difference, drop the ide-scsi.
    Then put a readable cd in the drive. Now address the device as
    /dev/hdc, not cdrom or anything else. Try the cat test again and
    report. All kernel errors too.

    Do you actually have ide support in your kernel ? :-)



    Peter
    P.T. Guest

  4. #4

    Default Re: mount: /dev/cdrom: can't read superblock

    Andreas Janssen <com> wrote in message news:<bnkcl5$noq$07$t-online.com>... 

    > ^^^^^^^^^^^^
    >
    > You have activated ide-scsi emulation for your drive. That means you
    > cannot use the IDE device files. Use SCSI cdrom device files instead.

    >
    > /dev/hdc is an IDE device file (secondary master). You need to use the
    > correct file instaed, probably /dev/scd0.[/ref]

    Actually, I took it for granted that whatever setup my grub.conf
    knew what it was doing--grub is a very fickle woman. Changing to
    ide-cd worked. Thanks.
    Rael Guest

  5. #5

    Default Re: mount: /dev/cdrom: can't read superblock

    Hello

    Rael (<com>) wrote:
     
    >> ^^^^^^^^^^^^
    >>
    >> You have activated ide-scsi emulation for your drive. That means you
    >> cannot use the IDE device files. Use SCSI cdrom device files instead.
    >>[/ref]
    > Actually, I took it for granted that whatever setup my grub.conf
    > knew what it was doing--grub is a very fickle woman. Changing to
    > ide-cd worked.[/ref]

    Please note that without ide-scsi, you can use your drive for reading,
    but not for writing.

    best regards
    Andreas Janssen

    --
    Andreas Janssen
    com
    PGP-Key-ID: 0xDC801674
    Registered Linux User #267976
    Andreas Guest

Similar Threads

  1. File system get auto change from read-write to read-oly
    By RC in forum Linux / Unix Administration
    Replies: 1
    Last Post: October 23rd, 10:51 PM
  2. Can't mount cdrom
    By dirk65mb in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: September 21st, 04:42 PM
  3. Filesystem superblock problem
    By Doug Laidlaw in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: August 12th, 09:28 AM
  4. Cannot mount cdrom if I use GRUB
    By Marino Fernandez in forum Debian
    Replies: 2
    Last Post: July 4th, 10:30 PM
  5. can't get a cdrom "configured" with apt-cdrom
    By Rob Weir in forum Debian
    Replies: 0
    Last Post: June 29th, 06:00 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139