Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2000 23:07:17 +0100
From:      Wilko Bulte <wkb@freebie.demon.nl>
To:        "Kenneth D. Merry" <ken@kdm.org>, mjacob@freebsd.org
Cc:        FreeBSD-alpha mailing list <freebsd-alpha@freebsd.org>, justin@freebsd.org
Subject:   Re: SCSI cdrom attach problems on 4-stable
Message-ID:  <20001104230717.B14074@freebie.demon.nl>
In-Reply-To: <20001104133216.A11678@panzer.kdm.org>; from ken@kdm.org on Sat, Nov 04, 2000 at 01:32:17PM -0700
References:  <20001104200119.A13502@freebie.demon.nl> <20001104133216.A11678@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 04, 2000 at 01:32:17PM -0700, Kenneth D. Merry wrote:
> On Sat, Nov 04, 2000 at 20:01:19 +0100, Wilko Bulte wrote:
> > Observed on my Miata, but also on a AS1000A at work:
> 
> [ ... ]
> 
> > (cd0:isp0:0:6:0): got CAM status 0x50
> > (cd0:isp0:0:6:0): fatal error, failed to attach to device
> > (cd0:isp0:0:6:0): lost device
> > (cd0:isp0:0:6:0): removing device entry
> 
> Status 0x50 is:
> 
>         CAM_AUTOSENSE_FAIL = 0x10,/* Autosense: request sense cmd fail */
> and
>         CAM_DEV_QFRZN = 0x40,   /* The DEV queue is frozen w/this err */
> 
> The first one is the important thing.  For some reason the command is
> failing but we aren't getting any sense information back.

...

> There are several things to try here.
> 
> First, try this:
> 
> camcontrol cmd pass3 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
> 
> That will issue a read capacity command to the drive.  The second thing to

Which produces (on Miata):

 without CD loaded:
miata#camcontrol cmd pass3 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
Nov  5 00:01:10 miata /kernel: isp0: 0.6 get current period 0x19 offset 0x8
flags 0xd500
camcontrol: Nov  5 00:01:10 miata /kernel: isp0: 0.6 get current period 0x19
offset 0x8 flags 0xd500
error sending command
CAM status is 0x10
miata#

 with CD loaded:

miata#camcontrol cmd pass3 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
camcontrol: error sending command
CAM status is 0x10
miata#Nov  5 00:02:19 miata /kernel: isp0: 0.6 get current period 0x19
offset 0x8 flags 0xd500
Nov  5 00:02:19 miata /kernel: isp0: 0.6 get current period 0x19 offset 0x8
flags 0xd500

> try is booting with a CD in the drive, and without a CD in the drive, and
> see if one or the other causes it to probe.

The problem that I listed was when booting without a CD in the drive. 
My Miata is currently buildworlding-4.2beta so I have to wait a bit.

The AS1000A was also booted without a disk in the drive. I'm 100% sure the
same hardware ran ok at some point in time (at least on 4.1R). On the
AS1000A I have tested both a RRD45 and a RRD46 (both rebadged Toshibas btw)
with the same effect.

Common is a Qlogic card, so driven by isp. Matt, any comments?

It would be nice to get this sorted out before 4.2 releases. DEC RRD drives
tend to be pretty common on Alphas ;-)

W/
-- 
Wilko Bulte  	 					Arnhem, the Netherlands
wilko@freebsd.org  	http://www.freebsd.org 		http://www.nlfug.nl



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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