Received: by 10.223.164.221 with SMTP id h29csp2889111wrb; Thu, 2 Nov 2017 20:39:49 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Saa1RFIOolqWJXCSxpx2pA/un3fL8C04nSJ0djJplltrfUbvjYxQ+TXmbl4rgd//9IgJbI X-Received: by 10.98.70.147 with SMTP id o19mr6175523pfi.61.1509680389757; Thu, 02 Nov 2017 20:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509680389; cv=none; d=google.com; s=arc-20160816; b=waZD7WXQsJM9GsrdQjccbM9ubtRnKQaBXZOBqG/5ub548Rf7pbD/EP7GZtNtrRZLeC Rm0JSSCQUPo1SBE2ZfIVERsGioaDV0O3w21nG4RvnkUcx2c7Ag6wdIoPw+zp0uSp4AOM nEuMeURQH41r01CpYD67H8FDzDvAIVFqsooziQZh9Bl1QBjnyeIoM5F7g48eli/LLYzR AxGNfwUGkJ/JJUy9tyKtzl6JfUvi02IZ3cGH9hvrg/E3lGaFCXe4BQLVurmp12jYLqKb pK2EIbIhRLJdRQNfhRTDWVaCmo8lDNXdw3Lk4fb+yAzYu+jP35qoG9CrgD3unp+hE4hU veWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :arc-authentication-results; bh=tveTc+6v24mCvhD0EEJFEeyfcuqypWF9L5f3he4S7wo=; b=UmHjlXs6ikHYwx66ybyDx2+h4LK2kxTeBoJGOUtZkFgnaYPgAbK4Z4YPH22JLgJwrG e+z7T0eEsEsyH5E0tdwjR9abRyf+aztuZU1+G1gYMl2IRaPuVz5AlqRGOzzBL5LBnuX6 zwDSH1O6vD9PtHoTetKjHxPfeGBFC/lNbd6CZfaG68cFkxM3lUNZdqUm1YUI3F62wHK1 IDq4AkmB9SrRrP5wMJaxlT5SHHsBrKyNHdR+fI4S2xeZ+VwMTYmTtzQx39osIvF+4tlt 5eGNqWgqSWzdc4fjH6fgyBIA61R7YMYhWHcFvdrb3Macl/qmUlJKwYUAs56EGFq5ew0A 4u8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si4008620pgv.186.2017.11.02.20.39.36; Thu, 02 Nov 2017 20:39:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965103AbdKCDjA convert rfc822-to-8bit (ORCPT + 97 others); Thu, 2 Nov 2017 23:39:00 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:47903 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965076AbdKCDi6 (ORCPT ); Thu, 2 Nov 2017 23:38:58 -0400 Received: from mail-qt0-f197.google.com ([209.85.216.197]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1eASoq-00089x-Q3 for linux-kernel@vger.kernel.org; Fri, 03 Nov 2017 03:38:56 +0000 Received: by mail-qt0-f197.google.com with SMTP id 1so1133270qtn.16 for ; Thu, 02 Nov 2017 20:38:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=s+vHwd8T7tQrPFCH1C3mJJUkIvLbgLw970HG9gdhErc=; b=tyUNoXX5JfoN06pVvMtzBe2y5t16X0d0EzScKNKA53AX51+mZ84+soZCJ+JGJMNyks unV6fPyHYpBd5WnVroAJ4yq2te+twCoSx/HmgvjK+EQuw+Y3UxY+y0SICfg+OGw2UDty jrDvR1+E34GvgeEVRgbwwmav8daeFRzOYAB0u5BFghRjnXXvG68hy6HUuiHuyDX27rVQ W+zf8hrieRo7dnfOD497Tm3WMqTbvELSpRiIFEUAIaaiPFUsOIjvu7ZXek+pq0ct7/HJ aWwWA77peOOhuu1jXbMqFxoTnG2B6F1zn7rtkrBrt9+CUhOZr+MH2l5PQujOabvKvxGe Cbrw== X-Gm-Message-State: AMCzsaUDrm0XxppG9DQ1BfmpmNje6KR0cWq/IJVx3W6aCE5wAm2Y2erj 14LVo1IDl9bqwt527O1yQp7P3nCgimlXQ0PZLWJ+GspCMo8wdg0D4yG/6sqAMCS/bHqlDIO+mIj qjvQQrQjF6U5Jjj1w1MrPfR4tLUamXYDBL/+di66+UZ/ULV0nwV48ipfCtw== X-Received: by 10.200.45.226 with SMTP id q31mr8645069qta.288.1509680335787; Thu, 02 Nov 2017 20:38:55 -0700 (PDT) X-Received: by 10.200.45.226 with SMTP id q31mr8645057qta.288.1509680335550; Thu, 02 Nov 2017 20:38:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.59.114 with HTTP; Thu, 2 Nov 2017 20:38:54 -0700 (PDT) In-Reply-To: References: <1ad520f6-a1d8-5ce7-ee74-83edfdbfd39b@suse.de> <486fc58e-ac8f-cb48-4757-0b9a8e1c2121@suse.de> From: Gavin Guo Date: Fri, 3 Nov 2017 11:38:54 +0800 Message-ID: Subject: Re: mptsas driver cannot detect hotplugging disk with the LSI SCSI SAS1068 controller in Ubuntu guest on VMware To: Hannes Reinecke Cc: linux-scsi@vger.kernel.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 28, 2017 at 11:35 AM, Gavin Guo wrote: > On Fri, Oct 27, 2017 at 10:53 PM, Hannes Reinecke wrote: >> On 10/27/2017 04:02 PM, Gavin Guo wrote: >>> Hi Hannes, >>> >>> Thank you for looking into the issue. If there is anything I can help >>> to test the patch? I appreciate your help. Thank you. >>> >> If you had checked linux-scsi you would have found this patch: >> '[PATCH] mptsas: Fixup device hotplug for VMWare ESXi', which I guess is >> already scheduled for inclusion in 4.14. >> Anything else I could help you with? >> >> Cheers, >> >> Hannes >> -- >> Dr. Hannes Reinecke Teamlead Storage & Networking >> hare@suse.de +49 911 74053 688 >> SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg >> GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton >> HRB 21284 (AG Nürnberg) > > Really appreciate your help. I will proceed the testing and keep you posted. Hello Hannes, I've tested the MPT SAS device controller, the patch works perfectly. However, the MPT SPI still cannot work with the hotplugging. The lspci of the LSI SPI device is listed: 00:10.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI [1000:0030] (rev 01) Subsystem: VMware LSI Logic Parallel SCSI Controller [15ad:1976] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-