Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1455
  • Last Modified:

AIX, how to determine if there is a device driver

How can I most easily determine if a NIC has a device driver installed properly

    # lsdev | grep ent                                                              
    lsdev: 0514-521 Cannot find information in the predefined device                
            configuration database for the customized device ent0.                  
    lsdev: 0514-521 Cannot find information in the predefined device                
            configuration database for the customized device ent1.                  
    ent0       Defined   01-00 N/A                                                  
    ent1       Defined   01-01 N/A                                                  
    ent2       Available       Virtual I/O Ethernet Adapter (l-lan)                 
    ent3       Available       Virtual I/O Ethernet Adapter (l-lan)                 
    vscsi0     Available       Virtual SCSI Client Adapter  

Open in new window


Does the lsdev command tell me that bascially it can see the ent2 and ent3 and they have device drivers
0
Los Angeles1
Asked:
Los Angeles1
  • 2
  • 2
1 Solution
 
woolmilkporcCommented:
If lsdev shows "Available" for a device and if the description in the last column does not say "Unknown Device" or "Other Device" or "N/A" then there is a valid driver for the device in question installed.

"lscfg -vl device" should either return configuration information or nothing at all, but should not return an error.

The same is true for "lsattr -El device". It should return device attributes or nothing.

So, in your case, the virtual NICs ent2 and ent3 do have properly installed drivers.
0
 
Los Angeles1Author Commented:
Previously I could only see the following when looking at

# lsdev | grep ent
ent0       Defined
ent1       Defined 
ent2       Available       Virtual I/O Ethernet Adapter (l-lan)
ent3       Available       Virtual I/O Ethernet Adapter (l-lan)
vscsi0     Available       Virtual SCSI Client Adapter

Open in new window


When I tried  to configure a NIC, I got the following error

                                    TCP/IP                                     
                                                                                
Move cursor to desired item and press Enter.                                    
                                                                                
  Minimum Configuration & Startup                                               
  
  
                                ERROR MESSAGE                                 
                                                                              
   Press Enter or Cancel to return to the                                     
   application.                                                               
                                                                              
     1800-106 An error occurred:                                              
                                                                              
     lsattr: 0514-520 Cannot find information in the predefined device        
             configuration database for the following:                        
             adapter/pciex/a219100733e7000                                    
     #host:addr:mask:_rawname:nameserv:domain:gateway:cost:activedgd:type:s   
     tart                                                                     
     lp2:::en0:10.14.10.10:localdomain.com:10.14.10.10:0:no:N/A:no            
                                                                              
                                                                              
   F1=Help                 F2=Refresh              F3=Cancel                  
F1 F8=Image                F10=Exit                Enter=Do                   
F9 

Open in new window


I tried to install the adapter device driver from the VM disk and the origianl installation disk, but did not get very far.  The disk showed TOC problems

 Missing Filesets                                                              
  ----------------                                                              
  The following filesets could not be found on the installation media.          
  If you feel these filesets really are on the media, check for typographical   
  errors in the name specified or, if installing from directory, check for      
  discrepancies between the Table of Contents file (.toc) and the images that   
  reside in the directory.                                                      
                                                                                
    devices.pciex.a2191007                                                      
    devices.pciex.a2191007df1033e7                                              
    devices.pciex.df1033e7                                                      
    devices.pciex.ethernet                                                      
    devices.pciex.pciex19a2.710.10df.e733.2                                     
    devices.pciex.pciex19a2.710.2                                               
    devices.pciex.pciexclass.000200                                             
    devices.pciex.pciexclass.020000     

Open in new window


Finally I performed a 'cfgmgr -i /dev/cd0' on a second AIX disk, I could then see the following of the lsdev command

# lsdev | grep ent
ent0       Available 01-00 PCIe2 4-port 10GbE Mezz Adapter (a2191007df1033e7)
ent1       Available 01-01 PCIe2 4-port 10GbE Mezz Adapter (a2191007df1033e7)
ent2       Available       Virtual I/O Ethernet Adapter (l-lan)
ent3       Available       Virtual I/O Ethernet Adapter (l-lan)
vscsi0     Available       Virtual SCSI Client Adapter

Open in new window


I defined en0 and can now putty in
0
 
woolmilkporcCommented:
Fine! Congrats! Was this second disk of the same shipment as the first disk which didn't work?

If so I must admit that I didn't know that this disk No. 2 would contain the required driver.
I always thought that support for this kind of adapter came with 7.1 TL1 and was on disk No. 1 then!
0
 
Los Angeles1Author Commented:
No, I got a disk from a previous shipment
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now