You can troubleshoot errors that occur when you configure
a Shared Ethernet Adapter,
such as those that result in message 0514-040, by using the lsdev, netstat,
and entstat commands.
When you configure a Shared Ethernet Adapter the configuration
can fail with the following error:
Method error (/usr/lib/methods/cfgsea):
0514-040 Error initializing a device into the kernel.
To correct the problem, complete the following steps:
- Verify that the physical and virtual adapters that are
being used to create the shared Ethernet adapter are available by
running the following command:
lsdev -type adapter
- Make sure that the interface of neither the physical nor
any of the virtual adapters are configured. Run the following command:
netstat -state
Important: None
of the interfaces of the adapters must be listed in the output. If
any interface name (for example,
en0) does is listed
in the output, detach it as follows:
chdev -dev interface_name -attr state=detach
You
might want to perform this step from a console connection because
it is possible that detaching this interface will end your network
connection to the Virtual I/O Server.
- Verify that the virtual adapters that are used for data
are trunk adapters by running the following command:
entstat -all entX | grep Trunk
Note: - The trunk adapter does not apply to the virtual adapter that is
used as the control channel in a Shared Ethernet Adapter Failover
configuration.
- If any of the virtual adapters that are used for data are not
trunk adapters, you need to enable them to access external networks
from the HMC.
- Verify that the physical device and the virtual adapters
in the Shared Ethernet Adapter are
in agreement on the checksum offload setting:
- Determine the checksum offload setting on physical device
by running the following command:
lsdev -dev device_name -attr chksum_offload
where device_name is
the name of the physical device. For example, ent0.
- If chksum_offload is set to yes,
enable checksum offload for all of the virtual adapters in the Shared Ethernet Adapter by running
the following command:
chdev -dev device_name -attr chksum_offload=yes
Where device_name is
the name of a virtual adapter in the Shared Ethernet Adapter. For example,
ent2.
- If chksum_offload is set to no,
disable checksum offload for all of the virtual adapters in the Shared Ethernet Adapter by running
the following command:
chdev -dev device_name -attr chksum_offload=no
where device_name is
the name of a virtual adapter in the Shared Ethernet Adapter.
- If there is no output, the physical device does not
support checksum offload and therefore does not have the attribute.
To resolve the error, disable checksum offload for all of the virtual
adapters in the Shared Ethernet Adapter by
running the following command:
chdev -dev device_name -attr chksum_offload=no
where device_name is
the name of a virtual adapter in the Shared Ethernet Adapter.
- If the real adapter is a Host Ethernet Adapter port, also
known as, a Logical Integrated Virtual Ethernet adapter port, make
sure that the Virtual I/O Server has
been configured as the promiscuous logical partition for the physical
port of the logical Integrated Virtual Ethernet adapter from the HMC.