ipr failing device information is received after executing vpdupdate -s command

Bug #1392152 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned
Utopic
Fix Released
Undecided
Tim Gardner
Vivid
Fix Released
High
Unassigned

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.

Revision history for this message
bugproxy (bugproxy) wrote : the patch fixes the ussye

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-115077 severity-high targetmilestone-inin1410
Luciano Chavez (lnx1138)
affects: ubuntu → linux (Ubuntu)
penalvch (penalvch)
Changed in linux (Ubuntu):
importance: Undecided → High
status: New → Triaged
tags: added: kernel-da-key
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Upstream 3185ea63907cb281cfdc5aa29aa2d855826ad16a

Changed in linux (Ubuntu Vivid):
status: Triaged → Fix Released
Changed in linux (Ubuntu Utopic):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Utopic):
status: In Progress → Fix Committed
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-utopic' to 'verification-done-utopic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-utopic
tags: added: verification-done-utopic
removed: verification-needed-utopic
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (16.7 KiB)

This bug was fixed in the package linux - 3.16.0-26.35

---------------
linux (3.16.0-26.35) utopic; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1398118

  [ Upstream Kernel Changes ]

  * Revert "drm/nouveau: punt fbcon resume out to a workqueue"
  * Revert "drm/nouveau/kms: take more care when pulling down accelerated
    fbcon"

linux (3.16.0-26.34) utopic; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1395892

  [ Chris J Arges ]

  * [Config] CONFIG_SCOM_DEBUGFS=y for powerpc/powerpc64-smp ppc64el/generic
    - LP: #1395855

  [ Tim Gardner ]

  * [Config] CONFIG_GENWQE_PLATFORM_ERROR_RECOVERY=1 for powerpc/ppc64el
    - LP: #1392021

  [ Upstream Kernel Changes ]

  * Revert "usb: dwc3: dwc3-omap: Disable/Enable only wrapper interrupts in
    prepare/complete"
    - LP: #1393401
  * Revert "iwlwifi: mvm: treat EAPOLs like mgmt frames wrt rate"
    - LP: #1393401
  * Revert "block: all blk-mq requests are tagged"
    - LP: #1393401
  * ACPI / blacklist: add Win8 OSI quirks for some Dell laptop models
    - LP: #1339456
  * PCI: Remove "no hotplug settings from platform" warning
    - LP: #1390182
  * drm/nouveau/kms: take more care when pulling down accelerated fbcon
    - LP: #1386695
  * drm/nouveau: punt fbcon resume out to a workqueue
    - LP: #1386695
  * drm/tilcdc: Fix the error path in tilcdc_load()
    - LP: #1393401
  * builddeb: put the dbg files into the correct directory
    - LP: #1393401
  * switch iov_iter_get_pages() to passing maximal number of pages
    - LP: #1393401
  * fuse: honour max_read and max_write in direct_io mode
    - LP: #1393401
  * usb: phy: return -ENODEV on failure of try_module_get
    - LP: #1393401
  * PM / clk: Fix crash in clocks management code if !CONFIG_PM_RUNTIME
    - LP: #1393401
  * rt2x00: support Ralink 5362.
    - LP: #1393401
  * wireless: rt2x00: add new rt2800usb devices
    - LP: #1393401
  * NFS: Fix /proc/fs/nfsfs/servers and /proc/fs/nfsfs/volumes
    - LP: #1393401
  * nfs: fix duplicate proc entries
    - LP: #1393401
  * ext4: check EA value offset when loading
    - LP: #1393401
  * jbd2: free bh when descriptor block checksum fails
    - LP: #1393401
  * ext4: don't check quota format when there are no quota files
    - LP: #1393401
  * target: Fix queue full status NULL pointer for SCF_TRANSPORT_TASK_SENSE
    - LP: #1393401
  * vfs: fix data corruption when blocksize < pagesize for mmaped data
    - LP: #1393401
  * ext4: fix mmap data corruption when blocksize < pagesize
    - LP: #1393401
  * ext4: grab missed write_count for EXT4_IOC_SWAP_BOOT
    - LP: #1393401
  * qla_target: don't delete changed nacls
    - LP: #1393401
  * target: Fix APTPL metadata handling for dynamic MappedLUNs
    - LP: #1393401
  * iser-target: Disable TX completion interrupt coalescing
    - LP: #1393401
  * ext4: don't orphan or truncate the boot loader inode
    - LP: #1393401
  * ext4: add ext4_iget_normal() which is to be used for dir tree lookups
    - LP: #1393401
  * ext4: fix reservation overflow in ext4_da_write_begin
    - LP: #1393401
  * ext4: Replace open coded mdata csum feature to helper function
    - LP: #1393401
  * ext4: move error ...

Changed in linux (Ubuntu Utopic):
status: Fix Committed → Fix Released
bugproxy (bugproxy)
tags: removed: verification-done-utopic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.