Mount: wrong fs type, bad option, bad superblock on /dev/scd0

From FVue
Jump to: navigation, search

Problem

Within Debian 3.1, I'm unable to burn cd. Cdrecord/wodim seems successful, but mount /media/cdrom gives error:

$> mount /media/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
$> dmesg | tail
Current sd0b:00: sense key Medium Error
Additional sense indicates L-EC uncorrectable error
 I/O error: dev 0b:00, sector 381816
isofs_read_super: bread failed, dev=0b:00, iso_blknum=95454, block=95454

Solution 1: eject disc before mounting

After recording, the cd must be ejected before mounting:

eject /media/cdrom
mount /media/cdrom

If that doesn't help, try blanking the disc totally before writing. In my case, the disc had been written by another (older) cdwriter.

cdrecord dev=/dev/hdc blank=all

Solution 2: disc is empty

I receive the same error when I try to mount a cd which I just blanked:

$ cdrecord dev=/dev/hdc blank=all -force
...
$ eject /dev/hdc
$ mount /dev/hdc
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

After recording some data to the disc, mounting is successful - without errors.

Journal

20070225

Within /boot/grub/menu.lst, I added hdc=ide-scsi:

kernel          /boot/vmlinuz-2.4.27-2-386 root=/dev/hda1 ro hdc=ide-scsi

To be able to mount the cdrom, I changed this line in /etc/fstab as well:

#/dev/hdc       /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/scd0       /media/cdrom0   iso9660 ro,user,noauto  0       0

Modified link /dev/cdrom:

lrwxrwxrwx  1 root root 8 2007-01-28 17:34 cdrom -> /dev/hdc
lrwxrwxrwx  1 root root 9 2007-02-25 15:19 cdrom -> /dev/scd0

Create small test iso:

genisoimage -input-charset ISO-8859-1 -o test.iso -R /etc/fstab  # Or `mkisofs', which is symlink to `genisoimage'
sudo cdrecord -multi -v -tao speed=2 dev=0,0,0 test.iso

cdrecord seems successful, but mount /media/cdrom gives error:

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

dmesg | tail

Current sd0b:00: sense key Medium Error
Additional sense indicates L-EC uncorrectable error
 I/O error: dev 0b:00, sector 381816
isofs_read_super: bread failed, dev=0b:00, iso_blknum=95454, block=95454

cdrecord -scanbus

Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) 'DVDRW   ' '16X16           ' 'PTS2' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

Comments

blog comments powered by Disqus