From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 22 11:06:40 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 5ECCA2B7 for ; Mon, 22 Oct 2012 11:06:40 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2D28FC16 for ; Mon, 22 Oct 2012 11:06:40 +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 q9MB6ePr044542 for ; Mon, 22 Oct 2012 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MB6dVr044540 for freebsd-scsi@FreeBSD.org; Mon, 22 Oct 2012 11:06:39 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Oct 2012 11:06:39 GMT Message-Id: <201210221106.q9MB6dVr044540@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, 22 Oct 2012 11:06:40 -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/172864 scsi [mfi] mfip does not notice new drives o kern/172575 scsi [mfi] ioctl CAMGETPASSTHRU fails with mfi driver o kern/171650 scsi [da] da(4) driver does not recognize end of cciss (Sma o kern/169976 scsi [cam] [patch] make scsi_da use sysctl values where app o kern/169835 scsi [patch] remove some unused variables from scsi_da prob o kern/169801 scsi [cam] [patc] make changes to delete_method in scsi_da 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/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 57 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 22 13:49:10 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 E2BB373D for ; Mon, 22 Oct 2012 13:49:10 +0000 (UTC) (envelope-from vmiszczak@ankama.com) Received: from bwork.ankama.com (bwork.ankama.com [109.2.54.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9428FC16 for ; Mon, 22 Oct 2012 13:49:09 +0000 (UTC) Received: from pandore.ankama.com (pandore.ankama.com [10.10.10.44]) by bwork.ankama.com (Postfix) with ESMTP id 60EC3BDACA for ; Mon, 22 Oct 2012 15:43:33 +0200 (CEST) Received: from pandore.ankama.com ([10.10.10.44]) by pandore.ankama.com ([10.10.10.44]) with mapi; Mon, 22 Oct 2012 15:43:36 +0200 From: Vincent Miszczak To: "freebsd-scsi@freebsd.org" Date: Mon, 22 Oct 2012 15:43:34 +0200 Subject: iSCSI initiator with multiple NICs and virtual target portal Thread-Topic: iSCSI initiator with multiple NICs and virtual target portal Thread-Index: Ac2wVmLTBN2kBRivTFW6xcgxYMG+7g== Message-ID: <7AFA66599AC41847AD8E021A1DBB9D1426F9B03EDB@pandore.ankama.com> Accept-Language: fr-FR Content-Language: fr-FR X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: fr-FR Content-Type: multipart/related; boundary="_004_7AFA66599AC41847AD8E021A1DBB9D1426F9B03EDBpandoreankama_"; type="multipart/alternative" MIME-Version: 1.0 X-Ankama-MailScanner-Information: Please contact the ISP for more information X-Ankama-MailScanner-ID: 60EC3BDACA.AEC55 X-Ankama-MailScanner: Found to be clean X-Ankama-MailScanner-From: vmiszczak@ankama.com X-Spam-Status: No X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 22 Oct 2012 13:49:11 -0000 --_004_7AFA66599AC41847AD8E021A1DBB9D1426F9B03EDBpandoreankama_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi guys, I'm really confused about using multiple NICs on my Freebsd initiator to a = Dell Equallogic virtual target (i.e the target has one virtual IP and uses = iSCSI redirections to load balance across the physical NICs of the the targ= et). I'm used to iSCSI initiator on Linux, and on it I can bind my physical inte= rface to iSCSI initiator interfaces and use several initiator interfaces to= the virtual IP, so I get redundant network paths. Then I use dm-multipath = and I get an active/active architecture that performs very well. This is co= ol, but Linux does not have ZFS. With Freebsd, looking in the manuals of iscontrol and iscsi.conf, I can't f= ind a way to use the 2 interfaces of my initiator, because there is no way = to bind one interface to an initiator. I could use 2 instances of iscontrol= pointing to 2 of the real IP of my target, but I would lose all the benefi= ts of using a virtual IP with iSCSI redirections. As my storage is scaling = with more target boxes and NICs, using virtual IP is not really an option i= f I want to keep my path evenly balanced automatically. My goal is to use g= eom_mutipath on top. I've been thinking about using setfib for my second is= control process, have not tested it yet but it looks overkill to me, isn't = it ? BTW, does someone know when the active/active geom_multipath module wi= ll be released as "STABLE" ? I really enjoy Freebsd and ZFS, but it's iSCSI and MPIO layers have surpris= ingly years late looking to other major OS :/ Can I achieve what I want ? Are some progress planned regarding those things ? Regards, [cid:image001.jpg@01CDB068.0D97C530] --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. --_004_7AFA66599AC41847AD8E021A1DBB9D1426F9B03EDBpandoreankama_-- From owner-freebsd-scsi@FreeBSD.ORG Wed Oct 24 04:02:11 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 360AC605 for ; Wed, 24 Oct 2012 04:02:11 +0000 (UTC) (envelope-from nick@triantos.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 032C88FC12 for ; Wed, 24 Oct 2012 04:02:10 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so79778pad.13 for ; Tue, 23 Oct 2012 21:02:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer:x-gm-message-state; bh=QqLMr7+sogvFss6nQgwgrfUG9Hw6gvXYGeWp5IBngis=; b=H7Jtz73lGQ5PQs2LJNeJUsLtjI0XZsm2Nre58JPWte48pa+qHaQyggqcG46okwon/8 4/l46k6zGPTGNFEsC/7XRUJwkv0HSDamVQh659jhYVVo58h0dYqPtKjeOn0I3392/o3z 3wWRFD0JjISl2zOzE1wu3n79JAWAEBA5xfJTic6XeuZvMJNqAgCTDMur6Rt57GfdMYOi aMNXQCG2oSCt2yJT9tFXc+4A/Cc+r50rvFFzjHpuQiAE1A6XiRqH90TD9qehsyIamDY7 XVaQgtZLu8D4GA/T15eBY9JWjg0aOntUVx5SRROKoRrGSXSOEL5jUe1YbULvvDeXiQUn iJ/Q== Received: by 10.69.0.10 with SMTP id au10mr46759617pbd.18.1351051330446; Tue, 23 Oct 2012 21:02:10 -0700 (PDT) Received: from [192.168.0.112] (c-24-130-147-70.hsd1.ca.comcast.net. [24.130.147.70]) by mx.google.com with ESMTPS id bv6sm8801022pab.13.2012.10.23.21.02.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Oct 2012 21:02:06 -0700 (PDT) From: Nick Triantos Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: isp driver crashing on 9.0 Message-Id: <5D848E87-4C36-44D9-A5FA-57DD8B82F806@triantos.com> Date: Tue, 23 Oct 2012 21:02:05 -0700 To: freebsd-scsi@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) X-Mailer: Apple Mail (2.1498) X-Gm-Message-State: ALoCoQn07CorcqPkGeHOY39PX93NegOTz3cgzealc3AFl0X76Ys8N2VL9GRCgbyTjvL+LRcOi3KN 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: Wed, 24 Oct 2012 04:02:11 -0000 Hi, I've been happily using 8.3 on an old system, with a fiber channel SAN = connected through a Qlogic QLA2200 card. All's been working well, but = when I updated to FreeBSD 9.0, I'm now getting crashes in the isp driver = at boot. I mostly wanted to understand whether this is still a supported = configuration. If not, I'd suggest someone remove the hardware from the = supported hardware list. The errors I see at boot are below. Any advice welcome. thanks! -Nick ... ZFS filesystem version 5 ZFS storage pool version 28 isp0: Internal Firmware Error on bus 0 @ RISC Address 0x16e5 isp0: isp_reinit: cannot reset card isp0: unknown isp_async event 14 isp0: Polled Mailbox Command (0x60) Timeout (30000000us) started = it:1709) isp0: Mailbox Command 'INIT FIRMWARE' failed (TIMEOUT) isp0: isp_fibre_init: isp0: 0x00000000: 01 00 07 a5 00 08 00 01 5a 00 3c 01 21 00 00 00 isp0: 0x00000010: 8b 01 08 d7 7d 00 00 1e 00 00 00 00 00 00 00 00 isp0: 0x00000020: 00 00 00 00 00 04 00 01 00 00 96 d3 00 00 00 00 isp0: 0x00000030: 00 00 97 d3 00 00 00 00 00 00 00 00 b4 00 00 00 isp0: 0x00000040: 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 isp0: 0x00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 From owner-freebsd-scsi@FreeBSD.ORG Wed Oct 24 15:55:12 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 C2AEBAA6 for ; Wed, 24 Oct 2012 15:55:12 +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 77D568FC0A for ; Wed, 24 Oct 2012 15:55:12 +0000 (UTC) Received: from [10.198.122.141] (68.65.72.83.static-ip.telepacific.net [68.65.72.83]) (authenticated bits=0) by ns1.feral.com (8.14.5/8.14.4) with ESMTP id q9OFt5er082023 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 24 Oct 2012 08:55:05 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <50880F54.9060506@feral.com> Date: Wed, 24 Oct 2012 08:55:00 -0700 From: Matthew Jacob Organization: Feral Software User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: Re: isp driver crashing on 9.0 References: <5D848E87-4C36-44D9-A5FA-57DD8B82F806@triantos.com> In-Reply-To: <5D848E87-4C36-44D9-A5FA-57DD8B82F806@triantos.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns1.feral.com [192.67.166.1]); Wed, 24 Oct 2012 08:55:06 -0700 (PDT) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matt Jacob List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 15:55:12 -0000 On 10/23/2012 9:02 PM, Nick Triantos wrote: > Hi, > > I've been happily using 8.3 on an old system, with a fiber channel SAN connected through a Qlogic QLA2200 card. All's been working well, but when I updated to FreeBSD 9.0, I'm now getting crashes in the isp driver at boot. > > I mostly wanted to understand whether this is still a supported configuration. If not, I'd suggest someone remove the hardware from the supported hardware list. > > The errors I see at boot are below. Any advice welcome. This should work, but has received very light testing. Are you loading ispfw or isp_2200? Can you send a boot -verbose output? And some more what hardware this is in details? I suspect that the 2200 ROM f/w might have problems using DMA to load firmware. This is a not very well documented area of QLogic stuff and likely has a whole host of holes. > > thanks! > -Nick > > ... > ZFS filesystem version 5 > ZFS storage pool version 28 > isp0: Internal Firmware Error on bus 0 @ RISC Address 0x16e5 > isp0: isp_reinit: cannot reset card > isp0: unknown isp_async event 14 > isp0: Polled Mailbox Command (0x60) Timeout (30000000us) started it:1709) > isp0: Mailbox Command 'INIT FIRMWARE' failed (TIMEOUT) > isp0: isp_fibre_init: > isp0: 0x00000000: 01 00 07 a5 00 08 00 01 5a 00 3c 01 21 00 00 00 > isp0: 0x00000010: 8b 01 08 d7 7d 00 00 1e 00 00 00 00 00 00 00 00 > isp0: 0x00000020: 00 00 00 00 00 04 00 01 00 00 96 d3 00 00 00 00 > isp0: 0x00000030: 00 00 97 d3 00 00 00 00 00 00 00 00 b4 00 00 00 > isp0: 0x00000040: 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > isp0: 0x00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > _______________________________________________ > 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 Thu Oct 25 21:18:03 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 1A8F6E34 for ; Thu, 25 Oct 2012 21:18:03 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id B48418FC18 for ; Thu, 25 Oct 2012 21:18:02 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so2997854vcb.13 for ; Thu, 25 Oct 2012 14:18:02 -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=PLMAhONjlvvN0v484SuztTdmSOuUcdBpePs/DHsT1ko=; b=GPfI1gMJhj0V6YCEwHsVNprymLyfLdriKtVSn/q3/7aLAofuJQO2oJXEgWuhYzp8ji JnELQyHl1iCSzfQp+uttkibpBv/Jow1CA8z2nD1TVDyFytDZsUVLx8FuTIkc0rvVF4gJ oSbROHpcVhyuSx49KQMgt7lwzPVoJeF/VIpQ0Au1CrUxU3MZnMyQ6C6PTgQRu+ks4G9i QdJm8ZXbNxbirtd1NP/8Vz0+JsRG6n8Th443d0tIGzblhJ1C3TXPyk73HEJBDFenX/Rx qEmUARuYSYKL0sZ959QCD082+1BeYuxp+9dX/6kKqVm63EHVbs0nnyYxp9KrDahlVL/y y2Wg== MIME-Version: 1.0 Received: by 10.58.244.99 with SMTP id xf3mr38627787vec.21.1351199881981; Thu, 25 Oct 2012 14:18:01 -0700 (PDT) Received: by 10.58.207.114 with HTTP; Thu, 25 Oct 2012 14:18:01 -0700 (PDT) In-Reply-To: <201210190250.q9J2o1cv043937@freefall.freebsd.org> References: <201210190250.q9J2o1cv043937@freefall.freebsd.org> Date: Thu, 25 Oct 2012 17:18:01 -0400 Message-ID: Subject: Re: kern/172864: [mfi] mfip does not notice new drives From: Ryan Stone To: Mark Johnston Content-Type: text/plain; charset=ISO-8859-1 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: Thu, 25 Oct 2012 21:18:03 -0000 On Thu, Oct 18, 2012 at 10:50 PM, Mark Johnston wrote: > The following reply was made to PR kern/172864; it has been noted by GNATS. > > From: Mark Johnston > To: bug-followup@FreeBSD.org, kpneal@pobox.com > Cc: > Subject: Re: kern/172864: [mfi] mfip does not notice new drives > Date: Thu, 18 Oct 2012 22:48:22 -0400 > > This is because mfi(4) currently doesn't notify CAM when it receives a > drive insertion/removal event from the hardware. I fixed this in the > tree at work; I'll post it to freebsd-scsi when I have access to it > again, probably in a couple of months. > > FWIW, running "camcontrol rescan all" should have also caused the > passthrough devices to appear, so that's another workaround. I believe that this is the patch that Mark refers to: http://people.freebsd.org/~rstone/patches/mfi_hotplug.diff From owner-freebsd-scsi@FreeBSD.ORG Fri Oct 26 04:54:35 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 C3F8DF87 for ; Fri, 26 Oct 2012 04:54:35 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 82A388FC0C for ; Fri, 26 Oct 2012 04:54:35 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so4264441iea.13 for ; Thu, 25 Oct 2012 21:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=tjVLj4Kmu0Yey5iuxUzz3C/QTz30nMmE6/AGoI835T8=; b=CA9dGbDOF5x2rhu05gode/aE/1f/+jLoD35XBGp29AWvcmpdWWTa9EbOYxJWVX4qBY 4IZDYk5iWVjgZr64fcZ8GeLtnG5jrUyG6A8VIeFOLCnxIKWKny5mDtcDXq0TsfAfnlFD LrlTbkq3yDFeeegenxesVUOpxjD0eegZ82zoxYLMDREhEmER2i98FbSUSKVB8qSieRrS 3xn0WGpgeaoLk0fbCRfhZ30KO/vu7z4L+2K3pc/j1mLLnZb1z7bBYm/+md393Wz3tF6G nVGlbIocEni929iL7AtXzBlkNXVCkzKK2VXjrvohF+a4NY2b5ehKkUvizhW+69/ATHiP x7fQ== Received: by 10.50.178.67 with SMTP id cw3mr869332igc.53.1351227275017; Thu, 25 Oct 2012 21:54:35 -0700 (PDT) Received: from raichu.desktop ([66.11.160.25]) by mx.google.com with ESMTPS id u4sm506621igw.6.2012.10.25.21.54.32 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 21:54:32 -0700 (PDT) Date: Fri, 26 Oct 2012 00:54:27 -0400 From: Mark Johnston To: Ryan Stone Subject: Re: kern/172864: [mfi] mfip does not notice new drives Message-ID: <20121026045427.GA44322@raichu.desktop> References: <201210190250.q9J2o1cv043937@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Fri, 26 Oct 2012 04:54:35 -0000 On Thu, Oct 25, 2012 at 05:18:01PM -0400, Ryan Stone wrote: > On Thu, Oct 18, 2012 at 10:50 PM, Mark Johnston wrote: > > The following reply was made to PR kern/172864; it has been noted by GNATS. > > > > From: Mark Johnston > > To: bug-followup@FreeBSD.org, kpneal@pobox.com > > Cc: > > Subject: Re: kern/172864: [mfi] mfip does not notice new drives > > Date: Thu, 18 Oct 2012 22:48:22 -0400 > > > > This is because mfi(4) currently doesn't notify CAM when it receives a > > drive insertion/removal event from the hardware. I fixed this in the > > tree at work; I'll post it to freebsd-scsi when I have access to it > > again, probably in a couple of months. > > > > FWIW, running "camcontrol rescan all" should have also caused the > > passthrough devices to appear, so that's another workaround. > > I believe that this is the patch that Mark refers to: > http://people.freebsd.org/~rstone/patches/mfi_hotplug.diff That's the one. It'll have to be reworked a bit in light of the changes made in r233711, but I think the changes to mfi_cam.c are still ok. From owner-freebsd-scsi@FreeBSD.ORG Sat Oct 27 04:20:58 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 0C84C3A5 for ; Sat, 27 Oct 2012 04:20:58 +0000 (UTC) (envelope-from stephane.lapie@darkbsd.org) Received: from quasar.darkbsd.org (shinigami.darkbsd.org [82.227.96.182]) by mx1.freebsd.org (Postfix) with ESMTP id 62E808FC08 for ; Sat, 27 Oct 2012 04:20:55 +0000 (UTC) Received: from quasar.darkbsd.org (localhost [127.0.0.1]) by quasar.darkbsd.org (Postfix) with ESMTP id 058FAA451 for ; Sat, 27 Oct 2012 06:10:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=darkbsd.org; h=message-id :date:from:mime-version:to:subject:content-type; s=selector1; bh=wG2ILwl4++1etX3wmnsnq1SgGSA=; b=xUOTEVdd4RaF2Ssg3lgvMbyt1LuO sZpGttTnG3xQy3dj0H8L14w49wZmCy9aARjb6Xx9UPq+aMsriP7jhgFVEZsgwjSw 6gcyFCkDRQ0/JLlXzt8NBPxfSVnnJwHN7uP59KSMZIwBzElJBtheszEJfbwnLBmg JKv3IOqjtttVFHA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=darkbsd.org; h=message-id :date:from:mime-version:to:subject:content-type; q=dns; s= selector1; b=lvGuLsXE8QLDrbhrazkfsRt8xaMxxmHm9T5BQW/piQciL1YKYr/ E9wvdBgp4nmWkhk6a/n9YoX6DNrG0K2V1caLY9d78NpOeFp/IhwCbMZFN3U1TrKf rMKXtyvl9lOYPJCZSEoWd+RfcCFpSL1Iv2roHDMK1/yFyUDCfNMS2mas= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=darkbsd.org; h= content-type:content-type:subject:subject:mime-version :user-agent:from:from:date:date:message-id:received:received; s= selector1; t=1351311046; bh=tS0bdzioH9RYlCCuJMu7aGkXAiWpkMPAwi9R WBUFezE=; b=kg+2VKMCuyjA0MbLEObEVnOdjfDfbZh6Kpx7jyyWf8pghYk+GGmY 7gZbJEXVC1ibNf7nFQkWe/Vyt5VOY+yfUWMr1WGrwLJYGfJpUtikQqNa7rxZ5+YG NNPd1qPxXa/Xpp8l6sgq0dwzcJZJvavjnZIvvHzwe/Gu4wCVMwxLszU= Received: from quasar.darkbsd.org ([127.0.0.1]) by quasar.darkbsd.org (quasar.darkbsd.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id b07j6uIzJuGo for ; Sat, 27 Oct 2012 06:10:46 +0200 (CEST) Received: from [192.168.3.42] (archer.yomi.darkbsd.org [192.168.3.42]) (Authenticated sender: darksoul) by quasar.darkbsd.org (Postfix) with ESMTPSA id 02AA5A448 for ; Sat, 27 Oct 2012 06:10:45 +0200 (CEST) Message-ID: <508B5EBC.8070509@darkbsd.org> Date: Sat, 27 Oct 2012 13:10:36 +0900 From: Stephane LAPIE User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: LSI mpt(4) driver problem : can't SMART poll, controller freezes X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6D23D7F6B37ED6706408533D" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 27 Oct 2012 04:20:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6D23D7F6B37ED6706408533D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello list, I have two controller cards of the following make (PCI-X controllers) : Oct 24 09:26:00 eirei-no-za kernel: mpt0: port 0x2000-0x20ff mem 0xdfa20000-0xdfa23fff,0xdfa00000-0xdfa0ffff irq 24 at device 1.0 on pci6 Oct 24 09:26:00 eirei-no-za kernel: mpt0: MPI Version=3D1.5.12.0 Oct 24 09:26:00 eirei-no-za kernel: mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) Oct 24 09:26:00 eirei-no-za kernel: mpt0: 0 Active Volumes (2 Max) Oct 24 09:26:00 eirei-no-za kernel: mpt0: 0 Hidden Drive Members (10 Max)= Oct 24 09:26:00 eirei-no-za kernel: mpt1: port 0x2400-0x24ff mem 0xdfa24000-0xdfa27fff,0xdfa10000-0xdfa1ffff irq 28 at device 7.0 on pci6 Oct 24 09:26:00 eirei-no-za kernel: mpt1: MPI Version=3D1.5.12.0 Oct 24 09:26:00 eirei-no-za kernel: mpt1: Capabilities: ( RAID-0 RAID-1E RAID-1 ) Oct 24 09:26:00 eirei-no-za kernel: mpt1: 0 Active Volumes (2 Max) Oct 24 09:26:00 eirei-no-za kernel: mpt1: 0 Hidden Drive Members (10 Max)= Each of them having 8 ports used in the following fashion : at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 1 lun 0 (pass1,da1) at scbus0 target 3 lun 0 (pass2,da2) at scbus0 target 4 lun 0 (pass3,da3) at scbus0 target 5 lun 0 (pass4,da4) at scbus0 target 6 lun 0 (pass5,da5) at scbus0 target 7 lun 0 (pass6,da6) at scbus2 target 0 lun 0 (pass7,da7) at scbus2 target 1 lun 0 (pass8,da8) at scbus2 target 2 lun 0 (pass9,da9) at scbus2 target 3 lun 0 (pass10,da10)= at scbus2 target 4 lun 0 (pass11,da11)= at scbus2 target 5 lun 0 (pass12,da12)= at scbus2 target 6 lun 0 (pass13,da13)= at scbus2 target 7 lun 0 (da14,pass14)= It should also be noted that I have to override the default SCSI timeout delay, in order to ensure proper detection of all devices at boot by putting the following in /boot/loader.conf : kern.cam.scsi_delay=3D15000 I wanted to know if anyone had experienced the following problems, and found a way around them : 1) I can't run any detailed and meaningful SMART polls on disks belonging to these controllers. (execution logs as separate files) As can be seen I am running the latest available version of smartctl from the ports : http://www.yomi.darkbsd.org/~darksoul/eirei-no-za-broken-disk-smart-log.t= xt (Using the pass devices gives the same result) Only the "-d scsi" polling returns somewhat meaningful info whatsoever (disk serial number etc), but even that is error-inducing, as the disk was actually nearing death. Here is the full SMART log recovered from running the disk from a USB->SATA device : http://www.yomi.darkbsd.org/~darksoul/eirei-no-za-broken-disk-smart-log2.= txt I actually have scripts to monitor that, but it obviously relies on smartctl being able to do its job, which it's not... (Also, this worked perfectly fine under 8-STABLE with "-d sat"...) 2) Also, less annoying but still a show-stopper sort of for any serious work requiring high availability : Any disk I/O freeze ends up locking the whole controller (and the whole ZFS pool...) until either the server crashes or the disk bails out, whichever comes first, really. (kernel log as separate file) http://www.yomi.darkbsd.org/~darksoul/eirei-no-za-mpt-timeout.txt Thanks for your time. --=20 Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo --------------enig6D23D7F6B37ED6706408533D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCLXsIACgkQ24Ql8u6TF2PCGQCg4ohBfi7CAtQY1++GZt4PtvdV ZngAn0wEWovubo+PRhLKdcMi45fJsB0S =tWfh -----END PGP SIGNATURE----- --------------enig6D23D7F6B37ED6706408533D-- From owner-freebsd-scsi@FreeBSD.ORG Sat Oct 27 17:12:19 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 B6D639DE for ; Sat, 27 Oct 2012 17:12:19 +0000 (UTC) (envelope-from dgilbert@interlog.com) Received: from smtp.infotech.no (smtp.infotech.no [82.134.31.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3FEEF8FC0C for ; Sat, 27 Oct 2012 17:12:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.infotech.no (Postfix) with ESMTP id D79F3204184; Sat, 27 Oct 2012 19:04:48 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.6 (20110518) (Debian) at infotech.no Received: from smtp.infotech.no ([127.0.0.1]) by localhost (smtp.infotech.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DzUOGim1gSF3; Sat, 27 Oct 2012 19:04:47 +0200 (CEST) Received: from [192.168.48.66] (unknown [199.91.209.91]) by smtp.infotech.no (Postfix) with ESMTPA id B8EF720400E; Sat, 27 Oct 2012 19:04:46 +0200 (CEST) Message-ID: <508C1425.7040909@interlog.com> Date: Sat, 27 Oct 2012 13:04:37 -0400 From: Douglas Gilbert User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Stephane LAPIE Subject: Re: LSI mpt(4) driver problem : can't SMART poll, controller freezes References: <508B5EBC.8070509@darkbsd.org> In-Reply-To: <508B5EBC.8070509@darkbsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dgilbert@interlog.com List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 17:12:19 -0000 On 12-10-27 12:10 AM, Stephane LAPIE wrote: > Hello list, > > I have two controller cards of the following make (PCI-X controllers) : > Oct 24 09:26:00 eirei-no-za kernel: mpt0: > port 0x2000-0x20ff mem 0xdfa20000-0xdfa23fff,0xdfa00000-0xdfa0ffff irq > 24 at device 1.0 on pci6 > Oct 24 09:26:00 eirei-no-za kernel: mpt0: MPI Version=1.5.12.0 > Oct 24 09:26:00 eirei-no-za kernel: mpt0: Capabilities: ( RAID-0 RAID-1E > RAID-1 ) > Oct 24 09:26:00 eirei-no-za kernel: mpt0: 0 Active Volumes (2 Max) > Oct 24 09:26:00 eirei-no-za kernel: mpt0: 0 Hidden Drive Members (10 Max) > > Oct 24 09:26:00 eirei-no-za kernel: mpt1: > port 0x2400-0x24ff mem 0xdfa24000-0xdfa27fff,0xdfa10000-0xdfa1ffff irq > 28 at device 7.0 on pci6 > Oct 24 09:26:00 eirei-no-za kernel: mpt1: MPI Version=1.5.12.0 > Oct 24 09:26:00 eirei-no-za kernel: mpt1: Capabilities: ( RAID-0 RAID-1E > RAID-1 ) > Oct 24 09:26:00 eirei-no-za kernel: mpt1: 0 Active Volumes (2 Max) > Oct 24 09:26:00 eirei-no-za kernel: mpt1: 0 Hidden Drive Members (10 Max) > > Each of them having 8 ports used in the following fashion : > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 1 lun 0 (pass1,da1) > at scbus0 target 3 lun 0 (pass2,da2) > at scbus0 target 4 lun 0 (pass3,da3) > at scbus0 target 5 lun 0 (pass4,da4) > at scbus0 target 6 lun 0 (pass5,da5) > at scbus0 target 7 lun 0 (pass6,da6) > > at scbus2 target 0 lun 0 (pass7,da7) > at scbus2 target 1 lun 0 (pass8,da8) > at scbus2 target 2 lun 0 (pass9,da9) > at scbus2 target 3 lun 0 (pass10,da10) > at scbus2 target 4 lun 0 (pass11,da11) > at scbus2 target 5 lun 0 (pass12,da12) > at scbus2 target 6 lun 0 (pass13,da13) > at scbus2 target 7 lun 0 (da14,pass14) > > It should also be noted that I have to override the default SCSI timeout > delay, in order to ensure proper detection of all devices at boot by > putting the following in /boot/loader.conf : > kern.cam.scsi_delay=15000 > > I wanted to know if anyone had experienced the following problems, and > found a way around them : > > > > 1) I can't run any detailed and meaningful SMART polls on disks > belonging to these controllers. (execution logs as separate files) > > As can be seen I am running the latest available version of smartctl > from the ports : > http://www.yomi.darkbsd.org/~darksoul/eirei-no-za-broken-disk-smart-log.txt Bad link, as are the rest in this post. Which version of smartmontools are you using? Doug Gilbert > (Using the pass devices gives the same result) > > Only the "-d scsi" polling returns somewhat meaningful info whatsoever > (disk serial number etc), but even that is error-inducing, as the disk > was actually nearing death. > Here is the full SMART log recovered from running the disk from a > USB->SATA device : > http://www.yomi.darkbsd.org/~darksoul/eirei-no-za-broken-disk-smart-log2.txt > > I actually have scripts to monitor that, but it obviously relies on > smartctl being able to do its job, which it's not... > (Also, this worked perfectly fine under 8-STABLE with "-d sat"...) > > > > 2) Also, less annoying but still a show-stopper sort of for any serious > work requiring high availability : > Any disk I/O freeze ends up locking the whole controller (and the whole > ZFS pool...) until either the server crashes or the disk bails out, > whichever comes first, really. (kernel log as separate file) > > http://www.yomi.darkbsd.org/~darksoul/eirei-no-za-mpt-timeout.txt > > > Thanks for your time. >