LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problems with cdrecord. . . (https://www.linuxquestions.org/questions/slackware-14/problems-with-cdrecord-254721/)

wnaLinux 11-14-2004 11:58 AM

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?

trickykid 11-14-2004 12:06 PM

Has this worked before? Do you have scsi enabled or emulated? More details would help out.

wnaLinux 11-14-2004 12:12 PM

To tell you the truth I dont really know whether its enabled or emulated and no it hasnt worked before.

gbonvehi 11-14-2004 01:22 PM

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.

wnaLinux 11-14-2004 01:44 PM

Hey thanks, buddy it worked! Im definitley writeing this one down.

wnaLinux 11-14-2004 01:53 PM

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.

ringwraith 11-14-2004 03:32 PM

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.

wnaLinux 11-14-2004 04:02 PM

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

ringwraith 11-14-2004 04:07 PM

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.

wnaLinux 11-14-2004 04:13 PM

Oh ok so how do I add my user to those groups as well.

wnaLinux 11-14-2004 04:16 PM

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.

ringwraith 11-14-2004 09:35 PM

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

audio::17:haldir
video::18:haldir
cdrom::19:haldir

wnaLinux 11-14-2004 10:35 PM

Ok I did that now what? Any more steps? Should I reboot? Pop A CD in the drive or what?

wnaLinux 11-14-2004 10:40 PM

If this helps nothing happends still when I start the cd player program "Drive Error" is all I get out of it.


All times are GMT -5. The time now is 02:15 PM.