From owner-freebsd-scsi@FreeBSD.ORG Sun Jul 17 15:08:28 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 20C1E1065673 for ; Sun, 17 Jul 2011 15:08:28 +0000 (UTC) (envelope-from jack@st.rim.or.jp) Received: from phnompenh.mbos.jp (mbos141-211.alpenstock.jp [220.156.141.211]) by mx1.freebsd.org (Postfix) with ESMTP id DE4D58FC0A for ; Sun, 17 Jul 2011 15:08:27 +0000 (UTC) Received: from [172.16.30.34] ([172.16.30.34]) by phnompenh.mbos.jp ([172.16.30.51]) with ESMTP id 2011071723:58:25:331509.3920.62983056 for ; Sun, 17 Jul 2011 23:58:25 +0900 (JST) Received: (qmail 11012 invoked from network); 17 Jul 2011 23:58:25 +0900 Received: from pl701.nas93y.p-tokyo.nttpc.ne.jp (HELO artemis) ([1.33.120.189]) (envelope-sender ) by ankara.mbos (qmail-ldap-1.03) with SMTP for ; 17 Jul 2011 23:58:25 +0900 Message-ID: From: "Daisuke Aoyama" To: "Daniel Braniss" References: <201106220740.p5M7eL5p050026@freefall.freebsd.org> In-Reply-To: <201106220740.p5M7eL5p050026@freefall.freebsd.org> Date: Sun, 17 Jul 2011 23:58:19 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-TERRACE-SPAMMARK: NOT spam-marked. (by Terrace) Cc: freebsd-scsi@freebsd.org Subject: Re: kern/157770: [iscsi] [panic] iscsi_initiator panic X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 15:08:28 -0000 Hello, > issue 2: somehow -to be investigated- iscontrol and istgt don't = > negotiate FirstBurstLength and > MaxBurtsLength correctly. The workaround is either to reduce = > MaxBurstLength in istgt conf, or > increase it in iscsi,conf This issue was fixed by 20110717. You can use it with the default value of the initiator. I will update the ports after some test. If you want to use it before updating, please download it from: http://shell.peach.ne.jp/aoyama/archives/1542 Thank you. -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Mon Jul 18 11:07:11 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 72DA5106566B for ; Mon, 18 Jul 2011 11:07:11 +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 60FE88FC0C for ; Mon, 18 Jul 2011 11:07:11 +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 p6IB7BhG026895 for ; Mon, 18 Jul 2011 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6IB7AG8026893 for freebsd-scsi@FreeBSD.org; Mon, 18 Jul 2011 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jul 2011 11:07:10 GMT Message-Id: <201107181107.p6IB7AG8026893@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, 18 Jul 2011 11:07:11 -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/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 47 problems total. From owner-freebsd-scsi@FreeBSD.ORG Sat Jul 23 22:37:22 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 51A60106566C for ; Sat, 23 Jul 2011 22:37:22 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id D95298FC18 for ; Sat, 23 Jul 2011 22:37:21 +0000 (UTC) Received: by fxe6 with SMTP id 6so5339685fxe.17 for ; Sat, 23 Jul 2011 15:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=YomAAJrs/RsrP4Xn4BP5wvErP7BSCaXgPrk6RutZa9U=; b=LUDTe7Tp3eyMd6ngqP5lnfWkuEj7t6nGsT7k64cXSzlZRAB18HGWl+uesj4anHvX7H LucNsyXVzwVcviwnP/TpzPkLaSBlu+xdDq+ad1KejchpOP7hJ+BX8yyEiseamK5ybk9G fVlK+N10dooKhRiOkHJOBVbpiPw0V5W/ZpIuc= Received: by 10.223.23.26 with SMTP id p26mr4304478fab.98.1311458941152; Sat, 23 Jul 2011 15:09:01 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id j19sm2866368faa.41.2011.07.23.15.08.59 (version=SSLv3 cipher=OTHER); Sat, 23 Jul 2011 15:09:00 -0700 (PDT) Sender: Alexander Motin Message-ID: <4E2B4674.8070605@FreeBSD.org> Date: Sun, 24 Jul 2011 01:08:52 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Subject: No retries after periph invalidation? 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: Sat, 23 Jul 2011 22:37:22 -0000 Hi. I've simulated one real world device failure condition, when SATA disk still reports its presence, but doesn't respond to any command. I've found that due to multiple command retries, each of which cause 30s timeout, bus reset and another retry/requeue, it may take ages to eventually drop the failed device. Odd thing that those retries continue even after XPT considered device lost and invalidated it. I've made a patch (http://people.freebsd.org/~mav/periph_noretry.patch) for cam_periph_error() to block any retries after periph was marked as invalid. With that patch all activity completes in 1-2 minutess, just after several timeouts, required to consider device loss. Can this way considered to be correct? -- Alexander Motin