Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > X cd roast

X cd roast
Thread Tools
Professional Poster
Join Date: Jan 2000
Location: south
Status: Offline
Reply With Quote
Jul 9, 2003, 08:33 PM
 
So I installed this unix app started it up and everything seems to be fine but when I try to burn with it it says

cdrecord: Cannot load media.
pregap1: -1
cdrecord: Cannot eject media.
Track 01: data 696 MB padsize: 30 KB

I have a crappy usb burner but it is on the list of drives that work. Is the USB the problem.

THe whole burn window info thingy looks like this:
Calling: /usr/local/lib/xcdroast-0.98/bin/xcdrwrap CDRECORD dev= "IOCompactDiscServices/2" gracetime=2 fs=4096k -v -useinfo driver=mmc_cdr speed=4 -dao -eject -pad -data "/Volumes/9/MandrakeLinux-9.1-CD2.ppc.iso" ...

cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: 'IOCompactDiscServices/2'
devname: 'IOCompactDiscServices/2'
scsibus: -2 target: -2 lun: -2
cdrecord: Warning: using inofficial libscg transport code version (csapuntz-scsi-mac-iokit.c-1.4 '@(#)scsi-mac-iokit.c 1.4 02/10/19 Copyright 1997,2001 J. Schilling').
Cdrecord 2.01a15 (powerpc-apple-macosx6.6) Copyright (C) 1995-2003 Jˆrg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.7'
atapi: 0
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'MITSUMI '
Identifikation : 'CR-4804TE '
Revision : '2.6C'
Device seems to be: Philips CDD-522.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
FIFO size : 4194304 = 4096 KB
cdrecord: Cannot load media.
pregap1: -1
cdrecord: Cannot eject media.
Track 01: data 696 MB padsize: 30 KB

Any ideas?
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jul 10, 2003, 09:27 AM
 
Find where the command "cdrecord" is located then do this:

cdrecord -scanbus

Does it find your device?

If it does... do you have write and execute permissions to that device?

This part was the giveaway:

"cdrecord: Permission denied. WARNING: Cannot set priority using setpriority()."

Thanks for posting the verbose output BTW... makes troubleshooting a LOT easier.
-DU-...etc...
     
shmerek  (op)
Professional Poster
Join Date: Jan 2000
Location: south
Status: Offline
Reply With Quote
Jul 10, 2003, 06:37 PM
 
I am probably way over my head with this unix stuff how do I "Find where the command "cdrecord" is located" is it in a file or is this something I do in the terminal?

Thanks for the response by the way, I didn't think this would get any hits
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jul 10, 2003, 09:47 PM
 
Originally posted by shmerek:
I am probably way over my head with this unix stuff how do I "Find where the command "cdrecord" is located" is it in a file or is this something I do in the terminal?

Thanks for the response by the way, I didn't think this would get any hits
No problem.

I am not familiar with using Xcdroast in Mac OS X. I thought there were other easier to use apps that came with it for CD burning... though I haven't used any of those either. The last time I played with Xcdroast was about 5 years ago in Linux. But as you can see from your output in your first post that it is just a GUI wrapper for cdrecord. I found it more efficient to just do things like:

cdrecord -v dev=1,0,0 speed=32 -data someimage.iso

Nowadays it is so braindead easy to burn a bunch of files in Linux... all one has to do is drop in a blank CD into the CD-R/RW and a window pops up... you just drop the files you want burned in the window and click "burn".

Anyhow....

cdrecord is the actual utility that does the burning. All other burning programs are just wrappers for it (in Linux).

To locate cdrecord (in a terminal type):

locate cdrecord

It will probably tell you /usr/local/bin/cdrecord

So then, again in the terminal, type:

/usr/local/bin/cdrecord -scanbus

What does that tell you?

Have you read all the stuff at:
http://www.xcdroast.org/xcdr098/xcdrosX.html
?
-DU-...etc...
     
shmerek  (op)
Professional Poster
Join Date: Jan 2000
Location: south
Status: Offline
Reply With Quote
Jul 10, 2003, 10:43 PM
 
Okay I found the cdrecord file and did the scanbus thing and this is what it said
Cdrecord 2.01a15 (powerpc-apple-macosx6.6) Copyright (C) 1995-2003 J?rg Schilling
/usr/local/lib/xcdroast-0.98/bin/cdrecord: No such file or directory. No matching device found.. Cannot open SCSI driver.
/usr/local/lib/xcdroast-0.98/bin/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
so then I try
[s***:lib/xcdroast-0.98/bin] s***% cdrecord -scanbus
cdrecord: Command not found. s***%
Maybe the problem is that it is a UBS burner? I have no SCSI drive

these are all the other files in that same bin
cdda2wav
cdrecord
mkisofs
rmtool
wavplay
cddbtool
cdrecord.prodvd
readcd
vrfytool
xcdrwrap

I wanted to get this burning app going because I wanted to burn some linux iso cd and I am not haveing any luck with toast or the burn disc that came with the OS.

Thanks for the help by the way I think I know maybe two unix commands ls and cd.
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jul 10, 2003, 11:22 PM
 
Well ls and cd is a start. Another good one is "man -k keyword" where keyword is something that you want to find the manpage on. Anyhoo...

If cdrecord is at /usr/local/lib/xcdroast-0.98/bin/cdrecord

then the command to try is:

/usr/local/lib/xcdroast-0.98/bin/cdrecord -scanbus

I have nooo idea what this is "[s***:lib/xcdroast-0.98/bin] s***% cdrecord -scanbus
cdrecord: Command not found. s***%"

Isn't there a "burn as image" option or something in the Mac OS X native cdburner app? Also did you check the MD5SUMs of the downloaded iso images? If they don't match the published ones then you have to re-download them.

It is unlikely it is a problem that the CD-R is USB. It should just see it as a SCSI device.

I will give it a shot when I get to work tomorrow... I have an external USB CD-R and can hook it up to one of my Mac OS X boxes there.
-DU-...etc...
     
shmerek  (op)
Professional Poster
Join Date: Jan 2000
Location: south
Status: Offline
Reply With Quote
Jul 11, 2003, 08:04 AM
 
/usr/local/lib/xcdroast-0.98/bin/cdrecord -scanbus

yields:

Cdrecord 2.01a15 (powerpc-apple-macosx6.6) Copyright (C) 1995-2003 J?rg Schilling
/usr/local/lib/xcdroast-0.98/bin/cdrecord: No such file or directory. No matching device found.. Cannot open SCSI driver.
/usr/local/lib/xcdroast-0.98/bin/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/local/lib/xcdroast-0.98/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:03 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2