LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-15-2008, 01:06 PM   #1
Kristian S
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
cannot mount cd


My CD-ROM drive worked fine during installation, and also used to work fine under my old Fedora 6 installation where I could play audio CDs and read data CDs without any problems. However, when trying to use CDs under OpenSUSE 10.3 after installation, I cannot mount it either automatically nor manually. If I try to mount it manually, the command just "hangs", and nothing happens (I'm not able to get the command prompt back, nor kill the mounting process). I have the same problem for audio CDs and data CDs. The drive clearly works, since if I plug in a live-linux CD, it's recognized at boot-up, and I'm able to boot from that CD.

From Hardware information under YaST I get the following information:

66: SCSI 400.0: 10602 CD-ROM (DVD)
[Created at block.237]
UDI: /org/freedesktop/Hal/devices/storage_model_DVD_C__LH52C1P
Unique ID: twPO.96dYV9sIpoD
Parent ID: qnJ_.kOf6HnwGAe2
SysFS ID: /block/sr0
SysFS BusID: 4:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:0d.0/host4/target4:0:0/4:0:0:0
Hardware Class: cdrom
Model: "LITE-ON DVD C LH52C1P"
Vendor: "LITE-ON"
Device: "DVD C LH52C1P"
Revision: "6L14"
Driver: "pata_amd", "sr"
Driver Modules: "pata_amd"
Device File: /dev/sr0 (/dev/sg1)
Device Files: /dev/sr0, /dev/scd0, /dev/disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0, /dev/cdrom, /dev/cdrw, /dev/dvd
Device Number: block 11:0 (char 21:1)
Features: CD-R, CD-RW, DVD
Drive status: no medium
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #39 (IDE interface)
Drive Speed: 40

If I do hwinfo --cdrom, I get

block.5: /dev/sr0

I'm no Linux expert, but I hope that someone can help me. OpenSUSE has been great except for this problem, which is odd since the CD drive worked fine under Fedora.

Thanks!
Kristian
 
Old 01-15-2008, 02:28 PM   #2
neophytezer0
LQ Newbie
 
Registered: Nov 2007
Location: localhost
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
cd drive

post your /etc/fstab

also, show what command you are using to mount the drive.
 
Old 01-15-2008, 02:48 PM   #3
Kristian S
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by neophytezer0 View Post
post your /etc/fstab

also, show what command you are using to mount the drive.
I've tried the following mounting commands (among others)

mount /dev/cdrom /mnt
mount -t iso9660 -r /dev/cdrom /mnt
mount /dev/sr0 /mnt
mount -t iso9660 -r /dev/sr0 /mnt

all with the same result (command just hangs). I've also tried to mount in other places, such as to /media instead of /mnt. (cdrom is sym-linked to sr0)

My /etc/fstab reads

/dev/disk/by-id/scsi-SATA_WDC_WD2500JS-00_WD-WCANY2598050-part6 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_WDC_WD2500JS-00_WD-WCANY2598050-part7 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_WDC_WD2500JS-00_WD-WCANY2598050-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=POSIX 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD2500JS-00_WD-WCANY2598050-part5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
 
Old 01-16-2008, 10:22 AM   #4
neophytezer0
LQ Newbie
 
Registered: Nov 2007
Location: localhost
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
looking from your commands, it seems like its a sata drive, correct? the way your fstab is mounting your hard drive is through /dev/disk/by-id/... so maybe see if your cdrom drive is in there, and if so, mount from there.
 
Old 01-16-2008, 10:54 AM   #5
Kristian S
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by neophytezer0 View Post
looking from your commands, it seems like its a sata drive, correct? the way your fstab is mounting your hard drive is through /dev/disk/by-id/... so maybe see if your cdrom drive is in there, and if so, mount from there.
I couldn't find it in there but your suggestion lead me to try mounting using the command

mount /dev/disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0 /media

This works for data CDs, which is a huge step forward!

However, when trying to mount an audio CD (retail, not home made) with the same command I get the error

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: you must specify the filesystem type

If I instead try

mount -t iso9660 /dev/disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0 /media

I get the error

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

dmesg | tail gives me

end_request: I/O error, dev sr0, sector 0
end_request: I/O error, dev sr0, sector 0
end_request: I/O error, dev sr0, sector 0
end_request: I/O error, dev sr0, sector 0
end_request: I/O error, dev sr0, sector 0
cdrom: sr0: mrw address space DMA selected
end_request: I/O error, dev sr0, sector 64
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
end_request: I/O error, dev sr0, sector 64
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
 
Old 01-16-2008, 11:07 AM   #6
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
You may want to look at this. I gave you this since you have mentioned something like openSUSE 'hangs'!
 
Old 01-16-2008, 11:15 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
However, when trying to mount an audio CD (retail, not home made) with the same command I get the error
Code:
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: you must specify the filesystem type

If I instead try

mount -t iso9660 /dev/disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0 /media

I get the error

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
If these are normal audio discs, then they cannot be mounted because they do not have a valid iso filesystem (hence the filesystem errors). You need to use a multimedia app to play the audio on the disc.
 
Old 01-16-2008, 12:14 PM   #8
Kristian S
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz View Post
If these are normal audio discs, then they cannot be mounted because they do not have a valid iso filesystem (hence the filesystem errors). You need to use a multimedia app to play the audio on the disc.
Thanks!

I think it's all working now. I'm able to read data CDs using the mounting command listed below, and also play CDs using a number of different multimedia applications.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 08:00 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration