Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 1997 14:41:32 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        rhwang@bigpanda.com (Richard Hwang)
Cc:        hackers@freebsd.org
Subject:   Re: [Q]: multiple lun probe not working on aic7880
Message-ID:  <Mutt.19970301144132.j@uriah.heep.sax.de>
In-Reply-To: <199702271634.LAA08156@lonewolf.hostworld.com>; from Richard Hwang on Feb 27, 1997 11:34:35 -0500
References:  <199702271634.LAA08156@lonewolf.hostworld.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Richard Hwang wrote:

> I am trying to get FreeBSD to probe for multiple luns on a aic7880
> controller on a Dell PowerEdge 4100 server connected to a CMD Daytona
> RAIDarray (SCSI ID 0), but it only ever finds the 2G partition on lun 0,
> and can't find the 10G partition on lun1.  FreeBSD seems to ignore
> the fact that lun 1 exists.

That's since there are too many broken devices that erroneously
respond on LUNs > 0 even though they shouldn't.  This policy is
enforced in /sys/scsi/scsiconf.c with the following entry:

#if NSD > 0
	{
		T_DIRECT, T_DIRECT, T_FIXED, "*", "*", "*",
		"sd", SC_ONE_LU
	},
#endif /* NSD */

So now, go into this file, and add a record for your disk array saying
it actually can do more than one LUN correctly:

        {
                T_DIRECT, T_DIRECT, T_FIXED, "CMD TECH", "DAYTONA", "*",
                "sd", SC_MORE_LUS
        },

If it works, let us know.  (freebsd-scsi@freebsd.org is a better name
of a list for this, or even better, use send-pr.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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