AIX 7.2 - Error initializing a device into the kernel.
On a fresh bare metal (no LPARs) install of AIX 7.2 running cfgmgr is returning..
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.
Hello,
I have some doubt about the NIC device on my AIX box.
When using lsdev command
/ > lsdev -Cc adapter | grep en
ent0 Available 03-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)
ent1 Available 03-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)
ent2... (11 Replies)
I'm writing a simple USB driver to drive a stepper motor based on USB Skeleton 2.2 Driver, kernel 3.8. The basic version is running properly. As a advancement, I introduced KTHREAD to call the DEVICE_WRITE (skel_write) (), so that the driver will be available for other tasks & requests.
Calling... (0 Replies)
I am looking for a way to run on top of the Linux kernel of an Android device. I want to use the existing configured Linux beneath Android rather than put a new Linux distribution onto a device.
The article "The Android boot process from power on" (sorry, forum won't let me paste the link)... (0 Replies)
Hi all!
I am trying to register a device in an existing device class, but I am
having trouble getting the pointer to an existing class.
I can create a class in a module, get the pointer to it and then use
it to register the device with:
*cl = class_create(THIS_MODULE, className);... (0 Replies)
I have been reading prep questions for my second unix academy exam, and there's a nuance, I'm not sure I understand it correctly.
I've been under impression from my readings of book by Evi Nemeth and from unix academy DVDs I've been watching, that kernel's modules are drivers. I think of it, as... (25 Replies)
I recently started working with Linux and wrote my first device driver for a hardware chip controlled by a host CPU running Linux 2.6.x kernel.
1. The user space process makes an IOCTL call with pointer to a user memory buffer.
2. The kernel device driver in the big switch-case of IOCTL,... (1 Reply)
I am looking for a guide on how to program for either the Linux or FreeBSD (includes 4.4BSD, NetBSD or OpenBSD) kernel. I would prefer to learn how to write device drivers, but anything would help.
If you know, please email me at *removed* or leave a post here
Regards,
Farhan (0 Replies)
I need to delete a TTY in my AIX 4.3 system. I have tried using the smit but everytime I try it, there is a message telling me that the device is in use and cannot be changed. How do I take the device "offline", so to speak, so that I can edit the settings and/or delete it.
V/R
Djassi (3 Replies)