** Tags added: kernel-da-key -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1392152
Title: ipr failing device information is received after executing vpdupdate -s command Status in “linux” package in Ubuntu: Triaged Bug description: ---Problem Description--- ipr failing device information is received after executing vpdupdate -s command ---uname output--- Linux lep8d 3.16.0-9-generic #14-Ubuntu SMP Fri Aug 15 15:03:36 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux Machine Type = P8 ---Steps to Reproduce--- Install Ubuntu 14.10 iso on local hard disk of P8 machine in Non Virtualized environment. Then installed the lsvpd and iprutils package available in ubuntu repo. root@lep8d:~# vpdupdate -s sh: 1: Syntax error: EOF in backquote substitution root@lep8d:~# echo $? 0 root@lep8d:~# dmesg [ 7370.262781] ipr 0001:04:00.0: FFF4: Command to logical unit failed [ 7370.262789] ipr: -----Failing Device Information----- [ 7370.262791] ipr: World Wide Unique ID: 5000C500724B2FC30000000000000000 [ 7370.262794] ipr: Device Resource Path: 00-01 [ 7370.262796] ipr: Primary Problem Description: Invalid command opcode/data [ 7370.262798] ipr: Secondary Problem Description: Status Check [ 7370.262800] ipr: SCSI Sense Data: [ 7370.262803] ipr: 00000000: 70000500 00000018 00000000 240001CF [ 7370.262805] ipr: 00000010: 00020000 05240001 FFFFFFFF FFFF0000 [ 7370.262807] ipr: SCSI Command Descriptor Block: [ 7370.262809] ipr: 00000000: 12008300 24040000 00000000 00000000 [ 7370.262811] ipr: Additional IOA Data: [ 7370.262813] ipr: 00000000: 455300CC 05B03B04 00000024 04000010 [ 7370.262816] ipr: 00000010: 00000000 0B66B200 0B66B7C0 00000000 [ 7370.262818] ipr: 00000020: 00000000 0B66B0E0 88008000 00000024 [ 7370.262820] ipr: 00000030: 00000000 00000000 00005D80 8F000000 [ 7370.262823] ipr: 00000040: 00C095B5 00000000 00000000 00000000 [ 7370.262825] ipr: 00000050: 00000000 00000000 00000000 00000000 [ 7370.262827] ipr: 00000060: 00000000 00000000 00000000 00000000 [ 7370.262829] ipr: 00000070: 00000000 00000000 00000000 00000000 [ 7370.262831] ipr: 00000080: 00000000 D4000001 80000000 FFFFFFFF [ 7370.262833] ipr: 00000090: FFFFFFFF 00000001 2AEB6BBF 00000000 [ 7370.262836] ipr: 000000A0: 00000000 00000000 0131BC24 00000000 [ 7370.262838] ipr: 000000B0: 01608740 E0030000 E0000060 04448502 [ 7370.262840] ipr: 000000C0: 00000024 12008300 24040000 00000000 [ 7370.262842] ipr: 000000D0: 43440010 12008300 24040000 00000000 [ 7370.262844] ipr: 000000E0: 00000000 45480020 03001EB0 12000000 [ 7370.262847] ipr: 000000F0: 046E0000 05240001 01011EB0 12000000 [ 7370.262849] ipr: 00000100: 01448100 05240001 45540004 00000192 [ 7370.262851] ipr: 00000110: 43490018 00000002 0001FFFF FFFFFFFF [ 7370.262853] ipr: 00000120: 5000C500 724B2FC1 00001770 545209C0 [ 7370.276107] ipr 0001:04:00.0: FFF4: Command to logical unit failed [ 7370.276110] ipr: -----Failing Device Information----- [ 7370.276112] ipr: World Wide Unique ID: 5000C500724B2FC30000000000000000 [ 7370.276114] ipr: Device Resource Path: 00-01 [ 7370.276117] ipr: Primary Problem Description: Invalid command opcode/data [ 7370.276119] ipr: Secondary Problem Description: Status Check [ 7370.276122] ipr: SCSI Sense Data: [ 7370.276124] ipr: 00000000: 70000500 00000018 00000000 240001CF [ 7370.276126] ipr: 00000010: 00020000 05240001 FFFFFFFF FFFF0000 [ 7370.276128] ipr: SCSI Command Descriptor Block: [ 7370.276130] ipr: 00000000: 1200C700 24040000 00000000 00000000 [ 7370.276132] ipr: Additional IOA Data: [ 7370.276134] ipr: 00000000: 455300CC 05B03B04 00000024 04000010 [ 7370.276137] ipr: 00000010: 00000000 0B668A00 0B668FC0 00000000 [ 7370.276139] ipr: 00000020: 00000000 0B6688E0 88008000 00000024 [ 7370.276141] ipr: 00000030: 00000000 00000000 00006080 8F000000 [ 7370.276143] ipr: 00000040: 00C398B8 00000000 00000000 00000000 [ 7370.276146] ipr: 00000050: 00000000 00000000 00000000 00000000 [ 7370.276148] ipr: 00000060: 00000000 00000000 00000000 00000000 [ 7370.276150] ipr: 00000070: 00000000 00000000 00000000 00000000 [ 7370.276152] ipr: 00000080: 00000000 D4000001 80000000 FFFFFFFF [ 7370.276155] ipr: 00000090: FFFFFFFF 00000001 2AEB70D7 00000000 [ 7370.276157] ipr: 000000A0: 00000000 00000000 0131B124 00000000 [ 7370.276160] ipr: 000000B0: 01608740 E0030000 E0000060 04448502 [ 7370.276162] ipr: 000000C0: 00000024 1200C700 24040000 00000000 [ 7370.276164] ipr: 000000D0: 43440010 1200C700 24040000 00000000 [ 7370.276167] ipr: 000000E0: 00000000 45480020 03001EB0 12000000 [ 7370.276169] ipr: 000000F0: 046E0000 05240001 01011EB0 12000000 [ 7370.276172] ipr: 00000100: 01448100 05240001 45540004 00000186 [ 7370.276174] ipr: 00000110: 43490018 00000002 0001FFFF FFFFFFFF [ 7370.276176] ipr: 00000120: 5000C500 724B2FC1 00001770 545209C0 [ 7370.326099] iprconfig[22394]: unhandled signal 11 at 0000000000000000 nip 000000001001c000 lr 000000001001bfec code 30001 [ 7370.432526] ipr 0001:04:00.0: FFF4: Command to logical unit failed [ 7370.432529] ipr: -----Failing Device Information----- [ 7370.432531] ipr: World Wide Unique ID: 5000C50067E109FB0000000000000000 [ 7370.432534] ipr: Device Resource Path: 00-02 [ 7370.432536] ipr: Primary Problem Description: Invalid command opcode/data [ 7370.432539] ipr: Secondary Problem Description: Status Check [ 7370.432541] ipr: SCSI Sense Data: [ 7370.432543] ipr: 00000000: 70000500 00000018 00000000 240001CF [ 7370.432546] ipr: 00000010: 00020000 05240001 FFFFFFFF FFFF0000 [ 7370.432548] ipr: SCSI Command Descriptor Block: [ 7370.432550] ipr: 00000000: 12008300 24040000 00000000 00000000 [ 7370.432552] ipr: Additional IOA Data: [ 7370.432554] ipr: 00000000: 455300CC 06B03B04 00000024 04000020 [ 7370.432556] ipr: 00000010: 00000000 0B655200 0B6557C0 00000000 [ 7370.432559] ipr: 00000020: 00000000 0B6550E0 88008000 00000024 [ 7370.432561] ipr: 00000030: 00000000 00000000 00006380 8F000000 [ 7370.432563] ipr: 00000040: 00CD96D6 00000000 00000000 00000000 [ 7370.432565] ipr: 00000050: 00000000 00000000 00000000 00000000 [ 7370.432567] ipr: 00000060: 00000000 00000000 00000000 00000000 [ 7370.432570] ipr: 00000070: 00000000 00000000 00000000 00000000 [ 7370.432572] ipr: 00000080: 00000000 D4000001 80000000 FFFFFFFF [ 7370.432574] ipr: 00000090: FFFFFFFF 00000001 2AEBAC59 00000000 [ 7370.432576] ipr: 000000A0: 00000000 00000000 01318424 00000000 [ 7370.432578] ipr: 000000B0: 01608740 E0030000 E0000060 04448502 [ 7370.432581] ipr: 000000C0: 00000024 12008300 24040000 00000000 [ 7370.432583] ipr: 000000D0: 43440010 12008300 24040000 00000000 [ 7370.432585] ipr: 000000E0: 00000000 45480020 03001EB0 12000000 [ 7370.432587] ipr: 000000F0: 046E0000 05240001 01011EB0 12000000 [ 7370.432589] ipr: 00000100: 01448100 05240001 45540004 0000019D [ 7370.432592] ipr: 00000110: 43490018 00000002 0002FFFF FFFFFFFF [ 7370.432594] ipr: 00000120: 5000C500 67E109F9 00001770 545209C0 [ 7370.446354] ipr 0001:04:00.0: FFF4: Command to logical unit failed [ 7370.446357] ipr: -----Failing Device Information----- [ 7370.446359] ipr: World Wide Unique ID: 5000C50067E109FB0000000000000000 [ 7370.446361] ipr: Device Resource Path: 00-02 [ 7370.446363] ipr: Primary Problem Description: Invalid command opcode/data [ 7370.446366] ipr: Secondary Problem Description: Status Check [ 7370.446368] ipr: SCSI Sense Data: [ 7370.446370] ipr: 00000000: 70000500 00000018 00000000 240001CF [ 7370.446372] ipr: 00000010: 00020000 05240001 FFFFFFFF FFFF0000 [ 7370.446374] ipr: SCSI Command Descriptor Block: [ 7370.446377] ipr: 00000000: 1200C700 24040000 00000000 00000000 [ 7370.446378] ipr: Additional IOA Data: [ 7370.446380] ipr: 00000000: 455300CC 06B03B04 00000024 04000020 [ 7370.446383] ipr: 00000010: 00000000 0B652A00 0B652FC0 00000000 [ 7370.446385] ipr: 00000020: 00000000 0B6528E0 88008000 00000024 [ 7370.446387] ipr: 00000030: 00000000 00000000 00006680 8F000000 [ 7370.446390] ipr: 00000040: 00D098D8 00000000 00000000 00000000 [ 7370.446392] ipr: 00000050: 00000000 00000000 00000000 00000000 [ 7370.446394] ipr: 00000060: 00000000 00000000 00000000 00000000 [ 7370.446397] ipr: 00000070: 00000000 00000000 00000000 00000000 [ 7370.446399] ipr: 00000080: 00000000 D4000001 80000000 FFFFFFFF [ 7370.446401] ipr: 00000090: FFFFFFFF 00000001 2AEBB19F 00000000 [ 7370.446404] ipr: 000000A0: 00000000 00000000 01317924 00000000 [ 7370.446406] ipr: 000000B0: 01608740 E0030000 E0000060 04448502 [ 7370.446408] ipr: 000000C0: 00000024 1200C700 24040000 00000000 [ 7370.446410] ipr: 000000D0: 43440010 1200C700 24040000 00000000 [ 7370.446413] ipr: 000000E0: 00000000 45480020 03001EB0 12000000 [ 7370.446415] ipr: 000000F0: 046E0000 05240001 01011EB0 12000000 [ 7370.446417] ipr: 00000100: 01448100 05240001 45540004 0000018E [ 7370.446420] ipr: 00000110: 43490018 00000002 0002FFFF FFFFFFFF [ 7370.446422] ipr: 00000120: 5000C500 67E109F9 00001770 545209C0 [ 7370.452244] iprconfig[22399]: unhandled signal 11 at 0000000000000000 nip 000000001001c000 lr 000000001001bfec code 30001 [ 7370.556659] ipr 0001:04:00.0: FFF4: Command to logical unit failed [ 7370.556664] ipr: -----Failing Device Information----- [ 7370.556666] ipr: World Wide Unique ID: 5000C500724895E30000000000000000 [ 7370.556669] ipr: Device Resource Path: 00-03 [ 7370.556671] ipr: Primary Problem Description: Invalid command opcode/data [ 7370.556673] ipr: Secondary Problem Description: Status Check [ 7370.556675] ipr: SCSI Sense Data: [ 7370.556677] ipr: 00000000: 70000500 00000018 00000000 240001CF [ 7370.556680] ipr: 00000010: 00020000 05240001 FFFFFFFF FFFF0000 [ 7370.556682] ipr: SCSI Command Descriptor Block: [ 7370.556684] ipr: 00000000: 12008300 24040000 00000000 00000000 [ 7370.556686] ipr: Additional IOA Data: [ 7370.556688] ipr: 00000000: 455300CC 07B03B04 00000024 04000030 [ 7370.556690] ipr: 00000010: 00000000 0B63F200 0B63F7C0 00000000 [ 7370.556693] ipr: 00000020: 00000000 0B63F0E0 88008000 00000024 [ 7370.556695] ipr: 00000030: 00000000 00000000 00006980 8F000000 [ 7370.556697] ipr: 00000040: 00DA8DED 00000000 00000000 00000000 [ 7370.556700] ipr: 00000050: 00000000 00000000 00000000 00000000 [ 7370.556702] ipr: 00000060: 00000000 00000000 00000000 00000000 [ 7370.556704] ipr: 00000070: 00000000 00000000 00000000 00000000 [ 7370.556706] ipr: 00000080: 00000000 D4000001 80000000 FFFFFFFF [ 7370.556709] ipr: 00000090: FFFFFFFF 00000001 2AEBDBD4 00000000 [ 7370.556711] ipr: 000000A0: 00000000 00000000 01314E24 00000000 [ 7370.556713] ipr: 000000B0: 01608740 E0030000 E0000060 04448502 [ 7370.556715] ipr: 000000C0: 00000024 12008300 24040000 00000000 [ 7370.556718] ipr: 000000D0: 43440010 12008300 24040000 00000000 [ 7370.556720] ipr: 000000E0: 00000000 45480020 03001EB0 12000000 [ 7370.556723] ipr: 000000F0: 046E0000 05240001 01011EB0 12000000 [ 7370.556725] ipr: 00000100: 01448100 05240001 45540004 00000196 [ 7370.556727] ipr: 00000110: 43490018 00000002 0003FFFF FFFFFFFF [ 7370.556729] ipr: 00000120: 5000C500 724895E1 00001770 545209C0 [ 7370.570109] ipr 0001:04:00.0: FFF4: Command to logical unit failed [ 7370.570111] ipr: -----Failing Device Information----- [ 7370.570114] ipr: World Wide Unique ID: 5000C500724895E30000000000000000 [ 7370.570116] ipr: Device Resource Path: 00-03 [ 7370.570118] ipr: Primary Problem Description: Invalid command opcode/data [ 7370.570120] ipr: Secondary Problem Description: Status Check [ 7370.570123] ipr: SCSI Sense Data: [ 7370.570125] ipr: 00000000: 70000500 00000018 00000000 240001CF [ 7370.570127] ipr: 00000010: 00020000 05240001 FFFFFFFF FFFF0000 [ 7370.570129] ipr: SCSI Command Descriptor Block: [ 7370.570131] ipr: 00000000: 1200C700 24040000 00000000 00000000 [ 7370.570133] ipr: Additional IOA Data: [ 7370.570135] ipr: 00000000: 455300CC 07B03B04 00000024 04000030 [ 7370.570137] ipr: 00000010: 00000000 0B63CA00 0B63CFC0 00000000 [ 7370.570139] ipr: 00000020: 00000000 0B63C8E0 88008000 00000024 [ 7370.570142] ipr: 00000030: 00000000 00000000 00006C80 8F000000 [ 7370.570144] ipr: 00000040: 00DD90F0 00000000 00000000 00000000 [ 7370.570146] ipr: 00000050: 00000000 00000000 00000000 00000000 [ 7370.570148] ipr: 00000060: 00000000 00000000 00000000 00000000 [ 7370.570151] ipr: 00000070: 00000000 00000000 00000000 00000000 [ 7370.570153] ipr: 00000080: 00000000 D4000001 80000000 FFFFFFFF [ 7370.570155] ipr: 00000090: FFFFFFFF 00000001 2AEBE0F4 00000000 [ 7370.570158] ipr: 000000A0: 00000000 00000000 01314324 00000000 [ 7370.570160] ipr: 000000B0: 01608740 E0030000 E0000060 04448502 [ 7370.570162] ipr: 000000C0: 00000024 1200C700 24040000 00000000 [ 7370.570164] ipr: 000000D0: 43440010 1200C700 24040000 00000000 [ 7370.570167] ipr: 000000E0: 00000000 45480020 03001EB0 12000000 [ 7370.570169] ipr: 000000F0: 046E0000 05240001 01011EB0 12000000 [ 7370.570172] ipr: 00000100: 01448100 05240001 45540004 0000018B [ 7370.570174] ipr: 00000110: 43490018 00000002 0003FFFF FFFFFFFF [ 7370.570176] ipr: 00000120: 5000C500 724895E1 00001770 545209C0 [ 7370.575630] iprconfig[22402]: unhandled signal 11 at 0000000000000000 nip 000000001001c000 lr 000000001001bfec code 30001 [ 7383.229996] iprconfig[22435]: unhandled signal 11 at 0000000000000000 nip 000000001001c000 lr 000000001001bfec code 30001 [100788.615934] ipr: SCSI Command Descriptor Block: [100788.615938] ipr: 00000000: 12008300 24040000 00000000 00000000 This indicates you are sending an Inquiry command for page 0x83, but you aren't setting the EVPD bit in byte 1, which is why the command is failing. The CDB should look like: 1201830024 ^^ http://git.kernel.org/cgit/linux/kernel/git/jejb/scsi.git/commit/drivers/scsi/ipr.c?h =for-next&id=3185ea63907cb281cfdc5aa29aa2d855826ad16a This is upstream link for the patch. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1392152/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp