From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 21 07:14:20 2010 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 3C5D7106566B; Sun, 21 Mar 2010 07:14:20 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 635B38FC18; Sun, 21 Mar 2010 07:14:19 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so103284fga.13 for ; Sun, 21 Mar 2010 00:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=3F/SEPiMvbgb4AqGf48qkRA1QUbpV4Nxn+sH0DmGjPA=; b=JZrAb38jk3otlvsmV2+Fj7a/2cCCH3Nimq02ubn97sR/tpd+em0OatbFMjTtO7ErLi pcBACQKF4au7/7iGv+91CJLzy+RCS/vTxLdjxln6PLIlUWCP0CX5IgSLV9gz8ZM9pKrM XnB69EdEWLAumaiYccNoKwU+uUxGZRpzwYhvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=wXW5Lu2/6eTWPv2GSBwOmM+DJcQirDXU4UzD0xK8jhfmkDcR34Us/8GtIPSTqvHLrR N9KKyWktf9La34pw5A/B0sHs0UyoBBjW86yJmcOqZtEThwHPsoz9aQVwOYXeYrV0/mOt IM0Q+Hk7TH55prYrhu2zJCKRxM3cOsvwe49wY= Received: by 10.87.47.32 with SMTP id z32mr9978179fgj.36.1269155658088; Sun, 21 Mar 2010 00:14:18 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 16sm686292fxm.8.2010.03.21.00.14.17 (version=SSLv3 cipher=RC4-MD5); Sun, 21 Mar 2010 00:14:17 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BA5C746.7060203@FreeBSD.org> Date: Sun, 21 Mar 2010 09:14:14 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Attilio Rao References: <3bbf2fe11002281655i61a5f0a0if3f381ad0c4a1ef8@mail.gmail.com> <3bbf2fe11003031532u2207eb55h19c3a045215a7d84@mail.gmail.com> <4B8EF336.80107@feral.com> <3bbf2fe11003031547kd5f7314t3d83b2bde06c1c2f@mail.gmail.com> <4B8EF990.5030407@feral.com> <3bbf2fe11003031607wa3727b5ke89bc2a909d4d6a6@mail.gmail.com> <4B901419.8060800@feral.com> <3bbf2fe11003041737p30690522ya81e1b8f4bd6bbf9@mail.gmail.com> <3bbf2fe11003120601y3c403a1ct50f9fc6c1f0903bf@mail.gmail.com> <4B9A91DA.7030107@FreeBSD.org> <3bbf2fe11003200523t60895bfv1fa73d04e58a7838@mail.gmail.com> In-Reply-To: <3bbf2fe11003200523t60895bfv1fa73d04e58a7838@mail.gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, "Justin T. Gibbs" , mj@feral.com, Ed Maste Subject: Re: How is supposed to be protected the units list? 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, 21 Mar 2010 07:14:20 -0000 Attilio Rao wrote: > So I made this new patch using the bus lock: > http://www.freebsd.org/~attilio/Sandvine/pdrv/xpt_lock.diff OK. I've looked on both and I think both have race window between unit number allocation and insertion into the list. I've changed last patch to not drop the lock in meantime. What do you think about this: http://people.freebsd.org/~mav/unit_lock.patch ? Part about scsi_da.c I don't like in both cases, as I am not sure that locks can't be recursed there in case of some errors. I don't see how adding second lock could solve it. > I would have preferred to have a dedicated lock for the units lists, > but as long as you seem having strong opionion, I'm fine with it. I haven't told it is strong. I have asked some time to check it. Now comparing the patches I don't see benefits from having second lock. I would say you just changing possible lock recursions to possible LORs. It's not much better. -- Alexander Motin From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 21 16:02:05 2010 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 B264B106566C; Sun, 21 Mar 2010 16:02:05 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-iw0-f171.google.com (mail-iw0-f171.google.com [209.85.223.171]) by mx1.freebsd.org (Postfix) with ESMTP id 590848FC0C; Sun, 21 Mar 2010 16:02:04 +0000 (UTC) Received: by iwn1 with SMTP id 1so1021526iwn.27 for ; Sun, 21 Mar 2010 09:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=5wsl9at9XIKFPMZjKulOAFR7O4OgHmjtuhO40dR8ojc=; b=LPIcIRjqHXRoj5dm93kL8GWaUPyVphHeBBuhuPgsa9o8bMEZYR8eQt6k3VUp9bvrFS Gnhn2o1Y8+sCC2mtSrKRHYPOkekIsFgsfbciBTa9jjT5iA8DqBGPfsm1jFrq+UDaaKmy i6IKAx1lMSt6L9DQYOjz6bFIyk4fc0DFGD9Y0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=KFSXFCNjiH4+pXFD6EdAST4S/YwFTuFoyJ6YGWu2x62qy9Viw58g16dg3F4Ir3yOhB F52HzvmMCNzJHFfvYzbnqi7vml9QfVc5Gdv5zD3D6UobuG/CMJNPePL3Qt7unvLWUCsi TLY7Z9Xoxw82AXoPZ5r0mBYVuuHheGuyJhdkQ= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.231.85.198 with SMTP id p6mr735970ibl.65.1269187323520; Sun, 21 Mar 2010 09:02:03 -0700 (PDT) In-Reply-To: <4BA5C746.7060203@FreeBSD.org> References: <3bbf2fe11002281655i61a5f0a0if3f381ad0c4a1ef8@mail.gmail.com> <3bbf2fe11003031547kd5f7314t3d83b2bde06c1c2f@mail.gmail.com> <4B8EF990.5030407@feral.com> <3bbf2fe11003031607wa3727b5ke89bc2a909d4d6a6@mail.gmail.com> <4B901419.8060800@feral.com> <3bbf2fe11003041737p30690522ya81e1b8f4bd6bbf9@mail.gmail.com> <3bbf2fe11003120601y3c403a1ct50f9fc6c1f0903bf@mail.gmail.com> <4B9A91DA.7030107@FreeBSD.org> <3bbf2fe11003200523t60895bfv1fa73d04e58a7838@mail.gmail.com> <4BA5C746.7060203@FreeBSD.org> Date: Sun, 21 Mar 2010 17:02:03 +0100 X-Google-Sender-Auth: 2150db776b6bd47a Message-ID: <3bbf2fe11003210902g2db270bdp45b1f4dfe2996b11@mail.gmail.com> From: Attilio Rao To: Alexander Motin Content-Type: text/plain; charset=UTF-8 Cc: freebsd-scsi@freebsd.org, "Justin T. Gibbs" , mj@feral.com, Ed Maste Subject: Re: How is supposed to be protected the units list? 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, 21 Mar 2010 16:02:05 -0000 2010/3/21 Alexander Motin : > Attilio Rao wrote: >> So I made this new patch using the bus lock: >> http://www.freebsd.org/~attilio/Sandvine/pdrv/xpt_lock.diff > > OK. I've looked on both and I think both have race window between unit > number allocation and insertion into the list. I've changed last patch > to not drop the lock in meantime. What do you think about this: > http://people.freebsd.org/~mav/unit_lock.patch > ? > > Part about scsi_da.c I don't like in both cases, as I am not sure that > locks can't be recursed there in case of some errors. I don't see how > adding second lock could solve it. I think that we should protect there in anyway. Probabilly we may cache the list and refcount the periphs? (then unlock the lock and just do the lockless operation in order to avoid recursion?) The race handling for units allocation is fine, thanks. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 21 16:20:25 2010 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 F3C5B1065678; Sun, 21 Mar 2010 16:20:24 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2298FC1D; Sun, 21 Mar 2010 16:20:24 +0000 (UTC) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o2LGKJ4l036817; Sun, 21 Mar 2010 10:20:19 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: <3bbf2fe11003210902g2db270bdp45b1f4dfe2996b11@mail.gmail.com> Date: Sun, 21 Mar 2010 10:20:18 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3bbf2fe11002281655i61a5f0a0if3f381ad0c4a1ef8@mail.gmail.com> <3bbf2fe11003031547kd5f7314t3d83b2bde06c1c2f@mail.gmail.com> <4B8EF990.5030407@feral.com> <3bbf2fe11003031607wa3727b5ke89bc2a909d4d6a6@mail.gmail.com> <4B901419.8060800@feral.com> <3bbf2fe11003041737p30690522ya81e1b8f4bd6bbf9@mail.gmail.com> <3bbf2fe11003120601y3c403a1ct50f9fc6c1f0903bf@mail.gmail.com> <4B9A91DA.7030107@FreeBSD.org> <3bbf2fe11003200523t60895bfv1fa73d04e58a7838@mail.gmail.com> <4BA5C746.7060203@FreeBSD.org> <3bbf2fe11003210902g2db270bdp45b1f4dfe2996b11@mail.gmail.com> To: Attilio Rao X-Mailer: Apple Mail (2.1077) X-Spam-Status: No, score=-1.0 required=3.8 tests=ALL_TRUSTED autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org, Alexander Motin , "Justin T. Gibbs" , mj@feral.com, Ed Maste Subject: Re: How is supposed to be protected the units list? 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, 21 Mar 2010 16:20:25 -0000 On Mar 21, 2010, at 10:02 AM, Attilio Rao wrote: > 2010/3/21 Alexander Motin : >> Attilio Rao wrote: >>> So I made this new patch using the bus lock: >>> http://www.freebsd.org/~attilio/Sandvine/pdrv/xpt_lock.diff >>=20 >> OK. I've looked on both and I think both have race window between = unit >> number allocation and insertion into the list. I've changed last = patch >> to not drop the lock in meantime. What do you think about this: >> http://people.freebsd.org/~mav/unit_lock.patch >> ? >>=20 >> Part about scsi_da.c I don't like in both cases, as I am not sure = that >> locks can't be recursed there in case of some errors. I don't see how >> adding second lock could solve it. >=20 > I think that we should protect there in anyway. > Probabilly we may cache the list and refcount the periphs? (then > unlock the lock and just do the lockless operation in order to avoid > recursion?) > The race handling for units allocation is fine, thanks. >=20 Please give me a few more days to review and comment on this. = Alexander's change is very invasive in that it re-orders operations, and = I'd like to review it to ensure that that doesn't break existing = ordering assumptions. Scott From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 21 16:22:22 2010 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 8CE131065670; Sun, 21 Mar 2010 16:22:22 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-iw0-f171.google.com (mail-iw0-f171.google.com [209.85.223.171]) by mx1.freebsd.org (Postfix) with ESMTP id 30B708FC14; Sun, 21 Mar 2010 16:22:22 +0000 (UTC) Received: by iwn1 with SMTP id 1so1029581iwn.27 for ; Sun, 21 Mar 2010 09:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=CzKFcpo0ioQmsD5oH8L2E645PzhfDDSJAP9vJB1g5rE=; b=fA3ZuA8CzXflEsi2IWA3UD4TRw/Khu8ApXl4PfYYOMmQ6onxzk2YZWI6re7rMGMgGA 7YH23R8+pBcYniI7FXblJlaJ0wnKnTqU+k87WF+1J7jKh42DjPzVvIhNnmECmUDZr26m 6R1Ch4IN1mHTsL3BXlfkGKsIvEUmhVMlvCHqk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=kZ73IWQOTgiKMQ99hPqJUAbyxtTdEsB208c6jzsfth/MBbOPNwZc5Q19ijFRDmwsJn +didNnZGHiMu46GTiCkrnRdmgx+hf60KS3gtEW9jHC0dXF6bC8X+A6yKHuEo1r5z7Wiq Yad5VWmuIAjEf6GthqnZQF9vVeSZIs1+z7WNg= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.231.146.66 with SMTP id g2mr106632ibv.88.1269188541573; Sun, 21 Mar 2010 09:22:21 -0700 (PDT) In-Reply-To: References: <3bbf2fe11002281655i61a5f0a0if3f381ad0c4a1ef8@mail.gmail.com> <3bbf2fe11003031607wa3727b5ke89bc2a909d4d6a6@mail.gmail.com> <4B901419.8060800@feral.com> <3bbf2fe11003041737p30690522ya81e1b8f4bd6bbf9@mail.gmail.com> <3bbf2fe11003120601y3c403a1ct50f9fc6c1f0903bf@mail.gmail.com> <4B9A91DA.7030107@FreeBSD.org> <3bbf2fe11003200523t60895bfv1fa73d04e58a7838@mail.gmail.com> <4BA5C746.7060203@FreeBSD.org> <3bbf2fe11003210902g2db270bdp45b1f4dfe2996b11@mail.gmail.com> Date: Sun, 21 Mar 2010 17:22:21 +0100 X-Google-Sender-Auth: 1854bfbd0011d567 Message-ID: <3bbf2fe11003210922w7f9a9fb7t2d3b4f69b9251484@mail.gmail.com> From: Attilio Rao To: Scott Long Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-scsi@freebsd.org, Alexander Motin , "Justin T. Gibbs" , mj@feral.com, Ed Maste Subject: Re: How is supposed to be protected the units list? 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, 21 Mar 2010 16:22:22 -0000 2010/3/21 Scott Long : > > On Mar 21, 2010, at 10:02 AM, Attilio Rao wrote: > >> 2010/3/21 Alexander Motin : >>> Attilio Rao wrote: >>>> So I made this new patch using the bus lock: >>>> http://www.freebsd.org/~attilio/Sandvine/pdrv/xpt_lock.diff >>> >>> OK. I've looked on both and I think both have race window between unit >>> number allocation and insertion into the list. I've changed last patch >>> to not drop the lock in meantime. What do you think about this: >>> http://people.freebsd.org/~mav/unit_lock.patch >>> ? >>> >>> Part about scsi_da.c I don't like in both cases, as I am not sure that >>> locks can't be recursed there in case of some errors. I don't see how >>> adding second lock could solve it. >> >> I think that we should protect there in anyway. >> Probabilly we may cache the list and refcount the periphs? (then >> unlock the lock and just do the lockless operation in order to avoid >> recursion?) >> The race handling for units allocation is fine, thanks. >> > > Please give me a few more days to review and comment on this. =C2=A0Alexa= nder's change is very invasive in that it re-orders operations, and I'd lik= e to review it to ensure that that doesn't break existing ordering assumpti= ons. > Anyways, we should not undervalue the shutdown case for scsi_da, it is easilly race prone as Matt has proven. If you could comment on it, also, I would appreciate. Thanks, Attilio --=20 Peace can only be achieved by understanding - A. Einstein From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 22 11:07:12 2010 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 F12AB1065675 for ; Mon, 22 Mar 2010 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 D68878FC13 for ; Mon, 22 Mar 2010 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 o2MB7Br8015154 for ; Mon, 22 Mar 2010 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 o2MB7BgV015152 for freebsd-scsi@FreeBSD.org; Mon, 22 Mar 2010 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Mar 2010 11:07:11 GMT Message-Id: <201003221107.o2MB7BgV015152@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, 22 Mar 2010 11:07:12 -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/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 p kern/130735 scsi [cam] [patch] pass M_NOWAIT to the malloc() call insid 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/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi o kern/123674 scsi [ahc] ahc driver dumping f kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll 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/119668 scsi [cam] [patch] certain errors are too verbose comparing 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 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 37 problems total. From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 24 19:08:51 2010 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 798331065674 for ; Wed, 24 Mar 2010 19:08:51 +0000 (UTC) (envelope-from www-data@franceloc-postfix.filnet.fr) Received: from franceloc-postfix.filnet.fr (franceloc-postfix.filnet.fr [194.187.193.118]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9208FC12 for ; Wed, 24 Mar 2010 19:08:51 +0000 (UTC) Received: from localhost (franceloc-postfix.filnet.fr [127.0.0.1]) by franceloc-postfix.filnet.fr (Postfix) with ESMTP id 739791013D0 for ; Wed, 24 Mar 2010 19:51:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at franceloc-postfix.filnet.fr X-Amavis-Alert: BAD HEADER SECTION, Improper use of control character (char 0D hex): From: Mrs margret Kane \r Received: from franceloc-postfix.filnet.fr ([127.0.0.1]) by localhost (franceloc-postfix.filnet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aPJU05KQu7Bu for ; Wed, 24 Mar 2010 19:51:29 +0100 (CET) Received: by franceloc-postfix.filnet.fr (Postfix, from userid 33) id 34D291013B4; Wed, 24 Mar 2010 19:51:29 +0100 (CET) To: scsi@FreeBSD.ORG From: Mrs margret Kane MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-Id: <20100324185129.34D291013B4@franceloc-postfix.filnet.fr> Date: Wed, 24 Mar 2010 19:51:28 +0100 (CET) Cc: Subject: Canadian Cruise Employment Opportunity X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: royalcruiseshipping@cabbies.net List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 19:08:51 -0000 Training /Employment Programme Starboard Cruise Services, 2364 7th Concession, Site , 6 Comp 10 RR 8 Msc Millarville Millarville Ab Tol 1k0 Directory: 568512457 Toll Free For US/Canada:615-468-8961 Canada Canadian Cruise Employment Opportunity Dearest One, I Am Mrs Margret, the Manager Royal CruiseShip International Services Canada. Our company need's worker's both men and women from all part's of the World to work and live on board Ship, We will help to bring you over here in Canada through the Authority of the Canadian Labours Organization .We will pay for your ticket and you will get your Visa from our Canadian Embassy in your country, Our company will help you and send an invitation letter to you so that you will be able to get Employment visa there in our Embassy in your country, If you are interested Kindly contact us via mail : royalcruiseshipping@yahoo.ca Thanks from Royal Cruise Shipping line Mrs.Margret Kane . Manager. CSL Canada. From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 24 19:08:52 2010 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 D29B91065677 for ; Wed, 24 Mar 2010 19:08:52 +0000 (UTC) (envelope-from www-data@franceloc-postfix.filnet.fr) Received: from franceloc-postfix.filnet.fr (franceloc-postfix.filnet.fr [194.187.193.118]) by mx1.freebsd.org (Postfix) with ESMTP id 91FAC8FC15 for ; Wed, 24 Mar 2010 19:08:52 +0000 (UTC) Received: from localhost (franceloc-postfix.filnet.fr [127.0.0.1]) by franceloc-postfix.filnet.fr (Postfix) with ESMTP id B7BB71013D2 for ; Wed, 24 Mar 2010 19:51:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at franceloc-postfix.filnet.fr X-Amavis-Alert: BAD HEADER SECTION, Improper use of control character (char 0D hex): From: Mrs margret Kane \r Received: from franceloc-postfix.filnet.fr ([127.0.0.1]) by localhost (franceloc-postfix.filnet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3RgC+eu01xYt for ; Wed, 24 Mar 2010 19:51:29 +0100 (CET) Received: by franceloc-postfix.filnet.fr (Postfix, from userid 33) id 4FAD51010BA; Wed, 24 Mar 2010 19:51:29 +0100 (CET) To: scsi@freebsd.org From: Mrs margret Kane MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-Id: <20100324185129.4FAD51010BA@franceloc-postfix.filnet.fr> Date: Wed, 24 Mar 2010 19:51:29 +0100 (CET) Cc: Subject: Canadian Cruise Employment Opportunity X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: royalcruiseshipping@cabbies.net List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 19:08:52 -0000 Training /Employment Programme Starboard Cruise Services, 2364 7th Concession, Site , 6 Comp 10 RR 8 Msc Millarville Millarville Ab Tol 1k0 Directory: 568512457 Toll Free For US/Canada:615-468-8961 Canada Canadian Cruise Employment Opportunity Dearest One, I Am Mrs Margret, the Manager Royal CruiseShip International Services Canada. Our company need's worker's both men and women from all part's of the World to work and live on board Ship, We will help to bring you over here in Canada through the Authority of the Canadian Labours Organization .We will pay for your ticket and you will get your Visa from our Canadian Embassy in your country, Our company will help you and send an invitation letter to you so that you will be able to get Employment visa there in our Embassy in your country, If you are interested Kindly contact us via mail : royalcruiseshipping@yahoo.ca Thanks from Royal Cruise Shipping line Mrs.Margret Kane . Manager. CSL Canada. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 26 08:28:02 2010 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 7EB7F106566B for ; Fri, 26 Mar 2010 08:28:02 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 168E38FC16 for ; Fri, 26 Mar 2010 08:28:01 +0000 (UTC) Received: by fxm25 with SMTP id 25so100488fxm.3 for ; Fri, 26 Mar 2010 01:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=QrQYxM9dN47oo5e0+Z9seiq1Uj+26FpRgL6pqg337ZQ=; b=uMQV3yxz3RbUMWdIvcwIUMQtpU5aaguWP9fNg5zlFRJCmd7Qz5IpOvi3yKQe1lJQgi e8Y/GoP46aLB2VG7fXuBTvMik/g94TulwMkKnj/5yZ4aKnTHxHKNgorOCQmQ5ecrYkPT DVu2hPjO4M9LcVSc7SDJSJO74NXoLw+//vxS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qBXUiJba6PcxUzp+iUIF8UZTGovlVrV2BTWlUXVQ8PhnG0U4d2zQtXOSRIpt7AKazZ hFmg7CxMYCutSrTPW+SdmdZFnDeuzfz6uqWByIrFGPO7DmjIO6yXUx2TVKLuhxd4Uh22 e+xqYGuLuYrzq5n9PpoOzP6RyhtAlHRnuaE6U= MIME-Version: 1.0 Received: by 10.239.159.8 with HTTP; Fri, 26 Mar 2010 01:27:59 -0700 (PDT) Date: Fri, 26 Mar 2010 10:27:59 +0200 Received: by 10.239.166.10 with SMTP id z10mr57304hbd.80.1269592079413; Fri, 26 Mar 2010 01:27:59 -0700 (PDT) Message-ID: <75a268721003260127o4de50576m512862545fae292d@mail.gmail.com> From: Omer Faruk Sen To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Asymmetric logical unit access(ALUA) and FreeBSD 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, 26 Mar 2010 08:28:02 -0000 I want to know if FreeBSD supports Asymmetric logical unit access ? >From http://www.vicengle.org/san/dmp.php ALUA, Asymmetric logical unit access ALUA is a relatively new multipathing technology for asymmetrical arrays. If the array is ALUA compliant and the host multipathing layer is ALUA aware then virtually no additional configuration is required for proper path management by the host. An Asymmetrical array is one which provides different levels of access per port. For example on a typical Asymmetrical array with 2 controllers it may be that a particular LUN's paths to controller-0 port-0 are active and optimized while that LUN's paths to controller-1 port-0 are active non-optimized. The multipathing layer should then use paths to controller-0 port-0 as the primary paths and paths to controller-1 port-0 as the secondary (failover) paths. Sun Solaris 10 MPxIO is an example of an ALUA aware multipathing solution. A Netapp FAS3020 with Data ONTAP 7.2.x is an example of an ALUA compliant array. Regards. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 26 14:24:58 2010 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 61E2A1065674 for ; Fri, 26 Mar 2010 14:24:58 +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 3C1248FC20 for ; Fri, 26 Mar 2010 14:24:57 +0000 (UTC) Received: from [192.168.0.102] (m206-63.dsl.tsoft.com [198.144.206.63]) by ns1.feral.com (8.14.3/8.14.3) with ESMTP id o2QEOvLq040462 for ; Fri, 26 Mar 2010 06:24:57 -0800 (PST) (envelope-from mj@feral.com) Message-ID: <4BACC3C0.4000104@feral.com> Date: Fri, 26 Mar 2010 07:25:04 -0700 From: Matthew Jacob User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: <75a268721003260127o4de50576m512862545fae292d@mail.gmail.com> In-Reply-To: <75a268721003260127o4de50576m512862545fae292d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.2.3 (ns1.feral.com [192.67.166.1]); Fri, 26 Mar 2010 06:24:57 -0800 (PST) Subject: Re: Asymmetric logical unit access(ALUA) and FreeBSD 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, 26 Mar 2010 14:24:58 -0000 On 3/26/2010 1:27 AM, Omer Faruk Sen wrote: > I want to know if FreeBSD supports Asymmetric logical unit access ? > Not as such, no. The only multipath really is at the GEOM layer, which is dead stupid. It should be ALUA aware, but I'll rate it lower than getting the FreeBSD probe code to use REPORT LUNS. > > > From http://www.vicengle.org/san/dmp.php > > ALUA, Asymmetric logical unit access > > ALUA is a relatively new multipathing technology for asymmetrical > arrays. If the array is ALUA compliant and the host multipathing layer > is ALUA aware then virtually no additional configuration is required > for proper path management by the host. An Asymmetrical array is one > which provides different levels of access per port. For example on a > typical Asymmetrical array with 2 controllers it may be that a > particular LUN's paths to controller-0 port-0 are active and optimized > while that LUN's paths to controller-1 port-0 are active > non-optimized. The multipathing layer should then use paths to > controller-0 port-0 as the primary paths and paths to controller-1 > port-0 as the secondary (failover) paths. Sun Solaris 10 MPxIO is an > example of an ALUA aware multipathing solution. A Netapp FAS3020 with > Data ONTAP 7.2.x is an example of an ALUA compliant array. > > > > Regards. > _______________________________________________ > 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" >