From owner-freebsd-scsi@freebsd.org Mon Nov 2 13:17:32 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 612AEA222B4 for ; Mon, 2 Nov 2015 13:17:32 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) by mx1.freebsd.org (Postfix) with ESMTP id 1C3B61B1E for ; Mon, 2 Nov 2015 13:17:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1ZtEzH-0008Uq-MW for freebsd-scsi@freebsd.org; Mon, 02 Nov 2015 15:17:27 +0200 From: Daniel Braniss Subject: iscsi ENOBUF error Message-Id: <83D85B9D-631E-4558-B143-6EE7D05D0A3A@cs.huji.ac.il> Date: Mon, 2 Nov 2015 15:17:27 +0200 To: FreeBSD-scsi Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 13:17:32 -0000 Hi, I=E2=80=99m running the latest 10.2 Stable. I=E2=80=99m trying to set an iscsi target, and keep getting error 55, = ENOBUF in both the target and initiator. Nov 2 14:54:41 store-07 kernel: cfiscsi_ioctl_handoff: new connection = from iqn.1994-09.org.freebsd:pe-14 (132.65.80.200) to = iqn.2015-11.il.ac.huji.cs:target0 Nov 2 14:54:41 store-07 kernel: WARNING: icl_conn_start: soreserve = failed with error 55 Nov 2 14:54:41 store-07 ctld[28649]: 132.65.80.200 = (iqn.1994-09.org.freebsd:pe-14): error returned from CTL iSCSI handoff = request: cfiscsi_ioctl_handoff: icl_conn_handoff failed with error 55; = dropping connection Nov 2 14:54:41 store-07 ctld[28373]: child process 28649 terminated = with exit status 1 any ideas? cheers, danny From owner-freebsd-scsi@freebsd.org Mon Nov 2 14:52:58 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DF2EA02B64 for ; Mon, 2 Nov 2015 14:52:58 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A05211D6 for ; Mon, 2 Nov 2015 14:52:56 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by wicll6 with SMTP id ll6so51664063wic.0 for ; Mon, 02 Nov 2015 06:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay_co_uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=umsnr7OziUkUyGQytEG/OzpfU5VzYr/t825BN7lpVMU=; b=mgFZ5aswQg4r3TpqtOsA8S17ujBUX6TSx/jveb5TugiGNRBa2wTjKVgZHolICqHYsM MpWFLcqje9CQ4hCSQtb2Fy6IadpURrPZNy2D/BdyFpNq2Z3qULdRt+rslU4IIfUUf0CE hrYoRIMi+EdcKFFt8Iyo3kBEe9KTAgvAK+LH963Sk86fa/JqAXR6lyPfDdj8Gln1BO92 WMyaJnFMN/IcqgwSD9i4gh2NzWq+hybr0O9nKNlyduIpDVFeQ0gNE+rOPgVH1V+v6TYT AU+KvuO+3QdCnoPb9jEbHg3ZIUjXf1aYuoEGq5HHtL7x/88tfmzELoH0jHV+b+hhi51N lSBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=umsnr7OziUkUyGQytEG/OzpfU5VzYr/t825BN7lpVMU=; b=QsJfG8SJ/DXHajT45maGKDFioQe/vJFtntBlvX3/HkafmQWJ62FhB2GJKruCPgMng7 fBiunmh5Xt3nvg1jWdH7Pa4rkl2VB/v+Fw4kkC4oFJDSF3WGjHv3Ya2U8AFoc1gRBi2v R2LdWT7v/4JK55ZogHvmuRmjqj57hD9OiIFLrDhDkSMEIlErwVwork326eAxpIvYiEoq B4kEYv5Yin57EtEsfdrzDNTaQR10OS/h1uwFxVz57rpqjHUB+mTQM1ABXOz+2ofadjLd +1/L7DI6GqjngP0VoA6OOF4njaSq9gmlEi2mXJEOH69AXrsTbWZUlFLgDCthR6RCSVLJ Jt0w== X-Gm-Message-State: ALoCoQmc5iynsTNnUIUwGZq4Lmu6lurpwycIlwyXBTp5QF9chYZY0xMqCm1Zb1PbImKp02H9SvOL X-Received: by 10.194.235.37 with SMTP id uj5mr26723072wjc.115.1446475975468; Mon, 02 Nov 2015 06:52:55 -0800 (PST) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id j4sm18525890wmg.18.2015.11.02.06.52.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Nov 2015 06:52:54 -0800 (PST) Subject: Re: iscsi ENOBUF error To: freebsd-scsi@freebsd.org References: <83D85B9D-631E-4558-B143-6EE7D05D0A3A@cs.huji.ac.il> From: Steven Hartland Message-ID: <563778C6.60904@multiplay.co.uk> Date: Mon, 2 Nov 2015 14:52:54 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <83D85B9D-631E-4558-B143-6EE7D05D0A3A@cs.huji.ac.il> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 14:52:58 -0000 On 02/11/2015 13:17, Daniel Braniss wrote: > Hi, > I’m running the latest 10.2 Stable. > > I’m trying to set an iscsi target, and keep getting error 55, ENOBUF > in both the target and initiator. > > Nov 2 14:54:41 store-07 kernel: cfiscsi_ioctl_handoff: new connection from iqn.1994-09.org.freebsd:pe-14 (132.65.80.200) to iqn.2015-11.il.ac.huji.cs:target0 > Nov 2 14:54:41 store-07 kernel: WARNING: icl_conn_start: soreserve failed with error 55 > Nov 2 14:54:41 store-07 ctld[28649]: 132.65.80.200 (iqn.1994-09.org.freebsd:pe-14): error returned from CTL iSCSI handoff request: cfiscsi_ioctl_handoff: icl_conn_handoff failed with error 55; dropping connection > Nov 2 14:54:41 store-07 ctld[28373]: child process 28649 terminated with exit status 1 > > any ideas? > Do you have any custom settings in /etc/sysctl.conf or /boot/loader.conf? What's the output from "netstat -m" ? Regards Steve From owner-freebsd-scsi@freebsd.org Mon Nov 2 15:35:45 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC643A033EF for ; Mon, 2 Nov 2015 15:35:45 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC23196B for ; Mon, 2 Nov 2015 15:35:44 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1ZtH95-000EXf-RJ; Mon, 02 Nov 2015 17:35:43 +0200 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: iscsi ENOBUF error From: Daniel Braniss In-Reply-To: <563778C6.60904@multiplay.co.uk> Date: Mon, 2 Nov 2015 17:35:43 +0200 Cc: freebsd-scsi@freebsd.org Message-Id: <0A7AC956-4AD4-41CA-A20D-8B055BEFA9AA@cs.huji.ac.il> References: <83D85B9D-631E-4558-B143-6EE7D05D0A3A@cs.huji.ac.il> <563778C6.60904@multiplay.co.uk> To: Steven Hartland X-Mailer: Apple Mail (2.2104) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 15:35:45 -0000 > On 2 Nov 2015, at 16:52, Steven Hartland = wrote: >=20 >=20 >=20 > On 02/11/2015 13:17, Daniel Braniss wrote: >> Hi, >> I=E2=80=99m running the latest 10.2 Stable. >>=20 >> I=E2=80=99m trying to set an iscsi target, and keep getting error 55, = ENOBUF >> in both the target and initiator. >>=20 >> Nov 2 14:54:41 store-07 kernel: cfiscsi_ioctl_handoff: new = connection from iqn.1994-09.org.freebsd:pe-14 (132.65.80.200) to = iqn.2015-11.il.ac.huji.cs:target0 >> Nov 2 14:54:41 store-07 kernel: WARNING: icl_conn_start: soreserve = failed with error 55 >> Nov 2 14:54:41 store-07 ctld[28649]: 132.65.80.200 = (iqn.1994-09.org.freebsd:pe-14): error returned from CTL iSCSI handoff = request: cfiscsi_ioctl_handoff: icl_conn_handoff failed with error 55; = dropping connection >> Nov 2 14:54:41 store-07 ctld[28373]: child process 28649 terminated = with exit status 1 >>=20 >> any ideas? >>=20 > Do you have any custom settings in /etc/sysctl.conf or = /boot/loader.conf? >=20 kern.ipc.maxsockbuf=3D1048576 net.inet.tcp.recvspace=3D262144 net.inet.tcp.sendspace=3D262144 kern.ipc.shm_allow_removed=3D1 > What's the output from "netstat -m=E2=80=9D ? 16387/39008/55395 mbufs in use (current/cache/total) 16384/22160/38544/10207712 mbuf clusters in use = (current/cache/total/max) 16384/16000 mbuf+clusters out of packet secondary zone in use = (current/cache) 0/208/208/5103855 4k (page size) jumbo clusters in use = (current/cache/total/max) 0/0/0/1512253 9k jumbo clusters in use (current/cache/total/max) 0/0/0/850642 16k jumbo clusters in use (current/cache/total/max) 36864K/54904K/91768K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile >=20 > Regards > Steve > _______________________________________________ > freebsd-scsi@freebsd.org mailing = list > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi = > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org = " From owner-freebsd-scsi@freebsd.org Mon Nov 2 15:55:23 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FF17A03988 for ; Mon, 2 Nov 2015 15:55:23 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A94DB1341 for ; Mon, 2 Nov 2015 15:55:22 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by wmff134 with SMTP id f134so62698001wmf.1 for ; Mon, 02 Nov 2015 07:55:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay_co_uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type; bh=uwV1Vrftg4JNrX2MMppDUc/5qfKG8hEWfaeAUg/hWX0=; b=mgpAYOZu1GVnciQoCNkh4ATN56lhNFqMUAzRvo5gGcFwIOhsMWrDclmfG6I/HA1Gd+ QGtSAHetPo0THfvNGHy0tjjhrj95yHfnIpzo8ivCBzAvbwMu6LoFaAI1tb0ZVrMexVHQ kBHVlC8pVKor2+rN/A2xf6Sd3vZN8HzWbxapem38SXJAe/gADX13JiPB4npEZ5eiIP6w 4Fw8POVLJ2W4iS5/gk0S+/PvNckXTCQih/oEzg+kpTNfYBtb0IVTVnlsLoG55/lw5+WU q4euHp4BqRkOaXpIUSzFLZ3/ZReHg6SbmaYU9gti0cTNjc51CEChhlrj5kexGPznizVp lheA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=uwV1Vrftg4JNrX2MMppDUc/5qfKG8hEWfaeAUg/hWX0=; b=lWC/KQalwHi1EJJkuurfroLh7pEDPpfTw0esVCnj9kjpmFKt/DIQiyNheyUX/jmc6l WZ8jEZwL4oMMfcIrf0IupNf5jHUX5qCGE0aww8oA0rA5hw780NsyGr6gEarT+y1CPGX2 4UpCpTvKx13e1iUNYf0RBW8kG5JA5GOEbeLw3cunRzVD8UVs/7iH2y+mTjdv1XltKFKf Nh1grS1Q4Ij29m8YIssYWO2bifl7JooxPlNNTXR+af6Wqujm7q6grBqo4VpWE9v0bK63 YagADVuQzB+EjRrr/Tehwv9SaE6zxEp3DEnxvMobg8I6cDzfe3RgPxDtO7gxqUaONJn5 tN8g== X-Gm-Message-State: ALoCoQmKtQvUVgTL3Prh3hoyeyj94XqlTPJFHXr4/uePz903e1he43hC45vTycINoanaWmHzBfuZ X-Received: by 10.28.109.193 with SMTP id b62mr15099298wmi.58.1446479720378; Mon, 02 Nov 2015 07:55:20 -0800 (PST) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id l186sm18773312wmg.19.2015.11.02.07.55.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Nov 2015 07:55:19 -0800 (PST) Subject: Re: iscsi ENOBUF error To: Daniel Braniss References: <83D85B9D-631E-4558-B143-6EE7D05D0A3A@cs.huji.ac.il> <563778C6.60904@multiplay.co.uk> <0A7AC956-4AD4-41CA-A20D-8B055BEFA9AA@cs.huji.ac.il> Cc: freebsd-scsi@freebsd.org From: Steven Hartland Message-ID: <56378766.8030701@multiplay.co.uk> Date: Mon, 2 Nov 2015 15:55:18 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <0A7AC956-4AD4-41CA-A20D-8B055BEFA9AA@cs.huji.ac.il> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 15:55:23 -0000 On 02/11/2015 15:35, Daniel Braniss wrote: > >> On 2 Nov 2015, at 16:52, Steven Hartland wrote: >> >> >> On 02/11/2015 13:17, Daniel Braniss wrote: >>> Hi, >>> I’m running the latest 10.2 Stable. >>> >>> I’m trying to set an iscsi target, and keep getting error 55, ENOBUF >>> in both the target and initiator. >>> >>> Nov 2 14:54:41 store-07 kernel: cfiscsi_ioctl_handoff: new >>> connection from iqn.1994-09.org.freebsd:pe-14 (132.65.80.200) to >>> iqn.2015-11.il.ac.huji.cs:target0 >>> Nov 2 14:54:41 store-07 kernel: WARNING: icl_conn_start: soreserve >>> failed with error 55 >>> Nov 2 14:54:41 store-07 ctld[28649]: 132.65.80.200 >>> (iqn.1994-09.org.freebsd:pe-14): error returned from CTL iSCSI >>> handoff request: cfiscsi_ioctl_handoff: icl_conn_handoff failed with >>> error 55; dropping connection >>> Nov 2 14:54:41 store-07 ctld[28373]: child process 28649 terminated >>> with exit status 1 >>> >>> any ideas? >>> >> Do you have any custom settings in /etc/sysctl.conf or /boot/loader.conf? >> > > kern.ipc.maxsockbuf=1048576 > net.inet.tcp.recvspace=262144 > net.inet.tcp.sendspace=262144 > kern.ipc.shm_allow_removed=1 Looks like your customisation for kern.ipc.maxsockbuf is from 9.x days I'd recommend removing it or increasing it to > 2K. Regards Steve From owner-freebsd-scsi@freebsd.org Thu Nov 5 00:40:52 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 569E4A254B6 for ; Thu, 5 Nov 2015 00:40:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4195E1E76 for ; Thu, 5 Nov 2015 00:40:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA50eqQr032385 for ; Thu, 5 Nov 2015 00:40:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Thu, 05 Nov 2015 00:40:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 00:40:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 NGie Cooper changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-scsi@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Thu Nov 5 00:42:09 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BCBBA25565 for ; Thu, 5 Nov 2015 00:42:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB27710A2 for ; Thu, 5 Nov 2015 00:42:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA50g8uG038003 for ; Thu, 5 Nov 2015 00:42:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Thu, 05 Nov 2015 00:42:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 00:42:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 --- Comment #1 from NGie Cooper --- (In reply to Scott M. Ferris from comment #0) The comment on line 4755 is probably unnecessary. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Thu Nov 5 04:46:50 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AABFA266C6 for ; Thu, 5 Nov 2015 04:46:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77E181CFC for ; Thu, 5 Nov 2015 04:46:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA54konu086195 for ; Thu, 5 Nov 2015 04:46:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Thu, 05 Nov 2015 04:46:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 04:46:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Thu Nov 5 14:24:21 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A615EA26766 for ; Thu, 5 Nov 2015 14:24:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9180E1453 for ; Thu, 5 Nov 2015 14:24:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA5EOL7w095810 for ; Thu, 5 Nov 2015 14:24:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Thu, 05 Nov 2015 14:24:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mav@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 14:24:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 Alexander Motin changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162793|0 |1 is obsolete| | --- Comment #2 from Alexander Motin --- Created attachment 162814 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162814&action=edit Alternative patch Alternative version of patch, that I like more. Unfortunately still not viable. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Thu Nov 5 14:28:39 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F228A268E5 for ; Thu, 5 Nov 2015 14:28:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B3121928 for ; Thu, 5 Nov 2015 14:28:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA5ESdZc002252 for ; Thu, 5 Nov 2015 14:28:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Thu, 05 Nov 2015 14:28:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mav@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 14:28:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 --- Comment #3 from Alexander Motin --- I like your idea of giving timeout a reference. I've even reworked your patch in IMO cleaner way (see new attachment). Unfortunately after doing that I hit the problem affecting both mine and your patches: device reference counters are protected by bus lock, that can not be acquired while holding device queue lock. I am not ready to say this approach is hopeless, but requires some more thinking. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Thu Nov 5 16:34:33 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F72CA26666 for ; Thu, 5 Nov 2015 16:34:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7BF7A1F75 for ; Thu, 5 Nov 2015 16:34:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA5GYXVC076761 for ; Thu, 5 Nov 2015 16:34:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Thu, 05 Nov 2015 16:34:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: scottl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 16:34:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 --- Comment #4 from Scott Long --- The bus/topology locks for device reference counting exist only because RCU wasn't available when I did the locking work. I'd really prefer that they went away soon. Would someone be willing to investigate ck_epoch from ConcurrencyKit? We're going to import this library into FreeBSD soon, and ck_epoch provides lockless object lifecycle semantics. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Thu Nov 5 19:19:54 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57074A26B44 for ; Thu, 5 Nov 2015 19:19:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4323C1A6D for ; Thu, 5 Nov 2015 19:19:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA5JJs2f041785 for ; Thu, 5 Nov 2015 19:19:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Thu, 05 Nov 2015 19:19:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: smferris@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 19:19:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 --- Comment #5 from Scott M. Ferris --- (In reply to Alexander Motin from comment #3) Yes, for the patch to work we have to use the lock ordering: devq->send_mtx before bus->eb_mtx device->device_mtx before bus->eb_mtx It's a counter-intuitive ordering but seems to work given how eb_mtx is used today. Where would we violate that ordering? I don't see anyplace acquiring another lock while holding bus->eb_mtx. No, wait, I missed xpt_alloc_device() wanting the send_mtx in order to cam_devq_resize(). Can we solve that by moving the cam_devq_resize() from xpt_alloc_device() up into xpt_compile_path()? That appears to be the only caller of xport->alloc_device() and only the transports call xpt_alloc_device(). I'll see if I can make that work. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Thu Nov 5 20:07:37 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD6ADA275BC for ; Thu, 5 Nov 2015 20:07:37 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from mail.physics.umn.edu (smtp.spa.umn.edu [128.101.220.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A45717A8 for ; Thu, 5 Nov 2015 20:07:37 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from spa-sysadm-01.spa.umn.edu ([134.84.199.8]) by mail.physics.umn.edu with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1ZuQFc-0000AF-IF for freebsd-scsi@freebsd.org; Thu, 05 Nov 2015 13:31:12 -0600 Message-ID: <563BAE81.6000409@physics.umn.edu> Date: Thu, 05 Nov 2015 13:31:13 -0600 From: Graham Allan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: Re: mps driver on 10.2-BETA References: <55DE5365.6090608@physics.umn.edu> <55DF1F78.2080204@physics.umn.edu> <55DF6F1F.9070909@physics.umn.edu> In-Reply-To: <55DF6F1F.9070909@physics.umn.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 20:07:37 -0000 On 8/27/2015 3:12 PM, Graham Allan wrote: > On 8/27/2015 9:32 AM, Graham Allan wrote: >> >> I have another system which isn't in production yet - I can do the same >> test on that and see if the newer 20.00.00.04 is stable. This is also >> running 9.3 but the test should still be valid. I will be using this >> system for 10.2 testing, but would like to keep it on 9.3 for a short >> time to try and resolve any issues with that. > > I updated the firmware on this HBA to 20.00.04.00 and ran some stress > tests - all looks fine after 4+ hours. I'm pretty certain that issues > showed up long before that with 20.00.00.00 (ideally I'd like to retest > that, but I don't have a stashed copy of that firmware). > > To reiterate, this is with FreeBSD 9.3, and in this particular case the > HBA is a 9205-8e. > > I expect I'll get to re-test within the next few weeks with FreeBSD > 10.2. But for now it seems like firmware 20.00.04.00 has the previous > problems fixed. I meant to reply to myself earlier - I now have been running 10.2 with the 20.00.04.00 firmware for a while now, and it does seem stable. Graham From owner-freebsd-scsi@freebsd.org Fri Nov 6 07:59:14 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABED9A26653 for ; Fri, 6 Nov 2015 07:59:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9721014A1 for ; Fri, 6 Nov 2015 07:59:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA67xElZ017293 for ; Fri, 6 Nov 2015 07:59:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Fri, 06 Nov 2015 07:59:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: smferris@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 07:59:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 --- Comment #6 from Scott M. Ferris --- Created attachment 162840 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162840&action=edit revised patch with a LOR fix and mav's cleanups I attached a revised patch that tries to fix the LOR and incorporate mav's cleanups. The acquire side is handled by taking a device ref for the callout before we know if we need another ref, and releasing the extra ref if we discover we don't need it. The release side is handled using CALLOUT_RETURNUNLOCKED so that the callout can just unlock devq->send_mtx and then xpt_release_device(). -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Fri Nov 6 11:04:12 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14B21A27F69 for ; Fri, 6 Nov 2015 11:04:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE6751903 for ; Fri, 6 Nov 2015 11:04:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA6B4BHW071995 for ; Fri, 6 Nov 2015 11:04:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned Date: Fri, 06 Nov 2015 11:04:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mav@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 11:04:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298 --- Comment #7 from Alexander Motin --- Looks good to me. I am just not sure that KASSERTs duplication at xpt_destroy_device() after already done at xpt_release_device() is really useful. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-scsi@freebsd.org Sat Nov 7 01:32:59 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D27B4A253B5 for ; Sat, 7 Nov 2015 01:32:59 +0000 (UTC) (envelope-from pallav_bose@yahoo.com) Received: from nm41-vm10.bullet.mail.gq1.yahoo.com (nm41-vm10.bullet.mail.gq1.yahoo.com [67.195.87.149]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EA0A19D4 for ; Sat, 7 Nov 2015 01:32:59 +0000 (UTC) (envelope-from pallav_bose@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1446859790; bh=FpShivpU8QvlqBOR6BJWww/oJFvd5ceMvUvgRas8h1U=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=RrwCsuCmxF7QS/jzqot7Re/xCZWkl7/EDdYXmRy3m0qxyiHrKmEYxr4ovJ0I17INek31gTX3IslrhxDrPhcLIuqGb4lIiNYT4IAgWXnuOvHSAhzWZSvL0wE8FeD+Al4I9XNRTfktoRT3mTLlENfbswRIGtW9JDLDLzmybt0k+5QCeh88yAE+glnoQ8ghGSW722KdP/O5XAnR3N51gB2FNlq3xmy9bKDp18LB0isN4/TT3q5l1ghhZRErFQ8m9Bl/KGnTK8f2A2rB+wb/gTEqvIrSjxiB4jcsSVPoFbm9M9ELdx9tKLruYnQt6H8lKIRmgjbW54kktq/X8S8yuaI1IA== Received: from [127.0.0.1] by nm41.bullet.mail.gq1.yahoo.com with NNFMP; 07 Nov 2015 01:29:50 -0000 Received: from [98.137.12.175] by nm41.bullet.mail.gq1.yahoo.com with NNFMP; 07 Nov 2015 01:27:06 -0000 Received: from [98.137.12.234] by tm14.bullet.mail.gq1.yahoo.com with NNFMP; 07 Nov 2015 01:27:06 -0000 Received: from [127.0.0.1] by omp1042.mail.gq1.yahoo.com with NNFMP; 07 Nov 2015 01:27:06 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 671516.93145.bm@omp1042.mail.gq1.yahoo.com X-YMail-OSG: i4dGS6kVM1k9At996UvToujG7c.vIa2pDnU.aQ._63B8crOZp2IcZ_rIAMDRKZJ 7t.DYnnXsDtD2YOziwgQMSfAvrSXVoc1HYiz8NRH6a1vN5gzDNKHXpjwsLm7ytpjcvf8.kicai0E mRJiJF1JYH8Ygi2Pe9KAHsg1yqRnsWbpJ7ERKQOpeXEzN0EHyHBC5OA9wOjOsz5Qmj60e97nfLOZ 32VIeKhz8Ybv6uGd5QL5yNksxt_H40XMz9Ht0LtiM_RK3bRQdKSn8kDK0A51cC3aEtFblMrDpdad LZTerdgWB3h.eSV.DO7fYufkYlIL8YfTcaYpZgn5APbiwqOKntatHtsjtkmi1GZVCSVlEipTQZb5 AISqYNK1DB8M40fy9r2cJ6wJOY_HAi6PpmaEb4MUKNuldIGLw1Rcc7aziZ6ZStshL3B.Nezafmaz baP5beSIUa.FIBr8N4bDGRuiVk9i9hnTGE7NzZdZTCnBjUqVO1RM9NZjTC.QGtqzZXm_NpLEsOaY yGlr9MrRtkj_98w8YJLXK.u8- Received: by 216.39.60.199; Sat, 07 Nov 2015 01:27:06 +0000 Date: Sat, 7 Nov 2015 01:22:49 +0000 (UTC) From: Pallav Bose Reply-To: Pallav Bose To: "freebsd-scsi@freebsd.org" Message-ID: <1126216935.1064375.1446859369520.JavaMail.yahoo@mail.yahoo.com> Subject: smartctl not working with mrsas(4) driver on Dell PERC H730 MIME-Version: 1.0 References: <1126216935.1064375.1446859369520.JavaMail.yahoo.ref@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 01:32:59 -0000 Hello, I'm trying to obtain SMART information from the SSDs attached to a Dell PER= C H730 on FreeBSD 10.2. root@freebsd10-2:~ # uname -a FreeBSD freebsd10-2 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 1= 2 15:26:37 UTC 2015=C2=A0=C2=A0=C2=A0=C2=A0 root@releng1.nyi.freebsd.org:/u= sr/obj/usr/src/sys/GENERIC=C2=A0 amd64 root@freebsd10-2:~ # camcontrol devlist =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 0 lun 0 (pass0,da0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 1 lun 0 (pass1,da1) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 2 lun 0 (pass2,da2) =C2=A0=C2=A0 at scbus4 target 0 lun 0 (da3,= pass3) root@freebsd10-2:~ # MegaCli pdlist a0 | grep -ie slot -e firmware\ state -= e inq Slot Number: 0 Firmware state: Online, Spun Up Inquiry Data:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 14290D7FC10FM= icron_M500DC_MTFDDAK800MBB=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 0134 Slot Number: 1 Firmware state: Online, Spun Up Inquiry Data:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 14490DFF5AEAM= icron_M500DC_MTFDDAK800MBB=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 0134 Slot Number: 2 Firmware state: Online, Spun Up Inquiry Data:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 14290D7FC11AM= icron_M500DC_MTFDDAK800MBB=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 0134 root@freebsd10-2:~ # smartctl -d auto /dev/da1 smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE amd64] (local build) Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org SCSI device successfully opened Use 'smartctl -a' (or '-x') to print SMART (and more) information root@freebsd10-2:~ # smartctl -a /dev/da1 smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE amd64] (local build) Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Vendor:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 DELL Product:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 PERC H730 Mini Revision:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 4.25 User Capacity:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 799,535,005,696 by= tes [799 GB] Logical block size:=C2=A0=C2=A0 512 bytes >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T= permissive' options. root@freebsd10-2:~ # smartctl -a -T permissive /dev/da1 smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE amd64] (local build) Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Vendor:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 DELL Product:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 PERC H730 Mini Revision:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 4.25 User Capacity:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 799,535,005,696 by= tes [799 GB] Logical block size:=C2=A0=C2=A0 512 bytes >> Terminate command early due to bad response to IEC mode page =3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D Read defect list: asked for grown list but didn't get it Error Counter logging not supported Device does not support Self Test logging I get the same output as above when I run on the pass device as : smartctl = -a -T permissive /dev/pass1=20 When I switch to using the mfi(4) driver, I'm able to get SMART information= . root@freebsd10-2:~ # camcontrol devlist =C2=A0=C2=A0 at scbus0 target 0 lun 0 (da0,= pass0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sc= bus1 target 0 lun 0 (pass1) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sc= bus1 target 1 lun 0 (pass2) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sc= bus1 target 2 lun 0 (pass3) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at scbus1 target 32 lun 0 (ses0,pass4) root@freebsd10-2:~ # ls /dev/mfi* /dev/mfi0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /dev/mfid0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /dev/mfid0p2=C2=A0=C2=A0=C2=A0 /dev/mfid1=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 /dev/mfid1p2=C2=A0=C2=A0=C2=A0 /dev/mfid2=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 /dev/mfid2p2 /dev/mfi1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /dev/mfid0p1=C2=A0=C2=A0=C2= =A0 /dev/mfid0p3=C2=A0=C2=A0=C2=A0 /dev/mfid1p1=C2=A0=C2=A0=C2=A0 /dev/mfid= 1p3=C2=A0=C2=A0=C2=A0 /dev/mfid2p1=C2=A0=C2=A0=C2=A0 /dev/mfid2p3 root@freebsd10-2:~ # smartctl -a -d sat /dev/pass1 smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE amd64] (local build) Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Model Family:=C2=A0=C2=A0=C2=A0=C2=A0 Micron M500DC Enterprise SSDs Device Model:=C2=A0=C2=A0=C2=A0=C2=A0 Micron_M500DC_MTFDDAK800MBB Serial Number:=C2=A0=C2=A0=C2=A0 14290D7FC10F LU WWN Device Id: 5 00a075 10d7fc10f Firmware Version: 0134 User Capacity:=C2=A0=C2=A0=C2=A0 800,166,076,416 bytes [800 GB] Sector Sizes:=C2=A0=C2=A0=C2=A0=C2=A0 512 bytes logical, 4096 bytes physica= l Rotation Rate:=C2=A0=C2=A0=C2=A0 Solid State Device Form Factor:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2.5 inches Device is:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 In smartctl database [= for details use: -P show] ATA Version is:=C2=A0=C2=A0 ACS-2, ATA8-ACS T13/1699-D revision 6 SATA Version is:=C2=A0 SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is:=C2=A0=C2=A0=C2=A0 Fri Nov=C2=A0 6 16:05:46 2015 PST SMART support is: Available - device has SMART capability. SMART support is: Enabled =3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D SMART Status not supported: ATA return descriptor not supported by controll= er firmware SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. General SMART Values: Offline data collection status:=C2=A0 (0x80) Offline data collection activi= ty =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 was never started. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Auto Offline Data Collection: Enabled. Self-test execution status:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=C2=A0=C2=A0 0) = The previous self-test routine completed =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 without error or no self-test has ever =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 been run. Total time to complete Offline data collection:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ( 3725) seconds. Offline data collection capabilities:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (0x7b) SMART execute= Offline immediate. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Auto Offline data collection on/off support. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Suspend Offline collection upon new =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 command. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Offline surface scan supported. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Self-test supported. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Conveyance Self-test supported. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Selective Self-test supported. SMART capabilities:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (0x0003) Saves SMART data before entering =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 power-saving mode. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Supports SMART auto save timer. Error logging capability:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (0x01) = Error logging supported. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 General Purpose Logging supported. Short self-test routine recommended polling time:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=C2=A0= =C2=A0 2) minutes. Extended self-test routine recommended polling time:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=C2=A0= 10) minutes. Conveyance self-test routine recommended polling time:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=C2=A0= =C2=A0 3) minutes. SCT capabilities:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (0x0035) SCT Status supported. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 SCT Feature Control supported. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 FL= AG=C2=A0=C2=A0=C2=A0=C2=A0 VALUE WORST THRESH TYPE=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 UPDATED=C2=A0 WHEN_FAILED RAW_VALUE =C2=A0 1 Raw_Read_Error_Rate=C2=A0=C2=A0=C2=A0=C2=A0 0x002f=C2=A0=C2=A0 100= =C2=A0=C2=A0 100=C2=A0=C2=A0 050=C2=A0=C2=A0=C2=A0 Pre-fail=C2=A0 Always=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 =C2=A0 5 Reallocated_Block_Count 0x0032=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2= =A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Always=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 =C2=A0 9 Power_On_Hours=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 0x0032=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2=A0 001=C2=A0=C2=A0=C2= =A0 Old_age=C2=A0=C2=A0 Always=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 307 =C2=A012 Power_Cycle_Count=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0x0032=C2=A0= =C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0= =C2=A0 Always=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 117 170 Reserved_Block_Count=C2=A0=C2=A0=C2=A0 0x0033=C2=A0=C2=A0 100=C2=A0=C2= =A0 100=C2=A0=C2=A0 010=C2=A0=C2=A0=C2=A0 Pre-fail=C2=A0 Always=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 16 171 Program_Fail_Count=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0x0032=C2=A0=C2=A0 100= =C2=A0=C2=A0 100=C2=A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Alwa= ys=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 0 172 Erase_Fail_Count=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0x0032=C2=A0= =C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0= =C2=A0 Always=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 0 173 Ave_Block-Erase_Count=C2=A0=C2=A0 0x0033=C2=A0=C2=A0 100=C2=A0=C2=A0 10= 0=C2=A0=C2=A0 000=C2=A0=C2=A0=C2=A0 Pre-fail=C2=A0 Always=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 3 174 Unexpect_Power_Loss_Ct=C2=A0 0x0032=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2= =A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Always=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 116 184 Error_Correction_Count=C2=A0 0x0033=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2= =A0=C2=A0 050=C2=A0=C2=A0=C2=A0 Pre-fail=C2=A0 Always=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 187 Reported_Uncorrect=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0x0032=C2=A0=C2=A0 100= =C2=A0=C2=A0 100=C2=A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Alwa= ys=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 0 188 Command_Timeouts=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0x0032=C2=A0= =C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0= =C2=A0 Always=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 209 194 Temperature_Celsius=C2=A0=C2=A0=C2=A0=C2=A0 0x0022=C2=A0=C2=A0 069=C2= =A0=C2=A0 054=C2=A0=C2=A0 000=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Always= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = 31 (Min/Max 24/46) 195 Cumulativ_Corrected_ECC 0x003a=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2= =A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Always=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2432 197 Current_Pending_Sector=C2=A0 0x0032=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2= =A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Always=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 198 Offline_Uncorrectable=C2=A0=C2=A0 0x0030=C2=A0=C2=A0 100=C2=A0=C2=A0 10= 0=C2=A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Offline=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 199 UDMA_CRC_Error_Count=C2=A0=C2=A0=C2=A0 0x0032=C2=A0=C2=A0 100=C2=A0=C2= =A0 100=C2=A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Always=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1 202 Percent_Lifetime_Remain 0x0018=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2= =A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Offline=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 206 Write_Error_Rate=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0x000e=C2=A0= =C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2=A0 001=C2=A0=C2=A0=C2=A0 Old_age=C2=A0= =C2=A0 Always=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 0 247 Host_Program_Page_Count 0x0032=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2= =A0 000=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Always=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 157673868 248 Bckgnd_Program_Page_Cnt 0x0032=C2=A0=C2=A0 100=C2=A0=C2=A0 100=C2=A0=C2= =A0 000=C2=A0=C2=A0=C2=A0 Old_age=C2=A0=C2=A0 Always=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 54069869 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num=C2=A0 Test_Description=C2=A0=C2=A0=C2=A0 Status=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Remaining=C2=A0 LifeTime(hours)=C2=A0 LBA_of_first_error # 1=C2=A0 Vendor (0xff)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Completed witho= ut error=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 00%=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 208=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - # 2=C2=A0 Vendor (0xff)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Completed witho= ut error=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 00%=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 137=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - # 3=C2=A0 Vendor (0xff)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Completed witho= ut error=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 00%=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 35=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - SMART Selective self-test log data structure revision number 1 =C2=A0SPAN=C2=A0 MIN_LBA=C2=A0 MAX_LBA=C2=A0 CURRENT_TEST_STATUS =C2=A0=C2=A0=C2=A0 1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0 Not_testing =C2=A0=C2=A0=C2=A0 2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0 Not_testing =C2=A0=C2=A0=C2=A0 3=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0 Not_testing =C2=A0=C2=A0=C2=A0 4=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0 Not_testing =C2=A0=C2=A0=C2=A0 5=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0 Not_testing Selective self-test flags (0x0): =C2=A0 After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. How can I get smartctl(8) to work with the mrsas(4) driver? Regards,Pallav