From owner-freebsd-hardware@FreeBSD.ORG Sun Mar 18 11:46:54 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9E2F106566C for ; Sun, 18 Mar 2012 11:46:54 +0000 (UTC) (envelope-from kono@kth.se) Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by mx1.freebsd.org (Postfix) with ESMTP id 5CAAA8FC08 for ; Sun, 18 Mar 2012 11:46:53 +0000 (UTC) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-2.sys.kth.se (Postfix) with ESMTP id ACBF214E9FC for ; Sun, 18 Mar 2012 12:16:18 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([130.237.32.160]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id 0PHiiD96HyMx for ; Sun, 18 Mar 2012 12:16:17 +0100 (CET) Received: from EXHUB1.ug.kth.se (exhub1.ug.kth.se [130.237.32.134]) by smtp-2.sys.kth.se (Postfix) with ESMTP id A1EE514E843 for ; Sun, 18 Mar 2012 12:16:17 +0100 (CET) Received: from EXDB4.ug.kth.se ([169.254.4.126]) by EXHUB1.ug.kth.se ([130.237.32.134]) with mapi id 14.01.0339.001; Sun, 18 Mar 2012 12:14:13 +0100 From: Alexander Konovalenko To: "freebsd-hardware@freebsd.org" Thread-Topic: freebsd 9.0 amd64 memstick installation does not detect SATA 3.0 drives Thread-Index: Ac0E+D6ZPa+f0IOITRmcpIsbVmu2/w== Date: Sun, 18 Mar 2012 11:14:11 +0000 Message-ID: <05DD411CEAF8A64B8D450EA8DC6489B93F288C99@EXDB4.ug.kth.se> Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [87.227.58.76] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: freebsd 9.0 amd64 memstick installation does not detect SATA 3.0 drives X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 11:46:54 -0000 Hi, I tried to install FreBSD 9.0 amd64 from a memory stick and it did not dete= ct any of my SATA3.0 hard drives except actual 8Gb stick. The same mem stic= k detects fine SATA2 hdds on older machine. Any suggestions? ******* My hardware: hard drives: Western Digital Caviar=AE Green 2TB SATA 6Gb/s, (SATA 3.0), RPM =3D Intelli= Power, 64MB, 3.5" Western Digital Caviar=AE Blue 500GB SATA 6Gb/s (SATA 3.0), 16MB, 7200RPM, = 3.5" the rest: Gigabyte GA-970A-UD3, Socket-AM3+ ATX, 970+SB950, DDR3, 2xPCIe(2.0)x16, SAT= A 6Gb/s, USB 3.0, FW AMD FX-6200 6-Core Processor Socket- AM3+, 3.8Ghz, 125W, 6MB L2 + 8MB L3 Ca= che, 32nm 8Gb RAM in total: Corsair Vengeance DDR3 1600MHz 4GB CL9 Video: Gainward GeForce GT 430 1GB PhysX CUDA PCI-Express 2.0, GDDR3, DVI, = native-HDMI, 535MHz, 64bit regards, Alexander From owner-freebsd-hardware@FreeBSD.ORG Mon Mar 19 11:07:12 2012 Return-Path: Delivered-To: freebsd-hardware@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D0C4106564A for ; Mon, 19 Mar 2012 11:07:12 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF028FC08 for ; Mon, 19 Mar 2012 11:07:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2JB7CNi033582 for ; Mon, 19 Mar 2012 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2JB7B82033580 for freebsd-hardware@FreeBSD.org; Mon, 19 Mar 2012 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Mar 2012 11:07:11 GMT Message-Id: <201203191107.q2JB7B82033580@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-hardware@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-hardware@FreeBSD.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 11:07:12 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/156241 hardware [mfi] 'zfs send' does not prevents disks to suspend if 1 problem total. From owner-freebsd-hardware@FreeBSD.ORG Thu Mar 22 15:29:33 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC0A1106567A; Thu, 22 Mar 2012 15:29:33 +0000 (UTC) (envelope-from jake@xz.cx) Received: from floor13.viper.enta.net (floor13.viper.enta.net [78.33.24.2]) by mx1.freebsd.org (Postfix) with ESMTP id 941EC8FC24; Thu, 22 Mar 2012 15:29:33 +0000 (UTC) Received: from xz.cx (floor13.viper.enta.net [78.33.24.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jake) by floor13.viper.enta.net (Postfix) with ESMTPSA id 77E18BDCB7; Thu, 22 Mar 2012 15:24:17 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 22 Mar 2012 16:24:16 +0100 From: Jake Smith To: , , , Message-ID: X-Sender: jake@xz.cx User-Agent: Roundcube Webmail/0.6 Cc: Subject: LSI mps(4) driver issues with PIKE 2008/IMR (LSI SAS2008) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 15:29:34 -0000 Hello, I am trying to get the latest mps(4) driver in FreeBSD 9-STABLE working with am LSI SAS2008 variant from ASUS, they call it PIKE 2008/IMR. Link http://www.asus.com/Server_Workstation/Accessories/PIKE_2008IMR/ From what I can see this card should be compatible with the mps(4) driver MFC'd to 9-STABLE about 6 weeks ago. # uname -a FreeBSD xxx 9.0-STABLE FreeBSD 9.0-STABLE #3 r233304M: Thu Mar 22 12:53:17 GMT 2012 root@xxx:/usr/obj/usr/src/sys/GENERIC amd64 Revision: 233304 Initially the card is not seen at all by the driver, however pciconf shows us why that is. mps0@pci0:2:0:0: class=0x010700 card=0x843b1043 chip=0x00731000 rev=0x03 hdr=0x00 vendor = 'LSI Logic / Symbios Logic' device = 'MegaRAID SAS 9240' class = mass storage subclass = SAS It seems on other models of LSI SAS2008 the chip device ID is 0x0072, however for some reason this card has 0x0073. So I patched the mps(4) driver and recompiled. diff -ruN mps.orig/mpi/mpi2_cnfg.h mps/mpi/mpi2_cnfg.h --- mps.orig/mpi/mpi2_cnfg.h 2012-03-22 14:50:53.000000000 +0000 +++ mps/mpi/mpi2_cnfg.h 2012-03-22 14:52:23.000000000 +0000 @@ -416,7 +416,8 @@ /* SAS */ #define MPI2_MFGPAGE_DEVID_SAS2004 (0x0070) -#define MPI2_MFGPAGE_DEVID_SAS2008 (0x0072) +#define MPI2_MFGPAGE_DEVID_SAS2008_1 (0x0072) +#define MPI2_MFGPAGE_DEVID_SAS2008_2 (0x0073) #define MPI2_MFGPAGE_DEVID_SAS2108_1 (0x0074) #define MPI2_MFGPAGE_DEVID_SAS2108_2 (0x0076) #define MPI2_MFGPAGE_DEVID_SAS2108_3 (0x0077) diff -ruN mps.orig/mps_pci.c mps/mps_pci.c --- mps.orig/mps_pci.c 2012-03-22 14:48:41.000000000 +0000 +++ mps/mps_pci.c 2012-03-22 14:51:59.000000000 +0000 @@ -99,7 +99,9 @@ } mps_identifiers[] = { { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2004, 0xffff, 0xffff, 0, "LSI SAS2004" }, - { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2008, + { 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" }, { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_1, 0xffff, 0xffff, 0, "LSI SAS2108" }, After reboot it now loads the mps(4) module and attempts to init the card but fails. # dmesg | grep mps mps0: port 0xd800-0xd8ff mem 0xfbd7c000-0xfbd7ffff,0xfbdc0000-0xfbdfffff irq 16 at device 0.0 on pci2 mps0: Doorbell failed to activate device_attach: mps0 attach returned 6 From this point I'm stuck on what to try next, google does not provide any answers for this situation. Does any one have any advice or ideas as to why this is not working? I am able to provide ssh access to the server if any one wants to log on and have a look at it. Really appreciate any help you can give. Kind Regards Jake From owner-freebsd-hardware@FreeBSD.ORG Thu Mar 22 15:43:50 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A0431065670 for ; Thu, 22 Mar 2012 15:43:50 +0000 (UTC) (envelope-from kono@kth.se) Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by mx1.freebsd.org (Postfix) with ESMTP id 185868FC08 for ; Thu, 22 Mar 2012 15:43:48 +0000 (UTC) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 9775014DC9B for ; Thu, 22 Mar 2012 16:43:12 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([130.237.32.160]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id iKLPNQBJIUc4 for ; Thu, 22 Mar 2012 16:43:09 +0100 (CET) Received: from EXHUB1.ug.kth.se (exhub1.ug.kth.se [130.237.32.134]) by smtp-2.sys.kth.se (Postfix) with ESMTP id E07E414EA95 for ; Thu, 22 Mar 2012 16:43:09 +0100 (CET) Received: from EXDB4.ug.kth.se ([169.254.4.126]) by EXHUB1.ug.kth.se ([130.237.32.134]) with mapi id 14.01.0339.001; Thu, 22 Mar 2012 16:43:09 +0100 From: Alexander Konovalenko To: "freebsd-hardware@freebsd.org" Thread-Topic: freebsd 9.0 amd64 memstick installation does not detect SATA 3.0 drives Thread-Index: Ac0E+D6ZPa+f0IOITRmcpIsbVmu2/wDSSUBd Date: Thu, 22 Mar 2012 15:43:08 +0000 Message-ID: <05DD411CEAF8A64B8D450EA8DC6489B93F288F44@EXDB4.ug.kth.se> References: <05DD411CEAF8A64B8D450EA8DC6489B93F288C99@EXDB4.ug.kth.se> In-Reply-To: <05DD411CEAF8A64B8D450EA8DC6489B93F288C99@EXDB4.ug.kth.se> Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [130.237.70.140] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: freebsd 9.0 amd64 memstick installation does not detect SATA 3.0 drives X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 15:43:50 -0000 >=20 > ________________________________________ > Fr=E5n: owner-freebsd-hardware@freebsd.org [owner-freebsd-hardware@freebs= d.org] för Alexander Konovalenko [kono@kth.se] > Skickat: den 18 mars 2012 12:14 > Till: freebsd-hardware@freebsd.org > =C4mne: freebsd 9.0 amd64 memstick installation does not detect SATA 3.0 = drives >=20 > Hi, >=20 > I tried to install FreBSD 9.0 amd64 from a memory stick and it did not de= tect any of my SATA3.0 hard drives except actual 8Gb stick. The same mem st= ick detects fine SATA2 hdds on older machine. >=20 > Any suggestions? >=20 >=20 > ******* My hardware: >=20 > hard drives: >=20 > Western Digital Caviar=AE Green 2TB SATA 6Gb/s, (SATA 3.0), RPM =3D Intel= liPower, 64MB, 3.5" > Western Digital Caviar=AE Blue 500GB SATA 6Gb/s (SATA 3.0), 16MB, 7200RPM= , 3.5" >=20 > the rest: >=20 > Gigabyte GA-970A-UD3, Socket-AM3+ ATX, 970+SB950, DDR3, 2xPCIe(2.0)x16, S= ATA 6Gb/s, USB 3.0, FW >=20 > AMD FX-6200 6-Core Processor Socket- AM3+, 3.8Ghz, 125W, 6MB L2 + 8MB L3 = Cache, 32nm >=20 > 8Gb RAM in total: Corsair Vengeance DDR3 1600MHz 4GB CL9 > Video: Gainward GeForce GT 430 1GB PhysX CUDA PCI-Express 2.0, GDDR3, DVI= , native-HDMI, 535MHz, 64bit >=20 >=20 > regards, > Alexander >=20 >=20 answering on my own email: my solution of this problem was to use CD installation of FreeBSD 8.3 amd6= 4 and it worked. Then world/kernel build and upgrade to current 9 and machi= ne is running fine. Hope may help to somebody. regards Alexander From owner-freebsd-hardware@FreeBSD.ORG Thu Mar 22 22:19:06 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8E6C106566C; Thu, 22 Mar 2012 22:19:06 +0000 (UTC) (envelope-from ken@kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7EAF58FC18; Thu, 22 Mar 2012 22:19:06 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.2/8.14.2) with ESMTP id q2MMJ0I1003501; Thu, 22 Mar 2012 16:19:00 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id q2MMJ0Ik003500; Thu, 22 Mar 2012 16:19:00 -0600 (MDT) (envelope-from ken) Date: Thu, 22 Mar 2012 16:19:00 -0600 From: "Kenneth D. Merry" To: Jake Smith Message-ID: <20120322221900.GA3458@nargothrond.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Cc: freebsd-scsi@freebsd.org, freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: LSI mps(4) driver issues with PIKE 2008/IMR (LSI SAS2008) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 22:19:06 -0000 On Thu, Mar 22, 2012 at 16:24:16 +0100, Jake Smith wrote: > Hello, > > I am trying to get the latest mps(4) driver in FreeBSD 9-STABLE working > with am LSI SAS2008 variant from ASUS, they call it PIKE 2008/IMR. Link > http://www.asus.com/Server_Workstation/Accessories/PIKE_2008IMR/ > > From what I can see this card should be compatible with the mps(4) > driver MFC'd to 9-STABLE about 6 weeks ago. > > # uname -a > FreeBSD xxx 9.0-STABLE FreeBSD 9.0-STABLE #3 r233304M: Thu Mar 22 > 12:53:17 GMT 2012 root@xxx:/usr/obj/usr/src/sys/GENERIC amd64 > > Revision: 233304 > > Initially the card is not seen at all by the driver, however pciconf > shows us why that is. > > mps0@pci0:2:0:0: class=0x010700 card=0x843b1043 chip=0x00731000 > rev=0x03 hdr=0x00 > vendor = 'LSI Logic / Symbios Logic' > device = 'MegaRAID SAS 9240' > class = mass storage > subclass = SAS > > It seems on other models of LSI SAS2008 the chip device ID is 0x0072, > however for some reason this card has 0x0073. So I patched the mps(4) > driver and recompiled. > > diff -ruN mps.orig/mpi/mpi2_cnfg.h mps/mpi/mpi2_cnfg.h > --- mps.orig/mpi/mpi2_cnfg.h 2012-03-22 14:50:53.000000000 +0000 > +++ mps/mpi/mpi2_cnfg.h 2012-03-22 14:52:23.000000000 +0000 > @@ -416,7 +416,8 @@ > > /* SAS */ > #define MPI2_MFGPAGE_DEVID_SAS2004 (0x0070) > -#define MPI2_MFGPAGE_DEVID_SAS2008 (0x0072) > +#define MPI2_MFGPAGE_DEVID_SAS2008_1 (0x0072) > +#define MPI2_MFGPAGE_DEVID_SAS2008_2 (0x0073) > #define MPI2_MFGPAGE_DEVID_SAS2108_1 (0x0074) > #define MPI2_MFGPAGE_DEVID_SAS2108_2 (0x0076) > #define MPI2_MFGPAGE_DEVID_SAS2108_3 (0x0077) > diff -ruN mps.orig/mps_pci.c mps/mps_pci.c > --- mps.orig/mps_pci.c 2012-03-22 14:48:41.000000000 +0000 > +++ mps/mps_pci.c 2012-03-22 14:51:59.000000000 +0000 > @@ -99,7 +99,9 @@ > } mps_identifiers[] = { > { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2004, > 0xffff, 0xffff, 0, "LSI SAS2004" }, > - { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2008, > + { 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" }, > { MPI2_MFGPAGE_VENDORID_LSI, MPI2_MFGPAGE_DEVID_SAS2108_1, > 0xffff, 0xffff, 0, "LSI SAS2108" }, > > After reboot it now loads the mps(4) module and attempts to init the > card but fails. > > # dmesg | grep mps > mps0: port 0xd800-0xd8ff mem > 0xfbd7c000-0xfbd7ffff,0xfbdc0000-0xfbdfffff irq 16 at device 0.0 on pci2 > mps0: Doorbell failed to activate > device_attach: mps0 attach returned 6 > > From this point I'm stuck on what to try next, google does not provide > any answers for this situation. Does any one have any advice or ideas as > to why this is not working? > I am able to provide ssh access to the server if any one wants to log > on and have a look at it. In looking at the specs, that card supports RAID-5 and RAID-50. That means it isn't a SAS card supported by mps(4), but rather a MegaRAID card. It should be supported by mfi(4). Try adding the PCI ID to that driver and see if that works. Or you can grab the driver from the head_mfi branch, it looks like it already supports that card. Here's the mfi_pci.c file, you can see the PCI ID in there: http://svnweb.freebsd.org/base/projects/head_mfi/sys/dev/mfi/mfi_pci.c?revision=232888&view=markup Ken -- Kenneth Merry ken@FreeBSD.ORG