View previous topic :: View next topic |
Author |
Message |
PaulBain Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/129019370443c3f424909c1.gif)
Joined: 14 Jun 2005 Posts: 159 Location: Coventry, UK
|
Posted: Sun Aug 13, 2006 10:29 am Post subject: CD Drive wont mount: bad superblock on /dev/cdrom |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
asiB4 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 16 Jan 2006 Posts: 370 Location: Inside the electric circus
|
Posted: Sun Aug 13, 2006 10:34 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
PaulBain Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/129019370443c3f424909c1.gif)
Joined: 14 Jun 2005 Posts: 159 Location: Coventry, UK
|
Posted: Sun Aug 13, 2006 10:41 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
asiB4 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 16 Jan 2006 Posts: 370 Location: Inside the electric circus
|
Posted: Sun Aug 13, 2006 10:43 am Post subject: |
|
|
UDF filesystem support in the kernel? That's assuming it is a dvd-rom, and not a cdrom as the thread title indicates. ![Razz :P](images/smiles/icon_razz.gif) _________________ Registered Linux User #332738
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBain Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/129019370443c3f424909c1.gif)
Joined: 14 Jun 2005 Posts: 159 Location: Coventry, UK
|
Posted: Sun Aug 13, 2006 10:47 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
przeuj Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Taz.gif)
Joined: 11 May 2004 Posts: 94 Location: Krakow
|
Posted: Sun Aug 13, 2006 10:57 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
PaulBain Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/129019370443c3f424909c1.gif)
Joined: 14 Jun 2005 Posts: 159 Location: Coventry, UK
|
Posted: Sun Aug 13, 2006 11:04 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
przeuj Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Taz.gif)
Joined: 11 May 2004 Posts: 94 Location: Krakow
|
Posted: Sun Aug 13, 2006 12:45 pm Post subject: |
|
|
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 ? _________________ [img]http://www.openwengo.org/static/eng_eng/images/banners/wengophone.png[/img] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alienjon Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1752570115836625353387.gif)
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Wed Aug 16, 2006 9:34 pm Post subject: |
|
|
I have the same error. I also have udf built into my kernel. When I run:
(/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 |
|
![](templates/gentoo/images/spacer.gif) |
przeuj Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Taz.gif)
Joined: 11 May 2004 Posts: 94 Location: Krakow
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alienjon Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1752570115836625353387.gif)
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Fri Aug 18, 2006 11:31 pm Post subject: |
|
|
Well, ya. I upgraded my entire computer
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 |
|
![](templates/gentoo/images/spacer.gif) |
r.abbott Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/326747164330bcdc1e59e.jpg)
Joined: 16 Aug 2004 Posts: 113 Location: Herat, Afghanistan
|
Posted: Fri Dec 22, 2006 4:00 pm Post subject: |
|
|
Did you ever solve this? I have apparently the same issue.
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sasq Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/40170834443c82be86ad91.gif)
Joined: 09 Sep 2005 Posts: 234 Location: Poland
|
Posted: Tue Dec 26, 2006 5:26 am Post subject: |
|
|
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? ![Shocked 8O](images/smiles/icon_eek.gif) _________________ SasQ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
r.abbott Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/326747164330bcdc1e59e.jpg)
Joined: 16 Aug 2004 Posts: 113 Location: Herat, Afghanistan
|
Posted: Tue Dec 26, 2006 7:45 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
zxy Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/6734610804773e684ad9dc.gif)
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Wed Dec 27, 2006 4:05 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
whtwtr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/101323381158165b6557016.jpg)
Joined: 12 Jun 2005 Posts: 56 Location: 47° 22' 7.139" N 8° 32' 21.057" E
|
Posted: Fri Apr 27, 2007 8:59 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
rolothomasee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2007 Posts: 1
|
Posted: Fri Apr 27, 2007 10:45 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
WRadler n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/600010244410f67a86dcd2.jpg)
Joined: 28 Mar 2004 Posts: 18 Location: Germany/NRW/SU
|
Posted: Sat May 05, 2007 10:28 pm Post subject: |
|
|
Same problem here.
Kernel 2.6.17.13 and 2.6.20.7 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|