LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-07-2005, 01:24 AM   #1
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Rep: Reputation: 30
Cannot Mount CD-ROM


I'm having some difficulties mounting any data CD. Whenever I attempt a mount, I get this error:
Code:
# mount -t iso9660 /dev/cdroms/cdrom0 /media/cdrom
mount: /dev/cdroms/cdrom0 already mounted or /media/cdrom busy

# mount -t iso9660 /dev/cdroms/cdrom0 /mnt/cdromB
mount: /dev/cdroms/cdrom0 already mounted or /mnt/cdromB busy

# mount -t iso9660 /dev/sr0 /media/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       or too many mounted file systems
I have SCSI emulation compiled into my 2.6.12-r3 kernel winth udev.

Oddly enough, it does play audio CDs.

Does anyone have any advice on getting it to work?
 
Old 07-07-2005, 01:49 AM   #2
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
if your fstab is set up correctly, you should be able to cd to the directory above the one it mounts to, and

#mount cdrom


you shoudnt need anything more than that if its set up right. if not, man mount to find the correct options
 
Old 07-07-2005, 11:17 PM   #3
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
I did set up fstab, and no CDs mount, still:
Code:
/dev/sr0                /media/cdrom            auto    user,exec,noauto,managed 0 0
/dev/cdroms/cdrom0              /mnt/dvd        auto            noauto,user,ro                                  0 0
Mounting either one doesn't work. I've tried iso9660, msdos, vfat, and a plethora of other filesystems. Windows says it is "CDFS", which I know is iso9660+Joliet. (In its case. And I did compile in support for it.)

If this of any help, lshw returns this for my drives:
Code:
           *-ide:1
                description: IDE Channel 1
                physical id: 1
                bus info: ide@1
                logical name: ide1
                clock: 33MHz
              *-cdrom:0
                   description: IDE CD-ROM
                   product: SAMSUNG DVD-ROM SD-616Q
                   physical id: 0
                   bus info: ide@1.0
                   logical name: /dev/hdc
                   version: F401
                   capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy
                   configuration: mode=udma2
              *-cdrom:1
                   description: IDE CD-ROM
                   product: ATAPI CD-RW 52X24
                   physical id: 1
                   bus info: ide@1.1
                   logical name: /dev/hdd
                   version: F.CZ
                   capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy
                   configuration: mode=udma2
     *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-cdrom
             description: DVD reader
             product: DVD-ROM SD-616Q
             vendor: SAMSUNG
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/cdrom2
             logical name: /dev/dvd1
             logical name: /dev/scd0
             logical name: /dev/sr0
             version: F401
             capabilities: removable audio dvd
             configuration: ansiversion=2
     *-scsi:1
          physical id: 2
          logical name: scsi1
          capabilities: emulated
        *-cdrom
             description: CD-R/CD-RW writer
             product: CD-RW 52X24
             vendor: ATAPI
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/scd1
             logical name: /dev/sr1
             version: F.CZ
             capabilities: removable audio cd-r cd-rw
             configuration: ansiversion=2
I've tried several forums, and none of the advice has gotten either of my drives working.
 
Old 07-08-2005, 12:49 AM   #4
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Try this command as root
#umount /mnt/dvd
(may give an error not mounted). then
#mount /mnt/dvd
Then try
#ls /mnt/dvd
 
Old 07-08-2005, 11:58 AM   #5
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Maybe there's something wrong with my kernel:
Code:
# umount /media/cdrom
umount: /media/cdrom: not mounted
# mount /dev/sr0
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: you must specify the filesystem type
# ls /media/cdrom
#
Code:
# umount /mnt/dvd
umount: /mnt/dvd: not mounted
# mount /dev/cdroms/cdrom0
Segmentation fault
# ls /mnt/dvd
#

Last edited by Kenji Miyamoto; 07-08-2005 at 12:19 PM.
 
Old 07-09-2005, 02:30 AM   #6
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
do this again but as I specified. Your mount point is im fstab is /mnt/dvd NOT /mnt/cdrom. If you are mounting a dvd the file type is udf not iso9660.
 
  


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
cannot mount cd-rom myrmidon Linux - Hardware 5 09-11-2005 05:50 PM
cd-rom and dvd-rom drives won't mount... :-( Ausar Linux - Newbie 12 09-01-2004 02:51 PM
Multiple cd-rom icons from one cd-rom mount CEG Linux - General 5 02-04-2004 07:04 PM
Can Not Mount CD-ROM HowdyZBird Linux - Hardware 1 08-11-2003 08:34 AM
can't mount my CD-ROM chansky Linux - Hardware 4 09-08-2002 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:51 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