Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 07:24:59 +0000
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
Message-ID:  <bug-223381-5312-LTLR5c48Sk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223381-5312@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223381-5312@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223381

--- Comment #5 from Jim D. <randomnoise058@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 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223381-5312-LTLR5c48Sk>