From owner-freebsd-scsi Sun Oct 24 15: 0:22 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 34E801503B for ; Sun, 24 Oct 1999 15:00:19 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id QAA13531; Sun, 24 Oct 1999 16:00:11 -0600 (MDT) (envelope-from ken) Message-Id: <199910242200.QAA13531@panzer.kdm.org> Subject: Re: Disabling Disconnects on 53c810a In-Reply-To: <8025680F.004AD14E.00@mail.plasmon.co.uk> from "amobbs@allstor-sw.co.uk" at "Oct 19, 1999 02:37:11 pm" To: amobbs@allstor-sw.co.uk Date: Sun, 24 Oct 1999 16:00:11 -0600 (MDT) Cc: freebsd-scsi@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ Sorry for the delay in answering, I was at FreeBSDCon ] amobbs@allstor-sw.co.uk wrote... > > I want to disable disconnects in order to test a theory about a problem that I'm > seeing. > > However, looking at the bus on a SCSI analyzer, the CAM_DIS_DISCONNECT flag > doesn't seem to have the desired effect. The identify message is still reporting > as 0xC0, i.e. disconnects allowed. This isn't surprising, as I can't find any > mention of the CAM flag in ncr.c. Right, it looks like the NCR driver doesn't honor the CAM_DIS_DISCONNECT flag. The Adaptec driver does, FWIW. > Is there any method of disabling disconnects with the NCR driver? Have you tried using camcontrol(8) to disable disconnects? e.g.: camcontrol negotiate da0 -v -D disable I think that should work with the NCR driver. > What's the difference between CAM_DIS_AUTODISC and CAM_DIS_DISCONNECT? (Sorry if > that's a stupid question, I'm not very familier with low-level SCSI). I think CAM_DIS_AUTODISC is for disabling disconnects in target mode, if I read the CAM spec right. (If you want to look at the CAM specs, go to www.t10.org.) Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message