Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant Burn CD's
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
myrddian
n00b
n00b


Joined: 04 Apr 2003
Posts: 27

PostPosted: Wed Apr 16, 2003 12:12 pm    Post subject: Cant Burn CD's Reply with quote

I need to back stuff up from my HDD to CD's

however my CDR is a SCSI disk based system and I realised when I ran ROAST it did not pick it up.. it's not listed any where.. yet on the Kernel it's loaded and detected..

I am running Devfs and I cant find it the symlink on /dev .. even if I search /scsi I only find an empty target area O_O

dmsg ----
scsi0 : AdvanSys SCSI 3.3G: PCI Ultra: IO 0xA000-0xA00F, IRQ 0x5
Vendor: MATSHITA Model: CD-R CW-7502 Rev: 4.10
Type: CD-ROM ANSI SCSI revision: 02
/dmesg

It's loaded ... however I cant use it O_O
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed Apr 16, 2003 12:14 pm    Post subject: Reply with quote

What does cdrecord --scanbus say?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Apr 16, 2003 4:26 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
myrddian
n00b
n00b


Joined: 04 Apr 2003
Posts: 27

PostPosted: Thu Apr 17, 2003 1:09 pm    Post subject: Reply with quote

I get this, it just states it cannot find anything O_o. I have no idea.


----- cdrecord --scanbus
Cdrecord 2.01a08 (i686-pc-linux-gnu) Copyright (C) 1995-2003 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'.
/end
Back to top
View user's profile Send private message
ljkopen
n00b
n00b


Joined: 17 Nov 2002
Posts: 37
Location: Grand Rapids, MI

PostPosted: Thu Apr 17, 2003 7:50 pm    Post subject: Are you loading your CDRW's as IDE drives? Reply with quote

try the command
Code:
cdrecord --scanbus --dev=ATAPI
Cdrecord 2.01a08 (i686-pc-linux-gnu) Copyright (C) 1995-2003 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) *
        0,1,0     1) 'TOSHIBA ' 'CD-ROM XM-5602B ' '1156' 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) *
scsibus1:
        1,0,0   100) 'IDE-CD  ' 'R/RW 8x4x32     ' 'G1.9' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *


If it looks like mine, your using the IDE-ATAPI cdrw drivers not the IDE-SCSI drivers. This changed with kernel version 2.4.20 and is supported with the version of cdrecord you have installed. If you don't like this and want the IDE-SCSI drivers back, I'd suggest you compile them into your kernel (or as a module) and not compile in IDE-ATAPI cdrom support.
_________________
ljkopen
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Sun Apr 27, 2003 10:28 pm    Post subject: Reply with quote

ok...I feel really stupid now...I can't find cdrecord anywhere...I emerged cdrtools, cdrdao...and whole lotta cdr stuff...where do I get it?
Back to top
View user's profile Send private message
StuBear
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 157
Location: Melbourne,AUSTRALIA

PostPosted: Mon Apr 28, 2003 2:09 am    Post subject: Reply with quote

Have you compiled scsi support into the kernel or as a module?

If you compiled as a module make sure scsi_mod is loaded via lsmod. You may also need to load scsi_sg, the generic scsi support. I seem to remember that cdrecord wouldn't find my burner as non-root without generic scsi support.

Now I'm using ATAPI instead and am much happier :)
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Mon Apr 28, 2003 8:12 pm    Post subject: Reply with quote

I am having some of the same problems. i just upgraded to the new kernel, and I get the same output from
Code:
cdrecord --scanbus --dev=ATAPI
as ljkopen. I have a dvd rom drive so I need it to be ide-cd, but I want the cdrw to be ide-scsi so I can run k3b. as it is now, k3b will not pick it up. now my links are
Code:
lr-xr-xr-x    1 root     root           34 Dec 31  1969 cdrom0 -> ../scsi/host0/bus0/target1/lun0/cd
lr-xr-xr-x    1 root     root           33 Dec 31  1969 cdrom1 -> ../ide/host0/bus1/target1/lun0/cd
which indicates that the cdrw is on the scsi bus. also I cant get hdparm to initialize dma on the dvd drive. anyone have any ideas about how to take care of this?
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Tue Apr 29, 2003 12:00 am    Post subject: Reply with quote

perhaps I wasn't clear...the executable file, cdrecord, does not exist on my computer...what ebuild to I use to install it?

EDIT: also, just to mention, I would like to keep my dvd playability also...it's a DVD Reader/CDRW combo drive (Inspiron 8100 if that helps)
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Tue Apr 29, 2003 12:32 am    Post subject: Reply with quote

cdrecord is included in the cdrtools ebuild.

i seem to have fixed my problem. my /dev/dvd was pointed to the wrong cdrom. after i fixed that hdparm would work too. dont know why but oh well....
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Tue Apr 29, 2003 1:05 am    Post subject: Reply with quote

I've emerged that half-a-dozen times and still no cdrecord :( Kinda depressing...I even have cdr and dvd in my USE variable. I just re-emerged it again and still no cdrecord

EDIT: I finally unmerged and re-emerged cdrtools and got it working...thanks.
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Wed Apr 30, 2003 1:55 am    Post subject: Reply with quote

christsong84: is your burner detected and working fine now?
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Wed Apr 30, 2003 4:50 am    Post subject: Reply with quote

YET ANOTHER EDIT: nope...new problem

output of my cdrecord --scanbus --dev=ATAPI
Code:
Cdrecord 2.01a05 (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) *
        0,1,0     1) 'TOSHIBA ' 'CDRW/DVD SDR2102' '1D10' 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) *


ok, so I figured out that my device id is 0,1,0...so I use that to burn

Code:
swells@psalms swells $ sudo cdrecord -v dev=0,1,0 speed=8 mylinux.iso
Password:
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/pg1'. 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'.


What am I doing wrong?
Back to top
View user's profile Send private message
StuBear
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 157
Location: Melbourne,AUSTRALIA

PostPosted: Wed Apr 30, 2003 8:25 am    Post subject: Reply with quote

christsong84 wrote:
YET ANOTHER EDIT: nope...new problem
ok, so I figured out that my device id is 0,1,0...so I use that to burn

Code:
swells@psalms swells $ sudo cdrecord -v dev=0,1,0 speed=8 mylinux.iso


What am I doing wrong?


You forgot the ATAPI when you are burning
Code:
sudo cdrecord -v dev=ATAPI:0,1,0 speed=8 mylinux.iso


Also if you check /etc/devfsd and uncomment the lines referring to /dev/cdrw and put your user in the correct group (sorry I can't remember the group and I'm not on my gentoo box :oops: ) you can get rid of the sudo and burn as a regular user
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Wed Apr 30, 2003 2:18 pm    Post subject: Reply with quote

w00t! Thanks soooo much, it works now.

ok...just one more question...I uncommented the dvd section too...I'm assuming that's required to play dvd's? (My drive is a CDRW/DVD combo drive and I don't have any DVD's with me to test it).
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Wed Apr 30, 2003 5:39 pm    Post subject: Reply with quote

most dvd players like Xine default to /dev/dvd so you can point that one to you cdrw/dvd drive and it should be fine.

Anyone out there know how to get the cdrecord to work in the ide-scsi mode? k3b doesnt seem to support the new ATAPI stuff.
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Wed Apr 30, 2003 11:44 pm    Post subject: Reply with quote

thanks 870Fragmaster!

870Fragmaster wrote:

Anyone out there know how to get the cdrecord to work in the ide-scsi mode? k3b doesnt seem to support the new ATAPI stuff.


I get the same problem with simplecdrx...xcdroast seems to work with it (at least teh masked version does).
Back to top
View user's profile Send private message
StuBear
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 157
Location: Melbourne,AUSTRALIA

PostPosted: Thu May 01, 2003 9:43 am    Post subject: Reply with quote

870Fragmaster wrote:
Anyone out there know how to get the cdrecord to work in the ide-scsi mode? k3b doesnt seem to support the new ATAPI stuff.


When I was using ide-scsi emulation, I had to compile support for scsi generic devices and scsi disks to get cdrecord to work as non-root users.

You also need to compile support for ide-scsi obviously and pass hdx=ide-scsi to the kernel at boot time.
Back to top
View user's profile Send private message
myrddian
n00b
n00b


Joined: 04 Apr 2003
Posts: 27

PostPosted: Fri May 02, 2003 12:05 am    Post subject: Reply with quote

I managed to get mine to work, I did compile the generic sg support but it would still not burn. Cant remember what I did, but essentially I ended up going over the kernel config several times.

However now it states I have two SCSI burners O_o... odd to say the least.
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Fri May 02, 2003 4:22 am    Post subject: Reply with quote

I have been burning for a while now until my recent upgrade. I have the scsi support and emulation compiled as modules.(i have tried compiling in too) i load the ide-scsi at boot and pass hdc=ide-scsi at the command line.
Code:
total 0
lr-xr-xr-x    1 root     root           34 Dec 31  1969 cdrom0 -> ../scsi/host0/bus0/target1/lun0/cd
lr-xr-xr-x    1 root     root           33 Dec 31  1969 cdrom1 -> ../ide/host0/bus1/target1/lun0/cd
here you can see my device links to my cdroms. my burner is on the scsi bus but still doesnt work w/ k3b. I am kind of stumped on this one. also i just found this while poking thru proc
Code:
overlord@rommel overlord $ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IOMEGA   Model: ZIP 100          Rev: 14.A
  Type:   Direct-Access                    ANSI SCSI revision: ffffffff
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: PLEXTOR  Model: CD-R   PX-W8432T Rev: 1.07
  Type:   CD-ROM                           ANSI SCSI revision: 02
Looks to me like it is on the scsi. I think it is the problem w/ cdrecord -scanbus not working anymore. when k3b worked w/ my burner -scanbus worked.
Back to top
View user's profile Send private message
StuBear
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 157
Location: Melbourne,AUSTRALIA

PostPosted: Fri May 02, 2003 4:41 am    Post subject: Reply with quote

Is the generic scsi support module loaded?

I needed to have it loaded for my burner to work with cdrecord, scsi emulation and reading cds worked fine without it, but cdrecord would not find the device unless generic scsi support was loaded or compiled into the kernel
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Fri May 02, 2003 4:46 am    Post subject: Reply with quote

should be, that is scsi_mod is it not? here is a list of my modules that are running now
Code:
Module                  Size  Used by    Tainted: P
sd_mod                 10252   0  (autoclean)
via686a                 8128   0
lm80                    5628   0  (unused)
eeprom                  3668   0
adm1021                 6488   0
i2c-isa                 1160   0  (unused)
i2c-proc                6704   0  [via686a lm80 eeprom adm1021]
ide-cd                 27080   0  (autoclean)
sr_mod                 14328   0  (autoclean)
cdrom                  25984   0  (autoclean) [ide-cd sr_mod]
ipt_MASQUERADE          1272   1  (autoclean)
ipt_LOG                 3192   1  (autoclean)
ipt_state                536   3  (autoclean)
iptable_nat            15608   1  (autoclean) [ipt_MASQUERADE]
ip_conntrack           20064   2  (autoclean) [ipt_MASQUERADE ipt_state iptable_nat]
iptable_filter          1612   1  (autoclean)
ip_tables              11232   7  [ipt_MASQUERADE ipt_LOG ipt_state iptable_nat iptable_filter]
ppp_synctty             5728   0  (unused)
ppp_async               7072   1
ide-scsi                7568   0
scsi_mod               80660   3  [sd_mod sr_mod ide-scsi]
nvidia               1547840  10
emu10k1                55432   2
sound                  51508   0  [emu10k1]
tuner                   8832   1  (autoclean)
tvaudio                11132   0  (autoclean) (unused)
msp3400                14348   1  (autoclean)
bttv                   64640   0
i2c-algo-bit            7368   1  [bttv]
i2c-core               13832   0  [via686a lm80 eeprom adm1021 i2c-isa i2c-proc tuner tvaudio msp3400 bttv i2c-algo-bit]
videodev                5408   3  [bttv]
3c59x                  25200   2
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Fri May 02, 2003 4:54 am    Post subject: Reply with quote

that was it. EUREKA!!! it was the generic support. ANYONE READING THIS, DONT OVERLOOK THE GENERIC SCSI SUPPORT (MODULES sg.o) :D I cant believe i overlooked that.
Back to top
View user's profile Send private message
Advocate
n00b
n00b


Joined: 01 Aug 2002
Posts: 42

PostPosted: Fri May 02, 2003 3:46 pm    Post subject: Reply with quote

Having just read this thread I have a question to ask (didn't you just know it ;) )

When I type the command

Code:
cdrecord -scanbus -dev=ATAPI


I see both my Sony DRU500A dvd recorder and my Liteon CDRW drive, Gtoaster seems not to be able to find either of them though :s

Any ideas?

[EDIT]Looking through the preferences of gtoaster I notice that you can set the commands used to write the cd's etc as shown below

Code:
rec_clientrec_multisessionrec_dummymode$buprotect$daomode dev=$scsiid speed=rec_speed $writelist


Do I have to replace each $scsiid with ATAPI on those lines?
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Sat May 03, 2003 12:17 am    Post subject: Reply with quote

you might try it with
Code:
dev=ATAPI:0,1,0
. it lookes to me like very few front ends like k3b and, from your accout, gtoaster can only burn with scsi drives at the moment.

my quick tutorial on enabling ide-scsi:
1. compile the kernel with
Code:
ATA/IDE/MFM/RLL support  --->
   <*> ATA/IDE/MFM/RLL support
   IDE, ATA and ATAPI Block devices  --->
      <M>   Include IDE/ATAPI CDROM support
      <M>   SCSI emulation support
SCSI support  --->
   <M> SCSI support
   <M>   SCSI CD-ROM support
   <M>   SCSI generic support

To speed up the kernel compile, all you need to do is "make menuconfig" add the modules that are listed above, "make dep && make modules modules_install". This only builds the modules that havent already been built.

2.use "dmesg" to output the bootup if you cant remember what drive letter your cdrw is and edit your /boot/grub/grub.conf to pass hdx=ide-scsi where x corresponds to your drive letter. for example here are my boot parameters.
Code:
cat /proc/cmdline
root=/dev/hda3 hdb=ide-scsi hdc=ide-scsi hdd=ide-cd video=vesa:ywrap,mtrr vga=0x317
On my system hdb is a zip drive and hdc is my burner. hdd is my dvd drive. hdd=ide-cd is probably redundant, but i stuck it in anyway.

3.add ide-scsi and sg to your /etc/modules.autoload for example here is mine.
Code:
cat /etc/modules.autoload
# /etc/modules.autoload:  kernel modules to load when system boots.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/modules.autoload,v 1.5 2002/11/18 19:39:22 azarah Exp $
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
3c59x
bttv
emu10k1
nvidia
ide-scsi
sg


Some folks have said that some of this needs to be built in, but here is the output of cdrecord from my system that is setup as I have tried to describe above.
Code:
cdrecord -scanbus
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'IOMEGA  ' 'ZIP 100         ' '14.A' Removable Disk
        0,1,0     1) 'PLEXTOR ' 'CD-R   PX-W8432T' '1.07' 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) *
I hope someone benefits from this. And happy burning!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum