From owner-freebsd-current  Mon Jan 24  5:23:39 2000
Delivered-To: freebsd-current@freebsd.org
Received: from tama.kosy.gr.jp (tama.kosy.gr.jp [210.141.104.50])
	by hub.freebsd.org (Postfix) with ESMTP id BA8DA14F72
	for <freebsd-current@freebsd.org>; Mon, 24 Jan 2000 05:23:34 -0800 (PST)
	(envelope-from youchan@kosy.gr.jp)
Received: from KEI (d0.kosy.gr.jp [192.168.1.30])
	by tama.kosy.gr.jp (8.9.3/3.7W) with ESMTP id WAA14443
	for <freebsd-current@freebsd.org>; Mon, 24 Jan 2000 22:23:27 +0900
To: freebsd-current@freebsd.org
Subject: problem of burncd
From: Yosuke Koshino <youchan@kosy.gr.jp>
Message-Id: <200001242225.FIC98286.DBZPOIV@kosy.gr.jp>
X-Mailer: Winbiff [Version 2.30PL4]
Date: Mon, 24 Jan 2000 22:25:14 +0900
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

Hi,there

I install FreeBSD-current-20000122.
I tried to write CD-R with burncd, but writing of CD-R is failed
at the 'fixate' sequence. At the same time, I got the next error
message.
The message is "burncd: ioctl(CDRIOCCLOSEDISK) : Device busy".
Then, I add "sleep(10);" in 'fixate' code of burncd.c.

------------------ burncd.c -----------------
 if (!strcmp(argv[arg], "fixate")) {
         if (!quiet)
                 fprintf(stderr, "fixating CD, please wait..\n");
>        sleep(10);
         if (ioctl(fd, CDRIOCCLOSEDISK) < 0)
                 err(EX_IOERR, "ioctl(CDRIOCCLOSEDISK)");
         break;
 }
------------------ until here ---------------

I have been able to write CD-R normally with burncd now.
I think the cause of the failure is that My CDR drive have 4MB
cache memory and the synchronize of this cache need about 7 or
8 seconds.
Is there the matter of the function "acd_close_track()" of
atapi-cd.c in the kernel code ?

Hardware: Asustek motherboard with athlon
          Yamaha CRW8424E-VK  atapi CD-R drive (WDMA2)
          IBM DPTA-372730     atapi Harddisk drive


Yosuke Koshino



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message