Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 22:55:43 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        Mike Smith <msmith@FreeBSD.ORG>, scsi@FreeBSD.ORG
Subject:   Re: chio trap with not-ready changer 
Message-ID:  <200003010655.WAA04061@mass.cdrom.com>
In-Reply-To: Your message of "Tue, 29 Feb 2000 23:36:15 MST." <20000229233615.A28297@panzer.kdm.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > (ch0:ahc0:0:4:0): MODE SENSE(06). CDB: 1a 0 1d 0 20 0
> > (ch0:ahc0:0:4:0): UNIT ATTENTION asc:29,0
> > (ch0:ahc0:0:4:0): Power on, reset, or bus device reset occurred
> > (ch0:ahc0:0:4:0): fatal error, failed to attach to device
> > (ch0:ahc0:0:4:0): lost device
> > (ch0:ahc0:0:4:0): removing device entry
> > 
> > Now what?  8)
> 
> Well, I still can't figure out how you're getting a failure from a unit
> attention error.  I suppose the next thing to try is to bump the retry
> count.  The attached patch is the same as before, but with the retry count
> set to 3 instead of 1.

Ok.  Just for kicks I tried 100 rather than 3, based on the assumption in 
my previous reply.  Now it takes a _lot_ longer to give up; well past the 
point where the library becomes ready.

Unfortunately, it's still failing:

(ch0:ahc0:0:4:0): MODE SENSE(06). CDB: 1a 0 1d 0 20 0
(ch0:ahc0:0:4:0): UNIT ATTENTION asc:29,0
(ch0:ahc0:0:4:0): Power on, reset, or bus device reset occurred
(ch0:ahc0:0:4:0): fatal error, failed to attach to device
(ch0:ahc0:0:4:0): lost device
(ch0:ahc0:0:4:0): removing device entry

I don't know whether it's necessary to clear this condition somehow...

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




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




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