From patchwork Fri Mar 24 20:16:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9644007 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E46E2601E9 for ; Fri, 24 Mar 2017 20:17:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D50582684F for ; Fri, 24 Mar 2017 20:17:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C82932787C; Fri, 24 Mar 2017 20:17:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DD002684F for ; Fri, 24 Mar 2017 20:17:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967321AbdCXUQ4 (ORCPT ); Fri, 24 Mar 2017 16:16:56 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35884 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936093AbdCXUQt (ORCPT ); Fri, 24 Mar 2017 16:16:49 -0400 Received: by mail-wm0-f65.google.com with SMTP id x124so149074wmf.3 for ; Fri, 24 Mar 2017 13:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:mime-version :content-transfer-encoding; bh=WuNA1RUkoFYqHv3/b40VZYTNEswtYuu25+zeeNHzR7U=; b=c6v01VgRALk1buT6RWHhopQit/Ogm3OIpvUbBA+tnAY5CdTo5cysELvMv8BLmkXtco z35OA+HvhNsseuN2+wVQPlceP3Z+nLftsVBGvumMc3MQkBQ1BSx6/eXYrwinPG0t5fow FzWYA01ZIawIOOHpqbTIeaKw8O6ytTY+oS7CnaO+hWKl83DaJrOOMO+Yb5ZU8TPAT7Li l6/cGZYDxRMV6DkfK8VckIxy0qVeJI+fYzlOEUgDXPSZ4iXzJCP6SDOchvipaW3ks0Xq LVTZ0QnsGUAtzpO0uC6qswOOK0fkX1SprHskW0Q/EKur0SEG1FU/e/hrw63kc1mnQPgb NI1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:mime-version :content-transfer-encoding; bh=WuNA1RUkoFYqHv3/b40VZYTNEswtYuu25+zeeNHzR7U=; b=pqOxOXReNY75izxz7QdTAhvrr8Z7NmeM3BVVHAHv/NBfFy08HU3peK9uHgM8nTP84j fkrxPUGNNSfZnyYgHyh0jI+IfbJEW/u18Ri3ZFmith5papLpMB+xOKAw04x+LQLlQOBS vMDq96cWd2dDjVP6YF2JKz6fC5dgxG71j8GhQMFWgOkq1WCHBXr1iTweuIaR4V27TQUw RdtDWwGt3EscA1vggRJ3huneCrSLs1jPHsT+YrnNQlPf/xUObCkJepYYil8k2FGXrwAn GID+2K1LYGdVTTH4mB7byW5g8SaCCjZ9VCAQTY6dswtxxI9mTpn5QX14NGhQ6lNZUL7i z2Mg== X-Gm-Message-State: AFeK/H01e3RjXbhY8bn9ONpZbaVpwxJl4PBxWcbpb2zlT6UdPJ0P7ccUT784AgXww9mb1Q== X-Received: by 10.28.84.18 with SMTP id i18mr4624119wmb.130.1490386577465; Fri, 24 Mar 2017 13:16:17 -0700 (PDT) Received: from localhost ([46.222.133.126]) by smtp.gmail.com with ESMTPSA id x1sm4100980wrd.63.2017.03.24.13.16.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Mar 2017 13:16:16 -0700 (PDT) To: Harald Dunkel , Hannes Reinecke , Brian King , linux-scsi From: Xose Vazquez Perez Subject: Re: iscsi (?): Unknown VPD Code: 0xc7 Message-ID: <6eb8196f-7116-6cd5-8039-25b9a956c19a@gmail.com> Date: Fri, 24 Mar 2017 21:16:14 +0100 MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Harald Dunkel wrote: > I am trying to use LIO on amd64 to provide block devices to some > AIX 6.1 and 7.1 hosts. It works pretty well, except that I cannot > create rootvg wpars on AIX 7.1. (rootvg wpars are containers > running on their own volume group.) > > The error message on AIX is > > bash-4.3# mkwpar -O -D rootvg=yes devname=hdisk3 -n sample > ********************************************************************** > ERROR > mkwpar: 0960-587 hdisk3 has un-supported subclass type. > > ********************************************************************** > Kernel is 4.9.13 (Debian backports). It shows several (maybe unrelated) > lines in kernel.log > > : > Mar 23 08:46:05 nasl003b kernel: [ 1172.226643] Unknown VPD Code: 0xc7 > Mar 23 08:46:05 nasl003b kernel: [ 1172.279368] Unknown VPD Code: 0xc7 > Mar 23 08:46:06 nasl003b kernel: [ 1172.331243] Unknown VPD Code: 0xc7 > Mar 23 08:46:06 nasl003b kernel: [ 1172.380074] Unknown VPD Code: 0xc7 > Mar 23 08:47:02 nasl003b kernel: [ 1229.106384] Unknown VPD Code: 0xc7 > Mar 23 19:06:30 nasl003b kernel: [38396.514881] Unknown VPD Code: 0xc7 > Mar 23 19:06:30 nasl003b kernel: [38396.576499] Unknown VPD Code: 0xc7 > Mar 23 19:06:30 nasl003b kernel: [38396.624678] Unknown VPD Code: 0xc7 > : > > What is it trying to tell me? Maybe related to this SUSE patch(missing upstream): From 09040ffe64b67a66453c7cc7bf2d645a0b27aeaf Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Thu, 27 Oct 2016 09:20:23 +0200 Subject: [PATCH] scsi: Add 'AIX VDASD' to blacklist References: bsc#1006469 Patch-Mainline: submitted to linux-scsi 2016/10/27 The AIX VDASD devices do support VPD pages, but implement only SPC. So set BLIST_TRY_VPD_PAGS to correctly display the VPD information in sysfs. Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi_devinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c index cab178f..8d66051 100644 --- a/drivers/scsi/scsi_devinfo.c +++ b/drivers/scsi/scsi_devinfo.c @@ -136,6 +136,7 @@ static struct { {"3PARdata", "VV", NULL, BLIST_REPORTLUN2}, {"ADAPTEC", "AACRAID", NULL, BLIST_FORCELUN}, {"ADAPTEC", "Adaptec 5400S", NULL, BLIST_FORCELUN}, + {"AIX", "VDASD", NULL, BLIST_TRY_VPD_PAGES}, {"AFT PRO", "-IX CF", "0.0>", BLIST_FORCELUN}, {"BELKIN", "USB 2 HS-CF", "1.95", BLIST_FORCELUN | BLIST_INQUIRY_36}, {"BROWNIE", "1200U3P", NULL, BLIST_NOREPORTLUN},