[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't mount CD/DVD drives



Carl Brown wrote:

After upgrading etch, Attempts to mount the IDE optical drives produce the following error:

mount: wrong fs type, bad option, bad superblock on /dev/scd0,
      missing codepage or other error...

k3b finds the drives, and has no trouble burning with them, at /dev/scd0 and /dev/scd1, except that it thinks that a CD iso needs a DVD, but it will copy a CD from one drive to the other error-free. KsCD plays audio CD's. There is clearly no hardware problem. The drives were working fine before the upgrade. Kernel is now 2.6.12-1-amd64-k8.

The drives had somehow renamed themselves from scd* to sr* after a previous upgrade. Now they will not mount as either scd* or sr*. I changed /etc/fstab and tried it both ways. The fstab params (except the /dev/names) are as they have been since the system was first installed:

/dev/sr0        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
/dev/sr1        /media/cdrom1   udf,iso9660 ro,user,noauto  0       0


These are present and correct:

$ cat /sys/block/sr0/device/model
DVD_RW ND-3540A
$ cat /sys/block/sr1/device/model
DVD_RW ND-3540A

After trying:

$ mount /dev/sr0

with a data CD-ROM or data DVD-R in the drive,
in /var/log/messages, I find:

Feb 14 08:18:10 localhost kernel: attempt to access beyond end of device
Feb 14 08:18:10 localhost kernel: sr0: rw=0, want=68, limit=4
Feb 14 08:18:10 localhost kernel: attempt to access beyond end of device
Feb 14 08:18:10 localhost kernel: sr0: rw=0, want=227992, limit=4
...
(Repeated many times with various "want=nnnnnn" numbers)
...
Feb 14 08:18:10 localhost kernel: UDF-fs: No partition found (1)
Feb 14 08:18:10 localhost kernel: attempt to access beyond end of device
Feb 14 08:18:10 localhost kernel: sr0: rw=0, want=68, limit=4
Feb 14 08:18:10 localhost kernel: isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

"bread failed"; is my yeast stale? ;-)

You shouldn't be using sr* or scd* devices on IDE drives on a 2.6 kernel.

I've had this happen before after a bad udev upgrade. Make sure that the ide-cd.ko kernel module isn't even thinking about loading on your system.



Reply to: