You are not logged in.

#1 2006-08-02 19:18:33

K2712
Member
From: Greenville, SC
Registered: 2006-05-17
Posts: 28

Trouble mounting cd &/or cdrw drives

New arch install on PIII, XFCE4.  Cd drive is primary, cdrw is slave.

$hwd -s
cd     /dev/hdc
cdrw /dev/hdd

fstab
/dev/hdc   /mnt/cdrom   iso9660  ro,user,noauto,unhide 0 0
/dev/hdd  /mnt/cdrw       iso9660 rw,user,noauto,unhide 0 0

I've tried to mount both devices with several different cd types(audio,data,cd-r,cd-rw) and everytime I get the same output:

wrong fs type, bad option, bad superblock on /dev/hdX,
missing codepage or other error

$dmesg|tail
end_request: I/O error, dev hdc, sector 88
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 96
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand 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

It seems like I need to change the filesystem type in fstab, but I've tried auto and udf, and have had little luck finding info elsewhere.  Any help would be greatly appreciated.

Offline

#2 2006-08-02 20:14:40

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: Trouble mounting cd &/or cdrw drives

The fs type is iso9660.  Therefore, the type is already specified in your /etc/fstab.  You need merely 'mount /mnt/cdrom', etc.

From 'man mount':

       Thus, given a line:
              /dev/cdrom  /cd  iso9660  ro,user,noauto,unhide
       any user can mount the iso9660 file system found on his CDROM using the command:
              mount /dev/cdrom
       or:
              mount /cd

EDIT: Besides, if you're running a DE (such as KDE), removing the reference from /etc/fstab altogether is nice, because your DE will then automatically mount the media in -- of all places -- '/media/???' and (at least under KDE) pop open a window showing the CD's contents -- or even start an audio or video player.

Offline

#3 2006-08-02 20:25:08

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Trouble mounting cd &/or cdrw drives

my fstab

/dev/hda             /mnt/cd   auto   ro,user,noauto,unhide   0      0
/dev/hdb               /mnt/dvd  auto       ro,user,noauto,unhide   0      0

take out  udf & iso9660 put in auto let arch decide whats there , also change the /dev/cdrom & /dev/dvd to /dev/hdX where X=drive letter you may need to change a few apps to this configuration but i find this to be a solution that works for me i do believe the linux community as a whole is trying to incorporate the /dev/cdrom(dvd) thing but it isnt really complete   imo

Offline

#4 2006-08-02 20:59:24

K2712
Member
From: Greenville, SC
Registered: 2006-05-17
Posts: 28

Re: Trouble mounting cd &/or cdrw drives

Thanks for the replies.

I edited my fstab and entered auto as the filesystem type.  Now I can mount data cd's, but not audio.  Any ideas?

EDIT:  When I try to mount an audio cd, it tells me I must specify the filesystem type...

Offline

#5 2006-08-03 01:04:27

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Trouble mounting cd &/or cdrw drives

you dont mount audio cd's
just play them
which player are you using ?
for kscd
go extras>configure KsCD
make sure cdrom device is pointing to the right drive

for xmms
install xmms-cdparanoia
then play directory /mnt/cd or dvd where ever the disk is
etc....

Offline

Board footer

Powered by FluxBB