RFC: ATA to CAM integration patch

Alexander Motin mav at FreeBSD.org
Thu Jul 2 18:31:09 UTC 2009


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


More information about the freebsd-current mailing list