* iscsi (?): Unknown VPD Code: 0xc7
@ 2017-03-23 19:27 Harald Dunkel
2017-03-23 19:59 ` Martin K. Petersen
0 siblings, 1 reply; 4+ messages in thread
From: Harald Dunkel @ 2017-03-23 19:27 UTC (permalink / raw)
To: linux-scsi
Hi folks,
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?
Every helpful hint is highly appreciated
Harri
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: iscsi (?): Unknown VPD Code: 0xc7
2017-03-23 19:27 iscsi (?): Unknown VPD Code: 0xc7 Harald Dunkel
@ 2017-03-23 19:59 ` Martin K. Petersen
0 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2017-03-23 19:59 UTC (permalink / raw)
To: Harald Dunkel; +Cc: linux-scsi
Harald Dunkel <harald.dunkel@aixigo.de> writes:
> Mar 23 19:06:30 nasl003b kernel: [38396.624678] Unknown VPD Code: 0xc7
>
> What is it trying to tell me?
That is an IBM-specific VPD page containing device-unique configuration
data. I guess it is a prerequisite for installing AIX.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: iscsi (?): Unknown VPD Code: 0xc7
@ 2017-03-24 20:16 Xose Vazquez Perez
2017-03-24 20:32 ` Xose Vazquez Perez
0 siblings, 1 reply; 4+ messages in thread
From: Xose Vazquez Perez @ 2017-03-24 20:16 UTC (permalink / raw)
To: Harald Dunkel, Hannes Reinecke, Brian King, linux-scsi
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 <hare@suse.de>
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 <hare@suse.com>
---
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},
--
1.8.5.6
Try to add "scsi_dev_flags=AIX:VDASD:0x10000000" to the kernel command
line in grub.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: iscsi (?): Unknown VPD Code: 0xc7
2017-03-24 20:16 Xose Vazquez Perez
@ 2017-03-24 20:32 ` Xose Vazquez Perez
0 siblings, 0 replies; 4+ messages in thread
From: Xose Vazquez Perez @ 2017-03-24 20:32 UTC (permalink / raw)
To: Harald Dunkel, Hannes Reinecke, Brian King, linux-scsi
On 03/24/2017 09:16 PM, Xose Vazquez Perez wrote:
> Try to add "scsi_dev_flags=AIX:VDASD:0x10000000" to the kernel
> command line in grub.
# echo "AIX:VDASD:0x10000000" > /proc/scsi/device_info
should also work.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-24 20:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 19:27 iscsi (?): Unknown VPD Code: 0xc7 Harald Dunkel
2017-03-23 19:59 ` Martin K. Petersen
-- strict thread matches above, loose matches on Subject: below --
2017-03-24 20:16 Xose Vazquez Perez
2017-03-24 20:32 ` Xose Vazquez Perez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).