Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 14:45:38 GMT
From:      Michel Bouissou <michel.bouissou@bioclinica.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/134488: [SCSI] MPT SCSI driver probes max. 8 LUNs per device
Message-ID:  <200905121445.n4CEjcFi035088@www.freebsd.org>
Resent-Message-ID: <200905121450.n4CEo0fd078477@freefall.freebsd.org>

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

>Number:         134488
>Category:       kern
>Synopsis:       [SCSI] MPT SCSI driver probes max. 8 LUNs per device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 12 14:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Michel Bouissou
>Release:        7.2
>Organization:
Bioclinica
>Environment:
>Description:
The MPT SCSI driver is only able to scan up to 8 LUNs (0-7) per SCSI device, which is far too few for some SCSI disks enclosures.

This issue had already been discussed in http://osdir.com/ml/os.freebsd.devel.scsi/2008-03/msg00015.html about a year ago, but it seems not to have been fixed even though the fix is easy.


>How-To-Repeat:

>Fix:
The highest LUN number that MPT will scan is hardcoded in dev/mpt/mpt_cam.c around line 3605 :

cpi->max_lun = 7;

Replacing this "7" with the number you want solves the issue (I used 32 for my needs).

But this necessitates the sysadmin to patch and recompile the kernel... Would be nice if this could default to a more sensible value than "8"...

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



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