[Bug 223381] mpt driver hangs with iscsi devices and scsi drives defined in VBOX FBSD guest

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 18 07:24:59 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223381

--- Comment #5 from Jim D. <randomnoise058 at gmail.com> ---
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 the 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.

==========================
Results from Synology SAN
same as obtained from FBSD-11.1 host
==========================
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

=== START OF INFORMATION SECTION ===
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

=== START OF INFORMATION SECTION ===
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.

=== START OF READ SMART DATA SECTION ===
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

=== START OF READ SMART DATA SECTION ===
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

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

255

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-scsi mailing list