Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2012 21:56:11 -0400 (EDT)
From:      Garrett Wollman <wollman@csail.mit.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/169431: [mps] [cam] SAS bus scan generates thousands of lines to log
Message-ID:  <201206260156.q5Q1uB8C003199@nfs-prod-0.csail.mit.edu>
Resent-Message-ID: <201206260210.q5Q2A7uI023114@freefall.freebsd.org>

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

>Number:         169431
>Category:       kern
>Synopsis:       [mps] [cam] SAS bus scan generates thousands of lines to log
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 26 02:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
MIT Computer Science & Artificial Intelligence Lab
>Environment:
System: FreeBSD nfs-prod-0.csail.mit.edu 9.0-STABLE FreeBSD 9.0-STABLE #6 r237562M: Mon Jun 25 13:22:45 EDT 2012 wollman@xyz.csail.mit.edu:/usr/obj/usr/src/sys/CSAIL amd64

Local changes to sources do not affect mps driver.
Only special tunable set is:

	hw.mps.max_chains=4096

...as in previous testing (under 9.0 with a backported driver) we were
able to exhaust the default limit of 2048.

>Description:

When scanning for devices connected to an LSI SAS2116 controller using
the mps(4) driver, thousands of lines like this are generated on the
console:

Jun 25 19:21:20 nfs-prod-0 kernel: (probe752:mps0:0:753:0): INQUIRY. CDB: 12 0 0 0 24 0 
Jun 25 19:21:20 nfs-prod-0 kernel: (probe752:mps0:0:753:0): CAM status: Invalid Target ID
Jun 25 19:21:20 nfs-prod-0 kernel: (probe752:mps0:0:753:0): Error 22, Unretryable error
Jun 25 19:21:20 nfs-prod-0 kernel: (probe753:mps0:0:754:0): INQUIRY. CDB: 12 0 0 0 24 0 
Jun 25 19:21:20 nfs-prod-0 kernel: (probe753:mps0:0:754:0): CAM status: Invalid Target ID
Jun 25 19:21:20 nfs-prod-0 kernel: (probe753:mps0:0:754:0): Error 22, Unretryable error
Jun 25 19:21:20 nfs-prod-0 kernel: (probe754:mps0:0:755:0): INQUIRY. CDB: 12 0 0 0 24 0 
Jun 25 19:21:20 nfs-prod-0 kernel: (probe754:mps0:0:755:0): CAM status: Invalid Target ID
Jun 25 19:21:20 nfs-prod-0 kernel: (probe754:mps0:0:755:0): Error 22, Unretryable error

This is new with the 9.1 kernel; 9.0 did not do this even with the
backported driver.

The drives are ultimately found and attached normally.

>How-To-Repeat:

Cause a bus rescan (e.g., by plugging a disk shelf into one of the ports
on the controller).

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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