Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2012 01:06:48 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Andrew Pantyukhin <infofarmer@FreeBSD.org>
Cc:        "stable@freebsd.org" <stable@FreeBSD.org>, "zvqops@di.vc" <zvqops@di.vc>, "ken@freebsd.org" <ken@FreeBSD.org>, "Desai, Kashyap" <Kashyap.Desai@lsi.com>, "McConnell, Stephen" <Stephen.McConnell@lsi.com>
Subject:   Re: r232411 breaks onboard 1068 detection
Message-ID:  <20120403230648.GQ93449@alchemy.franken.de>
In-Reply-To: <CA%2BqFSQ51A2Q%2BBy9aDnPNmquBvoAjD_6Xbtjmv7TRo3-QO6Vc3g@mail.gmail.com>
References:  <CA%2BqFSQ6nHXidbD2z%2B95E9a%2BqkMVyg4TU4Hac%2BG0qBU197-K5QQ@mail.gmail.com> <20120403082927.GH93449@alchemy.franken.de> <20120403122858.GA48373@alchemy.franken.de> <B2FD678A64EAAD45B089B123FDFC3ED72B96EF8E14@inbmail01.lsi.com> <A5E537D8E1B0EF499D49E9AE3E3458FE012DC44A6D@cosmail03.lsi.com> <20120403215714.GO93449@alchemy.franken.de> <CA%2BqFSQ5=yBmGPqoDFRdW8nsJ=QzC=zQa3OLoJ=jusdyV_btL7Q@mail.gmail.com> <20120403223322.GP93449@alchemy.franken.de> <CA%2BqFSQ51A2Q%2BBy9aDnPNmquBvoAjD_6Xbtjmv7TRo3-QO6Vc3g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 04, 2012 at 02:38:54AM +0400, Andrew Pantyukhin wrote:
> On Wed, Apr 4, 2012 at 2:33 AM, Marius Strobl <marius@alchemy.franken.de> wrote:
> > On Wed, Apr 04, 2012 at 02:26:38AM +0400, Andrew Pantyukhin wrote:
> >> The device in question is a built-in 1068-based controller on a
> >> SuperMicro X8ST3 board.
> >>
> >> It can be converted to MegaRAID mode with a special addon "button"
> >> (AOC-IButton68).
> >>
> >> http://www.supermicro.com/products/motherboard/Xeon3000/X58/X8ST3-F.cfm
> >
> > Okay, so unless these devices also can be driven by mfi(4) when not
> > in MegaRAID mode, we need a way to tell both modes apart in the probe
> > functions of both drivers.
> 
> mfi(4) obviously didn't attach, but if anyone is willing to provide a
> quick patch listing the IDs in mfi(4), I'll try.
> 
> I wouldn't welcome the change though, as we prefer the JBOD way.

I still highly doubt that 0x59 will work with mfi(4) in non-MegaRAID
mode.
Looking at the source of the Linux megasr driver, that one attaches to
several 0x59 devices but only in case of certain sub-vendor (amongst
other Supermicro) and sub-device IDs, but not in case of a sub-vendor
ID of LSI and a sub-device ID of 0x1000 like in your case. So this
seems like a way to go to distinguish the modes if LSI can provide
a complete list of sub-device IDs (and sub-vendor in case something
besides LSI is used) in which case 0x59 should be treated in MPT
mode.

Marius




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