AIX, install and NIC

Posted on 2012-08-31
Last Modified: 2012-08-31
I installed AIX 7.1 on an LPAR.  then I set up the TCPIP for en2

I choose 'yes' for start now and received an OK message response.

So I logged into the system as root, but when I tried to ping my gateway it failed

I had never hit the "Task Completed[ - Exit to Login", so I rebooted and went back to the screen I had originally configured the NIC.  I hit the start now again on the TCPIP config again, and this time it fails

How can I diagnose this problem ?
Question by:Los Angeles1
    LVL 68

    Expert Comment

    >> this time it fails <<

    As always: Which message(s) do you see? Something in errpt?

    Author Comment

    by:Los Angeles1
    I have 4 NIC's

    I can not configure en0 or en1, as I get the following error when I select them using smitty mktcpip

    Move cursor to desired item and press Enter.                                    
      Minimum Configuration & Startup                                               
                                    ERROR MESSAGE                                 
       Press Enter or Cancel to return to the                                     
         1800-106 An error occurred:                                              
         lsattr: 0514-520 Cannot find information in the predefined device        
                 configuration database for the following:                        
       F1=Help                 F2=Refresh              F3=Cancel                  
    F1 F8=Image                F10=Exit                Enter=Do                   

    Open in new window

    I can configure the other 2 NIC's (en2 and en3), and when I configure and start them with the START NOW option enabled, I get the following:

    Command: OK            stdout: yes           stderr: no                         
    Before command completion, additional instructions may appear below.            
    inet0 changed                                                                   
    en3 changed                                                                     
    inet0 changed                                                                   
    Checking for srcmstr active...complete                                          
    Starting tcpip daemons:                                                         
    0513-029 The syslogd Subsystem is already active.                               
    Multiple instances are not supported.                                           
    0513-029 The sendmail Subsystem is already active.                              
    Multiple instances are not supported.                                           
    0513-029 The inetd Subsystem is already active.                                 
    F1=Help             F2=Refresh          F3=Cancel           F6=Command          
    F8=Image            F9=Shell            F10=Exit            /=Find              
    n=Find Next  

    Open in new window

    The strange thing about this is it takes about 90 seconds to perform the previous command in smitty mktcpip

    After AIX says that it has configured the NIC, I try to ping, and get the following:

    # ping                                                              
    PING ( 56 data bytes                                  
    ---- PING Statistics----                                             
    13 packets transmitted, 0 packets received, 100% packet loss                    

    Open in new window

    LVL 68

    Accepted Solution

    Are ent0 and ent1 of device types different than ent2/3, and have they been added to the LPAR after the initial AIX installation?

    It looks as if the driver was missing: "devices.pciex.a2191007df1033e7.rte" and "devices.pciex.a2191007df1033e7.diag"

    Check with lslpp!

    What do you get with

    cfgmgr -v ent0


    If cfgmgr complains about a missing driver load (don't mount) the installation DVD and issue:

    cfgmgr -i /dev/cd0

    Also, the config string looks a bit strange. Did you forget to specify IP and mask?

    P.S. Are you really satisfied with the answer you accepted to your "Clone LPAR" question?

    Author Comment

    by:Los Angeles1
    Both NIC's are dual port Boradcom NetXTreme 10GB, same device

    smitty mktcpip reports the following devices

                             Available Network Interfaces                         
       Move cursor to desired item and press Enter.                               
         en0   01-00   Standard Ethernet Network Interface                        
         en1   01-01   Standard Ethernet Network Interface                        
         en2           Standard Ethernet Network Interface                        
         en3           Standard Ethernet Network Interface                        
         et0   01-00   IEEE 802.3 Ethernet Network Interface                      
         et1   01-01   IEEE 802.3 Ethernet Network Interface                      
         et2           IEEE 802.3 Ethernet Network Interface                      
         et3           IEEE 802.3 Ethernet Network Interface                      
       F1=Help                 F2=Refresh              F3=Cancel                  
       F8=Image                F10=Exit                Enter=Do                   
       /=Find                  n=Find Next        

    Open in new window


    I get the following from lslpp

    # lslpp -l | grep ent0    
    # lslpp -l | grep ent1    
    # lslpp -l | grep ent2   
    # lslpp -l | grep ent3  
    # lslpp -l | grep en0    
    # lslpp -l | grep en1     
    # lslpp -l | grep en2     
    # lslpp -l | grep en3  

    Open in new window

    I could not get the "cfgmgr -v ent0" command to work. I could do the following:

    # cfgmgr -i ent0      
    0503-105 geninstall: The device or directory: /ent0 does not exist.  

    Open in new window

    I also tried this with the verbose option, but could not quite see anything saying it could not find a device manager

    It appears to be able to see ent2 and ent3, and one of the many screens resulting form the "cfgmgr -i ent0 -v" was the following

    ****************** no stderr ***********  
    Time: 17        LEDS: 0x2022 for pci1   
    Number of running methods: 2     
    attempting to configure device 'vsa0'  
    Time: 17        LEDS: 0x4ee     
    invoking /etc/methods/cfgvcon -l vsa0    
    Number of running methods: 3   
    attempting to configure device 'ent2'   
    Time: 17        LEDS: 0x25b2    
    invoking /usr/lib/methods/cfgvioent -l ent2  
    Number of running methods: 4   
    attempting to configure device 'ent3'   
    Time: 17        LEDS: 0x25b2       
    invoking /usr/lib/methods/cfgvioent -l ent3    
    Number of running methods: 5      

    Open in new window

    A couple questions

    1> should I proceed with isntalling a device driver

    2> What do you mean by 'load' the DVD.  How do I do that, do you  mean simply placing the DVD into the DVD device ?


    Author Comment

    by:Los Angeles1
    Regarding your last question, this is how I configured en2

                            Minimum Configuration & Startup                         
     To Delete existing configuration data, please use Further Configuration menus  
    Type or select values in entry fields.                                          
    Press Enter AFTER making all desired changes.                                   
    [TOP]                                                   [Entry Fields]          
    * HOSTNAME                                           [lp2]                      
    * Internet ADDRESS (dotted decimal)                  []             
      Network MASK (dotted decimal)                      []              
    * Network INTERFACE                                   en2                       
               Internet ADDRESS (dotted decimal)         []              
               DOMAIN Name                               []          
      Default Gateway                                                               
           Address (dotted decimal or symbolic name)     []              
           Cost                                          [0]                      # 
           Do Active Dead Gateway Detection?              no                     +  
    F1=Help             F2=Refresh          F3=Cancel           F4=List             
    Esc+5=Reset         F6=Command          F7=Edit             F8=Image            
    F9=Shell            F10=Exit            Enter=Do          

    Open in new window

    LVL 68

    Expert Comment

    To my last question - I asked what you entered before you received the output in your comment #38355653 which was obviously your attempt to configure en0, not en2.

    Next, what do you see with "lsdev -Ccadapter"?

    The output from smitty mktcpip indicates that ent2/3 come from VIO, whereas ent0/1 are directly attached (i.e. are "real hardware" requiring quite different drivers)


    lslpp -l | grep a2191007df1033e7

    If this returns


    you won't have to install anything.

    If it returns nothing assign a DVD drive to the LPAR,  put the DVD into it and close the door.

    Then issue

    cfgmgr -i /dev/cd0

    where cd0 is your DVD drive.

    "-i ..." designates an input device containing driver software, nothing else.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now