LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CD Burner doesnt work (https://www.linuxquestions.org/questions/linux-hardware-18/cd-burner-doesnt-work-227287/)

DaveyB 09-06-2004 09:16 AM

CD Burner doesnt work
 
Hey guys. I cant burn a CD.
i installed xcdroast and when i run it i get this message
root@darkstar:~# xcdroast

** WARNING **: No /usr/local/bin/cdrecord installed


** WARNING **: (Invalid lib-directory? Check -l option)

so i then type:
root@darkstar:~# 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'.

Whats up with my cd burner how come nothing can find it. Any ideas?

DrOzz 09-06-2004 11:35 AM

type :
Code:

cat /usr/src/linux/.config | grep CONFIG_PARPORT_OTHER
if that says its not set (which i bet it does) then that is why it is probably not working ...

what is pg ? taken from 'cdrecord dev=help'
Code:

Transport name:        pg
Transport descr.:      SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:   
Target specifier:      bus,target,lun
Target example:        1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:  not supported

i actually had (well actually still have) the same problem as you .. but am too lazy to go about
fixing it, cause i never had a need to burn anything in while ... but from what i found out, that
is what is going to fix the problem, so give that a go .. so basically what i am saying, is that
your going to have to recompile your kernel, cause i am almost 100% positive if you try
to make /dev/pg* with mknod it still won't work ...

DaveyB 09-06-2004 05:31 PM

DID
root@darkstar:/home/guest# cat /usr/src/linux/.config | grep CONFIG_PARPORT_OTHE
# CONFIG_PARPORT_OTHER is not set

Then did chmod +xrw /dev/pg*
then ran
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'.
root@darkstar:/home/guest# 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'.

So it means recompile kernel how would i go about this?

whansard 09-06-2004 06:00 PM

try this.


cdrecord dev=ATAPI -scanbus

DaveyB 09-06-2004 07:54 PM

Did this and got this
root@darkstar:/home/guest# cdrecord dev=ATAPI -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-208B ' 'BS03' Removable CD-ROM
0,1,0 1) ' LG ' 'CD-ROM CRD-8160B' '1.13' Removable CD-ROM
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@darkstar:/home/guest#
looked good then i did
root@darkstar:~# 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'.
root@darkstar:~#


any ideas. Thiink wea re getting somewhere, you have been a great help

hkb33 09-06-2004 08:59 PM

Now that you've determined where your device is, run the following command to start burning with cdrecord. The below example shows us burning an .iso image to cd-rom:


cdrecord -v -dao dev=ATAPI:0,0,0 /path-to-filename/filename.iso

The -v stands for verbosity and the -dao stands for "Disk At Once." We use the dev= options to define the device that we found with the scanbus option above, in this example, it's 0,0,0.

For all list of all of cdrecord's options, run the command:

man cdrecord

DaveyB 09-07-2004 05:05 AM

Is there any programs that would do this for me?

db391 09-07-2004 07:37 AM

to make it easier u can activate scsi emulation for that cdrw drive (for 2.4 kernels)


as root edit /etc/lilo.conf

in your boot image section add:

append="hdX=ide-scsi"

(where hdX is wherever your cdrw drive is located (hda,hdb,hdc,hdd))

also when you logged in as root run the command lilo

reboot and thne u can run xcdroast and then autodetect the drive.

it should work.

DaveyB 09-07-2004 08:55 AM

Thats awesome now my CDROM drive is being picked up but i am still having this problem, something to do with xhost. I cant seem to work out wot to do.

root@darkstar:/home/guest# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-208B ' 'BS03' 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) *


See this is the error message i get
root@darkstar:/home/guest# xcdroast
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0.0

db391 09-08-2004 05:42 AM

if you are logged in as user but su'd in as root on a terminal it may not authenticate with X
hence your error.

Try logging in to X as root and retrying because i had the exact same problem on slackware 9.1.....

then open a terminal and without su'ing try xcdroast again



root@darkstar:/home/guest# xcdroast


see what u get.

DaveyB 09-08-2004 03:46 PM

still doesnt work, I think theres a problem with my graphics drivers or something...


All times are GMT -5. The time now is 07:27 PM.