From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 3 11:07:15 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 966EB106564A for ; Mon, 3 Oct 2011 11:07:15 +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 7C9B38FC12 for ; Mon, 3 Oct 2011 11:07:15 +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 p93B7FGm033882 for ; Mon, 3 Oct 2011 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p93B7EKl033880 for freebsd-scsi@FreeBSD.org; Mon, 3 Oct 2011 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Oct 2011 11:07:14 GMT Message-Id: <201110031107.p93B7EKl033880@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, 03 Oct 2011 11:07:15 -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/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 48 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 3 21:24:55 2011 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37AAA1065672; Mon, 3 Oct 2011 21:24:55 +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 DDCA28FC12; Mon, 3 Oct 2011 21:24:54 +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 p93LOpiS072980; Mon, 3 Oct 2011 15:24:51 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id p93LOp3Q072979; Mon, 3 Oct 2011 15:24:51 -0600 (MDT) (envelope-from ken) Date: Mon, 3 Oct 2011 15:24:51 -0600 From: "Kenneth D. Merry" To: scsi@freebsd.org, current@freebsd.org Message-ID: <20111003212451.GA72963@nargothrond.kdm.org> References: <20110922193305.GA24939@nargothrond.kdm.org> <20111001051914.GA25534@nargothrond.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111001051914.GA25534@nargothrond.kdm.org> User-Agent: Mutt/1.4.2i Cc: Fabian Keil Subject: Re: SCSI descriptor sense changes, testing needed 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, 03 Oct 2011 21:24:55 -0000 This has been committed to head, and the plan is to get it into stable/9 in time for 9.0. Please let me know if you run into any problems with the changes. Thanks, Ken On Fri, Sep 30, 2011 at 23:19:14 -0600, Kenneth D. Merry wrote: > > I have attached a new version of the patches, with a number of changes. > > One issue that has cropped up is that the previous sense code and my new > descriptor sense changes never paid any attention to the actual length of > the sense data returned by the controller. > > I have changed all of the error recovery code and sense printing code to > honor the sense data length in the CAM CCB. > > One other problem related to that is that many controller drivers don't set > the sense residual field in struct ccb_scsiio properly, or don't set it at > all. This patch includes changes to the isp, mps, mpt, umass, and ciss > drivers to set the sense_resid field properly. > > There are lots of other drivers in the system, however, that haven't been > audited, and may or may not set the sense residual correctly. > > I also fixed an issue reported by Fabian Keil that showed up with the ahci > driver. In reverting a change I have in my local tree to switch to a 2 > byte length field in the SCSI inquiry CDB, I accidently shortened the CDB > to 5 bytes. Oops. > > I'd really appreciate more feedback; Fabian is the only person to report > testing the previous patch. > > Thanks, > > Ken > > On Thu, Sep 22, 2011 at 13:33:05 -0600, Kenneth D. Merry wrote: > > > > I have attached a set of patches against head that implement SCSI > > descriptor sense support for CAM. > > > > Descriptor sense is a new sense (SCSI error) format introduced in the SPC-3 > > spec in 2006. FreeBSD doesn't currently support it. > > > > Seagate's new 3TB SAS drives come with descriptor sense enabled by default, > > and it's possible that other newer drives do as well. Because all the > > sense key, additional sense code, and additional sense code qualifier > > fields are in different places, the CAM error recovery code will not do the > > right thing when it gets descriptor sense. > > > > These patches do bump up the size of struct scsi_sense_data, and so I have > > incremented CAM_VERSION as well. I have discussed this with re@, and it > > looks like we'll be putting the changes in before 9.0, so it ships with > > support for newer SCSI devices. > > > > A number of things have changed in these patches, but in particular, it > > would be good to test the following: > > > > - The sa(4) (SCSI tape) driver. The residual handling code, which looks > > at the sense data, has changed. > > - The Playstation 3 CDROM driver. > > - Firewire target mode. > > - umass devices with the NO_INQUIRY_EVPD quirk. > > > > Also, please let me know if you see any anomalies with the sense printing > > code. In the common cases the output should look identical to the old > > code, but in some cases it will be a little different. e.g.: > > > > # camcontrol inquiry da40 -v > > pass47: Fixed Direct Access SCSI-6 device > > pass47: Serial Number 9XK0GAJ70000S125XDNU > > pass47: 300.000MB/s transfers, Command Queueing Enabled > > > > (Seagate 3TB drive) > > > > # camcontrol modepage da40 -m 10 |grep D_SENSE > > D_SENSE: 1 > > > > (Descriptor sense is enabled) > > > > # camcontrol modepage da40 -m 15 -v > > (pass47:mps1:0:47:0): MODE SENSE(6). CDB: 1a 0 4f 0 ff 0 > > (pass47:mps1:0:47:0): CAM status: SCSI Status Error > > (pass47:mps1:0:47:0): SCSI status: Check Condition > > (pass47:mps1:0:47:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) > > (pass47:mps1:0:47:0): Field Replaceable Unit: 1 > > (pass47:mps1:0:47:0): Command byte 2 bit 5 is invalid > > (pass47:mps1:0:47:0): Descriptor 0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > camcontrol: error sending mode sense command > > > > (The FRU and Sense Key Specific entries are on separate lines, and a > > vendor-specific sense descriptor is printed out in hex format.) > > > > Anyway, I'd appreciate any testing and feedback on these changes. As I > > said, they will probably be in 9.0, so if there are any issues it would be > > better to find them now. :) > > > > Thanks, > > > > Ken > > -- > > Kenneth Merry > > ken@FreeBSD.ORG > -- > Kenneth Merry > ken@FreeBSD.ORG -- Kenneth Merry ken@FreeBSD.ORG From owner-freebsd-scsi@FreeBSD.ORG Tue Oct 4 14:02:13 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 2F9A0106564A for ; Tue, 4 Oct 2011 14:02:13 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B06128FC1A for ; Tue, 4 Oct 2011 14:02:12 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so846480bkb.13 for ; Tue, 04 Oct 2011 07:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=eUNjB3gH4LVDzhEDQ0xMHTgWqAFGRGUZ0knudR1Pj80=; b=DOrFyOE84nhsR1dykiuOaX9K99+pkxXJWCuxAckyEm+ozXSgQ2RtAwoIvvqTSHisk/ e4mDvqmY4KhI/yENeNawwjoLmqKiwJkLpRP+jGWYgEAYMNLcYy8RYJFdWPFu1Gbud77U LGy/GbqSNCYIB5I5WaG07ppzxmp78su8Yuns4= MIME-Version: 1.0 Received: by 10.223.66.88 with SMTP id m24mr1769510fai.68.1317735570223; Tue, 04 Oct 2011 06:39:30 -0700 (PDT) Received: by 10.152.11.195 with HTTP; Tue, 4 Oct 2011 06:39:30 -0700 (PDT) Date: Tue, 4 Oct 2011 17:39:30 +0400 Message-ID: From: Pavel Timofeev To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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: Tue, 04 Oct 2011 14:02:13 -0000 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? From owner-freebsd-scsi@FreeBSD.ORG Tue Oct 4 16:12:30 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 6E9B6106566C for ; Tue, 4 Oct 2011 16:12:30 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7578FC15 for ; Tue, 4 Oct 2011 16:12:29 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1RB7QR-000Bui-Tl; Tue, 04 Oct 2011 18:00:59 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: Pavel Timofeev In-reply-to: References: Comments: In-reply-to Pavel Timofeev message dated "Tue, 04 Oct 2011 17:39:30 +0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Oct 2011 18:00:59 +0200 From: Daniel Braniss Message-ID: 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: Tue, 04 Oct 2011 16:12:30 -0000 > 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 Tue Oct 4 23:50:12 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 2D23C106566C for ; Tue, 4 Oct 2011 23:50:12 +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 1BF828FC0A for ; Tue, 4 Oct 2011 23:50:12 +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 p94NoBc6023058 for ; Tue, 4 Oct 2011 23:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p94NoBov023055; Tue, 4 Oct 2011 23:50:11 GMT (envelope-from gnats) Date: Tue, 4 Oct 2011 23:50:11 GMT Message-Id: <201110042350.p94NoBov023055@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org From: "Hotmail Monkeyman" Cc: Subject: Re: kern/154432: [xpt] run_interrupt_driven_hooks: still waiting after 60-300 seconds for xpt_config X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hotmail Monkeyman List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 23:50:12 -0000 The following reply was made to PR kern/154432; it has been noted by GNATS. From: "Hotmail Monkeyman" To: , Cc: Subject: Re: kern/154432: [xpt] run_interrupt_driven_hooks: still waiting after 60-300 seconds for xpt_config Date: Tue, 4 Oct 2011 19:29:40 -0400 This is a multi-part message in MIME format. ------=_NextPart_000_0044_01CC82CB.F6423D90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I failed to mention that this problem was experienced in the HP HDX18t = notebook during the installation attempts of both freeBSD/PC-BSD 8.2 and = freeBSD PC-BSD 9.0 Beta 2 in my previous report. The video is an install = of PC-BSD/freeBSD 9.0 Beta2 64-bit. David Monkeyman_Stones@Comcast.net ------=_NextPart_000_0044_01CC82CB.F6423D90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I failed to mention that this problem was experienced in the HP = HDX18t=20 notebook during the installation attempts of both freeBSD/PC-BSD 8.2 and = freeBSD=20 PC-BSD 9.0 Beta 2 in my previous report. The video is an install of=20 PC-BSD/freeBSD 9.0 Beta2 64-bit.
 
David
Monkeyman_Stones@Comcast.net=
------=_NextPart_000_0044_01CC82CB.F6423D90-- From owner-freebsd-scsi@FreeBSD.ORG Wed Oct 5 08:44: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 9F2F81065670 for ; Wed, 5 Oct 2011 08:44:28 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 30F9E8FC18 for ; Wed, 5 Oct 2011 08:44:27 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so2158022bkb.13 for ; Wed, 05 Oct 2011 01:44: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=JIdq8logi3Qd+pRvFrbodz5yxodXvAd11VCqYWRjeCc=; b=lqsUtsbdu3Et98IphmKJOiQtS+yVM7SjK8uw/IG1vY7B5uequkZEbi8N8pbP03oWNY hDqlD655pf6L7s2hzuNBbOTAaMo90ksBICglzfHPgm7gYPzxUI8rzBqXmxJbrmYLeWKM uOVNHQqVEmvcYjYFdu4AIO2SZVA2kliO2gnHs= MIME-Version: 1.0 Received: by 10.223.26.28 with SMTP id b28mr3237196fac.125.1317804266908; Wed, 05 Oct 2011 01:44:26 -0700 (PDT) Received: by 10.152.11.195 with HTTP; Wed, 5 Oct 2011 01:44:26 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 Oct 2011 12:44:26 +0400 Message-ID: From: Pavel Timofeev To: Daniel Braniss Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Wed, 05 Oct 2011 08:44:28 -0000 [root@timbsd ~]# sysctl net.iscsi_initiator net.iscsi_initiator.driver_version: 2.2.4.2 net.iscsi_initiator.isid: =E2=94=80DIB00 net.iscsi_initiator.sessions: 1 net.iscsi_initiator.0.targetname: iqn.1992-04.com.emc:cx.ck200074600520.a0 net.iscsi_initiator.0.targeaddress: 172.16.253.10 net.iscsi_initiator.0.stats: recv=3D471 sent=3D471 flags=3D0x0000019f pdus-= alloc=3D0 pdus-max=3D5 cws=3D256 cmd=3D17b exp=3D17b max=3D27a stat=3D17c itt=3D17b net.iscsi_initiator.0.douio: 0 net.iscsi_initiator.0.pid: 1851 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 Thu Oct 6 12:39: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 C91D0106566B for ; Thu, 6 Oct 2011 12:39:16 +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 A1A238FC14 for ; Thu, 6 Oct 2011 12:39:16 +0000 (UTC) Received: by iage36 with SMTP id e36so464973iag.13 for ; Thu, 06 Oct 2011 05:39:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.69.146 with SMTP id z18mr666521ibi.79.1317903183488; Thu, 06 Oct 2011 05:13:03 -0700 (PDT) Received: by 10.231.60.204 with HTTP; Thu, 6 Oct 2011 05:13:03 -0700 (PDT) X-Originating-IP: [117.192.119.58] Date: Thu, 6 Oct 2011 17:43:03 +0530 Message-ID: From: Shivaram Upadhyayula To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: [OT] QUADStor storage virtualization 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, 06 Oct 2011 12:39:16 -0000 Hello everyone, We at QUADStor have released publicly our storage virtualization software with benefits such as thin provisioning, data deduplication, compression etc. The software is developed for the FreeBSD 8.2 operating system and a port for Linux should be available soon. The software is released free of charge and we are hoping to find people interested in trying it out the beta and in the process help us make the product better. If you are interested you could contact me off the list or visit http://www.quadstor.com/get-started.html. A brief intro of the product can be got from http://www.quadstor.com/ . Cheers, Shivaram -- Reduce Storage expenditure with QUADStor Storage Virtualization http://www.quadstor.com From owner-freebsd-scsi@FreeBSD.ORG Thu Oct 6 15:59: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 4E1D410656D1 for ; Thu, 6 Oct 2011 15:59: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 192978FC14 for ; Thu, 6 Oct 2011 15:59:19 +0000 (UTC) Received: from [192.168.135.105] (c-24-7-47-62.hsd1.ca.comcast.net [24.7.47.62]) (authenticated bits=0) by ns1.feral.com (8.14.4/8.14.4) with ESMTP id p96FxFjE038228 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 6 Oct 2011 08:59:16 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <4E8DD071.9060705@feral.com> Date: Thu, 06 Oct 2011 08:59:45 -0700 From: Matthew Jacob Organization: Feral Software User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Andrew Boyer References: In-Reply-To: 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]); Thu, 06 Oct 2011 08:59:16 -0700 (PDT) Cc: freebsd-scsi@freebsd.org 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: Thu, 06 Oct 2011 15:59:20 -0000 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. From owner-freebsd-scsi@FreeBSD.ORG Thu Oct 6 16:03:03 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 E82BA106566C for ; Thu, 6 Oct 2011 16:03:03 +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 BA6638FC08 for ; Thu, 6 Oct 2011 16:03:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id 298018BC002; Thu, 6 Oct 2011 11:43:52 -0400 (EDT) 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 9ncP9KZ9qoxZ; Thu, 6 Oct 2011 11:43:50 -0400 (EDT) Received: from [10.0.1.192] (fw.arriad.com [10.0.0.16]) by zimbra.averesystems.com (Postfix) with ESMTPSA id 8A3498BC001; Thu, 6 Oct 2011 11:43:50 -0400 (EDT) From: Andrew Boyer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Thu, 6 Oct 2011 11:43:38 -0400 Message-Id: To: freebsd-scsi@freebsd.org, Matthew Jacob Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Cc: Subject: 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: Thu, 06 Oct 2011 16:03:04 -0000 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. > mpt0: port 0x5000-0x50ff mem = 0xd9610000-0xd9613fff,0xd9600000-0xd960ffff irq 54 at device 0.0 on pci9 > mpt0: [ITHREAD] > mpt0: MPI Version=3D1.5.20.0 > mpt0: Firmware version=3D1.30 > mpt0: mpt_wait_req(6) timed out > mpt0: port 0 enable timed out > mpt0: mpt_enable_ioc: failed to enable port 0 > mpt0: unable to initialize IOC The IOC initialization timeouts on linux are ten times as long as in BSD = (300 or 30 seconds vs 30 or 3 seconds), and linux is able to see all of = the good drives. Changing the mpt timeouts to match linux allows = freebsd to see the good drives, too. Thoughts? -Andrew Index: sys/dev/mpt/mpt.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/dev/mpt/mpt.c (revision 226063) +++ sys/dev/mpt/mpt.c (working copy) @@ -2084,7 +2084,7 @@ =20 mpt_send_cmd(mpt, req); error =3D mpt_wait_req(mpt, req, REQ_STATE_DONE, REQ_STATE_DONE, - FALSE, (mpt->is_sas || mpt->is_fc)? 30000 : 3000); + FALSE, (mpt->is_sas || mpt->is_fc)? 300000 : 30000); if (error !=3D 0) { mpt_prt(mpt, "port %d enable timed out\n", port); return (-1); -------------------------------------------------- Andrew Boyer aboyer@averesystems.com