Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Problem Resolution Sure Solution 1003454.1 : ifconfig fails with error "no such interface"
PreviouslyPublishedAs 204840
Applies to:Sun Quad GigaSwift Ethernet UTP AdapterSun Gigabit Ethernet / FC-AL PCI Adapter Sun Dual FastEthernet and Dual SCSI/P Adapter Sun FastEthernet PCI Adapter Sun FastEthernet SBus Adapter All Platforms SymptomsWhen attempting to use "plumb" with ifconfig, the interface gives thefollowing error message: # ifconfig ce2 plumb ifconfig: SIOCSLIFNAME for ip: ce2: no such interface Changes{CHANGE}Cause{CAUSE}SolutionThis error indicates that the network driver module is loaded but the system does not see the PPA (Physical Point of Attachment).This can occur in the following circumstances: -when trying to use ifconfig plumb on an interface that doesn't exist. In this example,plumb ce2 fails: # ifconfig ce2 plumb To find the reason for failure: 1. Check /etc/path_to_inst to determine if PPA exist. # grep ce /etc/path_to_inst This shows that only ce0 and ce1 are in the system and that ce2 is not available. 2. Use the prtconf or prtdiag command to confirm the NIC is seen. # prtconf |grep network 0 pci 66 MB pci108e,abba (network) SUNW,pci-ce If the device is seen in prtdiag, then a "boot -r" may be required to update the /etc/path_to_inst file. Additional Information If an older ce card (e.g. QGE X4444A) is replaced with a newer one (e.g. QGE-X X4445A), a similar behavior as described above is seen. As the newer card uses a different chip set, the device path in /etc/path_to_inst can not be used any more, even if the NIC occupies the same slot. So, after a reconfigure boot, new device instances get added in /etc/path_to_inst. E.g. if the QGE card was using device instances ce0-ce3, after the replacement with a QGE-X card device instances ce4-ce7 will be used. In this case file /etc/hostname.ce4 would be used to configure the first port of the QGE-X card (rather than file /etc/hostname.ce0). Similar applies to second to fourth ports. This change in device instance(s) may also affect any configuration using fixed interface names (e.g. the Sun Cluster software). See also Product Sun Quad FastEthernet cPCI Adapter Sun Quad FastEthernet SBus Adapter Sun Quad FastEthernet PCI Adapter Sun GigaSwift Ethernet PCI Adapter Internal Comments For Interanl Sun Use Only steve.hodnett@sun.com
TechDomain (former PTS) Product Pages : SIOCSLIFNAME, ifconfig, no such interface, instance, substitute, swap Previously Published As 72761 Change History Date: 2007-05-10 User Name: 31620 Action: Approved Comment: Verified Metadata - ok Verified Keywords - ok Verified still correct for audience - currently set at internal Checked review date - currently set to 2008-04-25 Checked for TM - ok as presented Publishing under the current publication rules of 18 Apr 2005: Version: 6 Attachments This solution has no attachment |
||||||||||||
|