Jump to content

Unable to read data-CD


satelliteuser083
 Share

Recommended Posts

When I try to read a normal data CD I get the following error-message:

Could not mount device.
The reported error was:
/dev/sr0: Invalid argument
mount: I could not determine the filesystem type, and none was specified

I'm using mva2006. Could anyone tell me what I have to change to solve the problem? Thanks.

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

I've tried a number of CDs, same problem. Interestingly, KsCD will read (and play) an audio-CD but the read-failure occurs when I try to access it (the same audio-CD) via KDiskFree. Konquerer (via the Devices-icon on the desktop) also fails to open the CD.

Here is my /etc/fstab file:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda10 / ext3 noatime 1 1
/dev/sr0 /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,sync,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hde1 /mnt/pcmciafat vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
/dev/hda1 /mnt/win_c vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
/dev/hda5 /mnt/win_d vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
/dev/sda4 /mnt/zip100 vfat noauto,user 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0

Link to comment
Share on other sites

I've had similar problems with mdv2007 and mdv2007.1 except the cd mounts and sometimes shows garbage files. However, if I unmount the drive in a console and remount it there, the cd works OK:

 

$ umount /media/cdrom

$ mount /media/cdrom

 

Try mounting in a console and see if you get better results.

Link to comment
Share on other sites

I've had similar problems with mdv2007 and mdv2007.1 except the cd mounts and sometimes shows garbage files. However, if I unmount the drive in a console and remount it there, the cd works OK:

 

$ umount /media/cdrom

$ mount /media/cdrom

Your cd shows up as /media/cdrom ? How did you get it to do that? Mine used to be there but since 2007.1 all my cds show up as /media/volume_label_of_cd !

Link to comment
Share on other sites

Didn't do anything special, neddie. That's just the way it was set up after install. Here's the fstab entries for my two optical drives:

 

/dev/hda /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/hdb /media/cdrom2 auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0

 

I think my problem is an issue with udev or hal since a manual mount fixes the problem. Also, the problem is erratic so it's difficult to troubleshoot but I have the identical issue on two separate machines, one of them being a laptop, so I know it's not just some hardware quirk on one box. I was going to attach a screenshot but of course I can't get it to do that just now. At any rate a manual mount fixes the problem which is why I suggested the original poster give that a try.

Link to comment
Share on other sites

Oh no, not again...please.

You can NOT MOUNT an audioCD, period. It does not have any real filesystem in, so it cannot be mounted.

The only way to access its contents is via KDE's virtual filesystem... open konqueror, d3lphin, or whatever, and type in

audiocd:/

...and that is.

Regarding a data CD, the syntax in fstab is impornant. But just comment in/remove ALL entries in fstab that have to do with CD-Roms, and try again- hal should take care of that without problems.

The fstab CD-ROM entries are nowadays needed only to a handful of apps- eg wine needs an fstab entry to handle CD-ROM access from "fake" windoze environment.

Edited by scarecrow
Link to comment
Share on other sites

Mine used to be there but since 2007.1 all my cds show up as /media/volume_label_of_cd !
That's HAL/DBUS.

 

As for the OP, I recommend adamw's suggestion (that's actually why I wanted to see your fstab). I'm not particularly sure why Mandriva still puts fstab entires for cdroms if it's using automount (unless you added the entry yourself?). But then, I've also seen this issue on other Linux distro's (Arch did it for a while too).

Link to comment
Share on other sites

Guest guardianX

hi, guys, i suffer similar problem with my mandriva 2007. i can't access my cd-rom, and it is not showed in either media, or mount. my fstab as follows:

/dev/sda9 / ext3 defaults 1 1

/dev/sda6 /boot ext3 defaults 1 2

/dev/sda8 /home ext3 defaults 1 2

none /media/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=utf8,sync 0 0

/dev/sda5 /mnt/win_d vfat umask=0,iocharset=utf8 0 0

/dev/sda2 /mnt/win_e ntfs umask=0,nls=utf8,ro 0 0

none /proc proc defaults 0 0

/dev/sda7 swap swap defaults 0 0

 

What should I do? Thanks before.

Link to comment
Share on other sites

hi, guys, i suffer similar problem with my mandriva 2007. i can't access my cd-rom, and it is not showed in either media, or mount. my fstab as follows:

/dev/sda9 / ext3 defaults 1 1

/dev/sda6 /boot ext3 defaults 1 2

/dev/sda8 /home ext3 defaults 1 2

none /media/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=utf8,sync 0 0

/dev/sda5 /mnt/win_d vfat umask=0,iocharset=utf8 0 0

/dev/sda2 /mnt/win_e ntfs umask=0,nls=utf8,ro 0 0

none /proc proc defaults 0 0

/dev/sda7 swap swap defaults 0 0

 

What should I do? Thanks before.

 

You don't have an entry for your drive in your fstab. Put this line to the bottom of fstab:

 

/dev/hda /mnt/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0

 

reboot and see if this will help.

Link to comment
Share on other sites

Guest guardianX
Maybe it's a hardware failure then.

guardianX, if you have any bootable cd or dvd, try to boot it to just to be sure it's not hardware failure.

 

I have try to boot via CD-ROM and it works. Then I also change ftsab like follows:

/dev/sda9 / ext3 defaults 1 1

/dev/sda6 /boot ext3 defaults 1 2

/dev/sda8 /home ext3 defaults 1 2

none /media/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=utf8,sync 0 0

/dev/sda5 /mnt/win_d vfat umask=0,iocharset=utf8 0 0

/dev/sda2 /mnt/win_e ntfs umask=0,nls=utf8,ro 0 0

none /proc proc defaults 0 0

/dev/sda7 swap swap defaults 0 0

/dev/hda /mnt/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0

 

However, it do not work, and still can't access my cd. FYI, mine is LG CD-RW . Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...