Topic
  • 3 replies
  • Latest Post - ‏2013-10-18T19:32:40Z by aalvarezh
aalvarezh
aalvarezh
3 Posts

Pinned topic Errors installing Oprofile on Power SLES 11 ( using zypper )

‏2013-10-17T20:58:42Z |

First, please be a little patient ... I am coming from AIX and starting to work on Linux.

I have installed a Power7 partition with Linux ( SLES 11 ). Per the instructions in this forum, I tried to follow the instructions to install Oprofile listed in the following URL:

http://pic.dhe.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliacf%2Foprofgetstart.htm

The installation of the RPM  ibm-power-repo-version.ppc.rpm completed fine.
However the next steps using zypper to continue the installation started to give errors.

1) installing the package "zypper install ibm-power-nonmanaged-sles11" completed, but with a mount error somewhere along the install :

Failed to mount 9.3.165.31:/nim/install/linuxsuse_sles11_SP3_GMC2 on /var/adm/mount/AP_0xnF1RMv: Mounting media failed (mount.nfs: access denied by server while mounting 9.3.165.31:/nim/install/linuxsuse_sles11_SP3_GMC2)

Abort, retry, ignore? [a/r/i/?] (a): r
Failed to mount 9.3.165.31:/nim/install/linuxsuse_sles11_SP3_GMC2 on /var/adm/mount/AP_0xfdoilq: Mounting media failed (mount.nfs: access denied by server while mounting 9.3.165.31:/nim/install/linuxsuse_sles11_SP3_GMC2)

 

In trying to debug the problem I found out that server 9.3.165.31 *does not* export any filesystem as "/nim/install/linuxsuse_sles11_SP3_GMC2" but the only "*sles*" mount is : "/nim/install/linuxsuse_sles11_SP3_GM" ( it is missing "C2" at the end ):

# showmount -e 9.3.165.31 | grep sles
/nim/install/linuxsuse_sles11_SP3_GM                            (everyone)

I after 2 or 3 retry attempts I ignored this error and the installation seemed to continue installing other packages. I was unclear whether *all* packages were installed correctly given the mount errors above.

2) Going on to step 3, "zypper install advance-toolchain-atversion-runtime" gave again the same mount problems as before, but this time this install failed.

I looked in the forum, but found no information on mount failures from zypper during this install process. Has anyone encountered these errors and found a solution ?

I would appreciate any responses.

  • Bill_Buros
    Bill_Buros
    167 Posts

    Re: Errors installing Oprofile on Power SLES 11 ( using zypper )

    ‏2013-10-18T12:20:10Z  

    Your zypper repos appear to be setup automatically with the NIM process you are using.   You may need to re-authenticate (re-do) the instructions for setting up that NIM install (without needing to reinstall).      I'll check on the steps to modify the zypper control files..   

  • aalvarezh
    aalvarezh
    3 Posts

    Re: Errors installing Oprofile on Power SLES 11 ( using zypper )

    ‏2013-10-18T18:57:41Z  

    Your zypper repos appear to be setup automatically with the NIM process you are using.   You may need to re-authenticate (re-do) the instructions for setting up that NIM install (without needing to reinstall).      I'll check on the steps to modify the zypper control files..   

    Bill,

    While it might be an issue with the setup, I am still a little confused, as I *did not* provide any setup information ( no instructions are given in the link I mention for prior setup ), nor was I asked for any additional information when I first installed the RPM which installed the zypper command.

    I'll look for any configuration information that would be setup by default and see if I can get this resolved.

     

  • aalvarezh
    aalvarezh
    3 Posts

    Re: Errors installing Oprofile on Power SLES 11 ( using zypper )

    ‏2013-10-18T19:32:40Z  
    • aalvarezh
    • ‏2013-10-18T18:57:41Z

    Bill,

    While it might be an issue with the setup, I am still a little confused, as I *did not* provide any setup information ( no instructions are given in the link I mention for prior setup ), nor was I asked for any additional information when I first installed the RPM which installed the zypper command.

    I'll look for any configuration information that would be setup by default and see if I can get this resolved.

     

    After some trial/error iterations, I found the problem. For some reason, the "default" configuration after install of zypper was as follows:

    perf10481:/etc # zypper repos -d
    # | Alias                                            | Name                                             | Enabled | Refresh | Priority | Type   | URI                                                                         | Service
    --+--------------------------------------------------+--------------------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------+--------
    1 | Advance Toolchain                                | Advance Toolchain                                | Yes     | Yes     |   99     | rpm-md | 
    ftp://ftp.unicamp.br/pub/linuxpatch/toolchain/at/suse/SLES_11               |        
    2 | IBM Power SDK Tools                              | IBM Power SDK Tools                              | Yes     | Yes     |   99     | rpm-md | 
    http://public.dhe.ibm.com/software/server/POWER/Linux/yum/SDK/SLES/11/ppc64 |        
    3 | IBM Power Tools                                  | IBM Power Tools                                  | Yes     | Yes     |   99     | rpm-md | 
    http://public.dhe.ibm.com/software/server/POWER/Linux/yum/IBM/SLES/11/ppc64 |        
    4 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | Yes     | Yes     |   99     | yast2  | nfs://9.3.165.31/nim/install/linuxsuse_sles11_SP3_GMC2                      |        
    

    As seen in the last entry, it shows the mount point that keep giving problems. I used the "zypper removerepo 4" and the "zypper addrepo <args>" to modify the URI to have the correct value ( i.e. *without* the "C2" ). I then restarted the "zypper install ..." that was failing with the mount and it is currently installing.