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

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
volumen1
Guru
Guru


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

PostPosted: Fri Oct 17, 2003 8:43 am    Post subject: Heh Reply with quote

Shoot... if you figure out multi-track SVCDs under cdrecord with ATAPI then I'll make it a case :wink:
_________________
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: Fri Oct 17, 2003 5:27 pm    Post subject: Sweet! I owe myself a case of beer! Reply with quote

I found the problem. It's a known bug with alpha14, it got fixed in alpha15. I just upgraded to the latest version in portage (alpha18-something) and I'm rocking! I found the answer on the cdrecord-support mailling-list, cdrecord-support@lists.berlios.de.
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Mon Oct 27, 2003 6:05 pm    Post subject: Reply with quote

i had scsi-emulation for my burner since running gentoo/linux... i just got atapi working with cdrecord... (dont have cdrdao installed) but i was curious to one thing... /etc/devfsd.conf ... the cdrw section was uncommented from before when i was using scsi-em and i left it but changed fstab from
Code:
#/dev/sr0   /mnt/cdrw    iso9660   noauto,async,exec,users,rw 0 0
to
Code:
/dev/cdroms/cdrom1  /mnt/cdrw  iso9660    noauto,async,exec,users,rw 0 0
in devfsd.conf the cdrom and dvd sections point to /dev/cdroms/cdrom0 but there is no entry in the conf for /dev/cdroms/cdrom1 ...... what did you guys do when setting this up or switching from scsi-emulation?
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 30, 2003 10:55 pm    Post subject: Eh?? Reply with quote

I don't completely understand your question. I didn't make any changes to my devfsd.conf. You have two cdrom/cdrw drives? Is that correct?

Here's how my /dev entries look:
Code:
ls -al /dev/cdr*
lr-xr-xr-x    1 root     root            8 Oct 20 14:28 /dev/cdrecorder -> /dev/hdc
lr-xr-xr-x    1 root     root           13 Oct 20 14:28 /dev/cdrom -> cdroms/cdrom0
 
/dev/cdroms:
total 0
drwxr-xr-x    1 root     audio           0 Dec 31  1969 .
drwxr-xr-x    1 root     root            0 Dec 31  1969 ..
lr-xr-xr-x    1 root     root            8 Oct 20 14:28 cdrom0 -> /dev/hdc


My /etc/fstab entry is
Code:
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         user,noauto,ro          0 0


I think I'm misunderstanding your question, so please fill me in and I'll help.
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Fri Oct 31, 2003 3:35 am    Post subject: Reply with quote

i dont need help just was curious as if there was any entry in devfsd.conf for a cdrw using atapi... but i guess there isnt a need for it... its working fine with both cdrecord and cdrdao under atapi
Back to top
View user's profile Send private message
wzzrd
Apprentice
Apprentice


Joined: 18 Jul 2002
Posts: 245

PostPosted: Sat Nov 08, 2003 4:56 pm    Post subject: Kicking Reply with quote

I'm going to kick this thread:

when I configure XCDROAST to work with ATAPI CD-writing (phew, lot's of capital letters here :P ), it complains about the low qualitiy of the CD's it will produce and the long waiting periods I will suffer.

Is this true? Are CD's written with ATAPI CD writing of lower quality than SCSI-written CD's? If yes, how's that? If no, why does XCDROAST complain about it?
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Thu Nov 13, 2003 1:46 pm    Post subject: Reply with quote

When ever I start k3b it complains that cdrdao doesn't support IDE. Is there a way to force it to use cdrecord -dao?
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Fri Nov 14, 2003 1:59 pm    Post subject: Reply with quote

Also, what's with ogg's in k3b? It's telling me all my ogg's are 3 seconds long.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
Boris27
Guru
Guru


Joined: 05 Nov 2003
Posts: 562
Location: Almelo, The Netherlands

PostPosted: Tue Dec 02, 2003 8:05 pm    Post subject: Reply with quote

Just burned a music CD, and everything after track 1 is skewed. Playing it in my stereo, the first track is fine, but as soon as it continues onto track2, the time gets set to -99:99 and is counting towards zero.

Manually seeking to the track doesn't work either. It justs keeps spinning the disc up and down and moving the lens around.

I burned with kernel-2.6.0-test10-mm1, K3B 0.9, using cdrecored 2.01_alpha19, disc-at-one, 48x, buffer underrun protection on, to a LG 48x24x48x16 Combo drive (thats a 48x cd burner coupled with a 16x DVD reader).

It has happened before, a while ago, using 2.4.22-ck2, with the same other settings.

Anyone know a solution? Perhaps track-at-once mode?
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Wed Dec 17, 2003 3:24 am    Post subject: Reply with quote

Anyone able to get Arson to work with ATAPI?

I've tried putting /dev=ATAPI:0,0,0 in the extra parameters section, but no burner shows up.

Here's the output of cdrecord dev=ATAPI:0,0,0 -checkdrive:

Code:
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 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: 2
Capabilities   :
Vendor_info    : 'MATSHITA'
Identifikation : 'UJDA730 DVD/CDRW'
Revision       : '1.00'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE


Thanks!

Scott
_________________
Jab.ID: scottk@jabber.org

Kernel: 2.6.11-rc3-nitro0
KDE 3.3.2 with Xorg
MythBox: 2.6.5-gentoo-dev-r2 (LVMed 360GB in XFS; Athlon 2500+)


Last edited by sklettke on Fri Dec 19, 2003 7:23 am; edited 1 time in total
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Wed Dec 17, 2003 3:34 am    Post subject: Reply with quote

I've made a script that works:

Code:
#!/bin/sh
cdrecord dev=ATAPI:0,0,0 -scanbus


Then, I use /home/scripts/cdrecord in Arson and the CD burner shows up as it should.

However, I'm suspecting that actually burning a cd won't work because it will still be using the script (which includes the -scanbus part). As mentioned above, I've tried putting dev=ATAPI:0,0,0 in the extra parameters section. However, I looked at the command log window and that text is being ignored. Anyone know how to get Arson to actually use the extra parameters?

Also, if I don't have -scanbus in my script, the process fails. When I run:
Code:
 ./cdrecord -scanbus

the -scanbus gets ignored by the script. Is there anyway for the above command to work. ie. Can a script accept a command line argument? Because if this would work, then I could force Arson to use my "extra parameters."

Scott
_________________
Jab.ID: scottk@jabber.org

Kernel: 2.6.11-rc3-nitro0
KDE 3.3.2 with Xorg
MythBox: 2.6.5-gentoo-dev-r2 (LVMed 360GB in XFS; Athlon 2500+)
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Thu Dec 18, 2003 4:46 am    Post subject: Reply with quote

Here's the answer:

ln -sf /dev/ide/host0/bus1/target1/lun0/cd /dev/sg1

This was originally posted in another thread by a guy who also found it in another thread. I have really no idea whom to thank. ;-)

Scott
_________________
Jab.ID: scottk@jabber.org

Kernel: 2.6.11-rc3-nitro0
KDE 3.3.2 with Xorg
MythBox: 2.6.5-gentoo-dev-r2 (LVMed 360GB in XFS; Athlon 2500+)
Back to top
View user's profile Send private message
dabooty
Guru
Guru


Joined: 15 May 2003
Posts: 482
Location: Belgium

PostPosted: Mon Dec 29, 2003 1:14 pm    Post subject: Reply with quote

i just wanted to add that it's also possible to use gtoaster for atapi burning

all you have to do is go to the recorder tab and replace everything that looks like $scsi_drive (or something, now that it's replaced i don't remember) by ATAPI:/dev/hdd or whatever you drive is on.

works fine for me, i never could burn music cd's with gcombust and it's a terrible interface (well so is gtoaster, but less imo;))
_________________
registered user #284425
get yourself counted
http://counter.li.org
------
#emerge -pv solves a lot of questions beforehand
Back to top
View user's profile Send private message
mikeraach
Apprentice
Apprentice


Joined: 20 Jan 2003
Posts: 168

PostPosted: Fri Feb 06, 2004 3:36 am    Post subject: Reply with quote

I just tried atapi burning with 2.6.1 kernel and reading of audio cds were REALLY REALLY slow. Not to mention after the 1st audio track, the wrest were unreadable.

Back to scsi-emulation I go...
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 333
Location: West Sussex, UK

PostPosted: Fri Feb 06, 2004 6:20 pm    Post subject: Reply with quote

mikeraach wrote:
reading of audio cds were REALLY REALLY slow.

If you actually mean reading audio cds (as opposed to writing) then yes. Upgrading to 2.6 kernel series slowed cdparanoia down to a crawl on both my desktop and laptop. cdda2wav is alright though.
Back to top
View user's profile Send private message
PoLiPiE
n00b
n00b


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

PostPosted: Sat Feb 07, 2004 8:57 am    Post subject: Reply with quote

K3B supports ATAPTI writing but you have to add the folowing stuff

www.pckliniek.be/k3b.png

then it works like a charm
_________________
www.pckliniek.be
Back to top
View user's profile Send private message
Slyde
Guru
Guru


Joined: 14 Jul 2003
Posts: 314

PostPosted: Sat Feb 14, 2004 2:35 am    Post subject: Reply with quote

Code:
/usr/bin/cdrecord: Success. send opc: scsi sendcmd: no error
CDB:  54 01 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0C 00 00 00 00 64 C0 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x64 Qual 0xC0 (illegal mode for this track) [No matching qualifier] Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 5.116s timeout 200s
/usr/bin/cdrecord: OPC failed.


Any ideas? :cry:
Back to top
View user's profile Send private message
Slyde
Guru
Guru


Joined: 14 Jul 2003
Posts: 314

PostPosted: Sat Feb 14, 2004 10:33 am    Post subject: Reply with quote

An extended error:
Code:
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 0 = CD-DA
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.8'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'ARTEC   '
Identifikation : 'WRR-4848        '
Revision       : '1.00'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
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
Drive buf size : 1359872 = 1328 KB
FIFO size      : 4194304 = 4096 KB
Track 01: audio   57 MB (05:44.66) no preemp
Track 02: audio   54 MB (05:21.20) no preemp
Track 03: audio   38 MB (03:47.66) no preemp
Track 04: audio   37 MB (03:43.36) no preemp
Track 05: audio   60 MB (05:57.30) no preemp
Track 06: audio   39 MB (03:54.56) no preemp
Track 07: audio   35 MB (03:29.06) no preemp
Track 08: audio   29 MB (02:57.93) no preemp
Track 09: audio   40 MB (04:01.17) no preemp
Track 10: audio   34 MB (03:24.60) no preemp
Track 11: audio   43 MB (04:20.42) no preemp
Track 12: audio   30 MB (03:00.04) no preemp
Track 13: audio   36 MB (03:34.26) no preemp
Track 14: audio   47 MB (04:41.13) no preemp
Track 15: audio   30 MB (02:58.42) no preemp
Track 16: audio   46 MB (04:34.77) no preemp
Track 17: audio   51 MB (05:03.46) no preemp
Track 18: audio   56 MB (05:33.02) no preemp
Total size:      774 MB (76:41.09) = 345082 sectors
Lout start:      774 MB (76:43/07) = 345082 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in:  -11634 (97:26/66)
  ATIP start of lead out: 359846 (79:59/71)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 14764
Forcespeed is OFF.
Starting to write CD/DVD at speed 24 in real TAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Starting new track at sector: 0
Track 01:   57 of   57 MB written (fifo 100%) [buf 100%]  20.3x.
Track 01: Total bytes read/written: 60799200/60799200 (25850 sectors).
Starting new track at sector: 26002
Track 02:   33 of   54 MB written (fifo 100%) [buf 100%]  20.7x.cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 A0 1B 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 04 00 00 9D A0 0C 00 00 00 00 09 01 00 00 00 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x09 Qual 0x01 (tracking servo failure) Fru 0x0
Sense flags: Blk 40352 (valid)
cmd finished after 7.621s timeout 40s

write track data: error after 35244720 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Input/output error. flush cache: scsi sendcmd: no error
CDB:  35 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0C 00 00 00 00 0C 00 00 00 00 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 6.471s timeout 120s
Trouble flushing the cache
Writing  time:   63.190s
Average write speed  77.9x.
Min drive buffer fill was 69%
Fixating...
Fixating time:   22.307s
BURN-Free was never needed.
cdrecord: fifo had 1577 puts and 1514 gets.
cdrecord: fifo was 0 times empty and 1282 times full, min fill was 87%.


I don't believe it is hardware because I have seen other people run across the same problem. Any help would be appreciated...
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 Previous  1, 2
Page 2 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