On a fresh bare metal (no LPARs) install of AIX 7.2 running cfgmgr is returning..
# cfgmgr
Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm2 ):
0514-040 Error initializing a device into the kernel.
Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm3 ):
0514-040 Error initializing a device into the kernel.
Method error (/usr/lib/methods/cfgqlfscsi -l fscsi2 ):
0514-061 Cannot find a child device.
Method error (/usr/lib/methods/cfgqlfscsi -l fscsi3 ):
0514-061 Cannot find a child device.
Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm2 ):
0514-040 Error initializing a device into the kernel.
Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm3 ):
0514-040 Error initializing a device into the kernel.
I suspect it has something to do with my FC I/O cards, missing driver or something since that particular sfwcomm shows up as "Defined"....
# lsdev -C | grep sfwcomm
sfwcomm0 Available 05-00-01-FF Fibre Channel Storage Framework Comm
sfwcomm1 Available 05-01-01-FF Fibre Channel Storage Framework Comm
sfwcomm2 Defined 07-00-01-FF Fibre Channel Storage Framework Comm
sfwcomm3 Defined 07-01-01-FF Fibre Channel Storage Framework Comm
sfwcomm4 Available 0A-00-01-FF Fibre Channel Storage Framework Comm
sfwcomm5 Available 0A-01-01-FF Fibre Channel Storage Framework Comm
The two "defined" FC I/O devices are not plugged into anything at this time, they are to be used later down the road.
# lscfg | grep fc
+ fcs4 U78D3.001.WZS03A7-P1-C8-T1 PCIe3 2-Port 16Gb FC Adapter (df1000e21410f103)
+ fcs5 U78D3.001.WZS03A7-P1-C8-T2 PCIe3 2-Port 16Gb FC Adapter (df1000e21410f103)
+ fcs2 U78D3.001.WZS03A7-P1-C4-T1 PCIe2 8Gb 2-Port FC Adapter (77103225141004f3)
+ fcs3 U78D3.001.WZS03A7-P1-C4-T2 PCIe2 8Gb 2-Port FC Adapter (77103225141004f3)
+ fcs0 U78D3.001.WZS03A7-P1-C2-T1 PCIe3 2-Port 16Gb FC Adapter (df1000e21410f103)
+ fcs1 U78D3.001.WZS03A7-P1-C2-T2 PCIe3 2-Port 16Gb FC Adapter (df1000e21410f103)
The "fc0 - 1 - 4 - 5" work fine after i switched to using AIXPCM (HBAs detected by storage, etc.), not sure why fc2-3 are throwing errors.
Why is cfgmgr throwing "Error initializing a device into the kernel" errors?
--- Post updated at 11:39 AM ---
Turns out because those two FC ports were not connected to anything that is where the error was coming from, I plugged two ECW0 - Optical Wrap Plugs into the FC ports and running "cfgmgr" on AIX no longer produces errors. Running fcstat against the ports returns data as well.