Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 1998 11:04:35 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        mjacob@feral.com (Matthew Jacob)
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: anyone using a CD changer with CAM?
Message-ID:  <199803181804.LAA21354@panzer.plutotech.com>
In-Reply-To: <199803181755.JAA06950@feral.com> from Matthew Jacob at "Mar 18, 98 09:55:16 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jacob wrote...
> Okay... I can check it - I have a couple of those nakamichi seven disk
> changers...

	Thanks.  I think that's the same thing I've got:

cd2 at adv1 bus 0 target 1 lun 0
cd2: <NRC MBR-7 111t> Removable CD-ROM SCSI2 device 
cd2: 3.300MB/s transfers 
cd2: cd present [76652 x 2048 byte records]

	You'll want to probably play around with the following sysctl
variables, and adjust things to suit your usage pattern:

kern.cam.cd.changer.min_busy_seconds: 3
kern.cam.cd.changer.max_busy_seconds: 11

	The only requirement is that the min should be less than the max,
and they should both be > 1.  In practice, I've found that higher timeouts
than that are preferrable.  (like maybe 10 seconds for the minimum, and 15
or so for the maximum)

	Once you settle on a "good" timeout, you can hard-code it in your
kernel config file with the following options: (taken from LINT)

options         "CHANGER_MIN_BUSY_SECONDS=2"
options         "CHANGER_MAX_BUSY_SECONDS=10"

	There isn't yet a way to specify different timeouts for different
changers, but I guess if someone wants it, I can look into it.


Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



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