Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Marius Strobl
On Wed, Apr 04, 2012 at 02:38:54AM +0400, Andrew Pantyukhin wrote:
> On Wed, Apr 4, 2012 at 2:33 AM, Marius Strobl  
> 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

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Andrew Pantyukhin
On Wed, Apr 4, 2012 at 2:33 AM, Marius Strobl  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.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Marius Strobl
On Wed, Apr 04, 2012 at 02:26:38AM +0400, Andrew Pantyukhin wrote:
> On Wed, Apr 4, 2012 at 1:57 AM, Marius Strobl  
> wrote:
> > On Tue, Apr 03, 2012 at 03:52:14PM -0600, McConnell, Stephen wrote:
> >> Marius,
> >>
> >> Since the 0x59 device is a MegaRAID device, shouldn't you be using the 
> >> MegaRAID driver. ??Why is the MPT driver being used in this case? ??The 
> >> problem is that the MPT driver was wrongly attaching to some MegaRAID 
> >> controllers and that was causing conflict problems, so that was fixed by 
> >> removing MegaRAID ID's from the MPT driver.
> >
> > Apparently, the 0x59 devices worked just fine using mpt(4) before r232411.
> > Are MegaRAID devices backwards-compatible so they can alternatively be
> > driven by MPT drivers?
> 
> 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.

Marius

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Andrew Pantyukhin
On Wed, Apr 4, 2012 at 1:57 AM, Marius Strobl  wrote:
> On Tue, Apr 03, 2012 at 03:52:14PM -0600, McConnell, Stephen wrote:
>> Marius,
>>
>> Since the 0x59 device is a MegaRAID device, shouldn't you be using the 
>> MegaRAID driver.  Why is the MPT driver being used in this case?  The 
>> problem is that the MPT driver was wrongly attaching to some MegaRAID 
>> controllers and that was causing conflict problems, so that was fixed by 
>> removing MegaRAID ID's from the MPT driver.
>
> Apparently, the 0x59 devices worked just fine using mpt(4) before r232411.
> Are MegaRAID devices backwards-compatible so they can alternatively be
> driven by MPT drivers?

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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Marius Strobl
On Tue, Apr 03, 2012 at 03:52:14PM -0600, McConnell, Stephen wrote:
> Marius,
> 
> Since the 0x59 device is a MegaRAID device, shouldn't you be using the 
> MegaRAID driver.  Why is the MPT driver being used in this case?  The problem 
> is that the MPT driver was wrongly attaching to some MegaRAID controllers and 
> that was causing conflict problems, so that was fixed by removing MegaRAID 
> ID's from the MPT driver.
> 

Apparently, the 0x59 devices worked just fine using mpt(4) before r232411.
Are MegaRAID devices backwards-compatible so they can alternatively be
driven by MPT drivers?

Marius

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


RE: r232411 breaks onboard 1068 detection

2012-04-03 Thread McConnell, Stephen
Marius,

Since the 0x59 device is a MegaRAID device, shouldn't you be using the MegaRAID 
driver.  Why is the MPT driver being used in this case?  The problem is that 
the MPT driver was wrongly attaching to some MegaRAID controllers and that was 
causing conflict problems, so that was fixed by removing MegaRAID ID's from the 
MPT driver.

Steve McConnell

-Original Message-
From: Desai, Kashyap 
Sent: Tuesday, April 03, 2012 6:35 AM
To: Marius Strobl
Cc: sta...@freebsd.org; zvq...@di.vc; k...@freebsd.org; Andrew Pantyukhin; 
McConnell, Stephen
Subject: RE: r232411 breaks onboard 1068 detection



> -Original Message-
> From: Marius Strobl [mailto:mar...@alchemy.franken.de]
> Sent: Tuesday, April 03, 2012 5:59 PM
> To: Desai, Kashyap
> Cc: sta...@freebsd.org; zvq...@di.vc; k...@freebsd.org; Andrew 
> Pantyukhin
> Subject: Re: r232411 breaks onboard 1068 detection
> 
> On Tue, Apr 03, 2012 at 10:29:27AM +0200, Marius Strobl wrote:
> > On Tue, Apr 03, 2012 at 05:55:19AM +0400, Andrew Pantyukhin wrote:
> > > Hello,
> > >
> > > r232411 broke onboard 1068 detection on all boxes with SuperMicro
> > > X8ST3 motherboards for us.
> > >
> > > All of them are also equipped with two extra 1068 controllers, 
> > > which are detected fine. Reverting to r231518 with otherwise 
> > > latest stable kernel works around the problem.
> > >
> > > The issue is still there at r233425.
> > >
> > > Here's the disappearing device:
> > >
> > > mpt2@pci0:5:0:0:class=0x01 card=0x10001000
> chip=0x00591000
> > > rev=0x08 hdr=0x00
> > > vendor = 'LSI Logic / Symbios Logic'
> > > device = 'MegaRAID SAS 8208ELP/8208ELP'
> > > class  = mass storage
> > > subclass   = SCSI
> > >
> >
> > Should be fixed in r233827.
> >
> 
> Btw., Kashyap, could you please trigger LSI to update their mpi_cnfg.h 
> to include all the device IDs that actually should be handled by MPT 
> drivers. The FreeBSD mpt(4) additionally knows about the devices 
> below, which based on the fact they are not probed by the Linux 
> counterpart and are not found in PCI ID lists might not even exist in 
> the wild, or as in the above case, still might miss some actual 
> devices not currently found in mpi_cnfg.h.
> 
> #define   MPI_MANUFACTPAGE_DEVICEID_FC909_FB  0x0620
> #define   MPI_MANUFACTPAGE_DEVICEID_FC919_LAN_FB  0x0625
> #define   MPI_MANUFACTPAGE_DEVICEID_FC929_LAN_FB  0x0623
> #define   MPI_MANUFACTPAGE_DEVICEID_FC929X_LAN_FB 0x0627
> #define   MPI_MANUFACTPAGE_DEVICEID_FC919X_LAN_FB 0x0629
> #define MPI_MANUFACTPAGE_DEVID_SAS1068A_FB0x0055
> #define   MPI_MANUFACTPAGE_DEVID_SAS1068E_FB  0x0059
> #define   MPI_MANUFACTPAGE_DEVID_SAS1078DE_FB 0x007C

Hi Marius,  This is very critical part of discussion and I do not have really 
best answer, because I don't know the history behind it. Added Steve M for 
better help.

Also I have contacted Megaraid Driver team to respond what is device id 0x0059 
? 

FYI: I am referring pciid from below link. 

http://pciids.sourceforge.net/v2.2/pci.ids

> 
> Marius
> 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Marius Strobl
On Tue, Apr 03, 2012 at 09:13:14AM -0600, Kenneth D. Merry wrote:
> On Tue, Apr 03, 2012 at 10:29:27 +0200, Marius Strobl wrote:
> > On Tue, Apr 03, 2012 at 05:55:19AM +0400, Andrew Pantyukhin wrote:
> > > Hello,
> > > 
> > > r232411 broke onboard 1068 detection on all boxes with SuperMicro
> > > X8ST3 motherboards for us.
> > > 
> > > All of them are also equipped with two extra 1068 controllers, which
> > > are detected fine. Reverting to r231518 with otherwise latest stable
> > > kernel works around the problem.
> > > 
> > > The issue is still there at r233425.
> > > 
> > > Here's the disappearing device:
> > > 
> > > mpt2@pci0:5:0:0:class=0x01 card=0x10001000 chip=0x00591000
> > > rev=0x08 hdr=0x00
> > > vendor = 'LSI Logic / Symbios Logic'
> > > device = 'MegaRAID SAS 8208ELP/8208ELP'
> > > class  = mass storage
> > > subclass   = SCSI
> > > 
> > 
> > Should be fixed in r233827.
> 
> We should get this into 8.3 if that is still possible.  Otherwise folks
> with these machines will not be able to boot 8.3.
> 

I'll try but based on previous experiences it's just too late in the
release cycle.

Marius

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Kenneth D. Merry
On Tue, Apr 03, 2012 at 10:29:27 +0200, Marius Strobl wrote:
> On Tue, Apr 03, 2012 at 05:55:19AM +0400, Andrew Pantyukhin wrote:
> > Hello,
> > 
> > r232411 broke onboard 1068 detection on all boxes with SuperMicro
> > X8ST3 motherboards for us.
> > 
> > All of them are also equipped with two extra 1068 controllers, which
> > are detected fine. Reverting to r231518 with otherwise latest stable
> > kernel works around the problem.
> > 
> > The issue is still there at r233425.
> > 
> > Here's the disappearing device:
> > 
> > mpt2@pci0:5:0:0:class=0x01 card=0x10001000 chip=0x00591000
> > rev=0x08 hdr=0x00
> > vendor = 'LSI Logic / Symbios Logic'
> > device = 'MegaRAID SAS 8208ELP/8208ELP'
> > class  = mass storage
> > subclass   = SCSI
> > 
> 
> Should be fixed in r233827.

We should get this into 8.3 if that is still possible.  Otherwise folks
with these machines will not be able to boot 8.3.

Ken
-- 
Kenneth Merry
k...@freebsd.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


RE: r232411 breaks onboard 1068 detection

2012-04-03 Thread Desai, Kashyap


> -Original Message-
> From: Marius Strobl [mailto:mar...@alchemy.franken.de]
> Sent: Tuesday, April 03, 2012 5:59 PM
> To: Desai, Kashyap
> Cc: sta...@freebsd.org; zvq...@di.vc; k...@freebsd.org; Andrew Pantyukhin
> Subject: Re: r232411 breaks onboard 1068 detection
> 
> On Tue, Apr 03, 2012 at 10:29:27AM +0200, Marius Strobl wrote:
> > On Tue, Apr 03, 2012 at 05:55:19AM +0400, Andrew Pantyukhin wrote:
> > > Hello,
> > >
> > > r232411 broke onboard 1068 detection on all boxes with SuperMicro
> > > X8ST3 motherboards for us.
> > >
> > > All of them are also equipped with two extra 1068 controllers, which
> > > are detected fine. Reverting to r231518 with otherwise latest stable
> > > kernel works around the problem.
> > >
> > > The issue is still there at r233425.
> > >
> > > Here's the disappearing device:
> > >
> > > mpt2@pci0:5:0:0:class=0x01 card=0x10001000
> chip=0x00591000
> > > rev=0x08 hdr=0x00
> > > vendor = 'LSI Logic / Symbios Logic'
> > > device = 'MegaRAID SAS 8208ELP/8208ELP'
> > > class  = mass storage
> > > subclass   = SCSI
> > >
> >
> > Should be fixed in r233827.
> >
> 
> Btw., Kashyap, could you please trigger LSI to update their mpi_cnfg.h
> to include all the device IDs that actually should be handled by MPT
> drivers. The FreeBSD mpt(4) additionally knows about the devices below,
> which based on the fact they are not probed by the Linux counterpart
> and are not found in PCI ID lists might not even exist in the wild,
> or as in the above case, still might miss some actual devices not
> currently found in mpi_cnfg.h.
> 
> #define   MPI_MANUFACTPAGE_DEVICEID_FC909_FB  0x0620
> #define   MPI_MANUFACTPAGE_DEVICEID_FC919_LAN_FB  0x0625
> #define   MPI_MANUFACTPAGE_DEVICEID_FC929_LAN_FB  0x0623
> #define   MPI_MANUFACTPAGE_DEVICEID_FC929X_LAN_FB 0x0627
> #define   MPI_MANUFACTPAGE_DEVICEID_FC919X_LAN_FB 0x0629
> #define MPI_MANUFACTPAGE_DEVID_SAS1068A_FB0x0055
> #define   MPI_MANUFACTPAGE_DEVID_SAS1068E_FB  0x0059
> #define   MPI_MANUFACTPAGE_DEVID_SAS1078DE_FB 0x007C

Hi Marius,  This is very critical part of discussion and I do not have really 
best answer, because I don't know the history behind it. Added Steve M for 
better help.

Also I have contacted Megaraid Driver team to respond what is device id 0x0059 
? 

FYI: I am referring pciid from below link. 

http://pciids.sourceforge.net/v2.2/pci.ids

> 
> Marius
> 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Marius Strobl
On Tue, Apr 03, 2012 at 10:29:27AM +0200, Marius Strobl wrote:
> On Tue, Apr 03, 2012 at 05:55:19AM +0400, Andrew Pantyukhin wrote:
> > Hello,
> > 
> > r232411 broke onboard 1068 detection on all boxes with SuperMicro
> > X8ST3 motherboards for us.
> > 
> > All of them are also equipped with two extra 1068 controllers, which
> > are detected fine. Reverting to r231518 with otherwise latest stable
> > kernel works around the problem.
> > 
> > The issue is still there at r233425.
> > 
> > Here's the disappearing device:
> > 
> > mpt2@pci0:5:0:0:class=0x01 card=0x10001000 chip=0x00591000
> > rev=0x08 hdr=0x00
> > vendor = 'LSI Logic / Symbios Logic'
> > device = 'MegaRAID SAS 8208ELP/8208ELP'
> > class  = mass storage
> > subclass   = SCSI
> > 
> 
> Should be fixed in r233827.
> 

Btw., Kashyap, could you please trigger LSI to update their mpi_cnfg.h
to include all the device IDs that actually should be handled by MPT
drivers. The FreeBSD mpt(4) additionally knows about the devices below,
which based on the fact they are not probed by the Linux counterpart
and are not found in PCI ID lists might not even exist in the wild,
or as in the above case, still might miss some actual devices not
currently found in mpi_cnfg.h.

#define MPI_MANUFACTPAGE_DEVICEID_FC909_FB  0x0620
#define MPI_MANUFACTPAGE_DEVICEID_FC919_LAN_FB  0x0625
#define MPI_MANUFACTPAGE_DEVICEID_FC929_LAN_FB  0x0623
#define MPI_MANUFACTPAGE_DEVICEID_FC929X_LAN_FB 0x0627
#define MPI_MANUFACTPAGE_DEVICEID_FC919X_LAN_FB 0x0629
#define MPI_MANUFACTPAGE_DEVID_SAS1068A_FB  0x0055
#define MPI_MANUFACTPAGE_DEVID_SAS1068E_FB  0x0059
#define MPI_MANUFACTPAGE_DEVID_SAS1078DE_FB 0x007C

Marius
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: r232411 breaks onboard 1068 detection

2012-04-03 Thread Marius Strobl
On Tue, Apr 03, 2012 at 05:55:19AM +0400, Andrew Pantyukhin wrote:
> Hello,
> 
> r232411 broke onboard 1068 detection on all boxes with SuperMicro
> X8ST3 motherboards for us.
> 
> All of them are also equipped with two extra 1068 controllers, which
> are detected fine. Reverting to r231518 with otherwise latest stable
> kernel works around the problem.
> 
> The issue is still there at r233425.
> 
> Here's the disappearing device:
> 
> mpt2@pci0:5:0:0:class=0x01 card=0x10001000 chip=0x00591000
> rev=0x08 hdr=0x00
> vendor = 'LSI Logic / Symbios Logic'
> device = 'MegaRAID SAS 8208ELP/8208ELP'
> class  = mass storage
> subclass   = SCSI
> 

Should be fixed in r233827.

Marius

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"