Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with cdrom device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
baschni
Apprentice
Apprentice


Joined: 08 Sep 2005
Posts: 193

PostPosted: Sat Apr 17, 2010 4:12 pm    Post subject: Problems with cdrom device Reply with quote

Hi all!

When I try to mount a cdrom, it echoes:

Code:
mount /mnt/cdrom
umount: /dev/sr0: unknown device


lshw gives something like that:

Code:
*-cdrom
                description: DVD-RAM writer
                physical id: 0
                bus info: scsi@0:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/cdrw
                logical name: /dev/dvd
                logical name: /dev/dvdrw
                logical name: /dev/scd0
                logical name: /dev/sr0
                capabilities: audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: status=open


I can't play dvds or audio cds either. On windows (dual boot) cdrom device works fine.

What is wrong here?
Back to top
View user's profile Send private message
Bartek Majka
n00b
n00b


Joined: 10 Apr 2010
Posts: 17

PostPosted: Sat Apr 17, 2010 4:53 pm    Post subject: Reply with quote

Your /etc/fstab file should contain this line for cdrom drive:
Code:
/dev/cdrom      /mnt/cdrom   auto      noauto,ro        0 0

Check the output of:
Code:
ls -l /dev/cd*

It should look like this (except the dates):
Code:

lrwxrwxrwx 1 root root 3 Apr 17 15:20 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Apr 17 15:20 /dev/cdrw -> sr0

Code:
ls -l /dev/sr0

should show this (except the date):
Code:

brw-rw---- 1 root cdrom 11, 0 Apr 17  2010 /dev/sr0

Check if CONFIG_ISO9660_FS, CONFIG_JOLIET and CONFIG_ZISOFS are enabled in the kernel:
Code:

grep CONFIG_ISO9660_FS /usr/src/linux/.config
grep CONFIG_JOLIET /usr/src/linux/.config
grep CONFIG_ZISOFS /usr/src/linux/.config

Also, try specifying the file system to mount manually:
Code:
mount -t iso9660 /dev/cdrom /mnt/cdrom
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Apr 17, 2010 5:49 pm    Post subject: Reply with quote

Actually, that output from mount suggests that a similar line is already there.
Are you sure it's /dev/sr0 you should be looking at ?
Back to top
View user's profile Send private message
Bartek Majka
n00b
n00b


Joined: 10 Apr 2010
Posts: 17

PostPosted: Sat Apr 17, 2010 10:45 pm    Post subject: Reply with quote

Yes, the output of mount suggest it, but the type of file, permissions and the owners of /dev/sd0 could be wrong.

It's interesting that the output of lshw doesn't show some information which should be there (product, vendor, version and removeble audio capability). According to it, the disc tray was opened (was it really?). Here is my output:

Code:

           *-cdrom
                description: DVD-RAM writer
                product: DVDRAM GMA-4082N
                vendor: HL-DT-ST
                physical id: 0.0.0
                bus info: scsi@3:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/cdrw
                logical name: /dev/dvd
                logical name: /dev/dvdrw
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: EX01
                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: ansiversion=5 status=nodisc


Maybe the kernel didn't recognize correctly the cdrom drive?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum