From owner-freebsd-questions Fri Mar 24 20:32:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from escape.com (escape.com [198.6.71.10]) by hub.freebsd.org (Postfix) with ESMTP id CFA3C37B637 for ; Fri, 24 Mar 2000 20:32:08 -0800 (PST) (envelope-from zhaoc@escape.com) Received: from localhost (zhaoc@localhost) by escape.com (8.9.0/8.9.1) with ESMTP id XAA24791; Fri, 24 Mar 2000 23:32:42 -0500 (EST) Date: Fri, 24 Mar 2000 23:32:42 -0500 (EST) From: OCtane To: Scott Hess Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Creating and burning ufs images on CD-Roms? In-Reply-To: <20000324152535.A8990@river.avantgo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for your swift reply. I've solved the problem, the fixate command to burncd did the trick. I should have thought a bit more about the actual message the kernel printed when it paniced: /kernel: acd1: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04 I went back to the burncd man page and thought about it a bit, and realized that the TOC probably didn't exist. I tried first to mount the image with a fragment size of 2048, but that still resulted in a panic. Rerunning burncd, but appending 'fixate' apparently writes the TOC and allows the cd to be mounted correctly. Thank you once again for your time. On Fri, 24 Mar 2000, Scott Hess wrote: > Date: Fri, 24 Mar 2000 15:25:35 -0800 > From: Scott Hess > To: OCtane > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: Creating and burning ufs images on CD-Roms? > > On Fri, Mar 24, 2000 at 05:26:44PM -0500, OCtane wrote: > > Here's what I've tried (apprx): > > dd if=/dev/zero of=./cdimg bs=2048 count=332800 # Create 650MB image file > > # The byte size here doesn't even matter, does it? > > vnconfig -s labels -c vn0 ./cdimg > > disklabel -r -w vn0 auto # Label it with defaults? > > newfs /dev/vn0c > > > > At this point I can mount the file and copy whatever I want on to it. > > I unmount the file, and burn it using burncd (running FreeBSD > > 4.0-Stable, cvsup'ed in the last three days.) > > > > burncd -f /dev/acd1c -s 4 data ./cdimg > > > > The burn process appears to work; the cd-rw's drive light blinks, > > burncd reports the progress until it is finished. > > > > Mounting the cd then causes a kernel panic. > > >From your description, my bet would be that you need to set the fragment > size to newfs to 2k. > > [I've never built such a CD, though I've mounted them before - NeXT's > CDs were UFS filesystems.] > > Later, > scott > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message