Thirumalai kumar wrote: > Thanks Corey. > I modified the code as per ur idea. > > Send through, > ioctl(fd, IPMICTL_SEND_COMMAND, &req); > > And receving through > struct ipmi_recv recv; > struct ipmi_addr addr1; > > recv.addr = (BYTE*) &addr1; > recv.addr_len = sizeof( addr1 ); > recv.msg.data = (unsigned char*) &(ipmi_res1.data); > recv.msg.data_len = 4; > > ioctl(fd, IPMICTL_RECEIVE_MSG, &recv); > But now, the ioctl system call is failing sometimes and in sometime getting > the same timeout error. > Also here I am using 0x2c command. I guess IANA number is not required. It > is for 2e-2f netfns. > Oops, the identifier is required for 0x2c netfns, it is one byte and is zero for PICMG.
Can you get the errno on a failure? Perhaps you are not initializing a data item. -Corey ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
