Hi all ,
Using OpenIPMI API ipmi_mc_send_command() i am trying to setting the,
oem parametes (Over LAN) to the IPMI card ,but
i am not able to setting the oem parameters in to the IPMI card , i
am getting the Timeout (c3) response from the
IPMI card , my code is given below. the OEM command and Netfn as below.
Netfn = 0xC0;
Command = 0x14;
LUN (i dont know , so i putted as
zero (0) )
I captured the Ethereal transaction , the ethereal result showing the
Netfn value is 0x00 , but in my program i am
setting the Netfn value is 0xC0 , so what i formatted IPMI request
through program , and sended(Over LAN) IPMI request is differing ,
please tell me due to what factor the Netfu differing and also pls tell
me whether ipmi_mc_send_command() support for OEM
commands.
void ipmi_main::ra_hand( ipmi_mc_t *src, ipmi_msg_t *msg, void *rsp_data)
{
printf("Inside the ra_hand\n");
printf("Netfun :%x\n",msg->netfn);
printf("Command :%x\n",msg->cmd);
printf("Data_len :%d\n",msg->data_len);
printf("Data
:%x\n",msg->data[0]);
}
void ipmi_main::raww(ipmi_domain_t *domain, ipmi_mc_t *mc, void *cb_data)
{
unsigned char data[10];
ipmi_msg_t msg;
data[0] = 2;
data[1] = 0;
data[2] = 124;
data[3] = 7;
data[4] = 228;
data[5] = 170;
data[6] = 0;
data[7] = 0;
data[8] = 0;
data[9] = 0;
msg.netfn = 0xC0;
msg.cmd = 0x14;
msg.data = data;
msg.data_len = 10;
ipmi_mc_send_command(mc, 0, &msg, ra_hand, NULL);
}
Thanks,
-Barani
********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to
Sify Limited and is intended for use only by the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential or exempt from disclosure under applicable law. If this is a
forwarded message, the content of this E-MAIL may not have been sent with
the authority of the Company. If you are not the intended recipient, an
agent of the intended recipient or a person responsible for delivering the
information to the named recipient, you are notified that any use,
distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at [EMAIL PROTECTED]
Watch the latest updates on Mumbai, with video coverage of news, events,
Bollywood, live darshan from Siddhivinayak temple and more, only on
www.mumbailive.in
Watch the hottest videos from Bollywood, Fashion, News and more only on
www.sifymax.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer