LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-30-2004, 04:26 PM   #1
devit
Member
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 82

Rep: Reputation: 15
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!
 
Old 01-30-2004, 04:30 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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

Last edited by fancypiper; 01-30-2004 at 04:36 PM.
 
Old 01-30-2004, 04:46 PM   #3
robhargreaves
Member
 
Registered: Dec 2003
Location: UK
Distribution: Slackware
Posts: 87

Rep: Reputation: 15
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
 
Old 02-02-2004, 11:49 AM   #4
devit
Member
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 82

Original Poster
Rep: Reputation: 15
I recompiled the kernel with sr_mod and it works fine now.
Thanks!
 
Old 02-02-2004, 11:53 AM   #5
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
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.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
All bells should be sent on the definite unit ukrainet Linux - Newbie 0 11-26-2004 06:45 AM
mounting a samba unit Metal-Lord Slackware 4 07-10-2004 10:37 AM
bandwidth control unit booyah Linux - Networking 3 06-14-2004 09:17 AM
Linux members, unit! LinuxMilitia General 6 09-22-2003 11:35 AM
Trying to recover allocation unit??? Russianbean Linux - General 0 09-29-2001 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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