From owner-freebsd-scsi Sun Oct 12 03:12:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA12441 for freebsd-scsi-outgoing; Sun, 12 Oct 1997 03:12:35 -0700 (PDT) (envelope-from owner-freebsd-scsi) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA12391; Sun, 12 Oct 1997 03:11:18 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id DAA26167; Sun, 12 Oct 1997 03:11:16 -0700 (PDT) Message-ID: <19971012031116.19283@hydrogen.nike.efn.org> Date: Sun, 12 Oct 1997 03:11:16 -0700 From: John-Mark Gurney To: Stefan Esser Cc: scsi@FreeBSD.ORG Subject: Re: Trouble with dump on ncr References: <19971011091605.32335@mi.uni-koeln.de> <199710120615.AAA18578@pluto.plutotech.com> <19971012094426.47163@mi.uni-koeln.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <19971012094426.47163@mi.uni-koeln.de>; from Stefan Esser on Sun, Oct 12, 1997 at 09:44:26AM +0200 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Stefan Esser scribbled this message on Oct 12: > On 1997-10-12 00:15 -0600, Kenneth Merry wrote: > > > The start unit command should instead be issued from the > > > recovery code in the generic SCSI layer, IMHO, whenever > > > the return status from the SCSI card driver indicates a > > > drive has (been) stopped in an attempt to recover from > > > that situation. > > > > FWIW, that's what the new CAM SCSI code does. The da (i.e. sd) > > driver does a read capacity upon open. If the read capacity returns with > > 0x04, 0x02 ("Logical unit not ready, initializing cmd. required"), the error > > recovery code issues a start unit command to the drive. > > I downloaded that code, but did not have time > to look into it in detail. It is unfortunate, > that many parts outside /sys have to me made > aware of the CAM driver, IMHO. well.. right now I'm compiling a kernel, with the new CAM code, to boot one of my crash machines with.. the only really thing that needs to be changed is config and MAKEDEV.. the others I believe are just support files for interfacing with the code (libcam and include/Makefile)... if I remeber right, I just looked at the patches about 10-15 minutes ago.. :) ttyl.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD