Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2001 11:57:18 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Another problem with the new CAM error handling
Message-ID:  <20010506115718.B94763@panzer.kdm.org>
In-Reply-To: <200105060912.f469CnU07813@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Sun, May 06, 2001 at 11:12:49AM %2B0200
References:  <20010426110542.A50185@uriah.heep.sax.de> <200104261435.f3QEZLs23573@aslan.scsiguy.com> <20010426190714.E50185@uriah.heep.sax.de> <20010428231227.A37369@panzer.kdm.org> <200105060912.f469CnU07813@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, May 06, 2001 at 11:12:49 +0200, J Wunsch wrote:
> "Kenneth D. Merry" <ken@kdm.org> wrote:
> 
> > Since SF_RETRY_UA isn't set on normal I/O for the pt(4) driver unless a
> > bus reset or BDR has been sent, unit attentions are not being retried.
> > 
> > The attached patch should fix your problem.
> 
> I finally got an opportunity to reboot and thus take the new kernel
> into action -- my system panicked yesterday. :-/
> 
> So yes, the problem with the pt(4) driver going mad on a power-on UA
> is gone, except that it still prints out a message even in the
> !bootverbose case:
> 
> (pt0:sym1:0:5:0): SEND(06). CDB: a 0 0 0 2 0 
> (pt0:sym1:0:5:0): CAM Status: SCSI Status Error
> (pt0:sym1:0:5:0): SCSI Status: Check Condition
> (pt0:sym1:0:5:0): UNIT ATTENTION
> (pt0:sym1:0:5:0): Retrying Command
> 
> For me it's minor, and i can ignore it, but based on experience with
> our user base, i know this kind of message makes some people
> nervous... (in particular in countries like here, where the people's
> knowledge of English is not always that ideal).

It's debateable whether we should print errors that get retried.  At least
it says "retrying command".

It is an exceptional condition, though.  We expect unit attentions on boot,
and after a bus reset, but not in the course of normal operation.  So it's
probably good to notify the user, in case they didn't know someone powered
their device off and back on again.

Ken
-- 
Kenneth Merry
ken@kdm.org

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?20010506115718.B94763>