From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 25 12:16:07 2012 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 A6ECE106566C; Sun, 25 Mar 2012 12:16:07 +0000 (UTC) (envelope-from matt.thyer@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D33798FC0A; Sun, 25 Mar 2012 12:16:06 +0000 (UTC) Received: by wern13 with SMTP id n13so4817735wer.13 for ; Sun, 25 Mar 2012 05:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Bp9s6FG+GVlJv3YcFlnUmIvy0xVff4qcbzb5HuE0YHA=; b=tPWTHHBCX9thWtFqw75ObQ752DGTd4fFV5muKlSlf2LQmpyvBS6d4IEbemPcKBkMim F0tturPFwwPYiv6bpe9bo7906QTXLzr3GTfK81fpaSSjBUO+c7bTU8m1dU+gOnRSjueI UqJZ9t6rYsbPgPCQJiYRZ/l5KMjRfDVgR/49qAJN/vOVXcDqru/TIkaVSbX2HiZG9QJl 0uatKLsjap5QiB8McJ9Tl4ix1faGEMw8hs5XAYe0qy6Eavr71WCojYov8UJbcjbvNshM SD6sUtnBFJflxjro8vzS44t0IlPHX4W/+BKciNyDjI6LXbMIyXoqcMG8OBnaFnGvt4O4 RZ0Q== MIME-Version: 1.0 Received: by 10.180.89.9 with SMTP id bk9mr10741983wib.11.1332677765729; Sun, 25 Mar 2012 05:16:05 -0700 (PDT) Received: by 10.216.229.10 with HTTP; Sun, 25 Mar 2012 05:16:05 -0700 (PDT) In-Reply-To: <20120120232841.GA71874@nargothrond.kdm.org> References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> Date: Sun, 25 Mar 2012 22:46:05 +1030 Message-ID: From: Matt Thyer To: "Kenneth D. Merry" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, Steven Hartland Subject: Re: LSI supported mps(4) driver available 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: Sun, 25 Mar 2012 12:16:07 -0000 On 21 January 2012 09:58, Kenneth D. Merry wrote: > On Fri, Jan 20, 2012 at 23:14:20 -0000, Steven Hartland wrote: > > ----- Original Message ----- > > From: "Kenneth D. Merry" > > To: ; > > Sent: Friday, January 20, 2012 8:44 PM > > Subject: LSI supported mps(4) driver available > > > > > > > > > >The LSI-supported version of the mps(4) driver that supports their 6Gb > SAS > > >HBAs as well as WarpDrive controllers, is available here: > > > > > >http://people.freebsd.org/~ken/lsi/mps_lsi.20120120.1.txt > > > > > >I plan to check it in to head next week, and then MFC it into stable/9 a > > >week after that most likely. > > > > Great to see this being done, thanks to everyone! Be even better to see > > this MFC'ed to 8.x as well if all goes well. Do you think this will > > possible? > > Yes, that should be doable as well. It's unlikely that all of the CAM > changes will get merged back, but the driver itself shouldn't be a problem. > > Ken > Has this driver been MFC to 8-STABLE yet ? I'm asking because I updated my NAS on the 4th of March from 8-STABLE r225723 to r232477 and am now seeing 157,000 interrupts per second on irq 16 where my SuperMicro AOC-USAS2-L8i resides (this card uses the LSI SAS2008 chip). More details are in a thread on the freebsd-stable mailing list entitled "157k interrupts per second causing 60% CPU load on idle system". The first message is here: http://www.freebsd.org/cgi/getmsg.cgi?fetch=152290+156717+/usr/local/www/db/text/2012/freebsd-stable/20120325.freebsd-stable If this new driver isn't in 8-STABLE yet I think I'll try upgrading the whole system to 9-STABLE. From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 25 17:13:52 2012 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 17E7A106564A; Sun, 25 Mar 2012 17:13:52 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 978598FC15; Sun, 25 Mar 2012 17:13:51 +0000 (UTC) Received: by vcmm1 with SMTP id m1so5484751vcm.13 for ; Sun, 25 Mar 2012 10:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=XIlbT217ah0xYW+cfrpC7mwIZSfnK9aWCKPh7BC8KxQ=; b=xqDmU/2vixoPbCbXRIuVEB263XALiTeWnHurIptaAz+tBI/QUhJ7SshpQdVgM36tH4 1us2XZkn0HC3pkaPQdP6QHYcXmSaMAH0sD5KtHi+49Bx5/xlhN1we0JZ56mKyAWp1llz vwCmGP61cPYsS/2vVwfwZt8aHVNw79jbZR2FOKQNC9nZxbXq7536VAM+++phyXTpAJbI 6MJ5jVNY4EQ2jYtfizvqxBKsqcv01cS+E5tkdm0lCTbV++XoVejrUGxaXYfDizR/goWq SFUqye7Nfe6LvzG3skNX34rxsXg8n7zWCYIgl/AkrgLbWFoDkHNRVq3nhjvhMoW6fQIJ Gw/w== MIME-Version: 1.0 Received: by 10.52.22.79 with SMTP id b15mr2664685vdf.10.1332695630543; Sun, 25 Mar 2012 10:13:50 -0700 (PDT) Received: by 10.220.230.135 with HTTP; Sun, 25 Mar 2012 10:13:50 -0700 (PDT) In-Reply-To: References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> Date: Sun, 25 Mar 2012 10:13:50 -0700 Message-ID: From: Garrett Cooper To: Matt Thyer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, "Kenneth D. Merry" , Steven Hartland Subject: Re: LSI supported mps(4) driver available 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: Sun, 25 Mar 2012 17:13:52 -0000 On Sun, Mar 25, 2012 at 5:16 AM, Matt Thyer wrote: > On 21 January 2012 09:58, Kenneth D. Merry wrote: > >> On Fri, Jan 20, 2012 at 23:14:20 -0000, Steven Hartland wrote: >> > ----- Original Message ----- >> > From: "Kenneth D. Merry" >> > To: ; >> > Sent: Friday, January 20, 2012 8:44 PM >> > Subject: LSI supported mps(4) driver available >> > >> > >> > > >> > >The LSI-supported version of the mps(4) driver that supports their 6G= b >> SAS >> > >HBAs as well as WarpDrive controllers, is available here: >> > > >> > >http://people.freebsd.org/~ken/lsi/mps_lsi.20120120.1.txt >> > > >> > >I plan to check it in to head next week, and then MFC it into stable/= 9 a >> > >week after that most likely. >> > >> > Great to see this being done, thanks to everyone! Be even better to se= e >> > this MFC'ed to 8.x as well if all goes well. Do you think this will >> > possible? >> >> Yes, that should be doable as well. =A0It's unlikely that all of the CAM >> changes will get merged back, but the driver itself shouldn't be a probl= em. >> >> Ken >> > > Has this driver been MFC to 8-STABLE yet ? > > I'm asking because I updated my NAS on the 4th of March from 8-STABLE > r225723 to r232477 and am now seeing 157,000 interrupts per second on irq > 16 where my SuperMicro AOC-USAS2-L8i resides (this card uses the LSI > SAS2008 chip). > > More details are in a thread on the freebsd-stable mailing list entitled > "157k interrupts per second causing 60% CPU load on idle system". =A0The > first message is here: > http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D152290+156717+/usr/local/ww= w/db/text/2012/freebsd-stable/20120325.freebsd-stable > > If this new driver isn't in 8-STABLE yet I think I'll try upgrading the > whole system to 9-STABLE. Be sure to update your firmware beforehand. v11 firmware from LSI (or the OEM vendor) is required in order for all drives to be detected in FreeBSD in certain configs. Cheers, -Garrett From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 26 00:22:57 2012 Return-Path: Delivered-To: scsi@freebsd.org Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 27E8F106566C for ; Mon, 26 Mar 2012 00:22:57 +0000 (UTC) (envelope-from owner-freebsd-ports@freebsd.org) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: owner-freebsd-ports@freebsd.org To: scsi@freebsd.org Message-ID: Date: Mon, 26 Mar 2012 00:22:55 +0000 Precedence: bulk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 X-List-Administrivia: yes Sender: owner-freebsd-ports@freebsd.org Errors-To: owner-freebsd-ports@freebsd.org Cc: Subject: Your message to freebsd-ports awaits moderator approval X-BeenThere: freebsd-scsi@freebsd.org List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2012 00:22:57 -0000 Your mail to 'freebsd-ports' with the subject Job Offer - Flexible Hours Is being held until the list moderator can review it for approval. The reason it is being held: SpamAssassin identified this message as possible spam Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://lists.freebsd.org/mailman/confirm/freebsd-ports/94592e8ee63a1f2ad0a53a786d3fae88a734839c PLEASE NOTE! If you would like to post freely to the list, please subscribe first. If you post from multiple addresses, you can subscribe each address and go into the options page and select 'no mail' for all but one address. This will allow you to post without delay in the future. Sorry for the hassle, but certain immature people made this necessary. From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 26 08:52:46 2012 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCEFC106566B; Mon, 26 Mar 2012 08:52:46 +0000 (UTC) (envelope-from apicesov0@nobleenergyinc.com) Received: from host67-2-static.28-79-b.business.telecomitalia.it (host67-2-static.28-79-b.business.telecomitalia.it [79.28.2.67]) by mx1.freebsd.org (Postfix) with ESMTP id 690B68FC31; Mon, 26 Mar 2012 08:52:46 +0000 (UTC) Received: from apache by lbmmbceclbbmkhljmrb.alumni.insead.edu with local (Exim 4.67) (envelope-from <, , , >) id J7R9AI-GKA4J6-V3 for , , , ; Mon, 26 Mar 2012 09:52:45 +0100 To: , , , X-PHP-Script: lbmmbceclbbmkhljmrb.atainvest.com/sendmail.php for 79.28.2.67 From: , , , X-Sender: , , , X-Mailer: PHP X-Priority: 1 Content-Type: text/plain; charset="iso-8859-2" Message-Id: Date: Mon, 26 Mar 2012 09:52:45 +0100 Cc: Subject: Work offer inside 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: Mon, 26 Mar 2012 08:52:46 -0000 I would like to take this time to welcome you to our hiring process and give you a brief synopsis of the position's benefits and requirements. If you are taking a career break, are on a maternity leave, recently retired or simply looking for some part-time job, this position is for you. Occupation: Flexible schedule 1 to 3 hours per day. We can guarantee a minimum 20 hrs/week occupation Salary: Starting salary is 3000 EUR per month plus commission. Region: Europe Please note that there are no startup fees or deposits to start working for us. To request an application form, schedule your interview and receive more information about this position please reply to Ronald@jobdayseu.com,with your personal identification number for this position IDNO: 3085 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 26 09:36:01 2012 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 39ECB1065672; Mon, 26 Mar 2012 09:36:01 +0000 (UTC) (envelope-from matt.thyer@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 698C68FC1C; Mon, 26 Mar 2012 09:36:00 +0000 (UTC) Received: by wern13 with SMTP id n13so5378986wer.13 for ; Mon, 26 Mar 2012 02:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=SIthYgC3/jFKAFYcaqX/LSrysxc3LU3uxF8m3PhELuA=; b=OoEaqY3dyaWYBDdXMVlcCmkEiX68gAZ4WNDnNe/AlDMxhm+1y4CZU5x9hOKtUCz3Sc 9ZdBTN2cCyvVTSdl0sONipnBatoCygmr0VUmR8ozcV5nvfIr9Bsmj39k4t2Qqmcom55W 9BADPMBRFxBsIQ/HF3t7vJxzQJO+P9+/XUn4qw0FTN3m8atfjt7CZ8GC6dlEemaQVBNy 4xWiUxvxN9pql8JBhPuWBn1smW6AoBIokO/UNMw6MgGqVumU72yxdgTsC1dPHLqgqs0k 7KIqssZXCzeImOz5O1ix7pBl+h44eiA8DO0Y6VsjYeSZyPIz9fA9VVLbdEw33sVTXkdO iTkQ== MIME-Version: 1.0 Received: by 10.180.73.143 with SMTP id l15mr16842274wiv.11.1332754559314; Mon, 26 Mar 2012 02:35:59 -0700 (PDT) Received: by 10.216.229.10 with HTTP; Mon, 26 Mar 2012 02:35:59 -0700 (PDT) Received: by 10.216.229.10 with HTTP; Mon, 26 Mar 2012 02:35:59 -0700 (PDT) In-Reply-To: References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> Date: Mon, 26 Mar 2012 20:05:59 +1030 Message-ID: From: Matt Thyer To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, "Kenneth D. Merry" , Steven Hartland Subject: Re: LSI supported mps(4) driver available 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: Mon, 26 Mar 2012 09:36:01 -0000 On Mar 26, 2012 3:43 AM, "Garrett Cooper" wrote: > > On Sun, Mar 25, 2012 at 5:16 AM, Matt Thyer wrote: > > On 21 January 2012 09:58, Kenneth D. Merry wrote: > > > >> On Fri, Jan 20, 2012 at 23:14:20 -0000, Steven Hartland wrote: > >> > ----- Original Message ----- > >> > From: "Kenneth D. Merry" > >> > To: ; > >> > Sent: Friday, January 20, 2012 8:44 PM > >> > Subject: LSI supported mps(4) driver available > >> > > >> > > >> > > > >> > >The LSI-supported version of the mps(4) driver that supports their 6Gb > >> SAS > >> > >HBAs as well as WarpDrive controllers, is available here: > >> > > > >> > >http://people.freebsd.org/~ken/lsi/mps_lsi.20120120.1.txt > >> > > > >> > >I plan to check it in to head next week, and then MFC it into stable/9 a > >> > >week after that most likely. > >> > > >> > Great to see this being done, thanks to everyone! Be even better to see > >> > this MFC'ed to 8.x as well if all goes well. Do you think this will > >> > possible? > >> > >> Yes, that should be doable as well. It's unlikely that all of the CAM > >> changes will get merged back, but the driver itself shouldn't be a problem. > >> > >> Ken > >> > > > > Has this driver been MFC to 8-STABLE yet ? > > > > I'm asking because I updated my NAS on the 4th of March from 8-STABLE > > r225723 to r232477 and am now seeing 157,000 interrupts per second on irq > > 16 where my SuperMicro AOC-USAS2-L8i resides (this card uses the LSI > > SAS2008 chip). > > > > More details are in a thread on the freebsd-stable mailing list entitled > > "157k interrupts per second causing 60% CPU load on idle system". The > > first message is here: > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=152290+156717+/usr/local/www/db/text/2012/freebsd-stable/20120325.freebsd-stable > > > > If this new driver isn't in 8-STABLE yet I think I'll try upgrading the > > whole system to 9-STABLE. > > Be sure to update your firmware beforehand. v11 firmware from LSI > (or the OEM vendor) is required in order for all drives to be detected > in FreeBSD in certain configs. > Cheers, > -Garrett After encountering this problem I updated my firmware from phase 7 to phase 11 but this did not fix things. My question is: "Is the LSI driver even in 8-STABLE yet?". If not I'll upgrade to 9-STABLE to get the new driver. If it is, then I want to downgrade to just before it came in to see if this high interrupt rate problem is fixed. From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 26 10:23:19 2012 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8440F1065675; Mon, 26 Mar 2012 10:23:19 +0000 (UTC) (envelope-from attireel5@mc2school.org) Received: from [178.223.212.28] (178-223-212-28.dynamic.isp.telekom.rs [178.223.212.28]) by mx1.freebsd.org (Postfix) with ESMTP id C78828FC24; Mon, 26 Mar 2012 10:23:17 +0000 (UTC) Received: from apache by oepmipndprhobocqsojqdcepvgpq.ameriton.com with local (Exim 4.63) (envelope-from <, , , >) id 6PLB7W-JD1571-ED for , , , ; Mon, 26 Mar 2012 11:23:16 +0100 To: , , , Date: Mon, 26 Mar 2012 11:23:16 +0100 From: , , , Message-ID: X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-2" Cc: Subject: Employment opportunity 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: Mon, 26 Mar 2012 10:23:19 -0000 I would like to take this time to welcome you to our hiring process and give you a brief synopsis of the position's benefits and requirements. If you are taking a career break, are on a maternity leave, recently retired or simply looking for some part-time job, this position is for you. Occupation: Flexible schedule 1 to 3 hours per day. We can guarantee a minimum 20 hrs/week occupation Salary: Starting salary is 3000 EUR per month plus commission. Region: Europe Please note that there are no startup fees or deposits to start working for us. To request an application form, schedule your interview and receive more information about this position please reply to Minnie@jobdayseu.com,with your personal identification number for this position IDNO: 9595 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 26 11:07:13 2012 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80C5D1065688 for ; Mon, 26 Mar 2012 11:07:13 +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 6A0D48FC30 for ; Mon, 26 Mar 2012 11:07:13 +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 q2QB7DYL018392 for ; Mon, 26 Mar 2012 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2QB7C6J018390 for freebsd-scsi@FreeBSD.org; Mon, 26 Mar 2012 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Mar 2012 11:07:12 GMT Message-Id: <201203261107.q2QB7C6J018390@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org 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: Mon, 26 Mar 2012 11:07:13 -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/165982 scsi [mpt] mpt instability, drive resets, and losses on Fre o kern/165740 scsi [cam] SCSI code must drain callbacks before free o kern/163713 scsi [aic7xxx] [patch] Add Adaptec29329LPE to aic79xx_pci.c o kern/162256 scsi [mpt] QUEUE FULL EVENT and 'mpt_cam_event: 0x0' o kern/161809 scsi [cam] [patch] set kern.cam.boot_delay via build option o kern/159412 scsi [ciss] 7.3 RELEASE: ciss0 ADAPTER HEARTBEAT FAILED err o kern/157770 scsi [iscsi] [panic] iscsi_initiator panic o kern/154432 scsi [xpt] run_interrupt_driven_hooks: still waiting after o kern/153514 scsi [cam] [panic] CAM related panic o kern/153361 scsi [ciss] Smart Array 5300 boot/detect drive problem o kern/152250 scsi [ciss] [patch] Kernel panic when hw.ciss.expose_hidden o kern/151564 scsi [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 10 o docs/151336 scsi Missing documentation of scsi_ and ata_ functions in c s kern/149927 scsi [cam] hard drive not stopped before removing power dur o kern/148083 scsi [aac] Strange device reporting o kern/147704 scsi [mpt] sys/dev/mpt: new chip revision, partially unsupp o kern/146287 scsi [ciss] ciss(4) cannot see more than one SmartArray con o kern/145768 scsi [mpt] can't perform I/O on SAS based SAN disk in freeb o kern/144648 scsi [aac] Strange values of speed and bus width in dmesg o kern/144301 scsi [ciss] [hang] HP proliant server locks when using ciss o kern/142351 scsi [mpt] LSILogic driver performance problems o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o kern/127717 scsi [ata] [patch] [request] - support write cache toggling o kern/123674 scsi [ahc] ahc driver dumping o kern/123520 scsi [ahd] unable to boot from net while using ahd o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o kern/60598 scsi wire down of scsi devices conflicts with config s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 50 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 26 13:26:24 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31D1E106566C; Mon, 26 Mar 2012 13:26:24 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5F85F8FC19; Mon, 26 Mar 2012 13:26:23 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SC9vq-000FLi-6K; Mon, 26 Mar 2012 09:25:58 -0400 Date: Mon, 26 Mar 2012 09:25:58 -0400 From: Gary Palmer To: Matt Thyer Message-ID: <20120326132558.GB76647@in-addr.com> References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: Garrett Cooper , freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, "Kenneth D. Merry" , Steven Hartland Subject: Re: LSI supported mps(4) driver available 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: Mon, 26 Mar 2012 13:26:24 -0000 On Mon, Mar 26, 2012 at 08:05:59PM +1030, Matt Thyer wrote: > On Mar 26, 2012 3:43 AM, "Garrett Cooper" wrote: > > > > On Sun, Mar 25, 2012 at 5:16 AM, Matt Thyer wrote: > > > On 21 January 2012 09:58, Kenneth D. Merry wrote: > > > > > >> On Fri, Jan 20, 2012 at 23:14:20 -0000, Steven Hartland wrote: > > >> > ----- Original Message ----- > > >> > From: "Kenneth D. Merry" > > >> > To: ; > > >> > Sent: Friday, January 20, 2012 8:44 PM > > >> > Subject: LSI supported mps(4) driver available > > >> > > > >> > > > >> > > > > >> > >The LSI-supported version of the mps(4) driver that supports their > 6Gb > > >> SAS > > >> > >HBAs as well as WarpDrive controllers, is available here: > > >> > > > > >> > >http://people.freebsd.org/~ken/lsi/mps_lsi.20120120.1.txt > > >> > > > > >> > >I plan to check it in to head next week, and then MFC it into > stable/9 a > > >> > >week after that most likely. > > >> > > > >> > Great to see this being done, thanks to everyone! Be even better to > see > > >> > this MFC'ed to 8.x as well if all goes well. Do you think this will > > >> > possible? > > >> > > >> Yes, that should be doable as well. It's unlikely that all of the CAM > > >> changes will get merged back, but the driver itself shouldn't be a > problem. > > >> > > >> Ken > > >> > > > > > > Has this driver been MFC to 8-STABLE yet ? > > > > > > I'm asking because I updated my NAS on the 4th of March from 8-STABLE > > > r225723 to r232477 and am now seeing 157,000 interrupts per second on > irq > > > 16 where my SuperMicro AOC-USAS2-L8i resides (this card uses the LSI > > > SAS2008 chip). > > > > > > More details are in a thread on the freebsd-stable mailing list entitled > > > "157k interrupts per second causing 60% CPU load on idle system". The > > > first message is here: > > > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=152290+156717+/usr/local/www/db/text/2012/freebsd-stable/20120325.freebsd-stable > > > > > > If this new driver isn't in 8-STABLE yet I think I'll try upgrading the > > > whole system to 9-STABLE. > > > > Be sure to update your firmware beforehand. v11 firmware from LSI > > (or the OEM vendor) is required in order for all drives to be detected > > in FreeBSD in certain configs. > > Cheers, > > -Garrett > > After encountering this problem I updated my firmware from phase 7 to phase > 11 but this did not fix things. > > My question is: "Is the LSI driver even in 8-STABLE yet?". > > If not I'll upgrade to 9-STABLE to get the new driver. > > If it is, then I want to downgrade to just before it came in to see if this > high interrupt rate problem is fixed. I'm no export in svn, however: http://svnweb.freebsd.org/base?view=revision&revision=230922 would appear to suggest that the new driver is in 8-Stable Gary From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 26 14:52:10 2012 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81FC91065674; Mon, 26 Mar 2012 14:52:10 +0000 (UTC) (envelope-from simianxrb5417@atayatirim.com.tr) Received: from 133-160-232.connect.netcom.no (133-160-232.connect.netcom.no [178.232.160.133]) by mx1.freebsd.org (Postfix) with ESMTP id 267028FC1A; Mon, 26 Mar 2012 14:52:10 +0000 (UTC) Message-ID: <4F70820D.709040@freebsd.org> Date: Mon, 26 Mar 2012 15:52:09 +0100 From: , , User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: , , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Employment you've been searching! 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: Mon, 26 Mar 2012 14:52:10 -0000 I would like to take this time to welcome you to our hiring process and give you a brief synopsis of the position's benefits and requirements. If you are taking a career break, are on a maternity leave, recently retired or simply looking for some part-time job, this position is for you. Occupation: Flexible schedule 1 to 3 hours per day. We can guarantee a minimum 20 hrs/week occupation Salary: Starting salary is 3000 EUR per month plus commission. Region: Europe Please note that there are no startup fees or deposits to start working for us. To request an application form, schedule your interview and receive more information about this position please reply to Ellen@jobdayseu.com,with your personal identification number for this position IDNO: 4549 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 26 17:52:02 2012 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9A4E106567E; Mon, 26 Mar 2012 17:52:02 +0000 (UTC) (envelope-from unsetog1@atainvest.com) Received: from 36.Red-81-37-73.dynamicIP.rima-tde.net (36.Red-81-37-73.dynamicIP.rima-tde.net [81.37.73.36]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0B08FC25; Mon, 26 Mar 2012 17:52:02 +0000 (UTC) Received: from apache by rgarihsbhspdetrgfhtiv.buxrud.se with local (Exim 4.67) (envelope-from <, , , >) id 42A82L-AYP6EW-79 for , , , ; Mon, 26 Mar 2012 18:52:01 +0100 To: , , , X-PHP-Script: rgarihsbhspdetrgfhtiv.polysto.com/sendmail.php for 81.37.73.36 From: , , , X-Sender: , , , X-Mailer: PHP X-Priority: 1 Content-Type: text/plain; charset="us-ascii" Message-Id: <60SSCH-N3WT3F-CS@rgarihsbhspdetrgfhtiv.travidia.com> Date: Mon, 26 Mar 2012 18:52:01 +0100 Cc: Subject: Employment opportunity 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: Mon, 26 Mar 2012 17:52:02 -0000 I would like to take this time to welcome you to our hiring process and give you a brief synopsis of the position's benefits and requirements. If you are taking a career break, are on a maternity leave, recently retired or simply looking for some part-time job, this position is for you. Occupation: Flexible schedule 1 to 3 hours per day. We can guarantee a minimum 20 hrs/week occupation Salary: Starting salary is 3000 EUR per month plus commission. Region: Europe Please note that there are no startup fees or deposits to start working for us. To request an application form, schedule your interview and receive more information about this position please reply to Eula@jobdayseu.com,with your personal identification number for this position IDNO: 5224 From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 27 10:55:55 2012 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 05A15106564A; Tue, 27 Mar 2012 10:55:55 +0000 (UTC) (envelope-from Kashyap.Desai@lsi.com) Received: from psmtp.com (na3sys009aog134.obsmtp.com [74.125.149.83]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6988FC12; Tue, 27 Mar 2012 10:55:52 +0000 (UTC) Received: from paledge01.lsi.com ([192.19.193.42]) (using TLSv1) by na3sys009aob134.postini.com ([74.125.148.12]) with SMTP ID DSNKT3Gctw08KUyHMMcFy1HuBgZxhckoPz/j@postini.com; Tue, 27 Mar 2012 03:55:54 PDT Received: from PALHUB01.lsi.com (128.94.213.114) by PALEDGE01.lsi.com (192.19.193.42) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 27 Mar 2012 06:59:17 -0400 Received: from inbexch02.lsi.com (135.36.98.40) by PALHUB01.lsi.com (128.94.213.114) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 27 Mar 2012 06:54:42 -0400 Received: from inbmail01.lsi.com ([135.36.98.64]) by inbexch02.lsi.com ([135.36.98.40]) with mapi; Tue, 27 Mar 2012 16:24:37 +0530 From: "Desai, Kashyap" To: "Kenneth D. Merry" , Jake Smith Date: Tue, 27 Mar 2012 16:24:36 +0530 Thread-Topic: LSI mps(4) driver issues with PIKE 2008/IMR (LSI SAS2008) Thread-Index: Ac0Ieg8g06uUir12TdWRkFnsgS+cSQDjZQQQ Message-ID: References: <20120322221900.GA3458@nargothrond.kdm.org> In-Reply-To: <20120322221900.GA3458@nargothrond.kdm.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-scsi@freebsd.org" , "freebsd-hardware@freebsd.org" , "Choy, Marian" , "freebsd-hackers@freebsd.org" Subject: RE: LSI mps(4) driver issues with PIKE 2008/IMR (LSI SAS2008) 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: Tue, 27 Mar 2012 10:55:55 -0000 > -----Original Message----- > From: owner-freebsd-scsi@freebsd.org [mailto:owner-freebsd- > scsi@freebsd.org] On Behalf Of Kenneth D. Merry > Sent: Friday, March 23, 2012 3:49 AM > To: Jake Smith > 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) >=20 > 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=3D0x010700 card=3D0x843b1043 chip=3D0x007= 31000 > > rev=3D0x03 hdr=3D0x00 > > vendor =3D 'LSI Logic / Symbios Logic' > > device =3D 'MegaRAID SAS 9240' > > class =3D mass storage > > subclass =3D 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[] =3D { > > { 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. >=20 > 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. This is Megaraid card. And it should not be supported by mps. Again, Just a= dding "0x73" in your pci list in mfi driver will not solve your problem. Please Check with Megaraid FreeBSD drivers. ~ Kashyap >=20 > 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: >=20 > http://svnweb.freebsd.org/base/projects/head_mfi/sys/dev/mfi/mfi_pci.c?r > evision=3D232888&view=3Dmarkup >=20 > Ken > -- > Kenneth Merry > ken@FreeBSD.ORG > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 27 13:20:33 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF3631065672; Tue, 27 Mar 2012 13:20:33 +0000 (UTC) (envelope-from matt.thyer@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id D77988FC18; Tue, 27 Mar 2012 13:20:32 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so4449091wib.13 for ; Tue, 27 Mar 2012 06:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xuHT8EwHnOqh40mpuaN/kik06rK/73vekS/vk4S3RVo=; b=TR0OjCdwcFmrD0gaZKa+pCH7U0KR3yv4dzVpoWDfgLhFp0rP7mRY63gPNq6yv9dou2 mfVHg5SxXOGl7UenMqJqRRm0fYZAjyLCIc4sfCLubvSXSgCaww7CIgF9PPzwtPAmkZ2y Gq1Ymk8oFNlaPNotCwmMLs4YQBRK8daBJySo0ZoYCNpjiSBcQPx2FB5g0AJvKptvF0hJ r8GrOCfxHyy+Am1zx9mSXqau/HKl6kDLH/k3I/iofserqrX1WauK8Ttbt20vzlTzGqyd XwoNOWyV84nvyrk1TLqM788pOGge9k753SKC0nO7q/OXh4KalcJb3yk0WEsuMk53vfR0 JepQ== MIME-Version: 1.0 Received: by 10.180.104.230 with SMTP id gh6mr27392829wib.22.1332854431591; Tue, 27 Mar 2012 06:20:31 -0700 (PDT) Received: by 10.216.190.219 with HTTP; Tue, 27 Mar 2012 06:20:31 -0700 (PDT) In-Reply-To: <20120326132558.GB76647@in-addr.com> References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> <20120326132558.GB76647@in-addr.com> Date: Tue, 27 Mar 2012 23:50:31 +1030 Message-ID: From: Matt Thyer To: Gary Palmer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Garrett Cooper , freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, "Kenneth D. Merry" , Steven Hartland Subject: Re: LSI supported mps(4) driver available 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: Tue, 27 Mar 2012 13:20:33 -0000 On 26 March 2012 23:55, Gary Palmer wrote: > On Mon, Mar 26, 2012 at 08:05:59PM +1030, Matt Thyer wrote: > > On Mar 26, 2012 3:43 AM, "Garrett Cooper" wrote: > > > > > > On Sun, Mar 25, 2012 at 5:16 AM, Matt Thyer > wrote: > > > > Has this driver been MFC to 8-STABLE yet ? > > > > > > > > I'm asking because I updated my NAS on the 4th of March from 8-STABLE > > > > r225723 to r232477 and am now seeing 157,000 interrupts per second on > > irq > > > > 16 where my SuperMicro AOC-USAS2-L8i resides (this card uses the LSI > > > > SAS2008 chip). > [snip] > > After encountering this problem I updated my firmware from phase 7 to > phase > > 11 but this did not fix things. > > > > My question is: "Is the LSI driver even in 8-STABLE yet?". > > > > If not I'll upgrade to 9-STABLE to get the new driver. > > > > If it is, then I want to downgrade to just before it came in to see if > this > > high interrupt rate problem is fixed. > > I'm no export in svn, however: > > http://svnweb.freebsd.org/base?view=revision&revision=230922 > > would appear to suggest that the new driver is in 8-Stable > > Gary > It's painful to take this system back to r230921 due to intolerance for downtime from it's users so I'd like to investigate the cause of the problem and try patches/sysctls/whatever first. The drives I'm using are 7 x WDC WD20EARS-00M (3 are AB50, 4 are AB51) and 1 x WD20EARX-00P AB51. The WD20EARX-00P AB51 is a SATA 3 (6 Gbps) drive but the others are all SATA 2 (3 Gbps). I know the driver doesn't like mixed speeds in IR mode but I'm flashed with IT firmware as ZFS is doing my RAID (raidz2). I was having problems with the WD20EARX-00P AB51 drive being faulted by ZFS until I updated the firmware to 11 and now ZFS is happy (I've also done a full extended drive SMART test and the drive is fine). So what do people suggest (before reversion to r230921) ? From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 27 17:46:36 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D2241065676; Tue, 27 Mar 2012 17:46:36 +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 9D8B08FC1A; Tue, 27 Mar 2012 17:46:35 +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 q2RHLUKC068423; Tue, 27 Mar 2012 11:21:30 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id q2RHLUcu068422; Tue, 27 Mar 2012 11:21:30 -0600 (MDT) (envelope-from ken) Date: Tue, 27 Mar 2012 11:21:29 -0600 From: "Kenneth D. Merry" To: Matt Thyer Message-ID: <20120327172129.GA67307@nargothrond.kdm.org> References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> <20120326132558.GB76647@in-addr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Cc: "Desai, Kashyap" , Garrett Cooper , freebsd-current@freebsd.org, Steven Hartland , freebsd-scsi@freebsd.org Subject: Re: LSI supported mps(4) driver available 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: Tue, 27 Mar 2012 17:46:36 -0000 On Tue, Mar 27, 2012 at 23:50:31 +1030, Matt Thyer wrote: > On 26 March 2012 23:55, Gary Palmer wrote: > > > On Mon, Mar 26, 2012 at 08:05:59PM +1030, Matt Thyer wrote: > > > On Mar 26, 2012 3:43 AM, "Garrett Cooper" wrote: > > > > > > > > On Sun, Mar 25, 2012 at 5:16 AM, Matt Thyer > > wrote: > > > > > Has this driver been MFC to 8-STABLE yet ? > > > > > > > > > > I'm asking because I updated my NAS on the 4th of March from 8-STABLE > > > > > r225723 to r232477 and am now seeing 157,000 interrupts per second on > > > irq > > > > > 16 where my SuperMicro AOC-USAS2-L8i resides (this card uses the LSI > > > > > SAS2008 chip). > > > > [snip] > > > > > After encountering this problem I updated my firmware from phase 7 to > > phase > > > 11 but this did not fix things. > > > > > > My question is: "Is the LSI driver even in 8-STABLE yet?". > > > > > > If not I'll upgrade to 9-STABLE to get the new driver. > > > > > > If it is, then I want to downgrade to just before it came in to see if > > this > > > high interrupt rate problem is fixed. > > > > I'm no export in svn, however: > > > > http://svnweb.freebsd.org/base?view=revision&revision=230922 > > > > would appear to suggest that the new driver is in 8-Stable > > > > Gary > > > > It's painful to take this system back to r230921 due to intolerance for > downtime from it's users so I'd like to investigate the cause of the > problem and try patches/sysctls/whatever first. > > The drives I'm using are 7 x WDC WD20EARS-00M (3 are AB50, 4 are AB51) and > 1 x WD20EARX-00P AB51. > The WD20EARX-00P AB51 is a SATA 3 (6 Gbps) drive but the others are all > SATA 2 (3 Gbps). > > I know the driver doesn't like mixed speeds in IR mode but I'm flashed with > IT firmware as ZFS is doing my RAID (raidz2). > > I was having problems with the WD20EARX-00P AB51 drive being faulted by ZFS > until I updated the firmware to 11 and now ZFS is happy (I've also done a > full extended drive SMART test and the drive is fine). > > So what do people suggest (before reversion to r230921) ? If you're going to prove that it's the new LSI driver, you will probably have to go back to the old driver. You don't have to back out your entire tree, you can just back out the driver itself if you have an SVN tree. You can go into sys/dev/mps and do: svn update -r 230714 And then edit sys/conf/files and comment out these three lines: dev/mps/mps_config.c optional mps dev/mps/mps_mapping.c optional mps dev/mps/mps_sas_lsi.c optional mps Then you should be able to rebuild your kernel with the old driver and see if the problem occurs again. Ken -- Kenneth Merry ken@FreeBSD.ORG From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 27 18:27:20 2012 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 B99931065677; Tue, 27 Mar 2012 18:27:20 +0000 (UTC) (envelope-from nitroboost@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 031458FC17; Tue, 27 Mar 2012 18:27:19 +0000 (UTC) Received: by yenl9 with SMTP id l9so239477yen.13 for ; Tue, 27 Mar 2012 11:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=T41jB72zvJSdZ8RJli0OzadUTF0j7LdXovDtb8uPpwE=; b=Q6QfreZVd818N6AQ/3vh/DGTzCK8FuEs2zOdwMyKx9M8uWPWEGgUKqbB+2T2bC/mKt mfq8fRVZ8G5EcBR22VQr7DnqUTp/wL1StSAhXFwS1MLZGaH0gdAWw+75YhoO4Ph18V9c iForcW03UOC4N3ag3VTOwy7l+hl4Zl/gvC1AKpe+aqYBYnLHJ1/XXscUQ2SButG2Gqm3 VhZtNqL9gpinnUe/RkeBDUmCVvs2KvzpHpI6uSuwloO7FjwTVMM2gObf2t8dGILR7V52 cyYSFRbBLGAmy6HPQr5Krrt4BvTNtv7qizbyRjKQSSGR2AQUnpklvV+y2QjqWixArzix KYCg== MIME-Version: 1.0 Received: by 10.60.14.166 with SMTP id q6mr20854916oec.17.1332872839167; Tue, 27 Mar 2012 11:27:19 -0700 (PDT) Received: by 10.182.47.135 with HTTP; Tue, 27 Mar 2012 11:27:19 -0700 (PDT) In-Reply-To: <20120327172129.GA67307@nargothrond.kdm.org> References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> <20120326132558.GB76647@in-addr.com> <20120327172129.GA67307@nargothrond.kdm.org> Date: Tue, 27 Mar 2012 11:27:19 -0700 Message-ID: From: Jason Wolfe To: "Kenneth D. Merry" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "Desai, Kashyap" , Garrett Cooper , Matt Thyer , freebsd-current@freebsd.org, Steven Hartland , freebsd-scsi@freebsd.org Subject: Re: LSI supported mps(4) driver available 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: Tue, 27 Mar 2012 18:27:20 -0000 On Tue, Mar 27, 2012 at 10:21 AM, Kenneth D. Merry wrote: > On Tue, Mar 27, 2012 at 23:50:31 +1030, Matt Thyer wrote: >> On 26 March 2012 23:55, Gary Palmer wrote: >> >> It's painful to take this system back to r230921 due to intolerance for >> downtime from it's users so I'd like to investigate the cause of the >> problem and try patches/sysctls/whatever first. >> >> The drives I'm using are 7 x WDC WD20EARS-00M (3 are AB50, 4 are AB51) a= nd >> 1 x WD20EARX-00P AB51. >> The WD20EARX-00P AB51 is a SATA 3 (6 Gbps) drive but the others are all >> SATA 2 (3 Gbps). >> >> I know the driver doesn't like mixed speeds in IR mode but I'm flashed w= ith >> IT firmware as ZFS is doing my RAID (raidz2). >> >> I was having problems with the WD20EARX-00P AB51 drive being faulted by = ZFS >> until I updated the firmware to 11 and now ZFS is happy (I've also done = a >> full extended drive SMART test and the drive is fine). >> >> So what do people suggest (before reversion to r230921) ? > > If you're going to prove that it's the new LSI driver, you will probably > have to go back to the old driver. > > You don't have to back out your entire tree, you can just back out the > driver itself if you have an SVN tree. =A0You can go into sys/dev/mps and= do: > > svn update -r 230714 > > And then edit sys/conf/files and comment out these three lines: > > dev/mps/mps_config.c =A0 =A0 =A0 =A0 =A0 =A0optional mps > dev/mps/mps_mapping.c =A0 =A0 =A0 =A0 =A0 optional mps > dev/mps/mps_sas_lsi.c =A0 =A0 =A0 =A0 =A0 optional mps > > Then you should be able to rebuild your kernel with the old driver and se= e > if the problem occurs again. > > Ken > -- > Kenneth Merry > ken@FreeBSD.ORG I'm having an issue with the new mps driver myself http://lists.freebsd.org/pipermail/freebsd-scsi/2012-February/005243.html , so I have a patch handy for downgrading also if it helps anyone. It includes the sys/conf/files removals also. http://nitrology.com/mps_downgrade-fbsd8.diff Jason From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 27 20:22:32 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 545251065673; Tue, 27 Mar 2012 20:22:32 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE4368FC1B; Tue, 27 Mar 2012 20:22:31 +0000 (UTC) Received: by vcmm1 with SMTP id m1so341286vcm.13 for ; Tue, 27 Mar 2012 13:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=BNgh97xu6/HiAsMklRL03gPhzaMy1JcttnRmzHqdo8s=; b=vV9CbRqCxwCr3sy4F7XFN6VsPmpgpCv2DE1SelM2UXHUw+2fx9ETEqNf9IFPdzo5Lk tR3foB4La5KsFuVp5mhFVH2RgIM5n9g2WxrpEME46/uJrTAqE3aMTxB2frfJZUE8Fgef f5W2ZGTQa9usR0bkoD6tk8rKp3o75gtAmaCX07K5Et7R3sMumKlk0ioiHKME4ZyvYzOt hjneVAj6XrEIqFqbfwg/E4Xel9wYQnqvKiyt3EZd+7G3Fpvhz01SRfyLXXx/GT7bPGyF km1emA/FEKT0AByBwUGvCrMi3QZLCUnrcNM2tj1lsZQHvxlluw5QvL3ClfEeNF/9Rtgq r1QQ== MIME-Version: 1.0 Received: by 10.52.26.103 with SMTP id k7mr10787015vdg.26.1332879750738; Tue, 27 Mar 2012 13:22:30 -0700 (PDT) Received: by 10.220.230.135 with HTTP; Tue, 27 Mar 2012 13:22:30 -0700 (PDT) In-Reply-To: References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> <20120326132558.GB76647@in-addr.com> <20120327172129.GA67307@nargothrond.kdm.org> Date: Tue, 27 Mar 2012 13:22:30 -0700 Message-ID: From: Garrett Cooper To: Jason Wolfe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "Desai, Kashyap" , Matt Thyer , "Kenneth D. Merry" , freebsd-current@freebsd.org, Steven Hartland , freebsd-scsi@freebsd.org Subject: Re: LSI supported mps(4) driver available 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: Tue, 27 Mar 2012 20:22:32 -0000 On Tue, Mar 27, 2012 at 11:27 AM, Jason Wolfe wrote: > On Tue, Mar 27, 2012 at 10:21 AM, Kenneth D. Merry wrot= e: >> On Tue, Mar 27, 2012 at 23:50:31 +1030, Matt Thyer wrote: >>> On 26 March 2012 23:55, Gary Palmer wrote: >>> >>> It's painful to take this system back to r230921 due to intolerance for >>> downtime from it's users so I'd like to investigate the cause of the >>> problem and try patches/sysctls/whatever first. >>> >>> The drives I'm using are 7 x WDC WD20EARS-00M (3 are AB50, 4 are AB51) = and >>> 1 x WD20EARX-00P AB51. >>> The WD20EARX-00P AB51 is a SATA 3 (6 Gbps) drive but the others are all >>> SATA 2 (3 Gbps). >>> >>> I know the driver doesn't like mixed speeds in IR mode but I'm flashed = with >>> IT firmware as ZFS is doing my RAID (raidz2). >>> >>> I was having problems with the WD20EARX-00P AB51 drive being faulted by= ZFS >>> until I updated the firmware to 11 and now ZFS is happy (I've also done= a >>> full extended drive SMART test and the drive is fine). >>> >>> So what do people suggest (before reversion to r230921) ? >> >> If you're going to prove that it's the new LSI driver, you will probably >> have to go back to the old driver. >> >> You don't have to back out your entire tree, you can just back out the >> driver itself if you have an SVN tree. =A0You can go into sys/dev/mps an= d do: >> >> svn update -r 230714 >> >> And then edit sys/conf/files and comment out these three lines: >> >> dev/mps/mps_config.c =A0 =A0 =A0 =A0 =A0 =A0optional mps >> dev/mps/mps_mapping.c =A0 =A0 =A0 =A0 =A0 optional mps >> dev/mps/mps_sas_lsi.c =A0 =A0 =A0 =A0 =A0 optional mps >> >> Then you should be able to rebuild your kernel with the old driver and s= ee >> if the problem occurs again. >> >> Ken >> -- >> Kenneth Merry >> ken@FreeBSD.ORG > > I'm having an issue with the new mps driver myself > http://lists.freebsd.org/pipermail/freebsd-scsi/2012-February/005243.html > , so I have a patch handy for downgrading also if it helps anyone. =A0It > includes the sys/conf/files removals also. Have you tried upgrading your firmware to phase11 or newer? We saw this issue at iXsystems, but after upgrading to phase11 the first drive "disappearing" issue went away. I have noticed that the driver is noticeably slower at boot on 8.2 and I needed to increase kern.geom.boot_delay to 20 seconds to get booting off FreeNAS-like hardware (uses USB) to work. Thanks! -Garrett From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 29 13:49:58 2012 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DC9B106566B; Thu, 29 Mar 2012 13:49:58 +0000 (UTC) (envelope-from v.a.popov@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 38D638FC1D; Thu, 29 Mar 2012 13:49:57 +0000 (UTC) Received: by qcsg15 with SMTP id g15so1636462qcs.13 for ; Thu, 29 Mar 2012 06:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=5Xz6Zi9ivsJKWmDRe0kEbmx3U5M+rmVMjEG9fAx/ynM=; b=iM4eaSG6yGrEXxDpZBUeFKPmpg4ItlSsBPX0kVgyIolU/lsx4N2VJ/Zon7pUnVSWu+ lIizez2vaP/jtARow5hC0U9/RreJTU3vLDaisEZHJkuvjgUtY9XcyTaUaS1SrJOtSHi5 SWjIvJ06rA/YUkA8YbXJ9LAaFUk9TkMIpW77g2C6jfxNOW9AgIpGH5tLnvaRqaZhitoL RAsASSfac2fw80PTO/agVL99ZfioY+UsQqaXhnOios5NLQTEbZMf7+rTjdyJODkF/iKu q5DIgLxvBmqHSZstOqP7XF+TXcJJ3dA6rCfraiXb/tY6gDVtNZUDE4poKb0f6jy3slzZ j/Xw== Received: by 10.224.173.141 with SMTP id p13mr71950qaz.82.1333028997317; Thu, 29 Mar 2012 06:49:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.53.149 with HTTP; Thu, 29 Mar 2012 06:49:40 -0700 (PDT) From: Victor Popov Date: Thu, 29 Mar 2012 17:49:40 +0400 Message-ID: To: stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: scsi@freebsd.org Subject: 9.0-release panics with ASR_COMPAT and raidutil 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: Thu, 29 Mar 2012 13:49:58 -0000 Hi, My box panics when I use raidutil tool to turn off write-back for arrays and disks, as advised for database setup (because of no battery) and when getting status. Panic occurs immediately after issuing command 'raidutil -d 0 -w off d0b0t0d0', but sometimes it manages to complete and echo that write-back has been turned off. Several minutes after that it panics anyway, maybe on next disk, maybe on 'raidutil -d 0 -L all' to get information about status, maybe on reboot. Sometimes it panics after only one informational command 'raidutil -d 0 -L all' (immediate and several minutes later). Kernel config: include GENERIC ident CTRL1 options SC_HISTORY_SIZE=2000 options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD options DUMMYNET options QUOTA options RACCT options RCTL device smbus device smb device ichsmb device ichwd options ASR_COMPAT raidutil is from port sysutils/asr-utils, ASR_COMPAT is added to kernel config to get it working. Several panic textdumps: http://pastebin.com/pnehc75B http://pastebin.com/NnpijeYJ http://pastebin.com/m8qJPPzD http://pastebin.com/UUUwcFMX http://pastebin.com/bP1BEbzG http://pastebin.com/1CWSEgqL No consistent backtrace among them - all different, so I am not including any in this message. vmcore.* dumps are preserved for a while, so they can be used if needed. I have to say that previously this box was running 7.4-release, and at least informational command 'raidutil -d 0 -L all' did not lead to panic. Any hint to help debugging this issue would be greatly appreciated. -- Best regards, Victor Popov From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 30 22:15:13 2012 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 42770106564A for ; Fri, 30 Mar 2012 22:15:13 +0000 (UTC) (envelope-from aboyer@averesystems.com) Received: from zimbra.averesystems.com (75-149-8-245-Pennsylvania.hfc.comcastbusiness.net [75.149.8.245]) by mx1.freebsd.org (Postfix) with ESMTP id 108B58FC0A for ; Fri, 30 Mar 2012 22:15:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id 19AE9446003; Fri, 30 Mar 2012 18:15:22 -0400 (EDT) X-Virus-Scanned: amavisd-new at averesystems.com Received: from zimbra.averesystems.com ([127.0.0.1]) by localhost (zimbra.averesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GhjS7HK4sv80; Fri, 30 Mar 2012 18:15:20 -0400 (EDT) Received: from riven.arriad.com (fw.arriad.com [10.0.0.16]) by zimbra.averesystems.com (Postfix) with ESMTPSA id C7E22446002; Fri, 30 Mar 2012 18:15:20 -0400 (EDT) From: Andrew Boyer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 30 Mar 2012 18:15:10 -0400 Message-Id: To: freebsd-scsi@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Cc: Subject: Missing bio_resid on error case in mfi_disk_complete() 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: Fri, 30 Mar 2012 22:15:13 -0000 Hello Doug, We noticed that the AIO system doesn't react to I/O failures that come = from mfi disks; the commands appear to complete. The upper layers are = expecting bio->bio_resid to be non-zero if the bio failed. The patch = below matches what scsi_da.c does in this case and also what mfi itself = does in mfi_disk_strategy() if the I/O is invalid. Does this make sense? I meant to get this email sent before you started = on the big merge. Thanks, Andrew Index: sys/dev/mfi/mfi_disk.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/dev/mfi/mfi_disk.c (revision 233707) +++ sys/dev/mfi/mfi_disk.c (working copy) @@ -274,6 +274,7 @@ hdr =3D bio->bio_driver1; =20 if (bio->bio_flags & BIO_ERROR) { + bio->bio_resid =3D bio->bio_bcount; if (bio->bio_error =3D=3D 0) bio->bio_error =3D EIO; disk_err(bio, "hard error", -1, 1); -------------------------------------------------- Andrew Boyer aboyer@averesystems.com From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 30 22:25:25 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86EBF1065672 for ; Fri, 30 Mar 2012 22:25:25 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [70.91.206.90]) by mx1.freebsd.org (Postfix) with ESMTP id 62C7E8FC15 for ; Fri, 30 Mar 2012 22:25:25 +0000 (UTC) X-Ambrisko-Me: Yes Received: from server2.ambrisko.com (HELO internal.ambrisko.com) ([192.168.1.2]) by ironport.ambrisko.com with ESMTP; 30 Mar 2012 15:25:31 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by internal.ambrisko.com (8.14.4/8.14.4) with ESMTP id q2UMPOdW055706; Fri, 30 Mar 2012 15:25:24 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.14.4/8.14.4/Submit) id q2UMPOrF055705; Fri, 30 Mar 2012 15:25:24 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <201203302225.q2UMPOrF055705@ambrisko.com> In-Reply-To: To: Andrew Boyer Date: Fri, 30 Mar 2012 15:25:24 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL124d (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" Cc: freebsd-scsi@freebsd.org Subject: Re: Missing bio_resid on error case in mfi_disk_complete() 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: Fri, 30 Mar 2012 22:25:25 -0000 Andrew Boyer writes: | Hello Doug, | We noticed that the AIO system doesn't react to I/O failures that | come from mfi disks; the commands appear to complete. The upper | layers are expecting bio->bio_resid to be non-zero if the bio failed. | The patch below matches what scsi_da.c does in this case and also what | mfi itself does in mfi_disk_strategy() if the I/O is invalid. | | Does this make sense? I meant to get this email sent before you | started on the big merge. | | Thanks, | Andrew | | Index: sys/dev/mfi/mfi_disk.c | =================================================================== | --- sys/dev/mfi/mfi_disk.c (revision 233707) | +++ sys/dev/mfi/mfi_disk.c (working copy) | @@ -274,6 +274,7 @@ | hdr = bio->bio_driver1; | | if (bio->bio_flags & BIO_ERROR) { | + bio->bio_resid = bio->bio_bcount; | if (bio->bio_error == 0) | bio->bio_error = EIO; | disk_err(bio, "hard error", -1, 1); Looks good to me. I can check it in after I finish the merge. The driver is compile tested now. So I'm about to check that in. Thanks, Doug A.