LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-14-2009, 09:09 PM   #1
noviciado
Member
 
Registered: Feb 2009
Distribution: Slackware 13.0 (2.6.29.6-smp)
Posts: 47

Rep: Reputation: 15
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.
 
Old 04-15-2009, 07:46 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Lot of useful information! Except for which distribution along with the kernel being used. Newer kernels don't utilize the 'ide-cd' module.
 
Old 04-15-2009, 07:22 PM   #3
noviciado
Member
 
Registered: Feb 2009
Distribution: Slackware 13.0 (2.6.29.6-smp)
Posts: 47

Original Poster
Rep: Reputation: 15
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!
 
Old 04-16-2009, 07:09 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

What type of media are you trying to mount from your cdrom? ISO?
 
Old 04-16-2009, 12:42 PM   #5
noviciado
Member
 
Registered: Feb 2009
Distribution: Slackware 13.0 (2.6.29.6-smp)
Posts: 47

Original Poster
Rep: Reputation: 15
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!
 
Old 05-06-2009, 11:32 AM   #6
noviciado
Member
 
Registered: Feb 2009
Distribution: Slackware 13.0 (2.6.29.6-smp)
Posts: 47

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs mount can't read superblock nafan Linux - Networking 11 09-08-2016 09:22 PM
mount: /dev/sda: can't read superblock xeon123 Linux - General 4 08-18-2008 01:42 PM
dvd-r and 'cant read superblock' bashyow Linux - Hardware 2 06-23-2008 07:26 PM
mount: server:/home can't read superblock phil.d.g Linux - General 0 05-11-2006 04:03 PM
mount: /dev/cdrom: can't read superblock raynmune Linux - Hardware 7 07-09-2005 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration