Fw: Western digital drives and Linux?

Jeffrey Pyne jpyne@worldatwork.org
Fri, 29 Dec 2000 14:58:26 -0700


On Friday, December 29, 2000, John W wrote:

>  It seems the drive is recognized as a standard cdrom under /mnt. I tried
to 
> create mount point /mnt/scd0 and recieved Mount: fs type, bad type, bad 
> superblock, on /mnt/cdrom,or too many mounted filesystems.

What command are you using to try to mount it?  If your mount point is
/mnt/scd0 (it could be anything, even /mnt/foo if you wanted it to) and your
CD-RW device is /dev/scd0, you should be able to mount the CD with a command
resembling:

mount -t iso9660 -o ro /dev/scd0 /mnt/scd0

If you are using a GUI feature in your window manager to mount the CD (or
even if you're not), check /etc/fstab and make sure you've got a
sane-looking entry.  Mine looks like this:

# grep cdrw /etc/fstab
/dev/scd0		/mnt/cdrw		iso9660	noauto,owner,ro 0 0

Also check the properties of whatever GUI tool you're using to make sure it
is trying to access the right device, mount point, etc. 

>  If I try to use xcdroast it sees the cdrw as /dev/scd0 and it will read
the 
> tracks on an audio disc but if I try to access the cdrw to play an audio
CD I 
> get dumped into konqueror and it does not show the disc in the drive.

I believe that some (most?) CD players (e.g. kscd) use /dev/cdrom as the
playback device by default.  Make sure you either change this to whatever
device you are really using (e.g. /dev/scd0) or change the /dev/cdrom
symlink from whatever it's currently pointing to (probably /dev/hd?) to
point at your CD-RW device (e.g. rm /dev/cdrom && ln -s /dev/scd0
/dev/cdrom).  Also, don't forget to connect the audio cable from your CD-RW
to your sound card.  I did that once and it took me a while to figure out
why no sound was coming out when I played a CD.

> Fortunately no smoke however. 

Then you're doing something wrong.  :)

> I rebooted and recieved the same errors in the 
> boot messages regarding the cdrom drives. 

What are the error messages you're getting at boot?

> I have tried cahnging trhe 
> permissions perhaps that is why I recieve the mount errors?

Could be.  Or it could be that something is already mounted on that mount
point.  Or it could be that mount was unable to automatically determine the
fstype of your cdrw.

>  I will definitely read through the cdr howto again perhaps I missed 
> something there or have made some other errors along the way. 
>  Lilo conf reads;
> image=/boot/vmlinuz-secure
> 	label=linux
> 	root=/dev/hda7
> 	append=" hdb=ide-scsi ide1=autotune ide0=autotune"
> 	read-only

That looks right to me, but review the info in the CD-Writing HOWTO to be
sure.

Good luck,
~Jeff