From owner-freebsd-stable@FreeBSD.ORG Mon Dec 25 22:35:48 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B966B16A403 for ; Mon, 25 Dec 2006 22:35:48 +0000 (UTC) (envelope-from pj@smo.de) Received: from ilk.de (mx-out14.ilk.de [194.121.104.14]) by mx1.freebsd.org (Postfix) with ESMTP id 372BE13C470 for ; Mon, 25 Dec 2006 22:35:46 +0000 (UTC) (envelope-from pj@smo.de) Received: from bologna.intern.smo.de (pool39.ka.ilk.net [212.86.194.39]) by ilk.de (8.13.4/8.13.4/ilk-relay) with ESMTP id kBPMBso6014974; Mon, 25 Dec 2006 23:11:54 +0100 Received: from [192.168.153.208] (herdubreid.intern.smo.de [192.168.153.208]) by bologna.intern.smo.de (8.13.4+Sun/8.13.4) with ESMTP id kBPMAuhi016131; Mon, 25 Dec 2006 23:10:56 +0100 (CET) Message-ID: <45904DE5.2020903@smo.de> Date: Mon, 25 Dec 2006 23:17:09 +0100 From: Philipp Ost User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20061022 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: Dmitry Pryanishnikov References: <20061221092717.A6431@xorpc.icir.org> <20061222073857.GA10704@tmn.ru> <20061225165735.M22401@atlantis.atlantis.dp.ua> <458FF48A.3010802@mail.zedat.fu-berlin.de> <459003B9.5040201@samsco.org> <20061225215802.E72485@atlantis.atlantis.dp.ua> In-Reply-To: <20061225215802.E72485@atlantis.atlantis.dp.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: rizzo@icir.org, stable@freebsd.org Subject: Re: burncd 'blank' not terminating ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Dec 2006 22:35:48 -0000 Dmitry Pryanishnikov wrote: > 1) it seems that problem is in /sys/dev/ata/atapi-cd.c code rather then > in burncd utility (but I'm not 100%-sure here); > > 2) burncd still does _all_ things which it's useful for: it really burns CDs > erases and fixates them. It just incorrectly waits for completion of > erase/fixate operation. Waiting some extra time after drive finishes the > write process and pressing Ctrl+C works around this problem and results > in correctly erased/fixed media. It would be unwise to throw away a dirty > screwdriver instead of washing it ;) I just found an error-message from the time I was still using 6.1-RELEASE: $ uname -a FreeBSD herdubreid.xxx.xxx.de 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 27 22:26:23 CEST 2006 pj@herdubreid.xxx.xxx.de:/usr/obj/usr/src/sys/HERDUBRE IDKERNEL i386 herdubreid# burncd -f /dev/acd0 erase ^Casing CD, please wait.. herdubreid# burncd -f /dev/acd0 blank ^Canking CD, please wait.. ^-- both takes forever - interrupted with Ctrl-C herdubreid# burncd -f /dev/acd0 data 6.1-RELEASE-i386-disc1.iso fixate next writeable LBA 0 writing from file 6.1-RELEASE-i386-disc1.iso size 517368 KB written this track 517368 KB (100%) total 517368 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error herdubreid# ^-- The ISO-Image is OK... The following appeared in /var/log/messages: May 29 11:30:35 herdubreid kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x1 0 ascq=0x00 g_vfs_done():acd0[READ(offset=290387968, length=2048)]error = 5 I hope that helps somebody out there ;) Regards, Philipp -- www.familie-ost.info/~pj