Re: RFC: ATA to CAM integration patch

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Thu, 02 Jul 2009 21:30:53 +0300
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
Received on Thu Jul 02 2009 - 16:31:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC