From owner-freebsd-scsi@FreeBSD.ORG Mon Feb 7 03:34:58 2011 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B91D1065674; Mon, 7 Feb 2011 03:34:58 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E96508FC1D; Mon, 7 Feb 2011 03:34:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p173YvIv011376; Mon, 7 Feb 2011 03:34:57 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p173YvaR011372; Mon, 7 Feb 2011 03:34:57 GMT (envelope-from linimon) Date: Mon, 7 Feb 2011 03:34:57 GMT Message-Id: <201102070334.p173YvaR011372@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/154434: [iscsi] FreeBSD iscsi initiator sends invalid scsi command during iscsi discovery 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, 07 Feb 2011 03:34:58 -0000 Old Synopsis: FreeBSD iscsi initiator sends invalid scsi command during iscsi discovery New Synopsis: [iscsi] FreeBSD iscsi initiator sends invalid scsi command during iscsi discovery Responsible-Changed-From-To: freebsd-amd64->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Feb 7 03:34:18 UTC 2011 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=154434 From owner-freebsd-scsi@FreeBSD.ORG Mon Feb 7 11:07:08 2011 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 643E710656B6 for ; Mon, 7 Feb 2011 11:07:08 +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 52C1C8FC1A for ; Mon, 7 Feb 2011 11:07:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p17B78d5027854 for ; Mon, 7 Feb 2011 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p17B775u027852 for freebsd-scsi@FreeBSD.org; Mon, 7 Feb 2011 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Feb 2011 11:07:07 GMT Message-Id: <201102071107.p17B775u027852@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, 07 Feb 2011 11:07:08 -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/154434 scsi [iscsi] FreeBSD iscsi initiator sends invalid scsi com 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 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/141934 scsi [cam] [patch] add support for SEAGATE DAT Scopion 130 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/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi 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/94838 scsi Kernel panic while mounting SD card with lock switch o 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 bin/57088 scsi [cam] [patch] for a possible fd leak in libcam.c 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/40895 scsi wierd kernel / device driver bug 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 46 problems total. From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 8 01:35:40 2011 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 EBBD0106566B; Tue, 8 Feb 2011 01:35:40 +0000 (UTC) (envelope-from joachim@tingvold.com) Received: from smtp.domeneshop.no (smtp.domeneshop.no [194.63.248.54]) by mx1.freebsd.org (Postfix) with ESMTP id A5A498FC18; Tue, 8 Feb 2011 01:35:40 +0000 (UTC) Received: from aannecy-552-1-139-161.w86-200.abo.wanadoo.fr ([86.200.147.161] helo=keklolwtf.home) by smtp.domeneshop.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1PmcUV-0004aa-3C; Tue, 08 Feb 2011 02:35:39 +0100 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Joachim Tingvold In-Reply-To: <20110204180011.GA38067@nargothrond.kdm.org> Date: Tue, 8 Feb 2011 02:35:35 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <20110113203750.GA39494@nargothrond.kdm.org> <20110114001758.GA12793@nargothrond.kdm.org> <07392102-4584-4690-9188-5202728CC7CA@tingvold.com> <20110120155746.GA22515@nargothrond.kdm.org> <070C12D5-A54F-4A48-A151-EBA16EF32A13@tingvold.com> <20110203221056.GA25389@nargothrond.kdm.org> <20110204180011.GA38067@nargothrond.kdm.org> To: Kenneth D. Merry X-Mailer: Apple Mail (2.1076) Cc: freebsd-scsi@freebsd.org, Alexander Motin Subject: Re: mps0-troubles 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, 08 Feb 2011 01:35:41 -0000 On Fri, Feb 04, 2011, at 19:00:11PM GMT+01:00, Kenneth D. Merry wrote: > Perhaps it could depend on memory fragmentation somewhat. Over time > you > may see the low water mark go down a bit. > > The good news is that it doesn't look like we have a leak. [jocke@filserver ~]$ sysctl hw.mps.0 hw.mps.0.debug_level: 0 hw.mps.0.allow_multiple_tm_cmds: 0 hw.mps.0.io_cmds_active: 1 hw.mps.0.io_cmds_highwater: 959 hw.mps.0.chain_free: 2048 hw.mps.0.chain_free_lowwater: 1721 hw.mps.0.chain_alloc_fail: 0 This time I did a recursive copy of a folder with no large files at all (it contained only small documents), from 'storage' to 'storage'. However, it recovered, so the copy just continued where it left of -- which is a change from previous crashes. -- Joachim From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 8 01:40:09 2011 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 361B6106566C; Tue, 8 Feb 2011 01:40:09 +0000 (UTC) (envelope-from joachim@tingvold.com) Received: from smtp.domeneshop.no (smtp.domeneshop.no [194.63.248.54]) by mx1.freebsd.org (Postfix) with ESMTP id D8F638FC15; Tue, 8 Feb 2011 01:40:08 +0000 (UTC) Received: from aannecy-552-1-139-161.w86-200.abo.wanadoo.fr ([86.200.147.161] helo=keklolwtf.home) by smtp.domeneshop.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1PmcYp-0005Ry-Pq; Tue, 08 Feb 2011 02:40:07 +0100 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed From: Joachim Tingvold In-Reply-To: Date: Tue, 8 Feb 2011 02:40:04 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <20110113203750.GA39494@nargothrond.kdm.org> <20110114001758.GA12793@nargothrond.kdm.org> <07392102-4584-4690-9188-5202728CC7CA@tingvold.com> <20110120155746.GA22515@nargothrond.kdm.org> <070C12D5-A54F-4A48-A151-EBA16EF32A13@tingvold.com> <20110203221056.GA25389@nargothrond.kdm.org> <20110204180011.GA38067@nargothrond.kdm.org> To: "Kenneth D. Merry" X-Mailer: Apple Mail (2.1076) Cc: freebsd-scsi@freebsd.org, Alexander Motin Subject: Re: mps0-troubles 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, 08 Feb 2011 01:40:09 -0000 On Tue, Feb 08, 2011, at 02:35:35AM GMT+01:00, Joachim Tingvold wrote: > Updated; it happened again just a few minutes after the first one. -- Joachim From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 8 18:39:37 2011 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 BF747106566B for ; Tue, 8 Feb 2011 18:39:37 +0000 (UTC) (envelope-from shivaram.u@quadstor.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 90B3D8FC1D for ; Tue, 8 Feb 2011 18:39:37 +0000 (UTC) Received: by iyb26 with SMTP id 26so6098160iyb.13 for ; Tue, 08 Feb 2011 10:39:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.15.7 with SMTP id i7mr6834937iba.38.1297190376741; Tue, 08 Feb 2011 10:39:36 -0800 (PST) Received: by 10.231.13.194 with HTTP; Tue, 8 Feb 2011 10:39:36 -0800 (PST) X-Originating-IP: [117.192.99.186] Date: Wed, 9 Feb 2011 00:09:36 +0530 Message-ID: From: Shivaram Upadhyayula To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: aac, and CAM 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, 08 Feb 2011 18:39:37 -0000 Hi All, One of our VTL users has the following setup using a Adaptec 2410SA SATA RAID card. aacd0: on aac0 aacd0: 238417MB (488279040 sectors) aacd1: on aac0 aacd1: 476835MB (976558080 sectors) This is on FreeBSD 8.1 m/c unchanged and aacp would have been built into the kernel (as per the GENERIC conf file). camcontrol however fails to list the devices. camcontrol devlist -v scbus0 on ahc0 bus 0: <>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target -1 lun -1 () scbus-1 on xpt0 bus 0: <>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 at scbus-1 target -1 lun -1 (xpt0) Interestingly when the user created a Simple Volume he was able to use the disk for the VTL purpose. Within our software we depend on a disk to be detected by the CAM subsystem. If camcontrol devlist can see it we can use the disk. Unfortunately we don't have the hardware the user has to debug the problem. Reading the manpage of aac "The aacp device enables the SCSI pass-thru interface and allows devices connected to the card such as CD-ROMs to be available via the CAM scsi(4) subsystem. Note that not all cards allow this interface to be enabled." Does this mean that i can get device files like (da0,pass0) and if so is it advisable to use the da0 for IO rather than using say aacd0 Any help is greatly appreciated. Regards, Shivaram -- QUADStor - Free VTL, NAS, Deduplication and Replication backup solution on FreeBSD http://www.quadstor.com From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 8 20:13:12 2011 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 70267106566C; Tue, 8 Feb 2011 20:13:12 +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 19C408FC0A; Tue, 8 Feb 2011 20:13:11 +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 p18KDBZu097735; Tue, 8 Feb 2011 13:13:11 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id p18KDAgo097734; Tue, 8 Feb 2011 13:13:10 -0700 (MST) (envelope-from ken) Date: Tue, 8 Feb 2011 13:13:10 -0700 From: "Kenneth D. Merry" To: Joachim Tingvold Message-ID: <20110208201310.GA97635@nargothrond.kdm.org> References: <20110114001758.GA12793@nargothrond.kdm.org> <07392102-4584-4690-9188-5202728CC7CA@tingvold.com> <20110120155746.GA22515@nargothrond.kdm.org> <070C12D5-A54F-4A48-A151-EBA16EF32A13@tingvold.com> <20110203221056.GA25389@nargothrond.kdm.org> <20110204180011.GA38067@nargothrond.kdm.org> 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, Alexander Motin Subject: Re: mps0-troubles 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, 08 Feb 2011 20:13:12 -0000 On Tue, Feb 08, 2011 at 02:35:35 +0100, Joachim Tingvold wrote: > On Fri, Feb 04, 2011, at 19:00:11PM GMT+01:00, Kenneth D. Merry wrote: > >Perhaps it could depend on memory fragmentation somewhat. Over time > >you > >may see the low water mark go down a bit. > > > >The good news is that it doesn't look like we have a leak. > > > This particular error is interesting: mps0: (0:40:0) terminated ioc 804b scsi 0 state c xfer 0 mps0: (0:40:0) terminated ioc 804b scsi 0 state c xfer 0 It means that the chip terminated the command for some reason. I have been talking to LSI about it. I'm working on getting an analyzer trace when it happens, so I cn send that to LSI. What kind of expander do you have in your system? How many expanders do you have? How many drives do you have? Can you send 'camcontrol devlist -v' output? > [jocke@filserver ~]$ sysctl hw.mps.0 > hw.mps.0.debug_level: 0 > hw.mps.0.allow_multiple_tm_cmds: 0 > hw.mps.0.io_cmds_active: 1 > hw.mps.0.io_cmds_highwater: 959 > hw.mps.0.chain_free: 2048 > hw.mps.0.chain_free_lowwater: 1721 > hw.mps.0.chain_alloc_fail: 0 > > This time I did a recursive copy of a folder with no large files at > all (it contained only small documents), from 'storage' to 'storage'. > > However, it recovered, so the copy just continued where it left of -- > which is a change from previous crashes. Yes, it looks like we're not running into the out of chain problem. The timeouts could be due to all sorts of problems. The IOC terminated errors I'm still not sure about. I need to get a trace and send that along with a diagnostic ring buffer dump from the card to LSI to get some answers about what is going on. Ken -- Kenneth Merry ken@FreeBSD.ORG From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 8 23:30:43 2011 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 65788106566B; Tue, 8 Feb 2011 23:30:43 +0000 (UTC) (envelope-from joachim@tingvold.com) Received: from smtp.domeneshop.no (smtp.domeneshop.no [194.63.248.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF898FC25; Tue, 8 Feb 2011 23:30:42 +0000 (UTC) Received: from aannecy-552-1-139-161.w86-200.abo.wanadoo.fr ([86.200.147.161] helo=keklolwtf.home) by smtp.domeneshop.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Pmx17-0001RN-F0; Wed, 09 Feb 2011 00:30:41 +0100 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Joachim Tingvold In-Reply-To: <20110208201310.GA97635@nargothrond.kdm.org> Date: Wed, 9 Feb 2011 00:30:37 +0100 Content-Transfer-Encoding: 7bit Message-Id: <4A14FA28-6C9E-4F22-B7A3-4295ACD77719@tingvold.com> References: <20110114001758.GA12793@nargothrond.kdm.org> <07392102-4584-4690-9188-5202728CC7CA@tingvold.com> <20110120155746.GA22515@nargothrond.kdm.org> <070C12D5-A54F-4A48-A151-EBA16EF32A13@tingvold.com> <20110203221056.GA25389@nargothrond.kdm.org> <20110204180011.GA38067@nargothrond.kdm.org> <20110208201310.GA97635@nargothrond.kdm.org> To: Kenneth D. Merry X-Mailer: Apple Mail (2.1076) Cc: freebsd-scsi@freebsd.org, Alexander Motin Subject: Re: mps0-troubles 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, 08 Feb 2011 23:30:43 -0000 On Tue, Feb 08, 2011, at 21:13:10PM GMT+01:00, Kenneth D. Merry wrote: > What kind of expander do you have in your system? How many > expanders do > you have? How many drives do you have? I have one HP SAS expander, running firmware 2.06. It's connected to the 9211-8i with two mini-SAS cables. I currently have 17 disks connected. > Can you send 'camcontrol devlist -v' output? ada0 and cd0 is connected to the S-ATA controller on the motherboard. > The timeouts could be due to all sorts of problems. The IOC > terminated > errors I'm still not sure about. I need to get a trace and send > that along > with a diagnostic ring buffer dump from the card to LSI to get some > answers > about what is going on. Let me know if/when I can help. (-: -- Joachim From owner-freebsd-scsi@FreeBSD.ORG Thu Feb 10 22:02:33 2011 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 647301065672 for ; Thu, 10 Feb 2011 22:02:33 +0000 (UTC) (envelope-from kevin.nuckolls@americanroamer.com) Received: from mail.americanroamer.com (office.americanroamer.com [216.84.21.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2C8DF8FC18 for ; Thu, 10 Feb 2011 22:02:32 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.americanroamer.com (Kerio Connect 7.1.2) for freebsd-scsi@freebsd.org; Thu, 10 Feb 2011 15:50:49 -0600 From: "Kevin Nuckolls" Sender: "Kevin Nuckolls" To: Date: Thu, 10 Feb 2011 15:47:27 -0600 Message-ID: <112bbb64-64c6-4788-aaee-eb78211a3302@americanroamer.com> MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Kerio Outlook Connector (Offline Edition) (7.1.2.2260 T0) Importance: Normal Thread-Index: AcvJbBvPCuISQX83RS6PlVa1oY021Q== X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16543 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: LSI 2008 SAS HBA Status 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, 10 Feb 2011 22:02:33 -0000 I found a prior discussion on this list in September 2010 that suggests = work is being done to include support for the LSI 2008 (Falcon) = controller. Have there been any further updates as to whether or not = this device is going to be supported and when it will be available? =20 http://groups.google.com/group/fa.freebsd.scsi/browse_thread/thread/2cd39= 94d7a1594fd/55c42718149d7ee2#55c42718149d7ee2 =20 Thanks, -Kevin From owner-freebsd-scsi@FreeBSD.ORG Thu Feb 10 22:03:20 2011 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 898951065672 for ; Thu, 10 Feb 2011 22:03:20 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id 553E08FC14 for ; Thu, 10 Feb 2011 22:03:20 +0000 (UTC) Received: from [192.168.221.2] (remotevpn [192.168.221.2]) by ns1.feral.com (8.14.4/8.14.3) with ESMTP id p1AM3IP4066888 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 10 Feb 2011 14:03:19 -0800 (PST) (envelope-from mj@feral.com) Message-ID: <4D54609E.2030402@feral.com> Date: Thu, 10 Feb 2011 14:03:10 -0800 From: Matthew Jacob Organization: Feral Software User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: <112bbb64-64c6-4788-aaee-eb78211a3302@americanroamer.com> In-Reply-To: <112bbb64-64c6-4788-aaee-eb78211a3302@americanroamer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.2.6 (ns1.feral.com [192.168.221.1]); Thu, 10 Feb 2011 14:03:19 -0800 (PST) Subject: Re: LSI 2008 SAS HBA Status 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, 10 Feb 2011 22:03:20 -0000 device mps in HEAD On 2/10/2011 1:47 PM, Kevin Nuckolls wrote: > I found a prior discussion on this list in September 2010 that suggests work is being done to include support for the LSI 2008 (Falcon) controller. Have there been any further updates as to whether or not this device is going to be supported and when it will be available? > > http://groups.google.com/group/fa.freebsd.scsi/browse_thread/thread/2cd3994d7a1594fd/55c42718149d7ee2#55c42718149d7ee2 > > Thanks, > -Kevin > _______________________________________________ > 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 Fri Feb 11 17:21:55 2011 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 79559106564A for ; Fri, 11 Feb 2011 17:21:55 +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 322478FC19 for ; Fri, 11 Feb 2011 17:21:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id 2E778446002 for ; Fri, 11 Feb 2011 12:04:46 -0500 (EST) 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 dpllgB-OBDKe for ; Fri, 11 Feb 2011 12:04:45 -0500 (EST) Received: from riven.arriad.com (fw.arriad.com [10.0.0.16]) by zimbra.averesystems.com (Postfix) with ESMTPSA id DDFA6446001 for ; Fri, 11 Feb 2011 12:04:44 -0500 (EST) From: Andrew Boyer Content-Type: multipart/mixed; boundary=Apple-Mail-11--838313077 Date: Fri, 11 Feb 2011 12:05:50 -0500 Message-Id: To: freebsd-scsi@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Subject: [patch] Support MFI cards with option ROM disabled 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, 11 Feb 2011 17:21:55 -0000 --Apple-Mail-11--838313077 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I noticed that the mfi driver fails to load if the card's option ROM is = disabled in the BIOS. (If you're not booting from it, it reduces the = boot time a lot.) The LSI supported driver includes support for this = mode of operation but the driver in the FreeBSD tree doesn't. The = change is very simple. See the attached patch. Would someone please = test it / clean it up / commit it? It's been tested to work with the MegaRAID SAS 9261-8i. Thanks, Andrew P.S. My apologies if there's any reason not to pull over changes from = the supported driver... --Apple-Mail-11--838313077 Content-Disposition: attachment; filename=mfi_init.diff Content-Type: application/octet-stream; name="mfi_init.diff" Content-Transfer-Encoding: 7bit Index: sys/dev/mfi/mfireg.h =================================================================== --- sys/dev/mfi/mfireg.h (revision 218580) +++ sys/dev/mfi/mfireg.h (working copy) @@ -112,6 +112,7 @@ #define MFI_FWSTATE_WAIT_HANDSHAKE 0x60000000 #define MFI_FWSTATE_FW_INIT_2 0x70000000 #define MFI_FWSTATE_DEVICE_SCAN 0x80000000 +#define MFI_FWSTATE_BOOT_MESSAGE_PENDING 0x90000000 #define MFI_FWSTATE_FLUSH_CACHE 0xa0000000 #define MFI_FWSTATE_READY 0xb0000000 #define MFI_FWSTATE_OPERATIONAL 0xc0000000 @@ -127,6 +128,7 @@ #define MFI_FWINIT_READY 0x00000002 /* Move from operational to ready */ #define MFI_FWINIT_MFIMODE 0x00000004 /* unknown */ #define MFI_FWINIT_CLEAR_HANDSHAKE 0x00000008 /* Respond to WAIT_HANDSHAKE */ +#define MFI_FWINIT_HOTPLUG 0x00000010 /* MFI Commands */ typedef enum { Index: sys/dev/mfi/mfi.c =================================================================== --- sys/dev/mfi/mfi.c (revision 218580) +++ sys/dev/mfi/mfi.c (working copy) @@ -260,8 +260,12 @@ case MFI_FWSTATE_FLUSH_CACHE: max_wait = 20; break; + case MFI_FWSTATE_BOOT_MESSAGE_PENDING: + MFI_WRITE4(sc, MFI_IDB, MFI_FWINIT_HOTPLUG); + max_wait = 10; + break; default: - device_printf(sc->mfi_dev,"Unknown firmware state %d\n", + device_printf(sc->mfi_dev,"Unknown firmware state %#x\n", fw_state); return (ENXIO); } @@ -273,7 +277,7 @@ break; } if (fw_state == cur_state) { - device_printf(sc->mfi_dev, "firmware stuck in state " + device_printf(sc->mfi_dev, "Firmware stuck in state " "%#x\n", fw_state); return (ENXIO); } --Apple-Mail-11--838313077 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii -------------------------------------------------- Andrew Boyer aboyer@averesystems.com --Apple-Mail-11--838313077--