Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 1995 17:31:16 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        msmith@atrad.adelaide.edu.au, hackers@freebsd.org
Subject:   Re: Ultrastor unhappiness/crashing
Message-ID:  <199507252131.RAA02239@hda.com>
In-Reply-To: <199507251155.VAA02596@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Jul 25, 95 09:25:20 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Smith writes:
> 
> Michael Smith stands accused of saying:
> > Jul 25 00:03:59 borax /kernel: sd0(uha0:0:0): host adapter code inconsistency
> ...
> > This is the first time I've had this crash, although the inconsistency
> > messages have been piling up ever since 2.0.5 (one of the last ALPHAS) was
> > installed.
> 
> Or perhaps more accurately since I've been tinkering with scsi(8).
> (I can't be sure of this, but I am reasonably; big fingers 8)
> 
> So, a new variation on the question : what's wrong with this :
> 
> scsi -f /dev/rsd0.ctl -c "0 0 0 0 0 0"
> 
> It's a Test Unit Ready command; it neither sends nor returns data, so
> I'm not specifying any.  Results vary depending on what I do before and
> after it.
> 
It works fine here on the Adaptec 1542.  My guess is a UltraStor bug.
Try compiling with the SCSI_DEBUG option and turning debugging on the
driver.

% beggar.hda.com# scsi -f /dev/rsd0.ctl -c "0 0 0 0 0 0"
% beggar.hda.com# 

> In what we can pretend is an 'idle' state, I get no output.
> If I run an Inquiry command (as per the scsi(8) manpage) after it :
> scsi -f /dev/rsd0.ctl -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z14"
> I get :
> 
> SCIOCCOMMAND ioctl: Command accepted.
> return status 4 (Unknown return status)Command out (6 of 6):
> 12 00 00 00 64 00
> 
> Data in (0 of 64):
> 
> No sense sent.
> SEAGATE ST11200N 9390000666316
> 
> and an inconsistency message from the kernel.  I get the same result
> from the CDrom (Matsushita CR-503), but oddly _not_ from either the
> Micropolis 4110 or my TDC-3660.

For the Adaptec:
% 
% beggar.hda.com# scsi -f /dev/rsd0.ctl -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z14"
% CDC 94171-9 595000150550 

I think the "code inconsistency" error is the XS_DRIVER_STUFFUP error;
take a look at that.

-- 
*** Net and mailer reconfig is going on @hda.com.  Problems to hdslip@iii.net

Peter Dufault               Real Time Machine Control and Simulation
HD Associates, Inc.         Voice: 508 433 6936
dufault@hda.com             Fax:   508 433 5267



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