From owner-freebsd-scsi@FreeBSD.ORG Sat Dec 4 02:17:28 2010 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D0E9106564A for ; Sat, 4 Dec 2010 02:17:28 +0000 (UTC) (envelope-from ethernext@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 25E598FC14 for ; Sat, 4 Dec 2010 02:17:27 +0000 (UTC) Received: by qwj9 with SMTP id 9so4780619qwj.13 for ; Fri, 03 Dec 2010 18:17:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=KjyRPUZ4tguw2jRgxxp+MSLqYqF20ukqcj3jjUcgwNw=; b=MHXdCqbxsKIcmntcUuQwQ9ob1+gQijhGaWPjb0B77BaGg2ufdgONJxFR5OroCxJUxo 5slUmrLpPNFDTv3my8crJI9Kk0nIwbrg+5wiqs/ggZ0e88PQ9kJgdStsAwT1/nrsHL7R elnfmhKPmJD/bN6cgqjbHpujIqvxAAy6o/Xn4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=RjofMxdQrECphMEWHKOc3DZZJAVtmU2cGNfk8e/3S1IlyRfAFL6Wf23CJMBbEDMwiT QpABrfni22+YpKmVtIdd6aHsxmnAV/g3tnIFpN+2fgQhBOENwnVzt7r9iOvx6mbw55aC 629/nehviQQY1lYkhBHZ3mVEK43Iev9tDkLgo= MIME-Version: 1.0 Received: by 10.229.229.18 with SMTP id jg18mr1868759qcb.176.1291427176289; Fri, 03 Dec 2010 17:46:16 -0800 (PST) Sender: ethernext@gmail.com Received: by 10.229.80.201 with HTTP; Fri, 3 Dec 2010 17:46:16 -0800 (PST) Date: Fri, 3 Dec 2010 20:46:16 -0500 X-Google-Sender-Auth: wrPBV2A3B7mSF6bx94jKX3MPrkI Message-ID: From: Bill Desjardins To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: [mps] LSI SAS2008 (IBM M1015) on 8.2-PRERELEASE with mps from CURRENT X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2010 02:17:28 -0000 Hi, I am trying to get the mps(4) LSI SAS2008 driver from 9 CURRENT working on 8.2 PRERELEASE. at first, it was not recognized but I made the following changes to the mps driver and it now does attach but is still not working. I do not get any entry for mps in /dev/, and no drives show up. I currently have 4 controllers in the system and all cards have been updated to the latest lsi 9240-8i firmware. controllers mps1 and mps2 have 4 drives on each, mps0 and mps3 have no drives attached. in /usr/src/sys/dev/mps/mps_pci.c, I modified the SAS2008 entries to: { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2008_1, 0xffff, 0xffff, 0, "LSI SAS2008" }, { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2008_2, 0xffff, 0xffff, 0, "LSI SAS2008" }, in /usr/src/sys/dev/mps/mpi/mpi2_cnfg.h I modified the #define MPI2_MFGPAGE_DEVID_SAS2008 entry to: #define MPI2_MFGPAGE_DEVID_SAS2008_1 (0x0072) #define MPI2_MFGPAGE_DEVID_SAS2008_2 (0x0073) (sorry, I am not a developer and do not know how to generate the diff. if you would like me to let me know what to do and I will post it here.) here is some info on the system: system is a dual opteron quad-core, supermicro H8DA3-2, 8GB. the drives are a mix of 1TB seagate constellation ES sas 6Gbps and seagate 146GB seagate 15k6. uname: FreeBSD esas2.ethernap.net 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Fri Dec 3 20:13:09 EST 2010 bill@esas2:/usr/obj/usr/src/sys/MPS amd64 pciconf -lvc: mps0@pci0:5:0:0: class=0x010400 card=0x03b11014 chip=0x00731000 rev=0x02 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' class = mass storage subclass = RAID cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link x4(x8) cap 03[d0] = VPD cap 05[a8] = MSI supports 1 message, 64 bit cap 11[c0] = MSI-X supports 15 messages in map 0x14 ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0004[138] = unknown 1 mps1@pci0:7:0:0: class=0x010400 card=0x03b11014 chip=0x00731000 rev=0x02 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' class = mass storage subclass = RAID cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link x8(x8) cap 03[d0] = VPD cap 05[a8] = MSI supports 1 message, 64 bit cap 11[c0] = MSI-X supports 15 messages in map 0x14 ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0004[138] = unknown 1 mps2@pci0:132:0:0: class=0x010400 card=0x03b11014 chip=0x00731000 rev=0x02 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' class = mass storage subclass = RAID cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link x4(x8) cap 03[d0] = VPD cap 05[a8] = MSI supports 1 message, 64 bit cap 11[c0] = MSI-X supports 15 messages in map 0x14 ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0004[138] = unknown 1 mps3@pci0:134:0:0: class=0x010400 card=0x03b11014 chip=0x00731000 rev=0x02 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' class = mass storage subclass = RAID cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link x8(x8) cap 03[d0] = VPD cap 05[a8] = MSI supports 1 message, 64 bit cap 11[c0] = MSI-X supports 15 messages in map 0x14 ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0004[138] = unknown 1 here is the syslog messages loading mps: mps0: port 0xa000-0xa0ff mem 0xdfefc000-0xdfefffff,0xdfe80000-0xdfebffff irq 18 at device 0.0 on pci5 device_attach: mps0 attach returned 6 mps1: port 0xb000-0xb0ff mem 0xdfffc000-0xdfffffff,0xdff80000-0xdffbffff irq 19 at device 0.0 on pci7 device_attach: mps1 attach returned 6 mps2: port 0xd000-0xd0ff mem 0xddefc000-0xddefffff,0xdde80000-0xddebffff irq 40 at device 0.0 on pci132 device_attach: mps2 attach returned 6 mps3: port 0xe000-0xe0ff mem 0xddffc000-0xddffffff,0xddf80000-0xddfbffff irq 41 at device 0.0 on pci134 device_attach: mps3 attach returned 6 syslog messages when unloading mps: Warning: memory type mps leaked memory on destroy (4 allocations, 256 bytes leaked). Please let me know if more information is needed. I can provide full access to the server if needed to gather more information. Thank you, Bill