Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Actual ATAPI burning
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
PoLiPiE
n00b
n00b


Joined: 25 May 2003
Posts: 15
Location: www.pckliniek.be

PostPosted: Thu Jul 31, 2003 5:13 pm    Post subject: Actual ATAPI burning Reply with quote

you don't need the scsi-modules to write a cd
if you have an atapi cd writer then do the following
Code:
  cdrecord dev=ATAPI:0,1,0 -checkdrive


the 0,1,0 can be something else according to your settings,

i get the following if i do this
Code:

Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
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'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'SAMSUNG '
Identifikation : 'CD-R/RW SW-240B '
Revision       : 'R403'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R


then i start
Code:
 gcombust


and the go to Burn and change the following settings below

Code:
 
Device: ATAPI:0,1,0
Driver: mmc_cdr


you can know what drive driver to use when u do the cdrecord stuff

Code:
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).

_________________
www.pckliniek.be


Last edited by PoLiPiE on Mon Sep 15, 2003 5:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Sat Aug 02, 2003 9:07 pm    Post subject: Reply with quote

Split from CD burning for dummies (SCSI Emulation - Standard Method) which was formerly known as ATAPI burning for dummies, but actually wasn't ATAPI burning at all.

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
Sequentious
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 290
Location: London Ontario Canada

PostPosted: Sun Aug 03, 2003 5:11 am    Post subject: Reply with quote

To add a tip for those more console oriented:

I found it useful to make a script that I use for burning iso files created with mkisofs:
Code:
#!/bin/bash
 
cdrecord dev=ATAPI:0,0,0 driveropts=burnfree speed=12 -v -data $*


Put this in your path (/usr/local/bin, perhaps) and you can call it, for example, with "burn-image myimage.iso". It saves alot of time for typing all the options, but is completely unneccessary if you are using gcombust as instructed (and encouraged) above.
_________________
--
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Back to top
View user's profile Send private message
funkmankey
Guru
Guru


Joined: 06 Mar 2003
Posts: 304
Location: CH

PostPosted: Sun Aug 03, 2003 7:04 am    Post subject: Reply with quote

I've none of the emulation or scsi options compiled in or built as modules, but this seems to work just fine:

Code:
%cdrecord dev=/dev/hdc --checkdrive
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'HP      '
Identifikation : 'CD-Writer+ 9100 '
Revision       : '1.0c'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R


that warning does not sound too good, but gcombust seems to be happy enough.
(using 2.6 test2 mm2)
Back to top
View user's profile Send private message
billatq
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 96

PostPosted: Sat Aug 16, 2003 11:00 pm    Post subject: Reply with quote

Strangely enough, I couldn't get it to work with the ATAPI:0,1,0 style notation, but /dev/hdd did the trick just fine for me. It's a bit odd. I'm also using the 2.6 kernel though--2.4 never had a problem with the other notation.
Back to top
View user's profile Send private message
variable
n00b
n00b


Joined: 17 Nov 2002
Posts: 17

PostPosted: Tue Aug 19, 2003 10:14 am    Post subject: Re: Actual ATAPI burning Reply with quote

PoLiPiE wrote:

Code:
 
Device: ATAPI:0,1,0
Driver: mmc-cdr


actually its
Code:
Driver: mmc_cdr

_________________
Do it or not. There is no try!
Back to top
View user's profile Send private message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Tue Aug 19, 2003 6:52 pm    Post subject: Reply with quote

I think I'm missing something here... cdrecord gives me a command not found, and "emerge -s cdrecord" returns no results.
_________________
rcxAsh
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Tue Aug 19, 2003 7:06 pm    Post subject: Reply with quote

cdrecord is part of cdrtools
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Tue Aug 19, 2003 7:06 pm    Post subject: Reply with quote

rcxAsh wrote:
I think I'm missing something here... cdrecord gives me a command not found, and "emerge -s cdrecord" returns no results.


It's called cdrtools, an emerge -S crdrecord would have shows this up.

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Tue Aug 19, 2003 11:43 pm    Post subject: Reply with quote

Oh yah, forgot about "-S" :oops: Although, it takes forever on my computer. Anyways, thanks.

Hmm,
Code:
 $ cdrecord dev=/dev/hdd --checkdrive
doesn't work for me. However,
Code:
 $ cdrecord dev=ATAPI:0,1,0 -checkdrive
works just as PoLiPiE's did.

Don't have anything to worth burning now though, so don't know how it will work in its entirety.

Thanks a bunch though, I've wanted to get my CD Writer working for a while but have been to lazy to get scsi emulation working.
_________________
rcxAsh
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Wed Aug 20, 2003 4:21 pm    Post subject: Reply with quote

But if u use usb based storage devices, I think the scsi emulation is necessary, isn't it?
Back to top
View user's profile Send private message
ScubaStreb
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 118

PostPosted: Mon Sep 01, 2003 3:16 am    Post subject: FYI - K3b .9 Works out of the box with ATAPI burning Reply with quote

K3b detects my ATAPI DVD/CDRW and writes to it perfectly. No configuration was necessary. I had problems with .8.1, but .9 is running great!

I had to use
Code:
ACCEPT_KEYWORDS="~x86" emerge k3b
to get the right version.

Cheers!
_________________
"Without question, the greatest invention in the history of mankind is beer. Oh, I grant you that the wheel was also a fine invention, but the wheel does not go nearly as well with pizza." --Dave Barry
Back to top
View user's profile Send private message
jekyl
n00b
n00b


Joined: 02 Aug 2003
Posts: 24
Location: Norway

PostPosted: Mon Sep 01, 2003 9:06 am    Post subject: Reply with quote

Great tip!! :D
Back to top
View user's profile Send private message
DanWSB
n00b
n00b


Joined: 15 Jul 2002
Posts: 24

PostPosted: Mon Sep 01, 2003 7:47 pm    Post subject: Reply with quote

xcdroast auto-detected and configured my ATAPI burner without issue, and in my opinion has a cleaner interface than gcombust. xcdroast also includes a wrapper that allows non-rooted users to burn CDs, which is quite nice.
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Mon Sep 01, 2003 11:28 pm    Post subject: Reply with quote

Code:
 cdrecord dev=/dev/hdb --checkdrive

gives me
Code:
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: '/dev/hdb'
devname: '/dev/hdb'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'WAITEC  '
Identifikation : 'WT2422EI        '
Revision       : ' 1.4'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO
Supported modes: TAO PACKET RAW/R16

but then xcdroast does not find my cd

any hint?

edit

never mind

I just needed to update to alpha14
Back to top
View user's profile Send private message
MOS-FET
Apprentice
Apprentice


Joined: 20 May 2003
Posts: 291
Location: Cologne, Germany

PostPosted: Wed Sep 03, 2003 8:35 pm    Post subject: Reply with quote

wait wait, does this mean i could burn CDs without having this scsi emulation stuff in my kernel? grub also has an option that says ide-scsi=/dev/hdc or something. my cdr seems to be on ATAPI:0,0,0 (dev/hdc). would be cool if i could remove all this scsi stuff from the kernel.

another question: what's with "packet writing"? is this possible in linux?

tom
Back to top
View user's profile Send private message
ScubaStreb
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 118

PostPosted: Thu Sep 04, 2003 1:49 am    Post subject: Reply with quote

Quote:
wait wait, does this mean i could burn CDs without having this scsi emulation stuff in my kernel?


Yes, you need no scsi emulation and no grub modifications anymore. I have both K3b and Xcdroast working. K3b is very nice, but I can't dup cd's with it yet on my laptop since it only has one drive. I have to use Xcdroast for that.

I'm not sure about packet writing in Linux.
_________________
"Without question, the greatest invention in the history of mankind is beer. Oh, I grant you that the wheel was also a fine invention, but the wheel does not go nearly as well with pizza." --Dave Barry
Back to top
View user's profile Send private message
searcher
Apprentice
Apprentice


Joined: 13 Mar 2003
Posts: 175
Location: NL

PostPosted: Thu Sep 04, 2003 5:47 am    Post subject: Reply with quote

I was just wondering, a few months back ATAPI burning was still in alpha status (and was really slow). Has this improved or should i wait a while longer before i drop all the scsi emulation?

~searcher
_________________
You are unique ... just like everyone else.
Back to top
View user's profile Send private message
ScubaStreb
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 118

PostPosted: Thu Sep 04, 2003 6:44 pm    Post subject: Reply with quote

I haven't noticed any problems with speed. However, my laptop has a combo DVD/CDRW drive which is pretty slow to begin with. It's pretty easy to setup SCSI emulation so if that's already working, just go with it. For a new setup, I'd try ATAPI burning first though. I'm a firm believer in, "if it ain't broke, don't fix it."

The reason I started experimenting with ATAPI was that I had a problem with my burner where it would not read audio CDs well through SCSI emulation. By removing SCSI and going to straight ATAPI. it fixed it right up.

I would be interested in some comparisons between burning speed if anyone can supply them.
_________________
"Without question, the greatest invention in the history of mankind is beer. Oh, I grant you that the wheel was also a fine invention, but the wheel does not go nearly as well with pizza." --Dave Barry
Back to top
View user's profile Send private message
MOS-FET
Apprentice
Apprentice


Joined: 20 May 2003
Posts: 291
Location: Cologne, Germany

PostPosted: Thu Sep 04, 2003 11:30 pm    Post subject: Reply with quote

hmm i have removed all scsi stuff in kernel and grub and my dvd/cdrw still works. but when i start k3b, it complains that cdrdao 1.1.7 doesn't support atapi burning. so what's going on? i thought it's working, or is just cdrecord working and i can't use cdrdao? is cdrdao better or needed at all? what's with speed (i have a 52x burner). well i'll just try to burn a CD now ... hope it works :-)

tom
Back to top
View user's profile Send private message
volumen1
Guru
Guru


Joined: 01 Mar 2003
Posts: 393
Location: Missoula, MT

PostPosted: Wed Oct 15, 2003 9:37 pm    Post subject: cdrdao explanation Reply with quote

I was searching for help with cdrdao atapi burning when I saw your question. Bascially, cdrdao (DAO = disk at once) is a tool for burning cue/bin files. These files are often (s)vcd discs, but they can be any disc image.

It seems that cdrdao is no longer in active development, but some people are working on getting cdrdao compiled with the newer cdrtools libraries. Check out this thread.

https://forums.gentoo.org/viewtopic.php?t=64657&highlight=cdrdaoatapi
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
Back to top
View user's profile Send private message
mlang
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2003
Posts: 82
Location: Near Pittsburgh, PA

PostPosted: Thu Oct 16, 2003 4:04 am    Post subject: Re: cdrdao explanation Reply with quote

volumen1 wrote:
Bascially, cdrdao (DAO = disk at once) is a tool for burning cue/bin files.


I've been burning my bin/cue's with
Code:
cdrecord -fs=10m speed=48 dev=/dev/hdd -v -dao cuefile=foo.cue

to use ATAPI.
Back to top
View user's profile Send private message
volumen1
Guru
Guru


Joined: 01 Mar 2003
Posts: 393
Location: Missoula, MT

PostPosted: Thu Oct 16, 2003 4:11 am    Post subject: Well I'll be damned Reply with quote

Hot dog! I had no idea you could burn cue files with cdrecord. Hooo ah!

mlang, if you are ever anywhere near Missoula, MT, you lemme know. I owe you a beer.
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
Back to top
View user's profile Send private message
volumen1
Guru
Guru


Joined: 01 Mar 2003
Posts: 393
Location: Missoula, MT

PostPosted: Thu Oct 16, 2003 4:31 pm    Post subject: Spoke too soon Reply with quote

Hmm... I just ran into a problem using cdrecord to burn a bin/cue that was created with vcdimager.

Here's the thread https://forums.gentoo.org/viewtopic.php?p=589859#589859

Is anyone else burning SVCD images (that they created in vcdimager) with cdrecord? More specifically, is anyone burning SVCDs that have multiple tracks?
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
Back to top
View user's profile Send private message
mlang
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2003
Posts: 82
Location: Near Pittsburgh, PA

PostPosted: Fri Oct 17, 2003 7:06 am    Post subject: Reply with quote

volumen1: Read your thread, sorry to say that I know nothing about why it doesn't/won't work. I've only burned single-track vcds.

But if the offer for beer still stands, I'll take you up! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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