From owner-freebsd-current Mon Nov 25 14:03:26 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA13101 for current-outgoing; Mon, 25 Nov 1996 14:03:26 -0800 (PST) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA13086; Mon, 25 Nov 1996 14:03:00 -0800 (PST) Received: from x14.mi.uni-koeln.de (annexr2-44.slip.Uni-Koeln.DE) by Octopussy.MI.Uni-Koeln.DE with SMTP id AA29222 (5.67b/IDA-1.5); Mon, 25 Nov 1996 23:02:26 +0100 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.8.3/8.6.9) id XAA00378; Mon, 25 Nov 1996 23:02:30 +0100 (CET) Message-Id: 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 References: <199611252136.WAA00386@ravenock.cybercity.dk> X-Mailer: Mutt 0.52 Mime-Version: 1.0 In-Reply-To: <199611252136.WAA00386@ravenock.cybercity.dk>; from Soren Schmidt on Nov 25, 1996 22:36:02 +0100 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ...