From owner-freebsd-scsi@freebsd.org Sat Nov 18 07:24:59 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 7F947DF0B7A for ; Sat, 18 Nov 2017 07:24:59 +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 629E06661A for ; Sat, 18 Nov 2017 07:24:59 +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 vAI7OxY6039487 for ; Sat, 18 Nov 2017 07:24:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 223381] mpt driver hangs with iscsi devices and scsi drives defined in VBOX FBSD guest Date: Sat, 18 Nov 2017 07:24:59 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: randomnoise058@gmail.com 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: 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.25 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2017 07:24:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223381 --- Comment #5 from Jim D. --- I have found the problmematical commands on the VBox FBSD-11.1 client host which invoke the previously noted "kernel WARNING/iSCSI underflow" messages: smartctl -d scsi -a -T permissive /dev/da3 smartctl -d scsi -A -T permissive /dev/da3 Same effect if "-d scsi" is not included. "smartctl --scan-open" reports da3 as "scsi" device type which is one of th= e 3 attached iSCSI Targets. Interestingly enough, the following smartctl commands from FBSD-11.1 host do NOT cause any kernel messages: smartctl -d scsi -H -T permissive /dev/da3 smartctl -d scsi -i -T permissive /dev/da3 Installed FBSD-11.1 smartmontools is at version 6.5 2016-05-07. It might be that the Synology SAN handling of the smartctl request for SAN = HDD smartmon attributes from the installed SAN hard drive is problematical, but= I don't understand why that would cause FBSD iSCSI underflow messages. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Results from Synology SAN same as obtained from FBSD-11.1 host =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D smartctl --scan-open /dev/hda -d ata # /dev/hda, ATA device /dev/sda -d scsi # /dev/sda, SCSI device -------------------------------- smartctl -d scsi -i -T permissive /dev/sda smartctl 6.5 (build date Oct 25 2017) [x86_64-linux-3.10.102] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Vendor: WDC Product: WD6000HLHX-01JJP Revision: 04.0 User Capacity: 600,127,266,816 bytes [600 GB] Logical block size: 512 bytes LU is fully provisioned Rotation Rate: 10000 rpm Logical Unit id: 0x50014ee0ae06dfb2 Serial number: WD-WX71E71WZ063 Device type: disk Local Time is: Sat Nov 18 01:13:52 2017 CST SMART support is: Unavailable - device lacks SMART capability. -------------------------------- smartctl -d scsi -a -T permissive /dev/sda smartctl 6.5 (build date Oct 25 2017) [x86_64-linux-3.10.102] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Vendor: WDC Product: WD6000HLHX-01JJP Revision: 04.0 User Capacity: 600,127,266,816 bytes [600 GB] Logical block size: 512 bytes LU is fully provisioned Rotation Rate: 10000 rpm Logical Unit id: 0x50014ee0ae06dfb2 Serial number: WD-WX71E71WZ063 Device type: disk Local Time is: Sat Nov 18 01:16:00 2017 CST SMART support is: Unavailable - device lacks SMART capability. =3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D Current Drive Temperature: 0 C Drive Trip Temperature: 0 C Error Counter logging not supported [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] Device does not support Self Test logging -------------------------------- smartctl -d scsi -A -T permissive /dev/sda;echo $? smartctl 6.5 (build date Oct 25 2017) [x86_64-linux-3.10.102] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org =3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D 255 -------------------------------- smartctl -d scsi -H -T permissive /dev/sda;echo $? smartctl 6.5 (build date Oct 25 2017) [x86_64-linux-3.10.102] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org =3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D SMART Health Status: OK 255 --=20 You are receiving this mail because: You are the assignee for the bug.=