From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 1 11:06:50 2013 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4700E8F0 for ; Mon, 1 Apr 2013 11:06:50 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 37D5A341 for ; Mon, 1 Apr 2013 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r31B6oJ6033787 for ; Mon, 1 Apr 2013 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r31B6nXB033785 for freebsd-scsi@FreeBSD.org; Mon, 1 Apr 2013 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Apr 2013 11:06:49 GMT Message-Id: <201304011106.r31B6nXB033785@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 Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 11:06:50 -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/171650 scsi [da] da(4) driver does not recognize end of cciss (Sma o kern/169403 scsi [cam] [patch] CAM layer, I/O starvation, no fairness 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/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 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/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/142351 scsi [mpt] LSILogic driver performance problems o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device 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 45 problems total. From owner-freebsd-scsi@FreeBSD.ORG Thu Apr 4 15:56:24 2013 Return-Path: Delivered-To: freebsd-scsi@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A301AD62; Thu, 4 Apr 2013 15:56:24 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7D49ACC6; Thu, 4 Apr 2013 15:56:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r34FuOeu098652; Thu, 4 Apr 2013 15:56:24 GMT (envelope-from sbruno@freefall.freebsd.org) Received: (from sbruno@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r34FuOvr098647; Thu, 4 Apr 2013 15:56:24 GMT (envelope-from sbruno) Date: Thu, 4 Apr 2013 15:56:24 GMT Message-Id: <201304041556.r34FuOvr098647@freefall.freebsd.org> To: sbruno@FreeBSD.org, freebsd-scsi@FreeBSD.org, sbruno@FreeBSD.org From: sbruno@FreeBSD.org Subject: Re: kern/171650: [ciss] da(4) driver does not recognize end of cciss (SmartArray) >volume reconstruction X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 15:56:24 -0000 Old Synopsis: [da] da(4) driver does not recognize end of cciss (SmartArray) >volume reconstruction New Synopsis: [ciss] da(4) driver does not recognize end of cciss (SmartArray) >volume reconstruction Responsible-Changed-From-To: freebsd-scsi->sbruno Responsible-Changed-By: sbruno Responsible-Changed-When: Thu Apr 4 15:55:52 UTC 2013 Responsible-Changed-Why: Taking control of this ticket, this is a real bug and needs investigation http://www.freebsd.org/cgi/query-pr.cgi?pr=171650 From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 5 21:22:45 2013 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7F4D3A21; Fri, 5 Apr 2013 21:22:45 +0000 (UTC) (envelope-from seanwbruno@gmail.com) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by mx1.freebsd.org (Postfix) with ESMTP id 55C21E48; Fri, 5 Apr 2013 21:22:45 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id kl13so2267097pab.4 for ; Fri, 05 Apr 2013 14:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:from:reply-to:to:cc:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer; bh=63Xgq03DeeFS2hhahm3cnEAFuU/z9EOlEK8cmqMJlnE=; b=Wg3pW07sfG6lNk1s2uH9a/YtwIYk3jmYGHqrj5yYUL4b/Fbx/TAEHFXsdI6o4ttYA9 oRcgpNldI6K1FCUAneIBB7VhOxt+OE36f07DyDRHd/9M+JkAK+FxrwmN6Xr2xj1ydTXz HTKOYpmMWIQdSPMpbtWDtvUsTDwounNacfsWyv82E0gRhsvJrzFLx+k1/caZ7pYqu07Q xgZEMyR9sNMkkqft3fBWAU9RrxLRQJigpScuApfDTB/xM3WTG1Q1PAt8I4sysY9AnwJX sG7UdxDtSuH/OR9x5OKzyDlQgy1ByOK8H83X0uVhQoSeBMvCANvUBkR1zwMYytis1PvZ wM0w== X-Received: by 10.66.190.2 with SMTP id gm2mr17464019pac.25.1365196959321; Fri, 05 Apr 2013 14:22:39 -0700 (PDT) Received: from [10.73.160.242] (nat-dip7.cfw-a-gci.corp.yahoo.com. [209.131.62.116]) by mx.google.com with ESMTPS id of1sm2029285pbb.2.2013.04.05.14.22.37 (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 05 Apr 2013 14:22:38 -0700 (PDT) Subject: Re: adding BBU relearn support to mfiutil From: Sean Bruno To: Mark Johnston In-Reply-To: <20130304033836.GA33631@oddish> References: <20130304033836.GA33631@oddish> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-S/UqI/W50Kx8QFyI4S2v" Date: Fri, 05 Apr 2013 14:22:36 -0700 Message-ID: <1365196956.17311.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2013 21:22:45 -0000 --=-S/UqI/W50Kx8QFyI4S2v Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sun, 2013-03-03 at 22:38 -0500, Mark Johnston wrote: > Hi Everyone, >=20 > I recently needed to add a couple of features to mfiutil related to BBU > relearning. I've pasted a patch below which >=20 > 1. adds extra fields to the output of "mfiutil show battery" showing BBU > properties. This is essentially the output of >=20 > # MegaCli -AdpBbuInfo -GetBbuProperties -aLL >=20 > and consists of info about battery learning: the learn period, the > time at which the controller will start the next relearn, and the BBU > mode (which indicates whether the battery supports transparent > relearning). >=20 > 2. adds a couple of subcommands under "mfiutil bbu" which lets users set > the BBU properties which can be set by MegaCli. >=20 > 3. adds a command "mfiutil start learn" which immediately kicks off a > battery relearn. >=20 > These changes grew out of concern about the fact that the controller > write cache is set to write-through mode during a relearn period (which > usually lasts for several hours). This ended up causing some mysterious > and intermittent performance issues, so I needed a way of getting more > info about what was going on (using MegaCli isn't really an option for > several reasons). Some BBUs support transparent relearning, which > basically means that the controller write cache doesn't get turned off > during a relearn. However, LSI's default config doesn't enable it, and > now mfiutil can be used to do that (through "mfiutil bbu bbu-mode"). >=20 > I was hoping someone would be able to review the patch. If anyone's able > and willing to test it, I'd very much appreciate feedback from that. >=20 > Thanks! > -Mark Just to document for the record. Finally got around to testing this today with Mark providing updates. Looks good overall with a couple of nits that he is handling at the moment (man page and variable name collision). Sean --=-S/UqI/W50Kx8QFyI4S2v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJRX0CcAAoJEBkJRdwI6BaHXqYH/37KVK+hCK/SzyK2BiGYK+AU iIab4boLwgzCWZr7fYtQwHfyngVwrwubC6grhAsyw6eDdodmKFosTZT1ZPEsXtyW JCUasWrpppxvo+HyaIF708ZlKHVX5V7O+yG2gx5IBM61DkXnh69D9hcn+hiqFU3I vHcvzpZi24gjxL2fH2fXro9RO3Ng0ctQlqW3dvirFtsV04por0XglvDO35hH47m6 wRWL4zNqiO2mbGg2u6ou3RtbwRZdBKJSFn4s9Fi766LX0+q/amwFAMt2hreXGr8M AoSPhvjtPVKulHwvMYamrmePjB8WbrN4YEu+F4YhnQe9abRj7ZELj8OwY9W4oi8= =Bfrb -----END PGP SIGNATURE----- --=-S/UqI/W50Kx8QFyI4S2v-- From owner-freebsd-scsi@FreeBSD.ORG Sat Apr 6 00:08:17 2013 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CBA4574E; Sat, 6 Apr 2013 00:08:17 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-ia0-x234.google.com (mail-ia0-x234.google.com [IPv6:2607:f8b0:4001:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id 95B02354; Sat, 6 Apr 2013 00:08:17 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f27so3586338iae.25 for ; Fri, 05 Apr 2013 17:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=I9NmdHlhLi2oFPAn7SiEh4KPRmRzGjmoNq9LYVlCedE=; b=ypTIejqn1QibTF9w0FJ3BFInk7RVgaaAILU3UWYzvTtnat93/hDIDCCnBqLKMJcaBC UmNKO1k8/4S4yKQUzkVnCxWaBmG65Z1Kxji9cV0yYo4AH568Mth5YByy6AMgrUktuDmu QHHiUWD8bwBzcdCLHnKvmgBQeV5VUKGncv+3bwcP8N0Id3uJcDqsMP2R/5k3r0+vcl1B AdqMHxDxl7BgvdMDj/MjfcC9oiegDvKedFPRcIPE/egxNVKJDBvmGK5h/2NVFf4XDpi4 4G9ZnLCt5wVsH66rM7HA8YgoaSmFZ+L4T+r3Z35J6pSIB3mW28WqlfNXSXTWPbQSDo2W c7hA== X-Received: by 10.50.108.45 with SMTP id hh13mr749985igb.110.1365206897297; Fri, 05 Apr 2013 17:08:17 -0700 (PDT) Received: from raichu ([66.11.160.35]) by mx.google.com with ESMTPS id hi4sm5149115igc.6.2013.04.05.17.08.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Apr 2013 17:08:16 -0700 (PDT) Sender: Mark Johnston Date: Fri, 5 Apr 2013 20:08:09 -0400 From: Mark Johnston To: sbruno@freebsd.org Subject: Re: adding BBU relearn support to mfiutil Message-ID: <20130406000809.GA96223@raichu> References: <20130304033836.GA33631@oddish> <1365196956.17311.13.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1365196956.17311.13.camel@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Apr 2013 00:08:17 -0000 On Fri, Apr 05, 2013 at 02:22:36PM -0700, Sean Bruno wrote: > On Sun, 2013-03-03 at 22:38 -0500, Mark Johnston wrote: > > Hi Everyone, > > > > I recently needed to add a couple of features to mfiutil related to BBU > > relearning. I've pasted a patch below which > > > > 1. adds extra fields to the output of "mfiutil show battery" showing BBU > > properties. This is essentially the output of > > > > # MegaCli -AdpBbuInfo -GetBbuProperties -aLL > > > > and consists of info about battery learning: the learn period, the > > time at which the controller will start the next relearn, and the BBU > > mode (which indicates whether the battery supports transparent > > relearning). > > > > 2. adds a couple of subcommands under "mfiutil bbu" which lets users set > > the BBU properties which can be set by MegaCli. > > > > 3. adds a command "mfiutil start learn" which immediately kicks off a > > battery relearn. > > > > These changes grew out of concern about the fact that the controller > > write cache is set to write-through mode during a relearn period (which > > usually lasts for several hours). This ended up causing some mysterious > > and intermittent performance issues, so I needed a way of getting more > > info about what was going on (using MegaCli isn't really an option for > > several reasons). Some BBUs support transparent relearning, which > > basically means that the controller write cache doesn't get turned off > > during a relearn. However, LSI's default config doesn't enable it, and > > now mfiutil can be used to do that (through "mfiutil bbu bbu-mode"). > > > > I was hoping someone would be able to review the patch. If anyone's able > > and willing to test it, I'd very much appreciate feedback from that. > > > > Thanks! > > -Mark > > Just to document for the record. Finally got around to testing this > today with Mark providing updates. Looks good overall with a couple of > nits that he is handling at the moment (man page and variable name > collision). The updated patch is here: http://people.freebsd.org/~markj/patches/20130405-mfi-bbu.diff I'll commit it in a few days if there aren't any problems. Thanks, -Mark