Trying this on a brand new PE2950 w/ the latest firmware... ~BAS

On Fri, 1 Jun 2007, Mike wrote:

Hi,

The following patch have been applied to my FreeBSD 6.2 system (amd64, 
PowerEdge 2950 box):

http://patch.zabbadoz.net/freebsd/patchset/EXPERIMENTAL/20070319-01-mfi-MFC.diff

Now, I call 'megacli -AdpAllInfo -aALL' and I get working output like:

Adapter #0

==============================================================================
               Versions
               ================
Product Name    : PERC 5/i Integrated
Serial No       : 12345
FW Package Build: 5.1.1-0040
FW Version      : 1.03.10-0216
BIOS Version    : MT28
Ctrl-R Version  :1.04-017A

               Pending Images In Flash
               ================
None

               PCI Info
               ================
Vendor Id       : 1028
Device Id       : 0015
SubVendorId     : 1028
SubDeviceId     : 1f03

Host Interface  : PCIE

Number of Frontend Port: 0
Device Interface  : PCIE

Number of Backend Port: 8
Port  :  Address
0        5000c50001fe8535
1        5000c50001fd1fd9
2        5000c50001fe7879
3        5000c50001fe37fd
4        0000000000000000
5        5000c50001fe76d9
6        0000000000000000
7        0000000000000000

               HW Configuration
               ================
SAS Address     : 500188b04f104a00
BBU             : Present
Alarm           : Absent
NVRAM           : Present
Serial Debugger : Present
Memory          : Present
Flash           : Present

               Settings
               ================
Current Time                     : 10:8:55 6/1, 2007
Predictive Fail Poll Interval    : 300sec
Interrupt Throttle Active Count  : 16
Interrupt Throttle Completion    : 50us
Rebuild Rate                     : 30%
PR Rate                          : 30%
Resynch Rate                     : 30%
Check Consistency Rate           : 30%
Reconstruction Rate              : 30%
Cache flush interval             : 4s
Max drives to spinup at one time : 2
Delay among spinup groups        : 12s
Physical drive coercion mode     : 128MB
Cluster mode                     : Disabled
Alarm                            : Disabled
Auto Rebuild                     : Enabled
Battery Warning                  : Enabled

Ecc Bucket Size                  : 15
Ecc Bucket Leak Rate             : 1440 Minutes
Restore HotSpare On Insertion    : Disabled
Expose Enclosure Devices         : Disabled
Maintain PD Fail History         : Disabled
Host Request Reordering          : Enabled

               Capabilities
               ================
RAID Level Supported             : RAID0, RAID1, RAID5, RAID10, RAID50
Supported Drives                 : SAS, SATA

Allowed Mixing:
Mix In Enclosure Allowed

               Status
               ================
ECC Bucket Count                 : 0

               Limitations
               ================
Max Arms Per VD         : 32
Max Spans Per VD        : 8
Max Arrays              : 128
Max Number of VDs       : 64
Max Parallel Commands   : 1008
Max SGE Count           : 80
Max Data Transfer Size  : 8192 sectors
Max Strips PerIO        : 84
Min Stripe Size         : 8kB
Max Stripe Size         : 128kB

               Device Present
               ================
Virtual Drives    : 1
 Degraded        : 0
 Offline         : 0
Physical Devices  : 6
 Disks           : 5
 Critical Disks  : 0
 Failed Disks    : 0

               Supported Adapter Operations
               ================
Rebuild Rate                    : Yes
CC Rate                         : Yes
BGI Rate                        : Yes
Reconstruct Rate                : Yes
Patrol Read Rate                : Yes
Alarm Control                   : Yes
Cluster Support                 : No
BBU                             : Yes
Spanning                        : Yes
Dedicated Hot Spare             : Yes
revertible Hot Spares           : No
Foreign Config Import           : Yes
Self Diagnostic                 : Yes
Allow Mixed Redundancy On Array : No
Global Hot Spares               : Yes
Deny SCSI Passthrough           : No
Deny SMP Passthrough            : No
Deny STP Passthrough            : No

               Supported VD Operations
               ================
Read Policy          : Yes
Write Policy         : Yes
IO Policy            : Yes
Access Policy        : Yes
Disk Cache Policy    : Yes
Reconstruction       : Yes
Deny Locate          : No
Deny CC              : No

               Supported PD Operations
               ================
Force Online              : Yes
Force Offline             : Yes
Force Rebuild             : Yes
Deny Force Failed         : No
Deny Force Good/Bad       : No
Deny Missing Replace      : No
Deny Clear                : No
Deny Locate               : No

               Error Counters
               ================
Memory Correctable Errors   : 0
Memory Uncorrectable Errors : 0

               Cluster Information
               ================
Cluster Permitted     : No
Cluster Active        : No

               Default Settings
               ================
Phy Polarity                   : 0
Phy PolaritySplit              : 0
Backgroud Rate                 : 30
Stripe Size                    : 64kB
Flush Time                     : 4 seconds
Write Policy                   : WB
Read Policy                    : None
Cache When BBU Bad             : Disabled
Cached IO                      : No
SMART Mode                     : Mode 6
Alarm Disable                  : No
Coercion Mode                  : 128MB
ZCR Config                     : IDSEL
Dirty LED Shows Drive Activity : No
BIOS Continue On Error         : No
Spin Down Mode                 : None
Allowed Device Type            : SAS/SATA Mix
Allow Mix In Enclosure         : Yes
Allow Mix In VD                : No
Allow SATA In Cluster          : No
Max Chained Enclosures         : 1
Disable Ctrl-R                 : No
Enable Web BIOS                : No
Direct PD Mapping              : No
BIOS Enumerate VDs             : No
Restore Hot Spare On Insertion : No
Expose Enclosure Devices       : No
Maintain PD Fail History       : No


On Mon, 2007-04-09 at 16:23 -0400, Brian A. Seklecki wrote:

I confirm this behavior on PE1950 and PE2950.
~~BAS

On Mon, 2007-04-09 at 15:12 -0400, Jonathan Delgado wrote:
Hi,

    I have some Dell PowerEdge 1950 servers equipped with their PERC5/
i SAS RAID controller (OEM is LSI). In general they work fine. The
mfi driver is being used and I get some occassional blurbs logged by
the driver. I am having poor results though trying to get the megacli
port (sysutils/linux-megacli) to work with it.

    For example, if I call 'megacli -AdpAllInfo -aALL' I get junk/
empty output like:
Adapter #0

========================================================================
======
                 Versions
                 ================
Product Name    :
Serial No       :
FW Package Build:
FW Version      :
BIOS Version    :
Ctrl-R Version  :

                 Pending Images In Flash
                 ================
None

                 PCI Info
                 ================
Vendor Id       : 0000
Device Id       : 0000
SubVendorId     : 0000
SubDeviceId     : 0000

Host Interface  : UNKOWN

Number of Frontend Port: 0
Device Interface  : UNKOWN
...


    I am getting this result with multiple systems, one running 6.2-
RELEASE p3, the other a recent (as of today) build of 6.2-STABLE. I
am using linux_base-fc-4_9 for the Linux compat install, and the
specific package of megacli is linux-megacli-1.01.09_1. linprocfs and
linsysfs are both mounted. mfi_linux.ko is loaded. The device seems
to be recognized within the linux subsystem, as I have:

# cat /compat/linux/sys/class/scsi_host/host0/proc_name
megaraid_sas

    From what I have been able to dig up from past posts to the
mailing lists: others have been able to get this working fine, but
I'm not sure if any have been specifically with 6.2 and the PERC5/i
controller. If anyone has any clues or tips for how to proceed with
this, it would be much appreciated.

    Thanks.

-Jonathan

--
Brian A. Seklecki <bseklecki_(_at_)_collaborativefusion_(_dot_)_com>
Collaborative Fusion, Inc.

--
Sincerely,
Mike


l8*
        -lava (Brian A. Seklecki - Pittsburgh, PA, USA)
               http://www.spiritual-machines.org/

    "Guilty? Yeah. But he knows it. I mean, you're guilty.
    You just don't know it. So who's really in jail?"
    ~James Maynard Keenan

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to