I'm having a tough luck in building a raw command to send FRU information. I 
ran following two raw commands on RHEL4 in x86-64 machine. The difference 
between the two commands is one additional byte in failed command. The passed 
command has 78bytes and failed one has 79 bytes as data_len. The KCS 
driver(ipmi_si.ko) version is v33.13. My question is why this is failing and 
are there any limits total number of bytes to raw commands?   Also what is 
critical while sending FRU info? 


# ipmitool -V
ipmitool version 1.8.7

1) #ipmitool raw -vvvv -I open 0x2e 0x16 0x03 0x7 0x58 0x48 0x48 0x48 0x48 0x48 
0x48 0x48 0x48 0x48 0x48 0x48 0x48 0x48 0x48 0x48 0x49 0x49 0x49 0x49 0x49 0x49 
0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 
0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 
0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x46 0x46 0x46 0x46 0x46 
0x46 0x46 0x46 0x50 0x50 0x51
RAW REQ (channel=0x0 netfn=0x2e lun=0x0 cmd=0x16 data_len=78)
RAW REQUEST (78 bytes)
 03 07 58 48 48 48 48 48 48 48 48 48 48 48 48 48
 48 48 49 49 49 49 49 49 49 49 49 49 49 49 49 49
 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 44
 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
 44 44 44 46 46 46 46 46 46 46 46 50 50 51
Set IPMB address to 0x20
OpenIPMI Request Message (78 bytes)
 03 07 58 48 48 48 48 48 48 48 48 48 48 48 48 48
 48 48 49 49 49 49 49 49 49 49 49 49 49 49 49 49
 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 44
 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
 44 44 44 46 46 46 46 46 46 46 46 50 50 51
Sending request to System Interface
RAW RSP (0 bytes)

---->Above one is passed.


2)ipmitool raw -vvvv -I open 0x2e 0x16 0x03 0x7 0x58 0x48 0x48 0x48 0x48 0x48 
0x48 0x48 0x48 0x48 0x48 0x48 0x48 0x48 0x48 0x48 0x49 0x49 0x49 0x49 0x49 0x49 
0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x49 
0x49 0x49 0x49 0x49 0x49 0x49 0x49 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 
0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x44 0x46 0x46 0x46 0x46 0x46 
0x46 0x46 0x46 0x50 0x50 0x51 0x52
RAW REQ (channel=0x0 netfn=0x2e lun=0x0 cmd=0x16 data_len=79)
RAW REQUEST (79 bytes)
 03 07 58 48 48 48 48 48 48 48 48 48 48 48 48 48
 48 48 49 49 49 49 49 49 49 49 49 49 49 49 49 49
 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 44
 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
 44 44 44 46 46 46 46 46 46 46 46 50 50 51 52
Set IPMB address to 0x20
OpenIPMI Request Message (79 bytes)
 03 07 58 48 48 48 48 48 48 48 48 48 48 48 48 48
 48 48 49 49 49 49 49 49 49 49 49 49 49 49 49 49
 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 44
 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
 44 44 44 46 46 46 46 46 46 46 46 50 50 51 52
Sending request to System Interface
Unable to send RAW command (channel=0x0 netfn=0x2e lun=0x0 cmd=0x16 rsp=0xff): 
Unspecified error
----> Above one is failed



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to