From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 10 04:40:54 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 CF4F2106566C; Mon, 10 Oct 2011 04:40:54 +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 A6B768FC15; Mon, 10 Oct 2011 04:40:54 +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 p9A4esem039167; Mon, 10 Oct 2011 04:40:54 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9A4eswH039156; Mon, 10 Oct 2011 04:40:54 GMT (envelope-from linimon) Date: Mon, 10 Oct 2011 04:40:54 GMT Message-Id: <201110100440.p9A4eswH039156@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/160943: [iscsi] [patch] iSCSI initiator ignores block offset causing silent data corruption 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, 10 Oct 2011 04:40:54 -0000 Old Synopsis: iSCSI initiator ignores block offset causing silent data corruption New Synopsis: [iscsi] [patch] iSCSI initiator ignores block offset causing silent data corruption Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Oct 10 04:40:36 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=160943 From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 10 09:10:10 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 2BDFC1065673 for ; Mon, 10 Oct 2011 09:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1B3A98FC0C for ; Mon, 10 Oct 2011 09:10:10 +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 p9A9A96T019351 for ; Mon, 10 Oct 2011 09:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9A9A9Df019350; Mon, 10 Oct 2011 09:10:09 GMT (envelope-from gnats) Date: Mon, 10 Oct 2011 09:10:09 GMT Message-Id: <201110100910.p9A9A9Df019350@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org From: Danny Braniss Cc: Subject: Re: kern/160943: [iscsi] [patch] iSCSI initiator ignores block offset causing silent data corruption X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Danny Braniss List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2011 09:10:10 -0000 The following reply was made to PR kern/160943; it has been noted by GNATS. From: Danny Braniss To: bug-followup@FreeBSD.org, cb@severious.net Cc: Subject: Re: kern/160943: [iscsi] [patch] iSCSI initiator ignores block offset causing silent data corruption Date: Mon, 10 Oct 2011 10:42:09 +0200 --002215b03dbe3b6fbc04aeedc4c9 Content-Type: text/plain; charset=ISO-8859-1 good catch! I've been hunting this bug and was so close :-) it also fixes Clariion CX3-40 need someone with a committer bit to apply it, thanks danny --002215b03dbe3b6fbc04aeedc4c9 Content-Type: text/html; charset=ISO-8859-1
good catch! I've been hunting this bug and was so close :-)
it also fixes Clariion CX3-40

need someone with a committer bit to apply it,
thanks

danny

--002215b03dbe3b6fbc04aeedc4c9-- From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 10 11:07:16 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 6BEBD106566B for ; Mon, 10 Oct 2011 11:07:16 +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 5197C8FC19 for ; Mon, 10 Oct 2011 11:07:16 +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 p9AB7GaC032504 for ; Mon, 10 Oct 2011 11:07:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9AB7Fv9032502 for freebsd-scsi@FreeBSD.org; Mon, 10 Oct 2011 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Oct 2011 11:07:15 GMT Message-Id: <201110101107.p9AB7Fv9032502@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, 10 Oct 2011 11:07:16 -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/160943 scsi [iscsi] [patch] iSCSI initiator ignores block offset c 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/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/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/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 49 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 10 11:57:29 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 64012106566B for ; Mon, 10 Oct 2011 11:57:29 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 24AB28FC19 for ; Mon, 10 Oct 2011 11:57:28 +0000 (UTC) Received: by ywp17 with SMTP id 17so6632076ywp.13 for ; Mon, 10 Oct 2011 04:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=njEaYAN/7vEcAdk0jcqEOvi/fEdK69CCtOPafgkXVxE=; b=lfegtpYV7MVhlbhGr1AyfxH53yHqYIvXOx4mrC+ItpiLt/7eR0NbKS6mNEVPwq+JbU mTy7r51ASp/6Qy9hVChIEYc3YOlBYU06QqtR0WOdu7MSUoepcnTV4Bno7UjPgoFdCJvg 0282M2O29/ySLVXZkvjvWcrC/+9WIHN84Dx40= MIME-Version: 1.0 Received: by 10.223.5.139 with SMTP id 11mr31905849fav.21.1318247847501; Mon, 10 Oct 2011 04:57:27 -0700 (PDT) Received: by 10.152.11.195 with HTTP; Mon, 10 Oct 2011 04:57:27 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Oct 2011 15:57:27 +0400 Message-ID: From: Pavel Timofeev To: Daniel Braniss Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-scsi@freebsd.org Subject: Re: FreeBSD 9 BETA-3 with EMC CLARiiON CX3-40 via iSCSI 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, 10 Oct 2011 11:57:29 -0000 Thank you, Daniel! kern/160943 helped! 2011/10/4 Daniel Braniss > > Hi. I'm currently testing FreeBSD 9 BETA-3 amd64 with EMC CLARiiON CX3-40 > > via iSCSI. > > It works very bad. Often I got 'panic:ffs_alloccg: map corrupted' and > system > > crashes. > > > > I constantly get errors in FS. > > For example, 8Gb part shared from cx3-40: > > # iscontrol -n cx3-40 > > # gpart create -s GPT /dev/da1 > > # gpart add -t freebsd-ufs /dev/da1 > > # newfs -U /dev/da1p1 > > # fsck_ufs /dev/da1p1 > > And fsck find errors in clear just created FS! > > It doesn't depend on partitioning (GTP, MBR, raw). > > > > If I run something like: > > # mount /dev/da1p1 /mnt > > # cp -r /usr/src /mnt > > I get 'panic:ffs_alloccg: map corrupted' > > http://img-fotki.yandex.ru/get/5411/16519813.0/0_77c22_9f66b998_orig > > > > I don't know is it bug with iscsi_initiator, iface driver or in UFS. > > Any ideas? > > could be the iSCSI, can you send me the output of > sysctl net.iscsi_initiator > > thanks, > danny > > > From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 10 12:00:34 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 06DC410656B3 for ; Mon, 10 Oct 2011 12:00:34 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D179D8FC0C for ; Mon, 10 Oct 2011 12:00:33 +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 p9AC0Xaf084471 for ; Mon, 10 Oct 2011 12:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9AC0XdN084464; Mon, 10 Oct 2011 12:00:33 GMT (envelope-from gnats) Date: Mon, 10 Oct 2011 12:00:33 GMT Message-Id: <201110101200.p9AC0XdN084464@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org From: Pavel Timofeev Cc: Subject: Re: kern/160943: [iscsi] [patch] iSCSI initiator ignores block offset causing silent data corruption X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pavel Timofeev List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2011 12:00:34 -0000 The following reply was made to PR kern/160943; it has been noted by GNATS. From: Pavel Timofeev To: bug-followup@FreeBSD.org, cb@severious.net Cc: Subject: Re: kern/160943: [iscsi] [patch] iSCSI initiator ignores block offset causing silent data corruption Date: Mon, 10 Oct 2011 15:59:45 +0400 --001517448242e10c2404aef0867c Content-Type: text/plain; charset=UTF-8 This patch works for 9-BETA3! --001517448242e10c2404aef0867c Content-Type: text/html; charset=UTF-8 This patch works for 9-BETA3!
--001517448242e10c2404aef0867c-- From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 10 13:27:34 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 04A6A1065678; Mon, 10 Oct 2011 13:27:34 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D0E6E8FC16; Mon, 10 Oct 2011 13:27:33 +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 p9ADRXpD066159; Mon, 10 Oct 2011 13:27:33 GMT (envelope-from kib@freefall.freebsd.org) Received: (from kib@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9ADRXHq066155; Mon, 10 Oct 2011 13:27:33 GMT (envelope-from kib) Date: Mon, 10 Oct 2011 13:27:33 GMT Message-Id: <201110101327.p9ADRXHq066155@freefall.freebsd.org> To: cb@severious.net, kib@FreeBSD.org, freebsd-scsi@FreeBSD.org, kib@FreeBSD.org From: kib@FreeBSD.org Cc: Subject: Re: kern/160943: [iscsi] [patch] iSCSI initiator ignores block offset causing silent data corruption 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, 10 Oct 2011 13:27:34 -0000 Synopsis: [iscsi] [patch] iSCSI initiator ignores block offset causing silent data corruption State-Changed-From-To: open->patched State-Changed-By: kib State-Changed-When: Mon Oct 10 13:27:04 UTC 2011 State-Changed-Why: Grab, fix committed for HEAD. Responsible-Changed-From-To: freebsd-scsi->kib Responsible-Changed-By: kib Responsible-Changed-When: Mon Oct 10 13:27:04 UTC 2011 Responsible-Changed-Why: Grab, fix committed for HEAD. http://www.freebsd.org/cgi/query-pr.cgi?pr=160943 From owner-freebsd-scsi@FreeBSD.ORG Tue Oct 11 23:22:26 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 E4B57106566B for ; Tue, 11 Oct 2011 23:22:26 +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 AF9EF8FC12 for ; Tue, 11 Oct 2011 23:22:26 +0000 (UTC) Received: from [172.16.31.233] (69-170-63-170.static-ip.telepacific.net [69.170.63.170]) (authenticated bits=0) by ns1.feral.com (8.14.4/8.14.4) with ESMTP id p9BNMOuF006019 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 11 Oct 2011 16:22:25 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <4E94CFB1.2060502@feral.com> Date: Tue, 11 Oct 2011 16:22:25 -0700 From: Mattew Jacob User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: <4E8DD071.9060705@feral.com> In-Reply-To: <4E8DD071.9060705@feral.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]); Tue, 11 Oct 2011 16:22:25 -0700 (PDT) Subject: Re: Initialization timeouts in MPT driver 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, 11 Oct 2011 23:22:27 -0000 On 10/6/2011 8:59 AM, Matthew Jacob wrote: > On 10/6/2011 8:43 AM, Andrew Boyer wrote: >> When using mpt with a 1068e, a bad SATA SSD can prevent all other >> SATA drives from being recognized. It takes about 45s for the >> controller to respond to the IOC initialization request with a bad >> drive installed, but the timeout for SAS controllers is 30s. > > That's one way to do it. But it can fail also. > > In my own version of the mpt2 driver, I changed the logic and allowed > for ioc port initialization to complete at a later time. Dunno what > mps does (never use it). Perhaps the same thing could be done for mpt. > That said, this is probably not an unreasonable change. Has anyone else followed up on this?