From owner-freebsd-stable@FreeBSD.ORG Fri Dec 22 07:50:13 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 22DED16A407 for ; Fri, 22 Dec 2006 07:50:13 +0000 (UTC) (envelope-from serg@tmn.ru) Received: from sbtx.tmn.ru (sbtx.tmn.ru [212.76.160.49]) by mx1.freebsd.org (Postfix) with ESMTP id 7310313C447 for ; Fri, 22 Dec 2006 07:49:57 +0000 (UTC) (envelope-from serg@tmn.ru) Received: from sv.tech.sibitex.tmn.ru (sv.tech.sibitex.tmn.ru [10.76.160.59]) by sbtx.tmn.ru (8.13.6/8.13.6) with ESMTP id kBM7cwsS059401; Fri, 22 Dec 2006 12:39:04 +0500 (YEKT) (envelope-from serg@tmn.ru) Received: from sv.tech.sibitex.tmn.ru (localhost.tech.sibitex.tmn.ru [127.0.0.1]) by sv.tech.sibitex.tmn.ru (8.13.8/8.13.8) with ESMTP id kBM7cwlw014879; Fri, 22 Dec 2006 12:38:58 +0500 (YEKT) (envelope-from serg@sv.tech.sibitex.tmn.ru) Received: (from serg@localhost) by sv.tech.sibitex.tmn.ru (8.13.8/8.13.8/Submit) id kBM7cv9Y014878; Fri, 22 Dec 2006 12:38:57 +0500 (YEKT) (envelope-from serg) Date: Fri, 22 Dec 2006 12:38:57 +0500 From: "Sergey N. Voronkov" To: Luigi Rizzo Message-ID: <20061222073857.GA10704@tmn.ru> References: <20061221092717.A6431@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061221092717.A6431@xorpc.icir.org> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on sbtx.tmn.ru X-Virus-Status: Clean Cc: 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: Fri, 22 Dec 2006 07:50:13 -0000 On Thu, Dec 21, 2006 at 09:27:17AM -0800, Luigi Rizzo wrote: > just noticed, after upgrading to 6.2RC1, that > > luigi# burncd -f /dev/acd0 -v blank > blanking CD, please wait.. > > stays there forever. Eventually i gave up and ctrl-C and > the application terminates, and i was able to write to > the disk a valid image, which probably means that the > disk had been blanked. > > I browsed through the mailing lists and it seems to be an > old problem, related to the driver not reporting the status info. > > Not sure if it is related to particular hardware, just in case here > is what i have: > > ad0: 238475MB at ata0-master UDMA100 > acd0: DVDR at ata0-slave UDMA33 > > note, if i kldload atapicam, and try the blank on /dev/cd0 i get this: > > luigi# burncd -f /dev/cd0 -v blank > burncd: ioctl(CDRIOCGETBLOCKSIZE): Inappropriate ioctl for device > > Any ideas ? > This old report says the problem is in the ioctl... > > http://www.freebsd.org/cgi/query-pr.cgi?pr=44803 See my report: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/95344 And: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/104270 The last one contain a fix. Serg. P.S.: Don't use burncd. Use cdrecord!