Sunday 23 February 2014

DLPAR REMOVE I/O resources failed

DLPAR errors... How to remove the child pci


Two FC cards newly added in Frame.... Through HMC



U5791.001.9920WPN-P1-C10
U5791.001.9920WWC-P1-C10  


Test the FC card by doing DLPAR to any LPAR in that frame... and do cfgmgr to list the new fc card.


If you do, rmdev -Rdl on the new fcs and then if you do DLPAR to remove the cards from server, then you may get the below error...

ERROR:
======
DLPAR REMOVE I/O resources failed: The I/O slot dynamic logical partitioning operation failed. Here are the I/O Slot IDs that failed and the reasons for failure:
0931-029 The specified slot contains a device or devices that are currently configured. Unconfigure the following device or devices with the rmdev command and try again. pci4 U5791.001.9920WPN-P1-C10 (21050237) 


Solution:
======

After rmdev -Rdl on the fcs, you need to remove the child pci devices (NOT THE PARENT pci)

To identify the child pci:
================


bidbs1:/root # prtconf | grep -i pci
0516-010 : Volume group must be varied on; use varyonvg command.
  Model Implementation: Multiple Processor, PCI bus
* pci3             U5791.001.9920WWC-P1                                           PCI Bus
* pci5             U5791.001.9920WWC-P1                                           PCI Bus
* pci2             U5791.001.9920WPN-P1                                           PCI Bus
* pci4             U5791.001.9920WPN-P1                                           PCI Bus
* pci1             U5791.001.9920WWC-P2                                           PCI Bus
* pci0             U5791.001.9920WPN-P2                                           PCI Bus



server1:/root # lsdev -p pci3
pci5 Available 03-0e PCI Bus
bidbs1:/root # lsdev -p pci5
fcs6 Available 05-08 FC Adapter
fcs7 Available 05-09 FC Adapter
bidbs1:/root # lsdev -p pci2
pci4 Available 02-0e PCI Bus
bidbs1:/root # lsdev -p pci4
fcs4 Available 04-08 FC Adapter
fcs5 Available 04-09 FC Adapter


So, we need to remove pci4 and 5.... 


server1:/root # rmdev -l pci4
pci4 Defined
server1:/root # rmdev -dl pci4
pci4 deleted
server1:/root # rmdev -l pci5
pci5 Defined
server1:/root # rmdev -dl pci5


Now, do dlpar to remove the fc card from server and let it be free in frame....

2 comments:

  1. In HMC while performing DLPAR Operation,we got the following error message.

    Dynamic move of I/O resources failed: The I/O slot dynamic partitioning operation failed. Here are the I/O slot IDs that failed and the reasons for failure:

    0931-029 The specified slot contains a device or devices that are currently
    configured. Unconfigure the following device or devices with the rmdev
    command and try again.

    usbhc0

    U78CD.001.FZH9079-P2-C6 (21060156)
    HSCL2930

    ===============================================================================================================
    These commands are being run on PARENT LPAR where usbhc0 is the USB CD-ROM

    # lsdev -Cc cdrom
    cd0 Available 0.4 USB DVD R/RW or RAM Drive
    # rmdev -Rdl cd0
    cd0 deleted
    #
    # prtconf |grep -i pci
    Model Implementation: Multiple Processor, PCI bus
    * pci9 U78CD.001.FZH9079-P2 PCI Express Bus
    + usbhc0 U78CD.001.FZH9079-P2-C6 PCIe2 USB 3.0 xHCI 4-Port Adapter (4c10418214109e04)
    * pci7 U78CD.001.FZH9082-P2 PCI Express Bus
    + ent4 U78CD.001.FZH9082-P2-C6-T1 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
    + ent5 U78CD.001.FZH9082-P2-C6-T2 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
    + ent6 U78CD.001.FZH9082-P2-C6-T3 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
    + ent7 U78CD.001.FZH9082-P2-C6-T4 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
    * pci6 U78CD.001.FZH9082-P2 PCI Express Bus
    + fcs2 U78CD.001.FZH9082-P2-C4-T1 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
    + fcs3 U78CD.001.FZH9082-P2-C4-T2 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
    * pci5 U78CD.001.FZH9082-P2 PCI Express Bus
    + ent0 U78CD.001.FZH9082-P2-C3-T1 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
    + ent1 U78CD.001.FZH9082-P2-C3-T2 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
    + ent2 U78CD.001.FZH9082-P2-C3-T3 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
    + ent3 U78CD.001.FZH9082-P2-C3-T4 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
    * pci4 U78CD.001.FZH9082-P2 PCI Express Bus
    + sissas0 U78CD.001.FZH9082-P2-C2-T1 PCI Express x8 Ext Dual-x4 3Gb SAS Adapter
    * pci3 U78CD.001.FZH9082-P2 PCI Express Bus
    + fcs0 U78CD.001.FZH9082-P2-C1-T1 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
    + fcs1 U78CD.001.FZH9082-P2-C1-T2 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)

    # rmdev -l usbhc0
    Method error (/usr/lib/methods/ucfgdevice):
    0514-062 Cannot perform the requested function because the
    specified device is busy.


    ReplyDelete
  2. NVERVP602#lsdev -C | grep -i usb
    usb0 Available USB System Software
    usbhc0 Available 03-00 PCIe2 USB 3.0 xHCI 4-Port Adapter (4c10418214109e04)
    NVERVP602#rmdev -l usb0
    usb0 Defined
    NVERVP602#rmdev -l usbhc0
    usbhc0 Defined
    NVERVP602#rmdev -dl usbhc0
    usbhc0 deleted


    Now You will be able to remove the USB DVD ROM Through DLPAR operations from HMC ..
    Thanks :
    SASIKUMAR ARUMUGAM .
    91-9900001385

    ReplyDelete