freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] Re: RE: RE: libfreeipmi - sequence numbers


From: Albert Chu
Subject: [Freeipmi-devel] Re: RE: RE: libfreeipmi - sequence numbers
Date: Mon, 01 Nov 2004 11:53:08 -0800

Hey Andrew,

No problem at all.

Al

--
Albert Chu
address@hidden
Lawrence Livermore National Laboratory

----- Original Message -----
From: "Cress, Andrew R" <address@hidden>
Date: Monday, November 1, 2004 11:48 am
Subject: RE: RE: libfreeipmi - sequence numbers

> Al,
> 
> I put in your change, and it does work on these systems.  I guess I 
> musthave had a bug in the original wrapping code I put in, but it 
> works now.
> The library doesn't need changing.
> 
> Sorry for all the trouble.  
> 
> Thanks,
> Andy
> 
> -----Original Message-----
> From: Albert Chu [mailto:address@hidden 
> Sent: Monday, November 01, 2004 2:31 PM
> To: address@hidden; address@hidden;
> address@hidden
> Cc: Cress, Andrew R
> Subject: Fwd: RE: libfreeipmi - sequence numbers
> 
> 
> Hey Guys,
> 
> Do any of you have the boards below listed by Andrew?  I cannot
> reproduce his problem here on the Tiger4s so my ability to look into
> this bug is somewhat limited.  Andrew's code is attached.
> 
> Andrw has a temporary build system going, so do the following to 
> run his
> reproducer if freeipmi is installed on the system:
> 
> 1) unzip, untar, and cd into the 'ipmiutil-1.5.0/util' directory.
> 2) edit ipmignu.c and change the "../freeipmi/freeipmi.h" to
> <freeipmi/freeipmi.h>
> 3) edit ipmignu.c (_lan_cmd) to cycle the rq_seq sequence numbers. 
> Here's my code:
> 
>  rv = ipmi_lan_cmd(sockfd, hostaddr, hostaddr_len,
>                    auth_type, session_seqnum, session_id,
>                    authcode, authcode_len,
>                    netfn, IPMI_BMC_IPMB_LUN_BMC, (rq_seq %
> (IPMI_LAN_SEQ_NUM_MAX + 1)),
>                    cmd_rq, tmpl_rq, cmd_rs, tmpl_rs);
> 
> 4) build with "gcc -o showsel ipmicmd.c ipmimv.c ipmignu.c imbapi.c
> showsel.c -lfreeipmi"
> 5) run ./showsel -N foonode 
> 
>   The remote node needs to have an anonymous user setup.  If the
> anonymous user has a password, you can do:
> 
>   ./showsel -N foonode -R foopassword.
> 
>   See if > 64 entries are output or not.
> 
> Al
> 
> --
> Albert Chu
> address@hidden
> Lawrence Livermore National Laboratory
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]