Subject: Re: any success with burncd?
To: Sean Kelly <smkelly@zombie.org>
From: Neil Ludban <nludban@columbus.rr.com>
List: port-dreamcast
Date: 02/21/2001 22:08:04
Sean Kelly wrote:
> 
> On Wed, Feb 21, 2001 at 07:27:26PM -0500, Neil Ludban wrote:
> > Just wondering if anyone has successfully created a dreamcast bootable
> > CD using the FreeBSD "burncd" program instead of "cdrecord"...  I keep
> > getting errors, and haven't been able to conclude whether the problem
> > is with the burner, the program, or the driver:
> 
> Yes, I have.
> 
> I'm using:
> acd0: CD-RW <SONY CD-RW CRX140E> at ata0-slave using UDMA33
> on:
> FreeBSD edgemaster.zombie.org 4.2-STABLE FreeBSD 4.2-STABLE #0: Sun Jan 28
>  11:41:12 CST 2001 root@edgemaster.zombie.org:/usr/obj/usr/src/sys/EDGEMASTER
>  i386
> 
> > > ## 123 tigger:~/NetBSD/dreamcast/ >> burncd -s 1 audio audio.raw
> > >                                               XAmode1 data.raw
> That won't burn a multisession disc.
> 
> # burncd -f /dev/acd0c -e -s 4 audio <audiofile> fixate
>                        ^^ Second burn fails if I don't eject...
> # burncd -f /dev/acd0c -e -s 4 XAmode1 <datafile> fixate
> 
> Be sure to bootstrap the datafile with an IP.BIN, or else it won't boot.
> 
> --
> Sean Kelly         | PGP KeyID: 77042C7B
> smkelly@zombie.org | http://www.zombie.org
> 
> For PGP key, send e-mail with subject "send pgp key"


Hey, it's working!  First attempt failed again, but then I redid the
audio track and got a new set of numbers from msinfo.  Also did an
eject after msinfo, don't know if that matters...  Haven't seen this
posted to the list yet, so here's the output from the session.

	--Neil



## 135 tigger:~/NetBSD/dreamcast/ >> ls -l 1ST_READ.BIN
-rw-r--r--  1 root  neil  3912704 Feb 19 19:39 1ST_READ.BIN
## 136 tigger:~/NetBSD/dreamcast/ >> diff 1ST_READ.BIN netbsd_bin 
## 137 tigger:~/NetBSD/dreamcast/ >> dd if=/dev/zero bs=2352 count=300
of=audio.raw
300+0 records in
300+0 records out
705600 bytes transferred in 0.021367 secs (33022957 bytes/sec)
## 138 tigger:~/NetBSD/dreamcast/ >> burncd -e audio audio.raw fixate
next writeable LBA 0
writing from file audio.raw size 689 KB
written this track 689 KB (100%) total 689 KB
fixating CD, please wait..
## 139 tigger:~/NetBSD/dreamcast/ >> burncd -e msinfo
0, 11702
## 140 tigger:~/NetBSD/dreamcast/ >> mkisofs -l -C 0,11702 -o tmp.iso
1ST_READ.BIN 
mkisofs: Warning: -C specified without -M: old session data will not be
merged.
Total extents actually written = 1934
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 8184
13636 extents written (26 Mb)
## 141 tigger:~/NetBSD/dreamcast/ >> ls -l
data.raw                             -rw-r--r--  1 neil  neil  3960832
Feb 19 20:19 data.raw
## 142 tigger:~/NetBSD/dreamcast/ >> ( cat IP.BIN ; dd if=tmp.iso
bs=2048 skip=16 ) > data.raw 
1918+0 records in
1918+0 records out
3928064 bytes transferred in 0.129966 secs (30223805 bytes/sec)
## 143 tigger:~/NetBSD/dreamcast/ >> ls -l
data.raw                             -rw-r--r--  1 neil  neil  3960832
Feb 21 21:43 data.raw
## 144 tigger:~/NetBSD/dreamcast/ >> burncd -e -s 4 XAmode1 data.raw
fixate
next writeable LBA 11702
writing from file data.raw size 3868 KB
written this track 3868 KB (100%) total 3868 KB
fixating CD, please wait..
## 145 tigger:~/NetBSD/dreamcast/ >>