Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2006 23:17:09 +0100
From:      Philipp Ost <pj@smo.de>
To:        Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
Cc:        rizzo@icir.org, stable@freebsd.org
Subject:   Re: burncd 'blank' not terminating ?
Message-ID:  <45904DE5.2020903@smo.de>
In-Reply-To: <20061225215802.E72485@atlantis.atlantis.dp.ua>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

<snip>
$ 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
</snip>

I hope that helps somebody out there ;)

Regards,
Philipp
-- 
www.familie-ost.info/~pj



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45904DE5.2020903>