9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] writing cds
@ 2001-08-01 16:15 anothy
  0 siblings, 0 replies; 2+ messages in thread
From: anothy @ 2001-08-01 16:15 UTC (permalink / raw)
  To: 9fans

i'm trying to burn a CD using cdfs. i've got the
image read just fine (it's quite big, basically a
full cd). i can write the image just fine onto a
CD-RW disk, and that disk works great (confirmed
in a friend's Win32 box). but when i try to write
it onto a blank 700MB CD-R disk, i get this:
	: anothy; cp lib/foo.cd /mnt/cd/wd
	cp: error writing /mnt/cd/wd/foo.cd: cmd #2a: invalid field in cdb
this happens about 15 seconds into the cp process.
i can't find it in the source for cdfs (although
mmc.c does have this:
	cmd[0] = 0x2a;	/* write */
which seems informative). i've written to these
oversized disks before without issue (although i
can't remember if i've ever written _data_, as
opposed to just audio). anyone know what's going
on, before i plop debug prints in and eat a few
more CDs?
-α.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] writing cds
@ 2001-08-01 17:04 forsyth
  0 siblings, 0 replies; 2+ messages in thread
From: forsyth @ 2001-08-01 17:04 UTC (permalink / raw)
  To: 9fans

>>	cp: error writing /mnt/cd/wd/foo.cd: cmd #2a: invalid field in cdb
>>i can't find it in the source for cdfs (although

the diagnostic comes from /sys/lib/scsicodes via /sys/src/libdisk/scsi.c



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-01 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-01 16:15 [9fans] writing cds anothy
2001-08-01 17:04 forsyth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).