From owner-freebsd-current@FreeBSD.ORG Thu Jul 2 18:31:08 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A5B71065688 for ; Thu, 2 Jul 2009 18:31:08 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 01DB78FC28 for ; Thu, 2 Jul 2009 18:31:07 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 247479495; Thu, 02 Jul 2009 21:31:04 +0300 Message-ID: <4A4CFCDD.4020202@FreeBSD.org> Date: Thu, 02 Jul 2009 21:30:53 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Lucius Windschuh References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: RFC: ATA to CAM integration patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2009 18:31:09 -0000 Lucius Windschuh wrote: > I'd like to notice that the patch seems to break cdrecord -scanbus > (freshly rebuilt from the ports): > $ cdrecord -scanbus > Cdrecord-Clone 2.01 (i386-unknown-freebsd8.0) Copyright (C) 1995-2004 > J=F6rg Schilling > cdrecord: Argument list too long. CAMIOCOMMAND ioctl failed. Cannot > open SCSI driver. > cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are r= > oot. > cdrecord: For possible transport specifiers try 'cdrecord dev=3Dhelp'. It is the same problem I have fixed in camcontrol. You can do the same with changing in scsi-bsd.c in cdrtools #define>CAM_MAXDEVS 128 to #define>CAM_MAXDEVS 50. I hope it is temporal solution. I am thinking about to remove or at least rise that limitation. -- Alexander Motin