LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-06-2004, 09:16 AM   #1
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Rep: Reputation: 15
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?
 
Old 09-06-2004, 11:35 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

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

Last edited by DrOzz; 09-06-2004 at 11:36 AM.
 
Old 09-06-2004, 05:31 PM   #3
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
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?
 
Old 09-06-2004, 06:00 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
try this.


cdrecord dev=ATAPI -scanbus
 
Old 09-06-2004, 07:54 PM   #5
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
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
 
Old 09-06-2004, 08:59 PM   #6
hkb33
Member
 
Registered: Sep 2004
Location: Raleigh NC
Distribution: Fedora / RHEL
Posts: 171

Rep: Reputation: 30
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
 
Old 09-07-2004, 05:05 AM   #7
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
Is there any programs that would do this for me?
 
Old 09-07-2004, 07:37 AM   #8
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
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.
 
Old 09-07-2004, 08:55 AM   #9
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
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
 
Old 09-08-2004, 05:42 AM   #10
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
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.
 
Old 09-08-2004, 03:46 PM   #11
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
still doesnt work, I think theres a problem with my graphics drivers or something...
 
  


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
Why doesnt my USB mouse doesnt work? barkha Linux - Hardware 2 08-16-2005 11:31 AM
DVD/CD Burner Won't Work Cinematography Linux - Hardware 23 06-02-2005 04:51 PM
DVD/CD Burner Won't Work Cinematography Linux - Hardware 1 05-14-2005 01:56 PM
Trying to get CD Burner to work :( eifersucht Linux - Hardware 2 03-30-2005 12:32 AM
getting gtoaster to work with my burner bennyp Linux - Software 2 04-28-2003 04:07 PM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration