#9 ipmi_get_sdr_count fail

closed-rejected
nobody
None
5
2004-09-02
2004-05-14
Guo Ruijing
No

void mcs_handler(ipmi_domain_t *domain,
ipmi_mc_t *mc,
void *cb_data)
{

sdrs = ipmi_mc_get_sdrs(mc);
rv = ipmi_get_sdr_count(sdrs, &count);
if (rv)
leave_err(rv, "ipmi_get_sdr_count error");

}

Could u tell me why ipmi_get_sdr_count fail?
need detail message?

Discussion

  • Corey Minyard

    Corey Minyard - 2004-09-02

    Logged In: YES
    user_id=236278

    The only way ipmi_get_sdr_count can fail is if the sdrs have
    been destroyed. It looks like the MC has gone away and you
    are still using it, which means you are not doing locking
    properly. You need to read the documentation.

     
  • Corey Minyard

    Corey Minyard - 2004-09-02
    • status: open --> closed
     
  • Corey Minyard

    Corey Minyard - 2004-09-02
    • status: closed --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks