freeipmi-users
[Top][All Lists]
Advanced

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

Re: [Freeipmi-users] Send Message using FreeIPMI


From: Albert Chu
Subject: Re: [Freeipmi-users] Send Message using FreeIPMI
Date: Mon, 12 Sep 2011 14:10:51 -0700

Hi Phil,

On Mon, 2011-09-12 at 13:48 -0700, address@hidden wrote:
> Hi Al,
> 
> Thanks for the quick response. I am using a similar command to yours however 
> I am getting :
> Unable to send command: Invalid argument

I assume this is from ipmitool, can't really say why that error would
occur there.

> What I am doing is having two BMCs talk to each other over IPMB. Currently 
> both addresses are 0x20 however.
> 
> I tried this command as well for bridging sdrs :
> 
> ipmitool -m 0x20 -t 0x20 sdr
> 
> However it just returned the host sdr not the peer sdr.
> 
> Do I need to change the address of the peer controller to something besides 
> 0x20 and provide a SRC Type 12 (Management Controller Device Locator Record)?

I'm not an expert on IPMB, but my gut feeling is you need to change the
address of the peer.  How else would a controller know to forward the
command somewhere else?

Al

> Thanks in advance,
> 
> 
> Phil Chidester
> Storage Engineering
> Dell | PG Development
> 512 728-4840
> 
> 
> 
> 
> -----Original Message-----
> From: Albert Chu [mailto:address@hidden 
> Sent: Monday, September 12, 2011 12:48 PM
> To: Chidester, Phil
> Cc: address@hidden
> Subject: Re: [Freeipmi-users] Send Message using FreeIPMI
> 
> Hi Phil,
> 
> Are you trying to program a raw command via libfreeipmi?  What problems are 
> you having?
> 
> It's sort of hard to describe a raw command to do it, since one normally uses 
> it to encapsulate another command for bridging, and its dependent on the 
> channel and addresses you're sending to.  Here's an example of a send 
> message, bridging a sensor read, on a motheboard I have.
> 
> ipmi-raw 0 6 0x34 0x06 0x2c 0x10 0xc4 0x20 0x4e 0x2d 0x1a 0x4b
> 
> Here's the packet I created it from.
> 
> =====================================================
> Send Message Request
> =====================================================
> KCS Header:
> ------------
> [               0h] = lun[ 2b]
> [               6h] = net_fn[ 6b]
> IPMI Command Data:
> ------------------
> [              34h] = cmd[ 8b]
> [               6h] = channel_number[ 4b]
> [               0h] = send_message_with_authentication[ 1b]
> [               0h] = send_message_with_encryption[ 1b]
> [               0h] = tracking_operation[ 2b]
> IPMB Message Header:
> --------------------
> [              2Ch] = rs_addr[ 8b]
> [               0h] = rs_lun[ 2b]
> [               4h] = net_fn[ 6b]
> [              C4h] = checksum1[ 8b]
> [              20h] = rq_addr[ 8b]
> [               2h] = rq_lun[ 2b]
> [              13h] = rq_seq[ 6b]
> IPMB Message Data:
> ------------------
> [              2Dh] = cmd[ 8b]
> [              1Ah] = sensor_number[ 8b]
> IPMB Message Trailer:
> ---------------------
> [              4Bh] = checksum2[ 8b]
> 
> Al
> 
> On Sun, 2011-09-11 at 13:19 -0700, address@hidden wrote:
> > I am trying to do a IPMI Send Message Command using Free IPMI but having 
> > problems.
> > Can someone send the RAW format for the IPMI Send Message Command?
> > 
> > 
> > Phil Chidester
> > Storage Engineering
> > Dell | PG Development
> > 512 728-4840
> > 
> > _______________________________________________
> > Freeipmi-users mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/freeipmi-users
> --
> Albert Chu
> address@hidden
> Computer Scientist
> High Performance Systems Division
> Lawrence Livermore National Laboratory
> 
> 
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

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