From owner-freebsd-scsi@freebsd.org Mon Oct 9 18:25:26 2017 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 C2E68E3855A for ; Mon, 9 Oct 2017 18:25:26 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 94F5B7589D for ; Mon, 9 Oct 2017 18:25:26 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-it0-x22c.google.com with SMTP id g18so13948269itg.5 for ; Mon, 09 Oct 2017 11:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuffli-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=xZxbz6ouI+btyP46rHwo4NV8QqB279viB0PoRyAf/c8=; b=i0oPI0QVBovkJRezc3BVeH55W+ecCBqT/Bh7IZfI8W3gW2CTq/ofLqDjJlrKo+j6of idPwr5bS2YtzstveLW63HGtAgzGbt7WJvQqWM9ngkRCxc7GGgMHaBXD9ypzJ1FIyokdL zYJm3ULTecPiCdN/Su0PiC4YRJ+guPIrSuB6K9vQfoEG5hwbWa/pxinUOrHQ/RX33sB3 d4NeghQqYGddrFDj9ZcS7GXfHzqqtPFjK7+crxr5EDQy7akESf9HGsJTKqqh7eK5U/8n d3zWVYhK4DipYIVqBjgiylCneonH72ry5PGu9UI+oC7JVknnfl3Q56Hg0dml4Wax9oGw Pn/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=xZxbz6ouI+btyP46rHwo4NV8QqB279viB0PoRyAf/c8=; b=oA4VEakXRYaoHolW42pzUDcPOeCjsx1zb2i24Pq2BPfppEbCDsUBFCscs8cJNvMfNs IRQPqmT+PEpBXHipJkYrkWtG5xq+ZnO4Khnc1hEJXT4uHhOEgNKQtWu7zHV6ntr6cwZP fhx4bkrCPzjZsj8fMJP05MHWK28KLoSxIov+AphatUXQWRjLepa1x7x2OM0il0h324fn sa4mkjNW28/SL22KKf+KpUj3pIqI1/XzvnA7Nd/7X5H+5gKtd3RM2W93VvMQAAmSCSoQ lDeHNiTWjtRggygpQF7YPm0ToGRM8lNKuanhn/0OpW1PEp97KVhvBX3BiWVpgX7Vun+v vk2A== X-Gm-Message-State: AMCzsaXnTgRcQ67wHKhp3Em2b2aPGK6BHsqA2ifblBtjafnL5je5XymB s1/Ye9qiFzCkmprvKHPHwjk/Z/XL+Nl80uceP8t0RnTp X-Google-Smtp-Source: AOwi7QCAWuNTW+OUpYHPihr0M5SofrG4lCxeUDShXfTjSJaEwOcQ77VjJC2i0Qszh8vKJ5Wrk9B+DE0Z+qf+H5FNdBE= X-Received: by 10.36.141.65 with SMTP id w62mr2343083itd.152.1507573525561; Mon, 09 Oct 2017 11:25:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.92.147 with HTTP; Mon, 9 Oct 2017 11:25:25 -0700 (PDT) From: Chuck Tuffli Date: Mon, 9 Oct 2017 11:25:25 -0700 Message-ID: Subject: [RFC] native SMART library / tool To: freebsd-scsi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 18:25:26 -0000 At AsiaBSDCon 2016, Michael Dexter proposed =E2=80=9Cdiskctl(8): A permissively-licensed S.M.A.R.T. and raw disk command utility framework=E2=80=9D [1]. While the proposal had ambitious goals, I was specifically curious about how to report SMART attributes across SATA, SCSI, and NVMe in a standardized way that might be useful to other applications. After some experimentation and feedback from Michael, I have code [2] that can retrieve SMART attributes from each of the above protocols. The code is functional but not in its final form as I wanted some feedback from the community first. Things which would be useful: - does this work on your drive(s)? - is the output useful? if not, what do you need? - is the library interface useful? if not, what's missing / needed? Keep in mind, the scope of the code is intentionally narrow (i.e. retrieve SMART values), but please mention features you think would be useful. Also note, that retrieving NVMe SMART values requires -CURRENT. [1] https://www.bsdcan.org/2016/schedule/attachments/339_AsiaBSDCon-diskctl= .pdf [2] https://bitbucket.org/ctuffli/smart From owner-freebsd-scsi@freebsd.org Fri Oct 13 20:12:06 2017 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 439F0E2B9F2 for ; Fri, 13 Oct 2017 20:12:06 +0000 (UTC) (envelope-from shiva.bhanujan@quorum.com) Received: from asp.reflexion.net (outbound-mail-210-20.reflexion.net [208.70.210.20]) (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 E808A733A9 for ; Fri, 13 Oct 2017 20:12:05 +0000 (UTC) (envelope-from shiva.bhanujan@quorum.com) Received: (qmail 13764 invoked from network); 13 Oct 2017 20:12:04 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 13 Oct 2017 20:12:04 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Fri, 13 Oct 2017 16:12:04 -0400 (EDT) Received: (qmail 29233 invoked from network); 13 Oct 2017 20:12:04 -0000 Received: from unknown (HELO mail.quorum.net) (64.74.133.216) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 13 Oct 2017 20:12:04 -0000 Received: from QLEXC01.Quorum.local ([fe80::edb6:63d5:778f:2f0e]) by QLEXC01.Quorum.local ([fe80::edb6:63d5:778f:2f0e%14]) with mapi id 14.03.0351.000; Fri, 13 Oct 2017 13:12:02 -0700 From: Shiva Bhanujan To: "freebsd-scsi@freebsd.org" Subject: FreeBSD 10.3/11.0 SCSI errors with Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3 Thread-Topic: FreeBSD 10.3/11.0 SCSI errors with Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3 Thread-Index: AQHTQ80AKMPHqs1A+0yLHlbMiv8g5KLiNr7z Date: Fri, 13 Oct 2017 20:12:02 +0000 Message-ID: <3A5A10BE32AC9E45B4A22F89FC90EC0701C3665E8B@QLEXC01.Quorum.local> References: <3A5A10BE32AC9E45B4A22F89FC90EC0701C3665D5D@QLEXC01.Quorum.local> In-Reply-To: <3A5A10BE32AC9E45B4A22F89FC90EC0701C3665D5D@QLEXC01.Quorum.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.20.7.56] Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2017 20:12:06 -0000 Hello, I have a FreeBSD 10.3 install in a HVM on XenServer 6.5. The HBA330 SAS-3 = controller is in pcipassthrough mode to the FreeBSD VM. When I try to = access the disks (/dev/da0...) using gpart, I get SCSI errors, like the = following: (da0:mpr0:0:0:0): CAM status: SCSI Status Error (da0:mpr0:0:0:0): SCSI status: Check Condition (da0:mpr0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command = operation code) I get the same errors w/ FreeBSD 11.0 also. Running 10.3 natively also = has the same result. Please note, that these errors don't show up on a Fusion-MPT SAS-2 = controller, or a MegaRAID SAS 2208 controller. Additionally, FreeBSD 10.2 = doesn't have any SCSI errors on the HBA330 SAS-3 controller either. Is there a different version of the mpr driver I should be using? I = haven't checked the differences between the mpr driver in 10.2 vs 10.3 and = 11.0. I do see that there are others who have experienced these issues. = Can somebody please provide me some pointers as to why this is occurring? Or if there are some driver changes that I = might be able to incorporate? Please note, that I have gone through the mail titled =22scsi error at = SEAGATE ST1200MM0088 TT31=22 and have started sg_format on all the SEAGATE = disks. Having said that, I still need to figure out what would happen, = if the disks were written to using FreeBSD 10.2, which doesn't seem to = have SCSI errors, and when I try to upgrade to 10.3. Any help is = appreciated. Regards, Shiva _______________________________________________ freebsd-fs=40freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to =22freebsd-fs-unsubscribe=40freebsd.org=22 From owner-freebsd-scsi@freebsd.org Sat Oct 14 00:58:43 2017 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 C0233E319BE for ; Sat, 14 Oct 2017 00:58:43 +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 ACBB57F70A for ; Sat, 14 Oct 2017 00:58:43 +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 v9E0whrH009073 for ; Sat, 14 Oct 2017 00:58:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 222898] [iscsi]: panic: page fault - system crashes while working as iSCSI target Date: Sat, 14 Oct 2017 00:58:43 +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-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-scsi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Oct 2017 00:58:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222898 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-scsi@FreeBSD.org Keywords| |patch --=20 You are receiving this mail because: You are the assignee for the bug.=