View previous topic :: View next topic |
Author |
Message |
baschni Apprentice

Joined: 08 Sep 2005 Posts: 193
|
Posted: Sat Apr 17, 2010 4:12 pm Post subject: Problems with cdrom device |
|
|
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 |
|
 |
Bartek Majka n00b

Joined: 10 Apr 2010 Posts: 17
|
Posted: Sat Apr 17, 2010 4:53 pm Post subject: |
|
|
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:
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
|
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 |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat Apr 17, 2010 5:49 pm Post subject: |
|
|
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 |
|
 |
Bartek Majka n00b

Joined: 10 Apr 2010 Posts: 17
|
Posted: Sat Apr 17, 2010 10:45 pm Post subject: |
|
|
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 |
|
 |
|