Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 1996 23:02:29 +0100
From:      se@freebsd.org (Stefan Esser)
To:        sos@freebsd.org
Cc:        current@freebsd.org (FreeBSD current)
Subject:   Re: ncrcontrol proposal
Message-ID:  <Mutt.19961125230229.se@x14.mi.uni-koeln.de>
In-Reply-To: <199611252136.WAA00386@ravenock.cybercity.dk>; from Soren Schmidt on Nov 25, 1996 22:36:02 %2B0100
References:  <199611252136.WAA00386@ravenock.cybercity.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 25, sos@ravenock.cybercity.dk (Soren Schmidt), sos@freebsd.org wrote:
> 
> I have a probelm with ncrcontrol being in /usr/sbin. I need it
> to shut off tagged cmds on one of my SCSI drives, and this
> needs to be done before the /usr etc filesystems are mounted.
> I would like it to be moved to /sbin and then linked static

I'd rather leave it where it is.
You can set the default number of tags to 0
using a kernel config file option:

options "SCSI_NCR_DFLT_TAGS=0"

Then you can use "ncrcontrol -t 0 -t 1 -s tags=4"
to enable tags on those drives that actually 
support them ...


The definition of MAX_START should be changed
into:

#define MAX_START   (MAX_TARGET + 15 * MAX_TAGS)

as it already is in my development sources,
or you may find that "ncrcontrol" claims to 
be incompatible with your kernel ...


As soon as Justin Gibbs new SCSI code is used, 
the situation will change significantly, anyway.
The new generic code knows about tags, and it is
possible to add device specific "quirk" entries.
(Which would disable tags for those HP drives, 
for example.)

Regards, STefan

PS: You are of course free to put a static
    ncrcontrol binary into /sbin. I just do 
    not want this to become the default ...



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