LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Can't mount dvd, can't read superblock (https://www.linuxquestions.org/questions/linux-hardware-18/cant-mount-dvd-cant-read-superblock-719160/)

noviciado 04-14-2009 09:09 PM

Can't mount dvd, can't read superblock
 
Hello,

I've looked at a lot of posts with this error, but didn't seem to find a solution--or, admittedly, didn't understand some solutions to think them relevant (e.g. I don't know if this scsi vs. IDE device files is applicable http://forum.soft32.com/linux2/mount...pict46449.html -- i do not see ide-cd listed in lsmod).

This is the error:

Code:

# mount /dev/hda /mnt/dvd/
mount: block device /dev/hda is write-protected, mounting read-only
mount: /dev/hda: can't read superblock

Code:

# mount -t iso9660 /dev/hda /mnt/dvd
mount: block device /dev/hda is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hda,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

Here's a look at my fstab:

Code:

# cat /etc/fstab
/dev/sda5        swap            swap          defaults        0  0
/dev/sda1        /                ext3          defaults        1  1
/dev/sda6        /usr            ext3          defaults        1  2
/dev/sda7        /home            ext3          defaults        1  2
/dev/hdb        /mnt/cdrom      auto          noauto,owner,ro  0  0
/dev/hda        /mnt/dvd        udf,iso9660  noauto,owner,ro  0  0
devpts          /dev/pts        devpts        gid=5,mode=620  0  0
proc            /proc            proc          defaults        0  0
tmpfs            /dev/shm        tmpfs        defaults        0  0

(I also tried replacing udf,iso9660 with "auto", and I receive the same error)

Code:

# dmesg | tail
end_request: I/O error, dev hda, sector 0
FAT: unable to read boot sector
hda: tray open
ATAPI device hda:
  Error: Not ready -- (Sense key=0x02)
  No reference position found (media may be upside down) -- (asc=0x06, 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 hda, sector 64
isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16

dmesg | grep hda gives a whole lot of:
Code:

...
ATAPI device hda:
end_request: I/O error, dev hda, sector 532
hda: tray open
ATAPI device hda:
end_request: I/O error, dev hda, sector 528
hda: tray open
ATAPI device hda:
end_request: I/O error, dev hda, sector 532
hda: tray open
ATAPI device hda:
end_request: I/O error, dev hda, sector 0
hda: tray open
ATAPI device hda:
end_request: I/O error, dev hda, sector 64
isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16

The tray is physically closed and unobstructed, if that is what that was getting at.

I have tried to mount from root. Relevant dev entries:
Code:

# ls -al /dev/ | grep hda
lrwxrwxrwx  1 root root        3 2009-04-14 13:39 cdrom -> hda
lrwxrwxrwx  1 root root        3 2009-04-14 13:39 cdrom0 -> hda
brw-rw----  1 root cdrom  3,  0 2009-04-14 13:39 hda

Code:

# cat /dev/hda
cat: /dev/hda: Input/output error

And a look at the hardware:
Code:

# lshw -short | grep dev
/0/100/1f.1/0/0        /dev/hda  disk          HL-DT-STDVD-ROM GDR8163B
/0/100/1f.1/0/0/0      /dev/hda  disk         
/0/100/1f.1/0/1        /dev/hdb  disk          HL-DT-ST GCE-8487B
/0/100/1f.1/0/1/0      /dev/hdb  disk         
/0/100/1f.2/0.0.0      /dev/sda  disk          40GB ST340014AS
/0/100/1f.2/0.0.0/1    /dev/sda1  volume        980MiB EXT3 volume
/0/100/1f.2/0.0.0/2    /dev/sda2  volume        36GiB Extended partition
/0/100/1f.2/0.0.0/2/5  /dev/sda5  volume        980MiB Linux swap / Solaris partition
/0/100/1f.2/0.0.0/2/6  /dev/sda6  volume        3914MiB Linux filesystem partition
/0/100/1f.2/0.0.0/2/7  /dev/sda7  volume        31GiB Linux filesystem partition

Thanks in advance for any suggestions.

onebuck 04-15-2009 07:46 AM

Hi,

Lot of useful information! Except for which distribution along with the kernel being used. Newer kernels don't utilize the 'ide-cd' module.

noviciado 04-15-2009 07:22 PM

Quote:

Lot of useful information! Except for which distribution along with the kernel being used.
Whoops! (And I thought I had been thorough.)
I'm running Slackware 12.2, kernel 2.6.27.7-smp.

Let me know if I should include anything else. Thanks!

onebuck 04-16-2009 07:09 AM

Hi,

What type of media are you trying to mount from your cdrom? ISO?

noviciado 04-16-2009 12:42 PM

Hmm, I _was_ trying to improperly mount an .iso I now realize, BUT it also gave me the same error for a video dvd (I have dvdlibcss, mplayer and mplayer codecs installed).
Code:

# find /usr/ -iname '*libdvdcss*'
/usr/lib/libdvdcss.la
/usr/lib/libdvdcss.so
/usr/lib/pkgconfig/libdvdcss.pc
/usr/lib/libdvdcss.so.2
/usr/lib/libdvdcss.so.2.1.0
/usr/local/src/libdvdcss-1.2.10-i486-2sl.tgz
/usr/doc/libdvdcss-1.2.10
/usr/doc/libdvdcss-1.2.10/libdvdcss.SlackBuild

# find /usr/local -iname '*mplayer*'
/usr/local/src/mplayer.tar.gz
/usr/local/src/mplayer
/usr/local/src/mplayer/mplayer-svn_20081215.tar.bz2
/usr/local/src/mplayer/mplayer.info
/usr/local/src/mplayer/mplayer.SlackBuild
/usr/local/src/mplayer-codecs-all.tar.gz
/usr/local/src/mplayer-codecs-all
/usr/local/src/mplayer-codecs-all/mplayer-codecs-all.SlackBuild
/usr/local/src/mplayer-codecs-all/mplayer-codecs-all.info

I think this was all I should need to be able to read an encrypted DVD, right? Even if I missed something, I thought it would still mount and then give me an error message about not reading the disk.

also, with the cd-rom, I can
# cat /dev/hdb
before mounting, and have it return all the data, but with the dvd

Code:

# cat /dev/hda
cat: /dev/hda: Input/output error

Regarding an .iso dvd, is there a way to mount if you don't know the .iso filename, instead of:

# mount -t iso9660 -o loop filename.iso /mnt/dvd

or is there a way to find out the name of the .iso? I tried putting it into a SUSE machine; it gets automounted and I'm not sure how to parse out the original iso name to try that.
Thanks!

noviciado 05-06-2009 11:32 AM

Just checking in..
I still haven't resolved this; anyone have a hint or clue?
I read in another post to check
Code:

# modprobe loop                                           
FATAL: Module loop not found.

I can mount an iso from a cd though, just not from a dvd (dvd is readable/mountable on other machines).

Code:

# mount -t iso9660 -o loop /dev/hdb /media/cdrom
works! Though I cannot boot from this drive!?
# mount -t iso9660 -o loop /dev/hda /media/dvd
Code:

mount: wrong fs type, bad option, bad superblock on /dev/loop1,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

and

Code:

# mount -t iso9660 -o ro,loop=/dev/loop0 /dev/hda /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

# dmesg | tail
Buffer I/O error on device hda, logical block 16
hda: tray open
ATAPI device hda:
  Error: Not ready -- (Sense key=0x02)
  No reference position found (media may be upside down) -- (asc=0x06, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 11 00 00 01 00 00 00 00 00 00 00 "
end_request: I/O error, dev hda, sector 68
Buffer I/O error on device hda, logical block 17
isofs_fill_super: bread failed, dev=loop0, iso_blknum=16, block=32

On a similar note, I cannot boot from the cdrom drive either...the same cd I originally installed slackware with.


All times are GMT -5. The time now is 06:13 AM.