LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problems with my CD-RW unit (https://www.linuxquestions.org/questions/linux-general-1/problems-with-my-cd-rw-unit-140499/)

devit 01-30-2004 04:26 PM

problems with my CD-RW unit
 
I have a problem with my CD-RW unit on a Slackware 9.1 system. I can't mount a CD. In order to make the CD-RW work I compiled the kernel with SCSI Emulation, configured lilo with "hdc=ide-scsi"; I think the problem is in fstab:

Code:

/dev/hda6        swap            swap        defaults        0  0
/dev/hda5        /                ext3        defaults        1  1
/dev/scd0        /mnt/cdrom      iso9660    noauto,owner,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
/dev/hda1        /mnt/ntfs        ntfs        noauto,owner,ro  0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0

Code:

root@localhost:~# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.5.29
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0    0) 'ASUS    ' 'CRW-4816A      ' '1.0 ' Removable CD-ROM
        0,1,0    1) *
        0,2,0    2) *
        0,3,0    3) *
        0,4,0    4) *
        0,5,0    5) *
        0,6,0    6) *
        0,7,0    7) *
root@localhost:~# mount /mnt/cdrom
mount: /dev/scd0 is not a valid block device
root@localhost:~#

Could someone help me work this out?

Thanks!

fancypiper 01-30-2004 04:30 PM

You didn't mention if you made modules and did the stuff necessary to load the modules for it, which is my method as it seems to be most recommended.

lsmod (edited for my system):
Code:

root@uilleann /dev # lsmod
Module                  Size  Used by    Not tainted
sr_mod                16632  0  (autoclean)
ide-scsi              11008  0
scsi_mod              107596  2  [sr_mod ide-scsi]
ide-cd                32256  0
cdrom                  32128  0  [sr_mod ide-cd]

Another possibility is that you may need to run the device making script. See the HOWTO for a script to run if your distro didn't make the proper devices.

# CD burning copying ripping info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus
Adding an IDE CD-Writer to Linux
Linux DVD HOWTO
CD Writing HOWTO
Burning CDs on Linux
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom
# ISO information
isoinfo -i -d /dev/cdrom
# Generate an ISO from a directory.
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-"
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast

robhargreaves 01-30-2004 04:46 PM

try sr0 instead of scd in fstab.

Then sometimes if you create a shortcut from the desktop in kde the contents will not open if that is so then edit the shortcut with your favorite text editor and then change default to auto under fs type.

That works for me anyway.

hth Rob

devit 02-02-2004 11:49 AM

I recompiled the kernel with sr_mod and it works fine now.
Thanks!

snacky 02-02-2004 11:53 AM

fwiw, though, you do not need to mount anything in order to burn. (you couldn't mount a blank disc anyway!)

I have an older dvd-rom drive and a cd-burner, and I very rarely mount anything in the cd burner for this reason.


All times are GMT -5. The time now is 04:08 PM.