Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CD Drive wont mount: bad superblock on /dev/cdrom
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
PaulBain
Apprentice
Apprentice


Joined: 14 Jun 2005
Posts: 159
Location: Coventry, UK

PostPosted: Sun Aug 13, 2006 10:29 am    Post subject: CD Drive wont mount: bad superblock on /dev/cdrom Reply with quote

I have just finished installing my freevo box but the CD rom drive isnt working.

When i try to mount the cdrom from the console the following is printed:

Code:

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


Nothing seems to work, I have tried data dvd's etc...

My fstab has:
Code:

/dev/hda1               /boot           ext2            noauto,noatime  1 2
/dev/hda3               /               ext3            noatime         0 1
/dev/hda2               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      iso9660         noauto,ro       0 0
/dev/hdd2               /media          ext3            noatime         0 0


dmesg | tail gives:
Code:

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50 { LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16


My /dev/cdrom symlink shows:
Code:

media ~ # ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Aug 13 09:24 /dev/cdrom -> hdc


Any help would be great, I know its probably something simple but I'm stuck!

Thanks

Paul
Back to top
View user's profile Send private message
asiB4
Guru
Guru


Joined: 16 Jan 2006
Posts: 370
Location: Inside the electric circus

PostPosted: Sun Aug 13, 2006 10:34 am    Post subject: Reply with quote

what type of disc are you trying to mount...have you tried another disc to see if that one may be damaged?
_________________
Registered Linux User #332738

Back to top
View user's profile Send private message
PaulBain
Apprentice
Apprentice


Joined: 14 Jun 2005
Posts: 159
Location: Coventry, UK

PostPosted: Sun Aug 13, 2006 10:41 am    Post subject: Reply with quote

Well it works if I mount a data cd but not a data dvd.

I have tried the data dvd on another gentoo box and that works.

Any ideas?
Back to top
View user's profile Send private message
asiB4
Guru
Guru


Joined: 16 Jan 2006
Posts: 370
Location: Inside the electric circus

PostPosted: Sun Aug 13, 2006 10:43 am    Post subject: Reply with quote

UDF filesystem support in the kernel? That's assuming it is a dvd-rom, and not a cdrom as the thread title indicates. :P
_________________
Registered Linux User #332738

Back to top
View user's profile Send private message
PaulBain
Apprentice
Apprentice


Joined: 14 Jun 2005
Posts: 159
Location: Coventry, UK

PostPosted: Sun Aug 13, 2006 10:47 am    Post subject: Reply with quote

Yup :

Code:
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y



and I have tried:

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


Thanks
Back to top
View user's profile Send private message
przeuj
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2004
Posts: 94
Location: Krakow

PostPosted: Sun Aug 13, 2006 10:57 am    Post subject: Reply with quote

PaulBain wrote:

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



what does it tell then? (that is dmesg)
_________________
[img]http://www.openwengo.org/static/eng_eng/images/banners/wengophone.png[/img]
Back to top
View user's profile Send private message
PaulBain
Apprentice
Apprentice


Joined: 14 Jun 2005
Posts: 159
Location: Coventry, UK

PostPosted: Sun Aug 13, 2006 11:04 am    Post subject: Reply with quote

Same as in my first post! ;)
Code:

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50 { LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16
Back to top
View user's profile Send private message
przeuj
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2004
Posts: 94
Location: Krakow

PostPosted: Sun Aug 13, 2006 12:45 pm    Post subject: Reply with quote

sorry -- I missed that one :)

according to kernel source the drive returned an error and it is described as:
Code:

sense_key   : Sense key of the last failed packet command


Whatever that means. To me it looks like a problem with talking to drive. Have you tried playing with hdparm? Maybe disable/enable DMA for the mentioned drive and see what happens... What tells
Code:
hdparm /dev/hdc
?
_________________
[img]http://www.openwengo.org/static/eng_eng/images/banners/wengophone.png[/img]
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Wed Aug 16, 2006 9:34 pm    Post subject: Reply with quote

I have the same error. I also have udf built into my kernel. When I run:

Code:

hdparm /dev/hdb


(/dev/hdb is my dvdrw drive) I get:

Code:

localhost mnt # hdparm /dev/hdb

/dev/hdb:
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device
Back to top
View user's profile Send private message
przeuj
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2004
Posts: 94
Location: Krakow

PostPosted: Thu Aug 17, 2006 1:22 pm    Post subject: Reply with quote

what about kernel version: any recent updates? it is quite odd. was the drive working before? had you changed anything before this stopped working?

B
_________________
[img]http://www.openwengo.org/static/eng_eng/images/banners/wengophone.png[/img]
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Fri Aug 18, 2006 11:31 pm    Post subject: Reply with quote

Well, ya. I upgraded my entire computer :D

I ended up getting a new pc (upgrade to amd64). The drive used to work without any of these kinds of errors (that I had noticed, at least) so I'm pretty sure it is in good physical shape at least and that it is only a setup issue somewhere.

Kernel: 2.6.16-gentoo-r13
Back to top
View user's profile Send private message
r.abbott
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2004
Posts: 113
Location: Herat, Afghanistan

PostPosted: Fri Dec 22, 2006 4:00 pm    Post subject: Reply with quote

Did you ever solve this? I have apparently the same issue.

Thanks.
Back to top
View user's profile Send private message
sasq
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 234
Location: Poland

PostPosted: Tue Dec 26, 2006 5:26 am    Post subject: Reply with quote

Howdy.
I think I have the same problem :?
When I burn a DVD with K3B [3.5.5], sometimes it doesn't mount at all, but works properly under Windows.
I have UDF and ISO9660 support compiled in my kernel [2.6.16-gentoo-r13].
When I'm trying to mount [with -t auto, udf or iso9660, whatever], I'm getting error messages:
Code:
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

and on dmesg:
Code:
attempt to access beyond end of device
hdc: rw=0, want=68, limit=4
attempt to access beyond end of device
hdc: rw=0, want=1252, limit=4
attempt to access beyond end of device
hdc: rw=0, want=1028, limit=4
UDF-fs: No partition found (1)

I'm bothered by this strange output from hdparm also:
Code:
/dev/hdc:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device

What's wrong? 8O
_________________
SasQ
Back to top
View user's profile Send private message
r.abbott
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2004
Posts: 113
Location: Herat, Afghanistan

PostPosted: Tue Dec 26, 2006 7:45 pm    Post subject: Reply with quote

I still don't know how to fix whatever may be wrong with the drive, although I did figure out how to burn a dvd that is readable. Have you tried the stuff I posted in this other thread?

As for the drive, I have been learning more about hdparm in an effort to have more control over its settings. The Gentoo wiki has a good hdparm guide here.

That's about all the progress I've made so far.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Dec 27, 2006 4:05 am    Post subject: Reply with quote

Same is happening to me, too. On amd64 (if it matters). I can't read some dvd's that I've burned before on the same drive, but I can read them on a gentoo laptop without problems.

I noticed, that using dvd-r or dvd+r makes a difference. Most of the problems happen with dvd-r. And I also cant't read dvd video discs.

Here is the data about my dvd device (here are two lines for the same device from /var/log/messages):
Code:
NEC DVD_RW ND-4550A, ATAPI CD/DVD-ROM drive
ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)

_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
whtwtr
n00b
n00b


Joined: 12 Jun 2005
Posts: 56
Location: 47° 22' 7.139" N 8° 32' 21.057" E

PostPosted: Fri Apr 27, 2007 8:59 pm    Post subject: Reply with quote

Hey there

I am getting exactly the same error messages as described above. Has anyone found a solution?

I am running Kernel 2.6.16-suspend2-r8 on an HP dv1000 laptop (~x86)

Regards...
Back to top
View user's profile Send private message
rolothomasee
n00b
n00b


Joined: 27 Apr 2007
Posts: 1

PostPosted: Fri Apr 27, 2007 10:45 pm    Post subject: Reply with quote

I too am having the exact same problem. Have tried recomiling my kernel with UDF support as a module, then loading it with insmod. Didn't help. Get the same error messages as reported above. The DVD burner (Sony NEC 7170A-0B) works fine with iso9660. The DVD disk works fine on an XP box.

I really want to get this fixed so I can run X-plane on this machine. As it stands, X-plane requires that its DVD program disk be mounted as UDF.


Athlon64 X2 3800+
DDR2 800, 2GB
ASUS M2N4-SLI
XFX NVIDIA GeForce 7900 GS 256M
Back to top
View user's profile Send private message
WRadler
n00b
n00b


Joined: 28 Mar 2004
Posts: 18
Location: Germany/NRW/SU

PostPosted: Sat May 05, 2007 10:28 pm    Post subject: Reply with quote

Same problem here.
Kernel 2.6.17.13 and 2.6.20.7
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum