OK - Thanks I will try that. -----Original Message----- From: Albert Chu [mailto:[email protected]] Sent: Monday, September 12, 2011 4:33 PM To: Chidester, Phil Cc: [email protected] Subject: RE: [Freeipmi-users] Send Message using FreeIPMI
On Mon, 2011-09-12 at 14:19 -0700, [email protected] wrote: > Hi Al, > > Sorry the error for ipmi-raw was : > > ipmi_cmd_raw: internal error > > Do you know what causes that error or if there is a more verbose option in > impi_raw? Internal errors are the odd errors that can't be handled. If you compile FreeIPMI w/ the configure options --enable-debug and --enable-trace, we can get a lot more information. Al > I was assuming it would just route it on the IPMI bus at address 0x20 and not > do a check on the address. > > Thanks, > > Phil > > -----Original Message----- > From: Albert Chu [mailto:[email protected]] > Sent: Monday, September 12, 2011 4:11 PM > To: Chidester, Phil > Cc: [email protected] > Subject: RE: [Freeipmi-users] Send Message using FreeIPMI > > Hi Phil, > > On Mon, 2011-09-12 at 13:48 -0700, [email protected] 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:[email protected]] > > Sent: Monday, September 12, 2011 12:48 PM > > To: Chidester, Phil > > Cc: [email protected] > > 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, [email protected] 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 > > > [email protected] > > > https://lists.gnu.org/mailman/listinfo/freeipmi-users > > -- > > Albert Chu > > [email protected] > > Computer Scientist > > High Performance Systems Division > > Lawrence Livermore National Laboratory > > > > > -- > Albert Chu > [email protected] > Computer Scientist > High Performance Systems Division > Lawrence Livermore National Laboratory > > -- Albert Chu [email protected] Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory _______________________________________________ Freeipmi-users mailing list [email protected] https://lists.gnu.org/mailman/listinfo/freeipmi-users
