LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-14-2004, 11:58 AM   #1
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Rep: Reputation: 15
Question Problems with cdrecord. . .


Last night when I tryed to burn an iso as superuser it gave me this error:

root@SlackMan6210:/home/wna# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

My dad said he had the same problem but it turned out that his backup program was lockling the device. I dont see that problem here though. Any Ideas?
 
Old 11-14-2004, 12:06 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Has this worked before? Do you have scsi enabled or emulated? More details would help out.
 
Old 11-14-2004, 12:12 PM   #3
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Original Poster
Rep: Reputation: 15
To tell you the truth I dont really know whether its enabled or emulated and no it hasnt worked before.
 
Old 11-14-2004, 01:22 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
To enable scsi emulation you've to edit lilo.conf and add a line containing: append = "hdd=ide-scsi"
Add that just below the label = Linux line, change hdd to suit your cdrw location (hda, hdb, hdc, etc).
Then run lilo as root.

This is used for 2.4.X kernels, 2.6.X don't need this anymore.

Last edited by gbonvehi; 11-14-2004 at 01:23 PM.
 
Old 11-14-2004, 01:44 PM   #5
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Original Poster
Rep: Reputation: 15
Hey thanks, buddy it worked! Im definitley writeing this one down.
 
Old 11-14-2004, 01:53 PM   #6
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Original Poster
Rep: Reputation: 15
One question im haveing problems playing an audio cd in gnome I always get this error on the cd player program "Drive Error" I have the device set to the right one so I dont see why this should be a problem. I even tryed changeing owners and permissions and it still doesent work.

Last edited by wnaLinux; 11-14-2004 at 01:58 PM.
 
Old 11-14-2004, 03:32 PM   #7
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
How is it listed in your /etc/fstab. Did you add your user to the appropriate groups in /etc/group. You aren't trying to mount an audio cd are you.
 
Old 11-14-2004, 04:02 PM   #8
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Original Poster
Rep: Reputation: 15
No I am not trying to mount it but here is how it lists in fstab:

/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,ro 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

It looks correct to me, what do you make of it? And I added my user wna like this:

useradd -g users wna
 
Old 11-14-2004, 04:07 PM   #9
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
after editing your lilo, your device is now /dev/sr0 (more than likely, you can check your dmesg and grep for it) so make sure it is symlinked to what you have in your fstab or edit your fstab. Also in your fstab you need to change owner to user so non root users can use it. I also add my user to groups audio and cdrom.
 
Old 11-14-2004, 04:13 PM   #10
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Original Poster
Rep: Reputation: 15
Oh ok so how do I add my user to those groups as well.
 
Old 11-14-2004, 04:16 PM   #11
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Original Poster
Rep: Reputation: 15
my device is symlinked through hdd --> cdrom1. I get what you are saying but how do I add my user to those groups as well as the users group which it is already in.
 
Old 11-14-2004, 09:35 PM   #12
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
I add my user to groups by editing /etc/group.
as an example:

audio::17:haldir
video::18:haldir
cdrom::19:haldir
 
Old 11-14-2004, 10:35 PM   #13
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Original Poster
Rep: Reputation: 15
Ok I did that now what? Any more steps? Should I reboot? Pop A CD in the drive or what?
 
Old 11-14-2004, 10:40 PM   #14
wnaLinux
Member
 
Registered: Oct 2004
Location: Salem, OR
Distribution: Ubuntu "Warty Warthog"
Posts: 95

Original Poster
Rep: Reputation: 15
If this helps nothing happends still when I start the cd player program "Drive Error" is all I get out of it.

Last edited by wnaLinux; 11-14-2004 at 10:57 PM.
 
  


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
cdrecord problems stevsom Linux - Software 6 10-25-2005 04:40 PM
cdrecord problems Rolby Linux - Newbie 5 06-27-2004 03:23 PM
problems with cdrecord cf050 Linux - Newbie 5 06-14-2004 12:55 AM
Problems with cdrecord gschrade Linux - Newbie 3 01-26-2004 06:51 PM
cdrecord problems GZimm Linux - General 1 07-14-2003 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:39 AM.

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